Fix CSIT which broke because of AAF-168
AAF-168 broke CSIT test for SMS. This should fix it.
Also updated the versions of vault being used
Issue-ID: AAF-251
Change-Id: I154191c515d932c1aac24b34fd7946835ad26fac
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
diff --git a/test/csit/plans/aaf/sms-test-plan/setup.sh b/test/csit/plans/aaf/sms-test-plan/setup.sh
index 9f77b69..9b57d64 100755
--- a/test/csit/plans/aaf/sms-test-plan/setup.sh
+++ b/test/csit/plans/aaf/sms-test-plan/setup.sh
@@ -24,7 +24,7 @@
docker login -u docker -p docker nexus3.onap.org:10001
docker pull nexus3.onap.org:10001/onap/aaf/sms
-docker pull docker.io/vault:0.9.5
+docker pull docker.io/vault:0.10.0
#
# Running vault in dev server mode here for CSIT
@@ -32,7 +32,7 @@
#
docker run -e "VAULT_DEV_ROOT_TOKEN_ID=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" \
-e SKIP_SETCAP=true \
- --name vault -d -p 8200:8200 vault:0.9.5
+ --name vault -d -p 8200:8200 vault:0.10.0
SMSDB_IP=$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' vault)
cat << EOF > $CONFIG_FILE
diff --git a/test/csit/plans/aaf/sms-test-plan/teardown.sh b/test/csit/plans/aaf/sms-test-plan/teardown.sh
index d6fa329..2c8b3e8 100644
--- a/test/csit/plans/aaf/sms-test-plan/teardown.sh
+++ b/test/csit/plans/aaf/sms-test-plan/teardown.sh
@@ -22,4 +22,4 @@
docker stop sms vault
docker rm sms vault
docker rmi nexus3.onap.org:10001/onap/aaf/sms
-docker rmi docker.io/vault:0.9.5
+docker rmi docker.io/vault:0.10.0
diff --git a/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot b/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot
index 1302abc..dae48a9 100644
--- a/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot
+++ b/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot
@@ -23,7 +23,7 @@
[Documentation] Gets Backend Status
Create Session SMS ${SMS_HOSTNAME}:${SMS_PORT}
&{headers}= Create Dictionary Content-Type=application/json Accept=application/json
- ${resp}= Get Request SMS /v1/sms/status headers=${headers}
+ ${resp}= Get Request SMS /v1/sms/quorum/status headers=${headers}
Log To Console *********************
Log To Console response = ${resp}
Log To Console body = ${resp.text}