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 --- test/policy-local-files/hpa_policy_vG_1.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/policy-local-files/hpa_policy_vG_1.json') diff --git a/test/policy-local-files/hpa_policy_vG_1.json b/test/policy-local-files/hpa_policy_vG_1.json index 9b832f6..f50ed6d 100644 --- a/test/policy-local-files/hpa_policy_vG_1.json +++ b/test/policy-local-files/hpa_policy_vG_1.json @@ -1,18 +1,18 @@ { "service": "hpaPolicy", - "policyName": "oofBeijing.hpaPolicy_vG", + "policyName": "OSDF_R2.hpa_policy_vG_1", "description": "HPA policy for vG", - "templateVersion": "0.0.1", - "version": "1.0", + "templateVersion": "OpenSource.version.1", + "version": "test1", "priority": "3", "riskType": "test", "riskLevel": "2", "guard": "False", "content": { - "resources": ["vG"], + "resources": "vG", "identity": "hpaPolicy_vG", - "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG", "hpaPolicy"], - "policyType": "hpa", + "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG"], + "policyType": "hpaPolicy", "flavorFeatures": [ { "flavorLabel": "flavor_label_vm_01", @@ -85,7 +85,7 @@ "score" : "5", "architecture": "generic", "hpa-feature-attributes": [ - {"hpa-attribute-key": "diskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"}, + {"hpa-attribute-key": "diskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"}, {"hpa-attribute-key": "ephemeralDiskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"}, {"hpa-attribute-key": "swapMemSize", "hpa-attribute-value":"16", "operator": "=", "unit": "MB"} ] -- cgit 1.2.3-korg