From 8ea30a38468373dfd9715d720c085c8a6ac4ee29 Mon Sep 17 00:00:00 2001 From: Ankitkumar Patel Date: Sat, 19 May 2018 12:47:27 -0400 Subject: Fix the bug in translating a policy Fix the bug in translating the VNF policy Issue-ID: OPTFRA-239 Change-Id: I0c9f678f22fec4eb3f5e190ea0080c899fb95445 Signed-off-by: Ankitkumar Patel --- .../pdp-has-vcpe-good/vnfPolicy_vGMuxInfra.json | 24 +++++++++------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/vnfPolicy_vGMuxInfra.json') diff --git a/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/vnfPolicy_vGMuxInfra.json b/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/vnfPolicy_vGMuxInfra.json index 3971519..7ac6dff 100644 --- a/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/vnfPolicy_vGMuxInfra.json +++ b/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/vnfPolicy_vGMuxInfra.json @@ -1,31 +1,27 @@ { - "service": "VnfPolicy", - "policyName": "oofBeijing.vnfPolicy_vGMuxInfra", + "service": "vnfPolicy", + "policyName": "OSDF_R2.vnfPolicy_vGMuxInfra", "description": "vnfPolicy", - "templateVersion": "1702.03", - "version": "oofBeijing", + "templateVersion": "OpenSource.version.1", + "version": "test1", "priority": "6", "riskType": "test", "riskLevel": "3", "guard": "False", "content": { "identity": "vnf_vGMuxInfra", - "policyScope": ["vCPE", "INTERNATIONAL", "ip", "vGMuxInfra", "vnf_policy"], + "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"], "policyType": "vnfPolicy", "resources": ["vGMuxInfra"], "applicableResources": "any", - "vnfProperties": [ + "vnfProperties": [ { "inventoryProvider": "aai", - "serviceType": "", - "inventoryType": "cloud", - "customerId": "" - }, - { - "inventoryProvider": "multicloud", - "serviceType": "HNGATEWAY", + "serviceType": "vGMuxInfra", "inventoryType": "service", - "customerId": "21014aa2-526b-11e6-beb8-9e71128cae77" + "customerId": "", + "orchestrationStatus": "", + "equipmentRole": "" } ] } -- cgit 1.2.3-korg