Create DatastoreSnapshotRestore instance via blueprint 13/36913/13
authorTom Pantelis <tpanteli@brocade.com>
Tue, 29 Mar 2016 22:11:18 +0000 (18:11 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Fri, 10 Jun 2016 18:30:05 +0000 (18:30 +0000)
commit35a26b477f05ddf7448013c4a8b7a70174772ca3
tree5b16d26670aec6063800f974bd0c56fd00b9fe59
parentb2f6cabb2d2b96bf334788f106cfee0ceb5feff1
Create DatastoreSnapshotRestore instance via blueprint

The DatastoreSnapshotRestore instance was created via a bundle Activator
in order to make it available to both data store instances w/o having to
create a config yang for it and having it advertised as a service and
injected into the data store Modules.

Now that the data store instances are created via blueprint, we no
longer need the Activator and the DatastoreSnapshotRestore instance is now
created via blueprint.

Change-Id: I8299823787fff6b03934e2b0069d77b0d9981d81
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-distributed-datastore/pom.xml
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreSnapshotRestore.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/osgi/Activator.java [deleted file]
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/DatastoreSnapshotRestoreTest.java