diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2022-03-16 10:36:33 +0000 |
---|---|---|
committer | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2022-03-24 22:30:38 +0000 |
commit | a8be1f7e70ea46dfd82fa74595a43df88c2497e0 (patch) | |
tree | 4c4e5adc54219f5bd252c9fe3a17edc7e0d0966e /csit/apex-pdp/tests/apex-pdp-test.robot | |
parent | 50d506c9b792cc27fac74a439ebf2a5569b29707 (diff) |
Add CSIT for metadataSet handling in api, pap, apex-pdp
Issue-ID: POLICY-3934
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ieae62434a3477a7dc1bffccd829385df06592cec
Diffstat (limited to 'csit/apex-pdp/tests/apex-pdp-test.robot')
-rw-r--r-- | csit/apex-pdp/tests/apex-pdp-test.robot | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/csit/apex-pdp/tests/apex-pdp-test.robot b/csit/apex-pdp/tests/apex-pdp-test.robot index 911a4371..ffa501d7 100644 --- a/csit/apex-pdp/tests/apex-pdp-test.robot +++ b/csit/apex-pdp/tests/apex-pdp-test.robot @@ -53,6 +53,18 @@ ExecuteApexTestVnfPolicy Should Be Equal As Integers ${result.rc} 0 Wait Until Keyword Succeeds 2 min 5 sec TriggerAndVerifyTestVnfPolicy +ExecuteApexTestPnfPolicyWithMetadataSet + Set Test Variable ${policyName} onap.policies.apex.pnf.metadataSet.Test + ${postjson}= Get file ${CURDIR}/data/${policyName}.json + CreatePolicy /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies 200 ${postjson} ${policyName} 1.0.0 + ${postjson}= Get file ${CURDIR}/data/onap.pnf.metadataSet.Test.json + CreateNodeTemplate /policy/api/v1/nodetemplates 200 ${postjson} 1 + DeployPolicy + Wait Until Keyword Succeeds 2 min 5 sec QueryPolicyStatus ${policyName} defaultGroup apex ${pdpName} onap.policies.native.Apex + ${result}= Run Process ${SCRIPTS}/make_topic.sh APEX-CL-MGT2 + Should Be Equal As Integers ${result.rc} 0 + Wait Until Keyword Succeeds 2 min 5 sec TriggerAndVerifyTestPnfPolicy + *** Keywords *** DeployPolicy |