1
0
Fork 0

Finally manual test is working.

This commit is contained in:
Max Neunhoeffer 2014-01-07 15:10:55 +01:00
parent c4332fe68c
commit a12b27a0c6
2 changed files with 10 additions and 10 deletions

View File

@ -16,7 +16,7 @@ curl --silent --dump - -L -X PUT "$ETCD/v2/keys/$NAME/Target/MapIDToEndpoint/Pav
curl --silent --dump - -L -X PUT "$ETCD/v2/keys/$NAME/Target/MapIDToEndpoint/Perry" -d "value=tcp://127.0.0.1:8531" || exit 1
curl --silent --dump - -L -X PUT "$ETCD/v2/keys/$NAME/Target/MapIDToEndpoint/Claus" -d "value=tcp://127.0.0.1:8529" || exit 1
curl --silent --dump - -L -X PUT "$ETCD/v2/keys/$NAME/Target/Collections/_system/1234567" -d 'value={"status":"LOADED","shards":{"shardBlubb": "Pavel"},"shardKeys":["xyz"],"indexes":{},"name":"testCollection","typ":3}' || exit 1
curl --silent --dump - -L -X PUT "$ETCD/v2/keys/$NAME/Current/Collections/system/1234567" -d 'value={"status":3,"shards":{"shardBlubb": "Pavel"},"shardKeys":["xyz"],"indexes":{},"name":"testCollection","type":2,"id":"5678"}' || exit 1
echo
echo start arangod with:

View File

@ -47,26 +47,26 @@ if [ "$1" == "init" ] ; then
set Target/DBServers
set Target/Coordinators
set Target/Collections
set Target/Collections/_system
set Target/Collections/_system/Version 1
set Target/Collections/_system/Lock UNLOCKED
set Target/Collections/system
set Target/Collections/system/Version 1
set Target/Collections/system/Lock UNLOCKED
set Plan/Version 1
set Plan/DBServers
set Plan/Coordinators
set Plan/Collections
set Plan/Collections/_system
set Plan/Collections/_system/Version 1
set Plan/Collections/_system/Lock UNLOCKED
set Plan/Collections/system
set Plan/Collections/system/Version 1
set Plan/Collections/system/Lock UNLOCKED
set Current/Version 1
set Current/ServersRegistered
set Current/DBServers
set Current/Coordinators
set Current/Collections
set Current/Collections/_system
set Current/Collections/_system/Version 1
set Current/Collections/_system/Lock UNLOCKED
set Current/Collections/system
set Current/Collections/system/Version 1
set Current/Collections/system/Lock UNLOCKED
set Current/ShardsCopied