summaryrefslogtreecommitdiffstats
path: root/csit/pap
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2022-06-03 09:07:59 +0100
committerWayne Dunican <wayne.dunican@est.tech>2022-06-15 09:25:45 +0100
commit6ad6982468b31b6b43c7a8f2e618f06a700c4670 (patch)
treea4706b0fa9640668f9ad46a56e25930221b60e92 /csit/pap
parent7e5b47d30a6ec7b4921a0c681ad9c032c7672a0b (diff)
Use proper currentInstanceCount in CSITs
Issue-ID: POLICY-4086 Change-Id: I8d49acb66b798104f2cfbdc3765a68af866f9f6a Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Diffstat (limited to 'csit/pap')
-rw-r--r--csit/pap/plans/setup.sh3
-rw-r--r--csit/pap/tests/pap-test.robot1
2 files changed, 3 insertions, 1 deletions
diff --git a/csit/pap/plans/setup.sh b/csit/pap/plans/setup.sh
index 8612d2bf..1d145fe9 100644
--- a/csit/pap/plans/setup.sh
+++ b/csit/pap/plans/setup.sh
@@ -2,6 +2,7 @@
# ============LICENSE_START=======================================================
# Copyright (C) 2019-2022 Nordix Foundation.
# Modifications Copyright (C) 2019-2021 AT&T Intellectual Property.
+# Modifications Copyright (C) 2022 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -29,12 +30,14 @@ source "${SCRIPTS}"/get-versions.sh
bash "${SCRIPTS}"/get-models-examples.sh
docker-compose -f "${SCRIPTS}"/docker-compose-all.yml up -d pap
+docker-compose -f "${SCRIPTS}"/docker-compose-all.yml up -d apex-pdp
unset http_proxy https_proxy
POLICY_PAP_IP=$(get-instance-ip.sh policy-pap)
POLICY_API_IP=$(get-instance-ip.sh policy-api)
MARIADB_IP=$(get-instance-ip.sh mariadb)
+POLICY_APEX_IP=$(get-instance-ip.sh policy-apex-pdp)
echo PAP IP IS "${POLICY_PAP_IP}"
echo API IP IS "${POLICY_API_IP}"
diff --git a/csit/pap/tests/pap-test.robot b/csit/pap/tests/pap-test.robot
index 203ddd6c..b6c9a502 100644
--- a/csit/pap/tests/pap-test.robot
+++ b/csit/pap/tests/pap-test.robot
@@ -46,7 +46,6 @@ Metrics
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/components/healthcheck",} 1.0
Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="save",repository="PdpGroupRepository",state="SUCCESS",} 1.0
Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findByKeyName",repository="PdpGroupRepository",state="SUCCESS",} 1.0
- Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findAll",repository="PdpGroupRepository",state="SUCCESS",} 1.0
Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findAll",repository="PolicyStatusRepository",state="SUCCESS",} 1.0
Statistics