Merge "fix sdnc.cluster script to use new NodePort prefix"
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>
Wed, 12 Sep 2018 13:51:25 +0000 (13:51 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 12 Sep 2018 13:51:25 +0000 (13:51 +0000)
kubernetes/sdnc/resources/geo/bin/sdnc.cluster

index 87cdeff..48db574 100755 (executable)
@@ -42,7 +42,7 @@ PASSWORD=admin
 for pod_number in {0..2}
 do
 
-   response=`curl -s -u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "Accept: application/json" -X GET http://localhost:3026$((${pod_number} + 1))/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-$((${MEMBER_NUMBER} + ${pod_number}))-shard-default-config,type=DistributedConfigDatastore`
+   response=`curl -s -u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "Accept: application/json" -X GET http://localhost:3046$((${pod_number} + 1))/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-$((${MEMBER_NUMBER} + ${pod_number}))-shard-default-config,type=DistributedConfigDatastore`
 
    if [ $? -ne 0 ]; then
       continue