From bd5f1dc0e617f25ce38ae0723710c43619ec6fd8 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Wed, 19 Aug 2020 16:18:52 -0400 Subject: Update to new tcagen2 policy type Replacing deprecated tca policy type with new tcagen2 policy type. Issue-ID: POLICY-2772 Change-Id: Id53e61caf9675e0080274784870970c7ea2575f8 Signed-off-by: Pamela Dragosh --- tests/policy/pap/pap-test.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/policy/pap/pap-test.robot') diff --git a/tests/policy/pap/pap-test.robot b/tests/policy/pap/pap-test.robot index 67a57828..5387e85f 100644 --- a/tests/policy/pap/pap-test.robot +++ b/tests/policy/pap/pap-test.robot @@ -12,7 +12,7 @@ LoadPolicy ${session}= Create Session policy https://${POLICY_API_IP}:6969 auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json ${postjson}= Get file ${CURDIR}/data/vCPE.policy.monitoring.input.tosca.json - ${resp}= Post Request policy /policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies data=${postjson} headers=${headers} + ${resp}= Post Request policy /policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies data=${postjson} headers=${headers} Log Received response from API ${resp.text} Should Be Equal As Strings ${resp.status_code} 200 -- cgit 1.2.3-korg