Bug fix: Enrichment fails for processor-db source
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / sec_group.json
index 38f07e8..14437c9 100755 (executable)
@@ -1,21 +1,38 @@
-{
-  "name" : "sec_group",
-  "tags" : "sec_group",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "sec_group",
-    "type" : "string"
-  },
-  "sources" : {
-    "default": {
-      "type": "source-default",
-      "properties": {
-      }
-    },
-    "input" : {
-      "type" : "source-input",
-      "properties" : {
-      }
-    }
-  }
-}
\ No newline at end of file
+  {\r
+      "tags": "sec_group",\r
+      "name": "sec_group",\r
+      "property": {\r
+        "description": "sec_group",\r
+        "type": "string"\r
+      },\r
+      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",\r
+      "sources": {\r
+        "input": {\r
+          "type": "source-input"\r
+        },\r
+        "default": {\r
+          "type": "source-default",\r
+          "properties": {}\r
+        },\r
+        "primary-config-data": {\r
+          "type": "source-rest",\r
+          "properties": {\r
+            "type": "JSON",\r
+            "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/sec_group",\r
+            "path": "/param/0/value",\r
+            "input-key-mapping": {\r
+              "service-instance-id": "service-instance-id",\r
+              "vnf-id": "vnf-id"\r
+            },\r
+            "output-key-mapping": {\r
+              "sec_group": "value"\r
+            },\r
+            "key-dependencies": [\r
+              "service-instance-id",\r
+              "vnf-id"\r
+            ]\r
+          }\r
+        }\r
+      }\r
+    \r
+  }
\ No newline at end of file