Move initial list creation to create-prefix-shard. 68/56468/3
authorTomas Cere <tcere@cisco.com>
Wed, 3 May 2017 13:21:00 +0000 (15:21 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 4 May 2017 19:38:59 +0000 (19:38 +0000)
commit74175c48bb2b3ee786108bdda8e665484080b7f5
treeb779ceca084d6c884ca261bb7c4f03a48a36376f
parent0e74e5866c506da072cae3a2897335df7170f958
Move initial list creation to create-prefix-shard.

This move the initial list population of produce-transactions
to create-prefix-shard rpc with 3 hardcoded prefixes(prefix-1,prefix-2,prefix-3)
so that csit suites can populate the id-int list just once when the shard is created
and produce-transactions can now run parallely on multiple entries from
multiple nodes.

Change-Id: If70990c0e217cd68027ae960a7545c69acf52cdb
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/PrefixShardHandler.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/ProduceTransactionsHandler.java