Bug 9285 - EntityOwnerSelectionStrategyConfigReader in 07/64607/14
authorJakub Toth <jakub.toth@pantheon.tech>
Wed, 25 Oct 2017 17:27:07 +0000 (19:27 +0200)
committerJakub Toth <jakub.toth@pantheon.tech>
Wed, 25 Oct 2017 21:01:11 +0000 (21:01 +0000)
commitf0968198ac30c729b9aad78eafc0e309bcee6865
tree5408c1d4d2728cc0d9f4b6ba63a8065afff9118f
parentc3dd62e4b78f6d2e352d469b70be36ca7edf347f
Bug 9285 - EntityOwnerSelectionStrategyConfigReader in
sal-distributed-datastore uses hardcoded dependencies on OSGI/karaf

 *removed hardcoded dependecies on OSGi
  *removed EntityOwnerSelectionStrategyConfigReader + test
 *set up properties for shards in DistributedEntityOwnershipService
  via blueprint
 *read config from properties via reflection from object type
  org.apache.aries.blueprint.compendium.cm.CmPropertyPlaceholder
 *allowed direct set up properties

Change-Id: Iff429c85e13bf6685e6d515ae044af36b19301bc
Signed-off-by: Jakub Toth <jakub.toth@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/EntityOwnerSelectionStrategyConfigReader.java
opendaylight/md-sal/sal-distributed-datastore/src/main/resources/org/opendaylight/blueprint/clustered-datastore.xml
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/EntityOwnerSelectionStrategyConfigReaderTest.java