aboutsummaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/pap-test.robot
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-07-02 11:51:35 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-07-04 09:55:38 +0100
commit36127476ae049d82b843ef34577a330a34c82c61 (patch)
treec6697de03df74affe3093f54b48628b96242d4b5 /csit/resources/tests/pap-test.robot
parent54d234de0d9260f610425cd496a52265a4082441 (diff)
Fixes for CSIT
- fix API tests from changes in code coverage / sonar fixes - fix some env variables in docker compose - stick jaeger version for compatibility Issue-ID: POLICY-5067 Change-Id: I48d05f54bfba0ca2e259428c4f8e83047ef42a18 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/resources/tests/pap-test.robot')
-rw-r--r--csit/resources/tests/pap-test.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/csit/resources/tests/pap-test.robot b/csit/resources/tests/pap-test.robot
index 13bf16ed..58a6a049 100644
--- a/csit/resources/tests/pap-test.robot
+++ b/csit/resources/tests/pap-test.robot
@@ -19,17 +19,17 @@ CheckUndeploymentStatus
LoadPolicy
[Documentation] Create a policy named 'onap.restart.tca' and version '1.0.0' using specific api
${postjson}= Get file ${DATA}/vCPE.policy.monitoring.input.tosca.json
- CreatePolicy /policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 200 ${postjson} onap.restart.tca 1.0.0
+ CreatePolicy /policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies 201 ${postjson} onap.restart.tca 1.0.0
LoadPolicyWithMetadataSet
[Documentation] Create a policy named 'operational.apex.decisionMaker' and version '1.0.0' using specific api
${postjson}= Get file ${CURDIR}/data/apex.policy.decisionmaker.input.tosca.json
- CreatePolicy /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies 200 ${postjson} operational.apex.decisionMaker 1.0.0
+ CreatePolicySuccessfully /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies ${postjson} operational.apex.decisionMaker 1.0.0
LoadNodeTemplates
[Documentation] Create node templates in database using specific api
${postjson}= Get file ${NODETEMPLATES}/nodetemplates.metadatasets.input.tosca.json
- CreateNodeTemplate /policy/api/v1/nodetemplates 200 ${postjson} 3
+ CreateNodeTemplate /policy/api/v1/nodetemplates 201 ${postjson} 3
Healthcheck
[Documentation] Verify policy pap health check