Move adsal into its own subdirectory. Moved various adsal components into an opendaylight/adsal subdir, gave it a parent pom, and changed the root parent pom to have the opendaylight/adsal as a module. Change-Id: I1d0e5a7b2a50c65559c2f80dd47cab491b68d561 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Incrementing versions by 0.1.0 for post-Helium master branch * The only version not incrmented is aaa.version, which is left at 0.1.0-SNAPSHOT since they depend on controller and can't update yet. * To break the cyclic dependency, this patch temporarily stops running the netconf-connector and restconf feature tests. * Also fixing a bug causing Errors like "Choice has two nodes case with same qnames". A second patch (to be run after AAA increments their versions to 0.2.0-SNAPSHOT) wiil update aaa.version and re-enable these tests. Change-Id: I70a3987d32504e798c5ed05a67a0a1174338844b Signed-off-by: Colin Dixon <colin@colindixon.com> Signed-off-by: Robert Varga <rovarga@cisco.com>
Adding auto-sorting plugin to all Controller via parent/pom.xml leveraging google's sortpom plugin, all controller poms are sorted at build time as per the opendaylight/commons/parent/pom.xml configuration. Sorted lists of properties, dependencies, and plugins will increase pom readability and help prevent duplicate entry errors. This first submission is huge as I changed one pom.xml and all are then sorted. Only if the sortpom plugin is reconfigured will all pom's again be changed. Note that if any pom.xml is pushed without having been through a build ... folks are going to see pom.xml files showup as modified unintentionally. Change-Id: I8553f38b9f0e5f6d27177ad6b9b9c35a4b43d55a Signed-off-by: jameshall03885 <ghall@brocade.com>
Unify jacoco versions to 0.6.2.201302030002 This cleans up previously unused pluginManagement sections and bumps jacoco version 0.6.2.201302030002 (previously used by config subsys). Change-Id: I027b219e7fd0225fe2ef12cbdcc1f7d47509e993 Signed-off-by: Robert Varga <rovarga@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Eliminate superfluous pluginManagement section This structure is a recipe for a warning: jacoco.version is specified in a parent pom, so there is no use specifying it in the pluginManagement section here. Rather move it to the parent -- where it belongs. Change-Id: Iadc84620ad69cccd681b9898ab87459520daafd5 Signed-off-by: Robert Varga <rovarga@cisco.com>
Migrate bundles' configuration mgmt to ConfigurationService - Change current logic where read/save config is completely managed by each bundle, with moving it to configuration manager. This decoupling will allow configuration manager to decide how to persist the bundles' configurations to disk, withouth necessarely depend on java serialization as today controlelr does. Also now file names can be static and each bundle does not need to track the container context in the file name (which was lame). This allow controller to erase container startup files on container removal, which was not possible today. - Global and in container configuration services to expose two APIs for the other bundles to retrieve and save their config - Per container startup files organized in directories (directory name = container name) - Container startup directory removed on container removal, and created on container creation if not present Change-Id: I58c283eb796cf2a60466a97162428a8c2ae478ae Signed-off-by: Alessandro Boch <aboch@cisco.com>
Migrate all artifact versions to dependencyManagement - Migrate all the artifacts to use dependencyManagement to centralize the version changes in controller and make sure the dry-run for release could actually rewrite those. Change-Id: I510e4f15d6d75ec52d49835600338fa069a5a4f6 Signed-off-by: Giovanni Meo <gmeo@cisco.com>
HostTracker hosts DB key scheme implementation Requirements :- i) IP only scheme for hosttracker hosts db key is by default supported. ii) IP + MAC scheme for hosttracker hosts db key addition. iii) Only one scheme at a time will be active. The configuration is controller by the setting hosttracker.keyscheme in config.ini. By default it has a value of zero which indicates IP only scheme. The value 1 can be set for choosing IP+MAC scheme. Changes done :- i) Marker interface named IHostId is used for the implementation. ii) IPHostId and IPMacHostId are the classes which implement the marker interface. iii) All the hostttracker apis have been aligned to the new key using the marker interface IHostId as the key. iv) Version of the hosttracker and it's dependent bundles like arphandler,loadbalancer,static routing etc.. have been bumped up. v) HostIdFactory has been provided to create the keys based on the scheme the user is using. Tests done :- i) pingall has worked. ii) NB APIs of hosttracker. Made distribution changes which were needed and other pom changes as well. Integration test for hosttracker has been fixed with the right version. Other module integration test failures and review comments have been taken care off. Host DB Key classes have been serialized. Change-Id: I328a1b6d3702d5268832f0e3ea6ee47122f20205 Signed-off-by: Deepak <dudapudi@in.ibm.com>
Stop using deprecated pax Configuration annotation. Move the code to use not deprecated annotation. Change-Id: Ibbf861d52ef3f352b5367e3e140b1b32e496c462 Signed-off-by: Alissa Bonas <abonas@redhat.com>
Reworked pom files Each pom (artifact) declares it's dependencies (internal and external) No dependencies declared at parent POM level, only dependency Management. Also moved the <modules> from distribution/opendaylight to the root pom.xml distribution/opendaylight now builds entirely from dependencies I have intentionally left some things in here I think are wrong, because the goal of this commit is to reproduce the existing build (which it does, I've checked). Subsequent commits will clean up other things. Change-Id: I358bdac1c0f6a59b37a418a811a30235967fdfdc Signed-off-by: Tony Tkacik <ttkacik@cisco.com>