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>
Provide single point for enforcing config naming convention - Provide generic ConfigurationObject class which other will extend - Class provides method for validate string based on default private regex - Regex enforces 1 to 256 alphanumeric chars with addition of -+/*.()[]@ - Default regex can be overwritten with one set in config.ini - Have configs which need name validation to extend new class. Change is bacward compatible, existing config file are correctly deserialized Change-Id: I17714fc6b0462fc2a85e9a6d8f44fd7f0bbda188 Signed-off-by: Alessandro Boch <aboch@cisco.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>
Clean all unused and redundant imports in controller. Enable verification of unused and redundant imports via checkstyle. Rename checkstyle configuration file because it no longer checks only for tabs. Change-Id: Id94a92fbc8a79aba01a4177aec3d80a2b3394508 Signed-off-by: Alissa Bonas <abonas@redhat.com>
Container Management and associated Northbound APIs. Features : 1. Create, Modify and delete containers 2. ContainerFlow management 3. Northbound APIs 4. Application authorization support (contributed by Alessandro Boch) Change-Id: I080d58c2869720c7e78fcdff673b51b142b1c2c2 Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
Add standalone JBOSSTM-JTA component - Introduce a proper transaction manager, and make sure infinispan uses it. Change-Id: I13cb4f69be095ac50e2d3ff32fe85c8fd8acdb27 Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Small enhancement to ClusteringServicesIT - Enhance the clusteringServicesIT to be able to cover the case of the double update. Change-Id: Ic28c760ec06dc21ace51bcffb5b79255a289fa1a Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Fix CacheUpdateAware mechanism in cluster.services-implementation bundle - Add the logic for clustering.services_implementation bundle to track all the ICacheUpdateAware services and to relate them to a container or a global context. Make sure to be able to handle the service registering and unregistering case. In case of registration/deregistration of an ICacheUpdateAware check for the "cacheNames" property and then use it for learning for what caches the updates will be generated. Also make sure in phase of registration if there is an attempt to override a registration for an existing cache to avoid it and to raise an error message. - Given the LDAP filter that allows to track for the global ICacheUpdateAware services match also the per-container ones, make sure that ClusterGlobalManager filter them out before reaching the ClusterManagerCommon, in fact that would prevent to handle seamlessly the case of cache name being the same in global context as well per-container. - Removed stale OSGi declarative service file in clustering.services-implementation bundle. - Created extensive integration test case for clustering.services to make sure the logic is correct and automatically tested. - Added two new ServiceHelper methods that allow to register and OSGi service and to get back a ServiceRegistration, extremely useful in integration tests to test difference between when a service is present and when it's gone. - Added logback.xml for the unit tests of clustering.services-implementation bundle to avoid to print out infos while executing the unit test that would be useless - Modified ClusteringServicesIT to use the versionAsInProject on all the configured bundles, so to avoid too much manual sync process between the versions in the POM and in the configuration Change-Id: Id1ae2e22e2896df686a377fd3ae9f232f3545bca Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Cleaned up Integration Tests - Removed dependency version declarations from Integration Tests. The version of controller bundles and dependencies is loaded from integration test pom files. - Moved integration tests from test phase to verify. The integration tests could be skipped by -DskipITs option. - Added common base POM for integration tests with pax-exam configuration. Change-Id: I4a0320b97a438bbc2f8234beb34ae246b683c353 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Adding integration tests for clustering service. Added to pom file for sonar integration. Change-Id: I69555941a1d8aa7487090793aed946c1711dfe67 Signed-off-by: Patrick Chu <patrichu@cisco.com>