X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fpolicy%2Fapi%2Fapi-test.robot;h=76c1bdc6fd5096d2cb3d65300494dd5abd872c2b;hb=2070574bb059eb665a3f00e7cba3c1a5380c5334;hp=19aa18abf9344888c850526c9619b97c9339da52;hpb=7230b715f5a943b883afd2b9f5fb59ebc50aa387;p=integration%2Fcsit.git diff --git a/tests/policy/api/api-test.robot b/tests/policy/api/api-test.robot index 19aa18ab..76c1bdc6 100644 --- a/tests/policy/api/api-test.robot +++ b/tests/policy/api/api-test.robot @@ -39,7 +39,7 @@ RetrievePolicyTypes Should Be Equal As Strings ${resp.json()['version']} 1.0.0 CreateTCAPolicyTypeV1 - [Documentation] Create TCA Policy Type Version 1 + [Documentation] Create TCA Policy Type Version 1. Trying to create an existing policy type with any change and same version should cause error. ${auth}= Create List healthcheck zb!XztG34 ${postjson}= Get file ${CURDIR}/data/onap.policy.monitoring.cdap.tca.hi.lo.app.v1.json Log Creating session https://${POLICY_API_IP}:6969 @@ -90,9 +90,9 @@ CreateNewMonitoringPolicyV1 Dictionary Should Contain Key ${postjsonobject['topology_template']['policies'][0]} onap.restart.tca SimpleCreateNewMonitoringPolicyV1 - [Documentation] Create a new Monitoring TCA policiy version 1 using simple endpoint + [Documentation] Create a new Monitoring TCA policiy version 1 using simple endpoint. Trying to create an existing policy with any change and same version should cause error. ${auth}= Create List healthcheck zb!XztG34 - ${postjson}= Get file ${CURDIR}/data/vCPE.policy.monitoring.input.tosca.v1.json + ${postjson}= Get file ${CURDIR}/data/vCPE.policy.monitoring.input.tosca.v1_2.json Log Creating session https://${POLICY_API_IP}:6969 ${session}= Create Session policy https://${POLICY_API_IP}:6969 auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json