# limitations under the License.
#
# Place the scripts in run order:
-source ${WORKSPACE}/test/csit/scripts/integration/script1.sh
-docker run --name i-mock -d jamesdbloom/mockserver
-MOCK_IP=`get-instance-ip.sh i-mock`
+run-instance.sh nexus3.onap.org:10001/openecomp/mso i-so ""
+
+SO_IP=`get-instance-ip.sh i-so`
# Wait for initialization
for i in {1..10}; do
- curl -sS ${MOCK_IP}:1080 && break
+ curl -sS ${SO_IP}:8080 && break
echo sleep $i
sleep $i
done
-${WORKSPACE}/test/csit/scripts/integration/mock-hello.sh ${MOCK_IP}
-
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v MOCK_IP:${MOCK_IP}"
+ROBOT_VARIABLES="-v SO_IP:${SO_IP}"
--- /dev/null
+*** Settings ***
+Library OperatingSystem
+Library RequestsLibrary
+
+*** Test Cases ***
+SO ServiceInstance health check
+ Create Session refrepo http://${SO_IP}:8080
+ &{headers}= Create Dictionary Authorization=Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA== Content-Type=application/json Accept=application/json
+ ${resp}= Get Request refrepo /ecomp/mso/infra/orchestrationRequests/v2 headers=${headers}
+ Should Not Contain ${resp.content} null