[INTDIST-43] Feature config files in non-standard locations Created: 12/Nov/15  Updated: 17/Oct/19

Status: Confirmed
Project: integration-distribution
Component/s: Codebase, Features
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug Priority: Low
Reporter: Vratko Polak Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
is blocked by VPNSERVICE-72 Config system files should be loaded ... Resolved
External issue ID: 4628

 Description   

This Bug is mainly for Lithium, Beryllium was not examined yet.

Some projects do not place their config files in standard locations (etc/opendaylight/karaf/ or configuration/initial/).

Most notably Capwap, Coretutorials and Vpnservice only specify file names.
Sfc uses configuration/startup/ and Usc uses etc/usc/, which maybe is standard enough, or maybe not.

The standard locations can be defined in several ways. Some projects write etc/opendaylight/karaf/ directly in feature definitions, some put it in properties such as config.configfile.directory.

The best action would be to define a common property in odlparent (perhaps using ${karaf.etc}) and contribute changes to all projects (including archetypes) so they refer to this property.



 Comments   
Comment by Luis Gomez [ 29/Jan/16 ]

How is this now Vratko? specially for Beryllium that we are going to release?

Comment by Vratko Polak [ 29/Jan/16 ]

Still bad.
I have created https://git.opendaylight.org/gerrit/33755 to detect misplaced files.

Here is list of files currently appearing in ${KARAF_HOME} upon instalation of odl-inetgration-all:

alivenessmonitor-impl-default-config.xml arputil-impl-default-config.xml bgpmanager-impl-default-config.xml default-config.xml dhcpservice-impl-default-config.xml dsbenchmark-impl-default-config.xml elanmanager-impl-default-config.xml fibmanager-impl-default-config.xml idmanager-impl-default-config.xml interfacemgr-impl-default-config.xml itm-impl-default-config.xml lockmanager-impl-default-config.xml mdsalutil-impl-default-config.xml neutronvpn-impl-default-config.xml ntfbenchmark-impl-default-config.xml rpcbenchmark-impl-default-config.xml vpnmanager-impl-default-config.xml

Comment by Vratko Polak [ 24/Mar/17 ]

Current Carbon snapshots (Karaf 3):
default-config.xml dsbenchmark-impl-default-config.xml ntfbenchmark-impl-default-config.xml rpcbenchmark-impl-default-config.xml

Generated at Wed Feb 07 20:02:38 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.