Switch default stores to Hazelcast based implementation
Change-Id: Id2e74bcfeb047b2e16e55bce23634c662a3b4058
Showing
4 changed files
with
4 additions
and
4 deletions
... | @@ -65,7 +65,7 @@ import static org.onlab.onos.net.intent.IntentState.*; | ... | @@ -65,7 +65,7 @@ import static org.onlab.onos.net.intent.IntentState.*; |
65 | import static org.slf4j.LoggerFactory.getLogger; | 65 | import static org.slf4j.LoggerFactory.getLogger; |
66 | import static org.onlab.metrics.MetricsUtil.*; | 66 | import static org.onlab.metrics.MetricsUtil.*; |
67 | 67 | ||
68 | -@Component(immediate = true, enabled = true) | 68 | +@Component(immediate = true, enabled = false) |
69 | @Service | 69 | @Service |
70 | public class DistributedIntentStore | 70 | public class DistributedIntentStore |
71 | extends AbstractStore<IntentEvent, IntentStoreDelegate> | 71 | extends AbstractStore<IntentEvent, IntentStoreDelegate> | ... | ... |
... | @@ -64,7 +64,7 @@ import static org.onlab.onos.net.intent.IntentState.*; | ... | @@ -64,7 +64,7 @@ import static org.onlab.onos.net.intent.IntentState.*; |
64 | import static org.slf4j.LoggerFactory.getLogger; | 64 | import static org.slf4j.LoggerFactory.getLogger; |
65 | import static org.onlab.metrics.MetricsUtil.*; | 65 | import static org.onlab.metrics.MetricsUtil.*; |
66 | 66 | ||
67 | -@Component(immediate = true, enabled = false) | 67 | +@Component(immediate = true, enabled = true) |
68 | @Service | 68 | @Service |
69 | public class HazelcastIntentStore | 69 | public class HazelcastIntentStore |
70 | extends AbstractHazelcastStore<IntentEvent, IntentStoreDelegate> | 70 | extends AbstractHazelcastStore<IntentEvent, IntentStoreDelegate> | ... | ... |
... | @@ -71,7 +71,7 @@ import static org.slf4j.LoggerFactory.getLogger; | ... | @@ -71,7 +71,7 @@ import static org.slf4j.LoggerFactory.getLogger; |
71 | /** | 71 | /** |
72 | * Manages link resources using database service. | 72 | * Manages link resources using database service. |
73 | */ | 73 | */ |
74 | -@Component(immediate = true) | 74 | +@Component(immediate = true, enabled = false) |
75 | @Service | 75 | @Service |
76 | public class DistributedLinkResourceStore implements LinkResourceStore { | 76 | public class DistributedLinkResourceStore implements LinkResourceStore { |
77 | 77 | ... | ... |
... | @@ -64,7 +64,7 @@ import static org.slf4j.LoggerFactory.getLogger; | ... | @@ -64,7 +64,7 @@ import static org.slf4j.LoggerFactory.getLogger; |
64 | /** | 64 | /** |
65 | * Manages link resources using Hazelcast. | 65 | * Manages link resources using Hazelcast. |
66 | */ | 66 | */ |
67 | -@Component(immediate = true, enabled = false) | 67 | +@Component(immediate = true, enabled = true) |
68 | @Service | 68 | @Service |
69 | public class HazelcastLinkResourceStore | 69 | public class HazelcastLinkResourceStore |
70 | extends AbstractHazelcastStore<LinkResourceEvent, StoreDelegate<LinkResourceEvent>> | 70 | extends AbstractHazelcastStore<LinkResourceEvent, StoreDelegate<LinkResourceEvent>> | ... | ... |
-
Please register or login to post a comment