BUG 2074 : clustering.services-implementation failed to register listner. 21/11621/1
authorMoiz Raja <moraja@cisco.com>
Sat, 27 Sep 2014 00:53:10 +0000 (17:53 -0700)
committerMoiz Raja <moraja@cisco.com>
Sat, 27 Sep 2014 00:57:54 +0000 (17:57 -0700)
The adsal feature depends on both the stub and implementaton of clustering.
This causes a problem when deployed because sometimes the stub is wired in first
which leads to createCache requests going to that implementation. Subsequently
the real implementation gets wired in and add listener calls go there but since
the caches were created on the stub this fails.

This patch removes the stub as a dependency with the assumption that it is not
required in production.

Change-Id: I42203bbf31b46560c23f283ddd83e56bd950830b
Signed-off-by: Moiz Raja <moraja@cisco.com>
features/adsal/src/main/resources/features.xml

index e12ca8e5e990acc860dc9e56e4eed57ed9c2a0e0..a665657ba7bb5130a54c10964dc643e6fb50792e 100644 (file)
@@ -35,7 +35,6 @@
       <feature version="${sal.version}">odl-adsal-core</feature>
       <bundle>mvn:org.opendaylight.controller/clustering.services/${clustering.services.version}</bundle>
       <bundle>mvn:org.opendaylight.controller/clustering.services-implementation/${clustering.services_implementation.version}</bundle>
-      <bundle>mvn:org.opendaylight.controller/clustering.stub/${clustering.stub.version}</bundle>
    </feature>
    <feature name="odl-adsal-configuration" description="OpenDaylight :: AD-SAL :: Configuration" version="${configuration.version}">
       <feature version="${sal.version}">odl-adsal-core</feature>