aboutsummaryrefslogtreecommitdiffstats
path: root/csit/pap
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2022-06-17 12:02:02 +0000
committerGerrit Code Review <gerrit@onap.org>2022-06-17 12:02:02 +0000
commit0af40015d73624bc32074e3d37ee1e27e125d498 (patch)
treefd96e00ca35993099b18534867ea915cff3faa7f /csit/pap
parent1d450ff2cc00177a4915644884da1e151f1b0ebb (diff)
parent6ad6982468b31b6b43c7a8f2e618f06a700c4670 (diff)
Merge "Use proper currentInstanceCount in CSITs"
Diffstat (limited to 'csit/pap')
-rwxr-xr-xcsit/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 100755
--- 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