summaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/api-test.robot
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2023-07-12 12:03:55 -0400
committerRam Krishna Verma <ram_krishna.verma@bell.ca>2023-07-12 12:04:04 -0400
commit0fbd752b37e66a06fe419ba7d607d786f5bf8582 (patch)
tree7d3e9697bdcaf059b8cd1d156a2e3763db1e2850 /csit/resources/tests/api-test.robot
parentbdced49a2f16f1787088aa4f1013d8a07be51ec4 (diff)
Remove statistics from csit tests
Removing the db based statistics tests from csit first, so that later when we remove the actual code from repos the builds are not affected. Issue-ID: POLICY-4109 Change-Id: If21ffe93f000e605e4f7690cfc4e7986346fe67f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Diffstat (limited to 'csit/resources/tests/api-test.robot')
-rw-r--r--csit/resources/tests/api-test.robot7
1 files changed, 0 insertions, 7 deletions
diff --git a/csit/resources/tests/api-test.robot b/csit/resources/tests/api-test.robot
index e8679a7f..74ea7c4a 100644
--- a/csit/resources/tests/api-test.robot
+++ b/csit/resources/tests/api-test.robot
@@ -14,11 +14,6 @@ Healthcheck
Should Be Equal As Strings ${resp.json()['healthy']} True
Should Be Equal As Strings ${resp.json()['message']} alive
-Statistics
- [Documentation] Verify policy api statistics
- ${resp}= GetReq /policy/api/v1/statistics
- Should Be Equal As Strings ${resp.json()['code']} 200
-
RetrievePolicyTypes
[Documentation] Retrieve all policy types
FetchPolicyTypes /policy/api/v1/policytypes 37
@@ -84,7 +79,6 @@ DeleteSpecificNodeTemplate
DeleteReq /policy/api/v1/nodetemplates/apexMetadata_adaptive/versions/2.3.1 200
DeleteReq /policy/api/v1/nodetemplates/apexMetadata_adaptive/versions/2.3.1 404
-
DeleteSpecificPolicy
[Documentation] Delete a policy named 'onap.restart.tca' and version '1.0.0' using generic api
DeleteReq /policy/api/v1/policies/onap.restart.tca/versions/1.0.0 200
@@ -115,7 +109,6 @@ Metrics
${auth}= PolicyAdminAuth
${resp}= GetMetrics ${POLICY_API_IP} ${auth} /policy/api/v1/
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/healthcheck",}
- Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/statistics",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policytypes",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policies",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policies/{policyId}/versions/{policyVersion}",} 1.0