summaryrefslogtreecommitdiffstats
path: root/csit/api
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-01-19 15:30:30 +0000
committerliamfallon <liam.fallon@est.tech>2023-01-19 21:50:04 +0000
commitc49f64d146fc89c47aeedfc5f99993785d33e80f (patch)
tree37be9fc12a757a0b402e5bf763c2f03584032583 /csit/api
parent1ef4c1ba986fed2a7611dc0e3c6d071c68d74296 (diff)
Fix context paths in CSITs
THe context path for API and PAP is now configurable. Issue-ID: POLICY-4482 Change-Id: If6b53c8163cc9f377005a665eca7cb6c146156af Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/api')
-rw-r--r--csit/api/tests/api-test.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/csit/api/tests/api-test.robot b/csit/api/tests/api-test.robot
index d9ca2a97..37a06e85 100644
--- a/csit/api/tests/api-test.robot
+++ b/csit/api/tests/api-test.robot
@@ -114,7 +114,7 @@ DeleteSpecificPolicyTypeV3
Metrics
[Documentation] Verify policy-api is exporting prometheus metrics
${auth}= PolicyAdminAuth
- ${resp}= GetMetrics ${POLICY_API_IP} ${auth}
+ ${resp}= GetMetrics ${POLICY_API_IP} ${auth} /
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/api/v1/healthcheck",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/api/v1/statistics",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/api/v1/policytypes",} 1.0