Improvements to the OSDF changes for new PEF APIs
[optf/osdf.git] / test / policy-local-files / Attribute_vNS_1.json
index e4766db..35b3c74 100644 (file)
@@ -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": [
+            "",
+            ""
+          ]
+        }
       }
     }
   }