From fa538d59b8982a48fd58f024a30a59616d43cf81 Mon Sep 17 00:00:00 2001 From: "Chayal, Avteet (ac229e)" Date: Fri, 20 Mar 2020 00:32:42 -0400 Subject: Improvements to the OSDF changes for new PEF APIs Improvements to the OSDF changes for new PEF APIs Issue-ID: OPTFRA-723 Change-Id: Ie425bb302361489f4b5a47fbc7225fdc8060e9c3 Signed-off-by: Chayal, Avteet (ac229e) --- test/policy-local-files/Attribute_vNS_1.json | 90 ++++++++++++++-------------- 1 file changed, 46 insertions(+), 44 deletions(-) (limited to 'test/policy-local-files/Attribute_vNS_1.json') diff --git a/test/policy-local-files/Attribute_vNS_1.json b/test/policy-local-files/Attribute_vNS_1.json index e4766db..35b3c74 100644 --- a/test/policy-local-files/Attribute_vNS_1.json +++ b/test/policy-local-files/Attribute_vNS_1.json @@ -1,48 +1,50 @@ { - "service": "attributePolicy", - "policyName": "OSDF_FRANKFURT.AttributePolicy_vNS_1", - "description": "Attribute Policy for Network Slicing (NS)", - "templateVersion": "OpenSource.version.1", - "version": "OpenSource.version.1", - "priority": "1", - "riskType": "test", - "riskLevel": "3", - "guard": "False", - "content": { - "identity": "attribute-vNS", - "policyScope": [ - "vNS", - "us", - "international", - "ip" - ], - "policyType": "attribute", - "resources": [ - "vNS", - "" - ], - "attributeProperties": { - "cloudRegion": { - "serviceRequests": [ - "", - "" - ], - "cloudRequests": [ - "", - "" - ] - }, - "networkRoles": { - "all": [ - "", - "" - ] - }, - "complex": { - "any": [ - "", - "" - ] + "OSDF_FRANKFURT.Attribute_vNS_1": { + "type": "onap.policies.optimization.AttributePolicy", + "version": "1.0.0", + "type_version": "1.0.0", + "metadata": { + "policy-id": "OSDF_FRANKFURT.Attribute_vNS_1", + "policy-version": 1 + }, + "properties": { + "scope": [ + "OSDF_FRANKFURT" + ], + "services": [ + "vNS" + ], + "resources": [ + "vNS" + ], + "geography": [ + "US", + "INTERNATIONAL" + ], + "identity": "attribute-vNS", + "attributeProperties": { + "cloudRegion": { + "serviceRequests": [ + "", + "" + ], + "cloudRequests": [ + "", + "" + ] + }, + "networkRoles": { + "all": [ + "", + "" + ] + }, + "complex": { + "any": [ + "", + "" + ] + } } } } -- cgit 1.2.3-korg