Modified vf-module-name 83/97183/5
authorhanybaki <habdelbaki.ext@orange.com>
Wed, 16 Oct 2019 11:20:27 +0000 (13:20 +0200)
committerAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Sun, 27 Oct 2019 10:43:39 +0000 (10:43 +0000)
Issue-ID: CCSDK-1816

Signed-off-by: hanybaki <habdelbaki.ext@orange.com>
Change-Id: Iee947751589ef640a8c519d5ffabe424835bac93
Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com>
Signed-off-by: root <root@olc-rancher.novalocal>
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
93 files changed:
components/model-catalog/blueprint-model/service-blueprint/vLB/Definitions/data_types.json
components/model-catalog/blueprint-model/service-blueprint/vLB/Definitions/resources_definition_types.json
components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py
components/model-catalog/blueprint-model/service-blueprint/vLB/Templates/baseconfig-template.vtl
components/model-catalog/blueprint-model/service-blueprint/vLB/Templates/incremental-config-template.vtl
components/model-catalog/resource-dictionary/starter-dictionary/active-streams.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/cloud_env.json
components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/dcae_collector_ip.json
components/model-catalog/resource-dictionary/starter-dictionary/dcae_collector_port.json
components/model-catalog/resource-dictionary/starter-dictionary/demo_artifacts_version.json
components/model-catalog/resource-dictionary/starter-dictionary/flavor_name.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/gre_ipaddr.json
components/model-catalog/resource-dictionary/starter-dictionary/image_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/install_script_version.json
components/model-catalog/resource-dictionary/starter-dictionary/int_pktgen_private_net_id.json
components/model-catalog/resource-dictionary/starter-dictionary/int_pktgen_private_subnet_id.json
components/model-catalog/resource-dictionary/starter-dictionary/int_private1_net_cidr.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_private1_subnet_id.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_private2_net_cidr.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_private2_subnet_id.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_private_net_id.json
components/model-catalog/resource-dictionary/starter-dictionary/int_private_subnet_id.json
components/model-catalog/resource-dictionary/starter-dictionary/key_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/keypair.json
components/model-catalog/resource-dictionary/starter-dictionary/management-prefix-id.json
components/model-catalog/resource-dictionary/starter-dictionary/name_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/nb_api_version.json
components/model-catalog/resource-dictionary/starter-dictionary/nexus_artifact_repo.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/nf-role.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/nfc-naming-code.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/onap_private_net_cidr.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/onap_private_net_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/onap_private_subnet_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/pg_int.json
components/model-catalog/resource-dictionary/starter-dictionary/pktgen_private_net_cidr.json
components/model-catalog/resource-dictionary/starter-dictionary/pktgen_private_net_id.json
components/model-catalog/resource-dictionary/starter-dictionary/private1-prefix-id.json
components/model-catalog/resource-dictionary/starter-dictionary/private2-prefix-id.json
components/model-catalog/resource-dictionary/starter-dictionary/pub_key.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/public_net_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/put-active-streams.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/sec_group.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vdns_flavor_name.json
components/model-catalog/resource-dictionary/starter-dictionary/vdns_image_name.json
components/model-catalog/resource-dictionary/starter-dictionary/vdns_int_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vdns_name_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vdns_onap_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-label.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-customization-uuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-name.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-type.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-naming-policy.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-nf-code.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf_module_id.json
components/model-catalog/resource-dictionary/starter-dictionary/vfccustomizationuuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_flavor_name.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_image_name.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private1_ip_0.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private2_floating_ip.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private2_ip_0.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_name_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfw_onap_private_ip_0.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vip.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_0_int_pktgen_private_port_0_mac.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_flavor_name.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_image_name.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_onap_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_private_net_cidr.json
components/model-catalog/resource-dictionary/starter-dictionary/vlb_private_net_id.json
components/model-catalog/resource-dictionary/starter-dictionary/vm-type.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf-model-customization-uuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf-name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-invariant-uuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_flavor_name.json
components/model-catalog/resource-dictionary/starter-dictionary/vpg_image_name.json
components/model-catalog/resource-dictionary/starter-dictionary/vpg_int_pktgen_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vpg_int_private1_ip_0.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_name_0 .json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_onap_private_ip_0.json
components/model-catalog/resource-dictionary/starter-dictionary/vsn_flavor_name.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vsn_image_name.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vsn_int_private2_ip_0.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vsn_name_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vsn_onap_private_ip_0.json [new file with mode: 0644]

index f7da409..7172e3a 100644 (file)
@@ -63,7 +63,7 @@
         "properties" : {
           "type" : "JSON",
           "verb" : "PUT",
-          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$vnf-id/service-data/vnfs/vnf/$service-instance-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
           "path" : "",
           "payload" : "{\n\"GENERIC-RESOURCE-API:param\": [\n{\n\"GENERIC-RESOURCE-API:name\": \"vdns_vf_module_id\",\n\"GENERIC-RESOURCE-API:value\": \"$vf-module-id\"\n}\n]\n}",
           "input-key-mapping" : {
         "properties" : {
           "verb" : "GET",
           "type" : "JSON",
-          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$vnf-id/service-data/vnfs/vnf/$service-instance-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
+          "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
           "path" : "/param/0/value",
           "input-key-mapping" : {
             "service-instance-id" : "service-instance-id",
       }
     }
   },
-  "vf-module-name" : {
-    "tags" : "vf-module-name",
-    "name" : "vf-module-name",
+  "vf_module_name" : {
+    "tags" : "vf_module_name",
+    "name" : "vf_module_name",
     "property" : {
-      "description" : "vf-module-name",
+      "description" : "vf_module_name",
       "type" : "string"
     },
     "updated-by" : "Singal, Kapil <ks220y@att.com>",
index 34fd140..388c63f 100644 (file)
@@ -40,11 +40,11 @@ class ConfigDeploy(NetconfComponentFunction):
       #if not response.isSuccess():\r
       #  og.error(response.errorMessage)\r
       nc.discard_change()\r
-      nc.edit_config(message_content=payloadInterface, edit_default_peration="none")\r
-      nc.edit_config(message_content=payloadHostname, edit_default_peration="none")\r
-      nc.validate()\r
+      nc.edit_config(message_content=payloadInterface, edit_default_peration="merge") \r
+      nc.edit_config(message_content=payloadHostname, edit_default_peration="merge")  \r
+      #nc.validate()\r
       nc.commit()\r
-      #nc.commit(confirmed = True, confirm_timeout=15)\r
+      nc.get_config()                          #nc.commit(confirmed = True, confirm_timeout=15)\r
       nc.unlock()\r
       nc.disconnect()\r
 \r
index 9e73a31..10e4484 100644 (file)
@@ -1,9 +1,9 @@
-       {
-    "vdns-instance": [
-        {
-            "ip-addr": "$vdns_int_private_ip_0",
-            "oam-ip-addr": "$vdns_onap_private_ip_0",
-            "enabled": false
-        }
-    ]
-}
\ No newline at end of file
+<vlb-business-vnf-onap-plugin xmlns="urn:opendaylight:params:xml:ns:yang:vlb-business-vnf-onap-plugin">
+<vdns-instances>
+<vdns-instance>
+<ip-addr>$vdns_int_private_ip_0</ip-addr>
+<oam-ip-addr>$vdns_onap_private_ip_0</oam-ip-addr>
+<enabled>false</enabled>
+</vdns-instance>
+</vdns-instances>
+</vlb-business-vnf-onap-plugin>
index 7ec446f..d336257 100644 (file)
@@ -1,9 +1,9 @@
-{
-    "vdns-instance": [
-        {
-            "ip-addr": "$vdns_int_private_ip_0",
-            "oam-ip-addr": "$vdns_onap_private_ip_0",
-            "enabled": true
-        }
-    ]
-}
\ No newline at end of file
+<vlb-business-vnf-onap-plugin xmlns="urn:opendaylight:params:xml:ns:yang:vlb-business-vnf-onap-plugin">
+<vdns-instances>
+<vdns-instance>
+<ip-addr>$vdns_int_private_ip_0</ip-addr>
+<oam-ip-addr>$vdns_onap_private_ip_0</oam-ip-addr>
+<enabled>true</enabled>
+</vdns-instance>
+</vdns-instances>
+</vlb-business-vnf-onap-plugin>
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/active-streams.json b/components/model-catalog/resource-dictionary/starter-dictionary/active-streams.json
new file mode 100644 (file)
index 0000000..d136fbf
--- /dev/null
@@ -0,0 +1,18 @@
+{
+  "tags": "active-streams",
+  "name": "active-streams",
+  "property": {
+    "description": "active-streams",
+    "type": "string"
+  },
+  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+  "sources": {
+    "input": {
+      "type": "source-input"
+    },
+    "default": {
+      "type": "source-default",
+      "properties": {}
+    }
+  }
+}
\ No newline at end of file
index 1877c12..28cac3b 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "cloud_env",
-  "name": "cloud_env",
-  "property": {
-    "description": "cloud_env",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/cloud_env",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "cloud_env": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "cloud_env",
+       "name": "cloud_env",
+       "property": {
+               "description": "cloud_env",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/cloud_env",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "cloud_env": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json b/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json
new file mode 100644 (file)
index 0000000..e19e67c
--- /dev/null
@@ -0,0 +1,49 @@
+{
+       "tags": "create-md-sal-vnf-param",
+       "name": "create-md-sal-vnf-param",
+       "property": {
+               "description": "create-md-sal-vnf-param",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "type": "JSON",
+                               "verb": "PUT",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
+                               "path": "",
+                               "payload": "{\n\"GENERIC-RESOURCE-API:param\": [\n{\n\"GENERIC-RESOURCE-API:name\": \"vdns_vf_module_id\",\n\"GENERIC-RESOURCE-API:value\": \"$vf-module-id\"\n}\n]\n}",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id",
+                                       "vf-module-id": "vf-module-id"
+                               },
+                               "output-key-mapping": {},
+                               "key-dependencies": [
+                                       "vf-module-id",
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "aai-data": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "PATCH",
+                               "type": "JSON",
+                               "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name",
+                               "payload": "{\"nm-profile-name\":\"$vf-module-id\"}",
+                               "path": "",
+                               "input-key-mapping": {
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {},
+                               "key-dependencies": [
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index c0d42df..9339cd2 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "dcae_collector_ip",
-  "name": "dcae_collector_ip",
-  "property": {
-    "description": "dcae_collector_ip",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/dcae_collector_ip",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "dcae_collector_ip": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "dcae_collector_ip",
+       "name": "dcae_collector_ip",
+       "property": {
+               "description": "dcae_collector_ip",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/dcae_collector_ip",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "dcae_collector_ip": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 1191d80..85b561e 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "dcae_collector_port",
-  "name": "dcae_collector_port",
-  "property": {
-    "description": "dcae_collector_port",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/dcae_collector_port",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "dcae_collector_port": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "dcae_collector_port",
+       "name": "dcae_collector_port",
+       "property": {
+               "description": "dcae_collector_port",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/dcae_collector_port",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "dcae_collector_port": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 3884e1e..63f8a35 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "demo_artifacts_version",
-  "name": "demo_artifacts_version",
-  "property": {
-    "description": "demo_artifacts_version",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/demo_artifacts_version",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "demo_artifacts_version": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "demo_artifacts_version",
+       "name": "demo_artifacts_version",
+       "property": {
+               "description": "demo_artifacts_version",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/demo_artifacts_version",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "demo_artifacts_version": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/flavor_name.json b/components/model-catalog/resource-dictionary/starter-dictionary/flavor_name.json
new file mode 100644 (file)
index 0000000..ad7f3a7
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "flavor_name",
+       "name": "flavor_name",
+       "property": {
+               "description": "flavor_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/flavor_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "flavor_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 92f7abe..a917350 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "gre_ipaddr",
-  "name": "gre_ipaddr",
-  "property": {
-    "description": "gre_ipaddr",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/gre_ipaddr",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "gre_ipaddr": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "gre_ipaddr",
+       "name": "gre_ipaddr",
+       "property": {
+               "description": "gre_ipaddr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/gre_ipaddr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "gre_ipaddr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f8816b1..9891caa
@@ -1,33 +1,38 @@
 {
-  "name": "image_name",
-  "tags": "image_name",
-  "updated-by": "Singal, Kapil <ks220y@att.com>",
-  "property": {
-    "type": "string",
-    "description": "image_name"
-  },
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/image_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "image_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "image_name",
+       "name": "image_name",
+       "property": {
+               "description": "image_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/image_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "image_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 39bbb18..1f5f79e 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "install_script_version",
-  "name": "install_script_version",
-  "property": {
-    "description": "install_script_version",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/install_script_version",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "install_script_version": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "install_script_version",
+       "name": "install_script_version",
+       "property": {
+               "description": "install_script_version",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/install_script_version",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "install_script_version": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index acde125..2c2c18b 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "int_pktgen_private_net_id",
-  "name": "int_pktgen_private_net_id",
-  "property": {
-    "description": "int_pktgen_private_net_id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/int_pktgen_private_net_id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "int_pktgen_private_net_id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "int_pktgen_private_net_id",
+       "name": "int_pktgen_private_net_id",
+       "property": {
+               "description": "int_pktgen_private_net_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_pktgen_private_net_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "int_pktgen_private_net_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index c30bef8..6f2203f 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "int_pktgen_private_subnet_id",
-  "name": "int_pktgen_private_subnet_id",
-  "property": {
-    "description": "int_pktgen_private_subnet_id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/int_pktgen_private_subnet_id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "int_pktgen_private_subnet_id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "int_pktgen_private_subnet_id",
+       "name": "int_pktgen_private_subnet_id",
+       "property": {
+               "description": "int_pktgen_private_subnet_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_pktgen_private_subnet_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "int_pktgen_private_subnet_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/int_private1_net_cidr.json b/components/model-catalog/resource-dictionary/starter-dictionary/int_private1_net_cidr.json
new file mode 100644 (file)
index 0000000..f450143
--- /dev/null
@@ -0,0 +1,50 @@
+{
+       "tags": "int_private1_net_cidr",
+       "name": "int_private1_net_cidr",
+       "property": {
+               "description": "int_private1_net_cidr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_cidr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "int_private1_net_cidr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "int_private1_net_cidr": "prefix"
+                               }
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/int_private1_subnet_id.json b/components/model-catalog/resource-dictionary/starter-dictionary/int_private1_subnet_id.json
new file mode 100644 (file)
index 0000000..938f51a
--- /dev/null
@@ -0,0 +1,15 @@
+{
+       "tags": "int_private1_subnet_id",
+       "name": "int_private1_subnet_id",
+       "property": {
+               "description": "int_private1_subnet_id",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input",
+                       "properties": {}
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/int_private2_net_cidr.json b/components/model-catalog/resource-dictionary/starter-dictionary/int_private2_net_cidr.json
new file mode 100644 (file)
index 0000000..e018614
--- /dev/null
@@ -0,0 +1,50 @@
+{
+       "tags": "int_private2_net_cidr",
+       "name": "int_private2_net_cidr",
+       "property": {
+               "description": "int_private2_net_cidr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+                               "output-key-mapping": {
+                                       "int_private2_net_cidr": "prefix"
+                               },
+                               
+                               "input-key-mapping": {}
+                       }
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_net_cidr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "int_private2_net_cidr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/int_private2_subnet_id.json b/components/model-catalog/resource-dictionary/starter-dictionary/int_private2_subnet_id.json
new file mode 100644 (file)
index 0000000..1ec9eb3
--- /dev/null
@@ -0,0 +1,15 @@
+{
+       "tags": "int_private2_subnet_id",
+       "name": "int_private2_subnet_id",
+       "property": {
+               "description": "int_private2_subnet_id",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input",
+                       "properties": {}
+               }
+       }
+}
\ No newline at end of file
index 4aa07f3..f424da2 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "int_private_net_id",
-  "name": "int_private_net_id",
-  "property": {
-    "description": "int_private_net_id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/int_private_net_id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "int_private_net_id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "int_private_net_id",
+       "name": "int_private_net_id",
+       "property": {
+               "description": "int_private_net_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private_net_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "int_private_net_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index d9e02b5..be6f877 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "int_private_subnet_id",
-  "name": "int_private_subnet_id",
-  "property": {
-    "description": "int_private_subnet_id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/int_private_subnet_id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "int_private_subnet_id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "int_private_subnet_id",
+       "name": "int_private_subnet_id",
+       "property": {
+               "description": "int_private_subnet_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private_subnet_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "int_private_subnet_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 2633f1d..909cffb
@@ -1,33 +1,38 @@
 {
-  "name": "key_name",
-  "tags": "key_name",
-  "updated-by": "Singal, Kapil <ks220y@att.com>",
-  "property": {
-    "type": "string",
-    "description": "key_name"
-  },
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/key_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "key_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "key_name",
+       "name": "key_name",
+       "property": {
+               "description": "key_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/key_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "key_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 2b464a8..5a7fb21 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "keypair",
-  "name": "keypair",
-  "property": {
-    "description": "keypair",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/keypair",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "keypair": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "keypair",
+       "name": "keypair",
+       "property": {
+               "description": "keypair",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/keypair",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "keypair": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 279ca92..0050bb6 100644 (file)
@@ -1,49 +1,50 @@
 {
-  "tags": "management-prefix-id",
-  "name": "management-prefix-id",
-  "property": {
-    "description": "management-prefix-id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/management-prefix-id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "management-prefix-id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
-        "input-key-mapping": {},
-        "output-key-mapping": {
-          "management-prefix-id": "prefix_id"
-        }
-      }
-    }
-  }
-}
+       "tags": "management-prefix-id",
+       "name": "management-prefix-id",
+       "property": {
+               "description": "management-prefix-id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/management-prefix-id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "management-prefix-id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "management-prefix-id": "prefix_id"
+                               }
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 433a3b7..59d8f95
@@ -1,15 +1,15 @@
 {
-  "name" : "name_0",
-  "tags" : "name_0",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "name_0",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
-    }
-  }
+       "tags": "name_0",
+       "name": "name_0",
+       "property": {
+               "description": "name_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input",
+                       "properties": {}
+               }
+       }
 }
\ No newline at end of file
index 55784fe..c089dea 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "nb_api_version",
-  "name": "nb_api_version",
-  "property": {
-    "description": "nb_api_version",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/nb_api_version",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "nb_api_version": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "nb_api_version",
+       "name": "nb_api_version",
+       "property": {
+               "description": "nb_api_version",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/nb_api_version",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "nb_api_version": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f1173e4..1cb2224
@@ -1,37 +1,38 @@
 {
-  "tags": "nexus_artifact_repo",
-  "name": "nexus_artifact_repo",
-  "property": {
-    "description": "nexus_artifact_repo",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/nexus_artifact_repo",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "nexus_artifact_repo": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "nexus_artifact_repo",
+       "name": "nexus_artifact_repo",
+       "property": {
+               "description": "nexus_artifact_repo",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/nexus_artifact_repo",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "nexus_artifact_repo": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 90f5b49..f666cf4
@@ -1,30 +1,31 @@
 {
-  "name" : "nf-role",
-  "tags" : "nf-role",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vnf/nf-role",
-    "type" : "string"
-  },
-  "sources" : {
-    "default": {
-      "type": "source-default",
-      "properties": {
-      }
-    },
-    "processor-db" : {
-      "type" : "source-db",
-      "properties" : {
-        "type" : "SQL",
-        "query" : "select sdnctl.VF_MODEL.nf_role as vf_model_role from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnfmodelcustomizationuuid",
-        "input-key-mapping" : {
-          "vnfmodelcustomizationuuid" : "vnf-model-customization-uuid"
-        },
-        "output-key-mapping" : {
-          "nf-role" : "vf_model_role"
-        },
-        "key-dependencies" : [ "vnf-model-customization-uuid" ]
-      }
-    }
-  }
-}
+       "tags": "nf-role",
+       "name": "nf-role",
+       "property": {
+               "description": "vnf/nf-role",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select sdnctl.VF_MODEL.nf_role as vf_model_role from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnfmodelcustomizationuuid",
+                               "input-key-mapping": {
+                                       "vnfmodelcustomizationuuid": "vnf-model-customization-uuid"
+                               },
+                               "output-key-mapping": {
+                                       "nf-role": "vf_model_role"
+                               },
+                               "key-dependencies": [
+                                       "vnf-model-customization-uuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 55d8177..0a578c9
@@ -1,35 +1,35 @@
 {
-  "tags": "nfc-naming-code",
-  "name": "nfc-naming-code",
-  "property": {
-    "description": "nfc-naming-code",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-        "input-key-mapping": {
-          "vfccustomizationuuid": "vfccustomizationuuid"
-        },
-        "output-key-mapping": {
-          "nfc-naming-code": "nfc_naming_code"
-        },
-        "key-dependencies": [
-          "vfccustomizationuuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "nfc-naming-code",
+       "name": "nfc-naming-code",
+       "property": {
+               "description": "nfc-naming-code",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                               "input-key-mapping": {
+                                       "vfccustomizationuuid": "vfccustomizationuuid"
+                               },
+                               "output-key-mapping": {
+                                       "nfc-naming-code": "nfc_naming_code"
+                               },
+                               "key-dependencies": [
+                                       "vfccustomizationuuid"
+                               ],
+                               "endpoint-selector": "dynamic-db-source"
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 83144eb..9c9d677
@@ -1,49 +1,50 @@
 {
-  "tags": "onap_private_net_cidr",
-  "name": "onap_private_net_cidr",
-  "property": {
-    "description": "onap_private_net_cidr",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/onap_private_net_cidr",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "onap_private_net_cidr": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"",
-        "input-key-mapping": {},
-        "output-key-mapping": {
-          "onap_private_net_cidr": "prefix"
-        }
-      }
-    }
-  }
-}
+       "tags": "onap_private_net_cidr",
+       "name": "onap_private_net_cidr",
+       "property": {
+               "description": "onap_private_net_cidr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "onap_private_net_cidr": "prefix"
+                               }
+                       }
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_net_cidr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "onap_private_net_cidr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f2bcb9a..8c98843
@@ -1,38 +1,38 @@
 {
-      "tags": "onap_private_net_id",
-      "name": "onap_private_net_id",
-      "property": {
-        "description": "onap_private_net_id",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/onap_private_net_id",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "onap_private_net_id": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    
-  }
+       "tags": "onap_private_net_id",
+       "name": "onap_private_net_id",
+       "property": {
+               "description": "onap_private_net_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_net_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "onap_private_net_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 0348993..e55b0bd
@@ -1,37 +1,38 @@
 {
-  "tags": "onap_private_subnet_id",
-  "name": "onap_private_subnet_id",
-  "property": {
-    "description": "onap_private_subnet_id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/onap_private_subnet_id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "onap_private_subnet_id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "onap_private_subnet_id",
+       "name": "onap_private_subnet_id",
+       "property": {
+               "description": "onap_private_subnet_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_subnet_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "onap_private_subnet_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 2747b68..f7ba076 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "pg_int",
-  "name": "pg_int",
-  "property": {
-    "description": "pg_int",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/pg_int",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "pg_int": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "pg_int",
+       "name": "pg_int",
+       "property": {
+               "description": "pg_int",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/pg_int",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "pg_int": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index dc86efa..0eaaf9b 100644 (file)
@@ -1,50 +1,50 @@
- {
-      "tags": "pktgen_private_net_cidr",
-      "name": "pktgen_private_net_cidr",
-      "property": {
-        "description": "pktgen_private_net_cidr",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/pktgen_private_net_cidr",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "pktgen_private_net_cidr": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        },
-      
-      "processor-db": {
-        "type": "source-db",
-        "properties": {
-          "endpoint-selector": "dynamic-db-source",
-          "type": "SQL",
-          "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
-          "input-key-mapping": {},
-          "output-key-mapping": {
-            "onap_private_net_cidr": "prefix"
-          }
-        }
-      }
-    }
-  }
+{
+       "tags": "pktgen_private_net_cidr",
+       "name": "pktgen_private_net_cidr",
+       "property": {
+               "description": "pktgen_private_net_cidr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+                               "output-key-mapping": {
+                                       "pktgen_private_net_cidr": "prefix"
+                               },
+                               
+                               "input-key-mapping": {}
+                       }
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/pktgen_private_net_cidr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "pktgen_private_net_cidr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 9c8c610..c72117f 100644 (file)
@@ -1,37 +1,38 @@
-  {
-      "tags": "pktgen_private_net_id",
-      "name": "pktgen_private_net_id",
-      "property": {
-        "description": "pktgen_private_net_id",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/pktgen_private_net_id",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "pktgen_private_net_id": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    }
+{
+       "tags": "pktgen_private_net_id",
+       "name": "pktgen_private_net_id",
+       "property": {
+               "description": "pktgen_private_net_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/pktgen_private_net_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "pktgen_private_net_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 53f43a8..b3b9412 100644 (file)
@@ -1,49 +1,50 @@
 {
-  "tags": "private1-prefix-id",
-  "name": "private1-prefix-id",
-  "property": {
-    "description": "private1-prefix-id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/private1-prefix-id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "private1-prefix-id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"",
-        "input-key-mapping": {},
-        "output-key-mapping": {
-          "private1-prefix-id": "prefix_id"
-        }
-      }
-    }
-  }
-}
+       "tags": "private1-prefix-id",
+       "name": "private1-prefix-id",
+       "property": {
+               "description": "private1-prefix-id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/private1-prefix-id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "private1-prefix-id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "private1-prefix-id": "prefix_id"
+                               }
+                       }
+               }
+       }
+}
\ No newline at end of file
index 8498dd3..02dade7 100644 (file)
@@ -1,49 +1,50 @@
 {
-  "tags": "private2-prefix-id",
-  "name": "private2-prefix-id",
-  "property": {
-    "description": "private2-prefix-id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/private2-prefix-id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "private2-prefix-id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
-        "input-key-mapping": {},
-        "output-key-mapping": {
-          "private2-prefix-id": "prefix_id"
-        }
-      }
-    }
-  }
-}
+       "tags": "private2-prefix-id",
+       "name": "private2-prefix-id",
+       "property": {
+               "description": "private2-prefix-id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/private2-prefix-id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "private2-prefix-id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "private2-prefix-id": "prefix_id"
+                               }
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index b7c1da7..cb25ed4
@@ -1,37 +1,38 @@
 {
-  "tags": "pub_key",
-  "name": "pub_key",
-  "property": {
-    "description": "pub_key",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/pub_key",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "pub_key": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "pub_key",
+       "name": "pub_key",
+       "property": {
+               "description": "pub_key",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/pub_key",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "pub_key": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 34c3767..66e7aee
@@ -1,38 +1,38 @@
-  {
-      "tags": "public_net_id",
-      "name": "public_net_id",
-      "property": {
-        "description": "public_net_id",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/public_net_id",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "public_net_id": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    
-  }
+{
+       "tags": "public_net_id",
+       "name": "public_net_id",
+       "property": {
+               "description": "public_net_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/public_net_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "public_net_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/put-active-streams.json b/components/model-catalog/resource-dictionary/starter-dictionary/put-active-streams.json
new file mode 100644 (file)
index 0000000..56237d8
--- /dev/null
@@ -0,0 +1,40 @@
+{
+  "name": "put-active-streams",
+  "tags": "put-active-streams",
+  "property": {
+    "description": "put-active-streams",
+    "type": "string"
+  },
+  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+  "sources": {
+    "input": {
+      "type": "source-input"
+    },
+    "default": {
+      "type": "source-default",
+      "properties": {}
+    },
+    "sdnc": {
+      "type": "source-rest",
+      "properties": {
+        "verb": "PUT",
+        "type": "JSON",
+        "url-path": "$vpg_onap_private_ip_0:8183/restconf/config/stream-count:stream-count/streams",
+        "path": "/param/0/value",
+        "input-key-mapping": {
+          "vpg_onap_private_ip_0": "vpg_onap_private_ip_0",
+          "active-streams": "active-streams"
+        },
+        "output-key-mapping": {
+    
+        },
+        "key-dependencies": [
+          "vpg_onap_private_ip_0",
+          "active-streams"
+        ],
+        "endpoint-selector": "vpkg-rest-api",
+        "payload": "{\"streams\": {\"active-streams\": $active-streams}}"
+      }
+    }
+  }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 0dca859..deb0a59
@@ -1,38 +1,38 @@
-  {
-      "tags": "sec_group",
-      "name": "sec_group",
-      "property": {
-        "description": "sec_group",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "sec_group": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    
-  }
+{
+       "tags": "sec_group",
+       "name": "sec_group",
+       "property": {
+               "description": "sec_group",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/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",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "sec_group": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 4b1f4f3..533b804
@@ -1,45 +1,43 @@
 {
-  "name" : "service-instance-id",
-  "tags" : "service-instance-id, tosca.datatypes.Root, data_type",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "To be provided",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
-    },
-    "any-db": {
-      "type": "source-db",
-      "properties": {
-        "query": "SELECT artifact_name FROM BLUEPRINT_MODEL where artifact_version=\"1.0.0\"",
-        "input-key-mapping": {
-        },
-        "output-key-mapping": {
-          "service-instance-id": "artifact_name"
-        }
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "query": "SELECT artifact_name FROM BLUEPRINT_MODEL where artifact_version=\"1.0.0\"",
-        "input-key-mapping": {
-        },
-        "output-key-mapping": {
-          "service-instance-id": "artifact_name"
-        }
-      }
-    },
-    "capability": {
-      "type": "source-capability",
-      "properties": {
-          "script-type": "jython",
-          "script-class-reference": "SampleRAProcessor",
-          "instance-dependencies": []
-      }
-    }
-  }
-}
+       "tags": "service-instance-id, tosca.datatypes.Root, data_type",
+       "name": "service-instance-id",
+       "property": {
+               "description": "To be provided",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input",
+                       "properties": {}
+               },
+               "any-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "service-instance-id": "artifact_name"
+                               }
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "service-instance-id": "artifact_name"
+                               }
+                       }
+               },
+               "capability": {
+                       "type": "source-capability",
+                       "properties": {
+                               "script-type": "jython",
+                               "script-class-reference": "SampleRAProcessor",
+                               "instance-dependencies": []
+                       }
+               }
+       }
+}
\ No newline at end of file
index 445bc47..31f55b3 100644 (file)
@@ -1,39 +1,38 @@
-  {
-  
-      "tags": "vdns_flavor_name",
-      "name": "vdns_flavor_name",
-      "property": {
-        "description": "vdns_flavor_name",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/vdns_flavor_name",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "vdns_flavor_name": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    
-  }
+{
+       "tags": "vdns_flavor_name",
+       "name": "vdns_flavor_name",
+       "property": {
+               "description": "vdns_flavor_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_flavor_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_flavor_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index d1d9d06..7ba8f27 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vdns_image_name",
-  "name": "vdns_image_name",
-  "property": {
-    "description": "vdns_image_name",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vdns_image_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vdns_image_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vdns_image_name",
+       "name": "vdns_image_name",
+       "property": {
+               "description": "vdns_image_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_image_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_image_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 902cd27..6c3f7f4 100644 (file)
@@ -1,37 +1,40 @@
 {
-  "tags": "vdns_int_private_ip_0",
-  "name": "vdns_int_private_ip_0",
-  "property": {
-    "description": "vdns_int_private_ip_0",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vdns_int_private_ip_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vdns_int_private_ip_0": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vdns_int_private_ip_0",
+       "name": "vdns_int_private_ip_0",
+       "property": {
+               "description": "vdns_int_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules/vf-module/$vdns_vf_module_id/vf-module-data/vf-module-topology/vf-module-parameters/param/vdns_int_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id",
+                                       "vdns_vf_module_id": "vdns_vf_module_id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_int_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id",
+                                       "vdns_vf_module_id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index efc7418..693d7f1 100644 (file)
@@ -1,38 +1,38 @@
- {
-      "tags": "vdns_name_0",
-      "name": "vdns_name_0",
-      "property": {
-        "description": "vdns_name_0",
-        "type": "string"
-      },
-      "updated-by": "Singal, Kapil <ks220y@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/vdns_name_0",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "vdns_name_0": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    
-  }
+{
+       "tags": "vdns_name_0",
+       "name": "vdns_name_0",
+       "property": {
+               "description": "vdns_name_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_name_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_name_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index d6f1e37..96aa4e8 100644 (file)
@@ -1,37 +1,40 @@
 {
-  "tags": "vdns_onap_private_ip_0",
-  "name": "vdns_onap_private_ip_0",
-  "property": {
-    "description": "vdns_onap_private_ip_0",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vdns_onap_private_ip_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vdns_onap_private_ip_0": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vdns_onap_private_ip_0",
+       "name": "vdns_onap_private_ip_0",
+       "property": {
+               "description": "vdns_onap_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules/vf-module/$vdns_vf_module_id/vf-module-data/vf-module-topology/vf-module-parameters/param/vdns_onap_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id",
+                                       "vdns_vf_module_id": "vdns_vf_module_id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_onap_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id",
+                                       "vdns_vf_module_id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json
new file mode 100644 (file)
index 0000000..d428268
--- /dev/null
@@ -0,0 +1,53 @@
+{
+       "tags": "vdns_vf_module_id",
+       "name": "vdns_vf_module_id",
+       "property": {
+               "description": "vdns_vf_module_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_vf_module_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "aai-data": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
+                               "path": "",
+                               "input-key-mapping": {
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vdns_vf_module_id": "nm-profile-name"
+                               },
+                               "key-dependencies": [
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 55526b1..7e52d08
@@ -1,34 +1,35 @@
 {
-  "tags": "vf-module-label",
-  "name": "vf-module-label",
-  "property": {
-    "description": "vf-module-label",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "type": "SQL",
-        "query": "select sdnctl.VF_MODULE_MODEL.vf_module_label as vf_module_label from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
-        "input-key-mapping": {
-          "customizationid": "vf-module-model-customization-uuid"
-        },
-        "output-key-mapping": {
-          "vf-module-label": "vf_module_label"
-        },
-        "key-dependencies": [
-          "vf-module-model-customization-uuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vf-module-label",
+       "name": "vf-module-label",
+       "property": {
+               "description": "vf-module-label",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select sdnctl.VF_MODULE_MODEL.vf_module_label as vf_module_label from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
+                               "input-key-mapping": {
+                                       "customizationid": "vf-module-model-customization-uuid"
+                               },
+                               "output-key-mapping": {
+                                       "vf-module-label": "vf_module_label"
+                               },
+                               "key-dependencies": [
+                                       "vf-module-model-customization-uuid"
+                               ],
+                               "endpoint-selector": "dynamic-db-source"
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 232d658..6443235
@@ -1,18 +1,18 @@
 {
-  "tags": "vf-module-model-customization-uuid",
-  "name": "vf-module-model-customization-uuid",
-  "property": {
-    "description": "vf-module-model-customization-uuid",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    }
-  }
+       "tags": "vf-module-model-customization-uuid",
+       "name": "vf-module-model-customization-uuid",
+       "property": {
+               "description": "vf-module-model-customization-uuid",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               }
+       }
 }
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-name.json
new file mode 100644 (file)
index 0000000..0cd9da1
--- /dev/null
@@ -0,0 +1,18 @@
+{
+       "tags": "vf-module-name",
+       "name": "vf-module-name",
+       "property": {
+               "description": "vf_module_name",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index dcef027..06f3610
@@ -1,34 +1,35 @@
 {
-  "tags": "vf-module-type",
-  "name": "vf-module-type",
-  "property": {
-    "description": "vf-module-type",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "type": "SQL",
-        "query": "select vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",
-        "input-key-mapping": {
-          "customizationid": "vf-module-model-customization-uuid"
-        },
-        "output-key-mapping": {
-          "vf-module-type": "vf_module_type"
-        },
-        "key-dependencies": [
-          "vf-module-model-customization-uuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vf-module-type",
+       "name": "vf-module-type",
+       "property": {
+               "description": "vf-module-type",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",
+                               "output-key-mapping": {
+                                       "vf-module-type": "vf_module_type"
+                               },
+                               
+                               "input-key-mapping": {
+                                       "customizationid": "vf-module-model-customization-uuid"
+                               },
+                               "key-dependencies": [
+                                       "vf-module-model-customization-uuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 6c9639c..7af89e1
@@ -1,30 +1,52 @@
 {
-  "name" : "vf-naming-policy",
-  "tags" : "vf-naming-policy",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vf-naming-policy",
-    "type" : "string"
-  },
-  "sources" : {
-    "default": {
-      "type": "source-default",
-      "properties": {
-      }
-    },
-    "processor-db" : {
-      "type" : "source-db",
-      "properties" : {
-        "type" : "SQL",
-        "query" : "select sdnctl.VF_MODEL.naming_policy as vf_naming_policy from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnf_model_customization_uuid",
-        "input-key-mapping" : {
-          "vnf_model_customization_uuid" : "vnf-model-customization-uuid"
-        },
-        "output-key-mapping" : {
-          "vf-naming-policy" : "vf_naming_policy"
-        },
-        "key-dependencies" : [ "vnf-model-customization-uuid" ]
-      }
-    }
-  }
-}
+       "tags": "vf-naming-policy",
+       "name": "vf-naming-policy",
+       "property": {
+               "description": "vf-naming-policy",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vf-naming-policy",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vf-naming-policy": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.VF_MODEL.naming_policy as vf_naming_policy from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnf_model_customization_uuid",
+                               "input-key-mapping": {
+                                       "vnf_model_customization_uuid": "vnf-model-customization-uuid"
+                               },
+                               "output-key-mapping": {
+                                       "vf-naming-policy": "vf_naming_policy"
+                               },
+                               "key-dependencies": [
+                                       "vnf-model-customization-uuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 1bf36ef..e4d4e6d
@@ -1,25 +1,27 @@
 {
-  "name" : "vf-nf-code",
-  "tags" : "vf-nf-code",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vf-nf-code",
-    "type" : "string"
-  },
-  "sources" : {
-    "processor-db" : {
-      "type" : "source-db",
-      "properties" : {
-        "type" : "SQL",
-        "query" : "select sdnctl.VF_MODEL.nf_code as vf_nf_code from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:customizationid",
-        "input-key-mapping" : {
-          "customizationid" : "vnf-model-customization-uuid"
-        },
-        "output-key-mapping" : {
-          "vf-nf-code" : "vf_nf_code"
-        },
-        "key-dependencies" : [ "vnf-model-customization-uuid" ]
-      }
-    }
-  }
-}
+       "tags": "vf-nf-code",
+       "name": "vf-nf-code",
+       "property": {
+               "description": "vf-nf-code",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select sdnctl.VF_MODEL.nf_code as vf_nf_code from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:customizationid",
+                               "input-key-mapping": {
+                                       "customizationid": "vnf-model-customization-uuid"
+                               },
+                               "output-key-mapping": {
+                                       "vf-nf-code": "vf_nf_code"
+                               },
+                               "key-dependencies": [
+                                       "vnf-model-customization-uuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index ff0c597..231d2c5 100644 (file)
@@ -1,19 +1,18 @@
-  {
-      "tags": "vf_module_id",
-      "name": "vf_module_id",
-      "property": {
-        "description": "vf_module_id",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        }
-      }
-    
-  }
\ No newline at end of file
+{
+       "tags": "vf_module_id",
+       "name": "vf_module_id",
+       "property": {
+               "description": "vf_module_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "input": {
+                       "type": "source-input"
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index bd8f5e1..694f0e7
@@ -1,35 +1,35 @@
 {
-  "tags": "vfccustomizationuuid",
-  "name": "vfccustomizationuuid",
-  "property": {
-    "description": "vfccustomizationuuid",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.VF_MODULE_TO_VFC_MAPPING.vfc_customization_uuid as vnf_customid from sdnctl.VF_MODULE_TO_VFC_MAPPING where vm_count = 1 and sdnctl.VF_MODULE_TO_VFC_MAPPING.vf_module_customization_uuid=:vfmodulecustomizationuuid",
-        "input-key-mapping": {
-          "vfmodulecustomizationuuid": "vf-module-model-customization-uuid"
-        },
-        "output-key-mapping": {
-          "vfccustomizationuuid": "vnf_customid"
-        },
-        "key-dependencies": [
-          "vf-module-model-customization-uuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vfccustomizationuuid",
+       "name": "vfccustomizationuuid",
+       "property": {
+               "description": "vfccustomizationuuid",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.VF_MODULE_TO_VFC_MAPPING.vfc_customization_uuid as vnf_customid from sdnctl.VF_MODULE_TO_VFC_MAPPING where vm_count = 1 and sdnctl.VF_MODULE_TO_VFC_MAPPING.vf_module_customization_uuid=:vfmodulecustomizationuuid",
+                               "input-key-mapping": {
+                                       "vfmodulecustomizationuuid": "vf-module-model-customization-uuid"
+                               },
+                               "output-key-mapping": {
+                                       "vfccustomizationuuid": "vnf_customid"
+                               },
+                               "key-dependencies": [
+                                       "vf-module-model-customization-uuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vfw_flavor_name.json b/components/model-catalog/resource-dictionary/starter-dictionary/vfw_flavor_name.json
new file mode 100644 (file)
index 0000000..bd539cd
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vfw_flavor_name",
+       "name": "vfw_flavor_name",
+       "property": {
+               "description": "vfw_flavor_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_flavor_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_flavor_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vfw_image_name.json b/components/model-catalog/resource-dictionary/starter-dictionary/vfw_image_name.json
new file mode 100644 (file)
index 0000000..4878d57
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vfw_image_name",
+       "name": "vfw_image_name",
+       "property": {
+               "description": "vfw_image_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_image_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_image_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private1_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private1_ip_0.json
new file mode 100644 (file)
index 0000000..7374f6f
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vfw_int_private1_ip_0",
+       "name": "vfw_int_private1_ip_0",
+       "property": {
+               "description": "vfw_int_private1_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_int_private1_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_int_private1_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private2_floating_ip.json b/components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private2_floating_ip.json
new file mode 100644 (file)
index 0000000..d6ef221
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vfw_int_private2_floating_ip",
+       "name": "vfw_int_private2_floating_ip",
+       "property": {
+               "description": "vfw_int_private2_floating_ip",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_int_private2_floating_ip",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_int_private2_floating_ip": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private2_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vfw_int_private2_ip_0.json
new file mode 100644 (file)
index 0000000..c45e549
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vfw_int_private2_ip_0",
+       "name": "vfw_int_private2_ip_0",
+       "property": {
+               "description": "vfw_int_private2_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_int_private2_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_int_private2_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 96a9758..6f774bf
@@ -1,15 +1,38 @@
 {
-  "name" : "vfw_name_0",
-  "tags" : "vfw_name_0",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vfw_name_0",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
-    }
-  }
+       "tags": "vfw_name_0",
+       "name": "vfw_name_0",
+       "property": {
+               "description": "vfw_name_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_name_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_name_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
 }
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vfw_onap_private_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vfw_onap_private_ip_0.json
new file mode 100644 (file)
index 0000000..da65a00
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vfw_onap_private_ip_0",
+       "name": "vfw_onap_private_ip_0",
+       "property": {
+               "description": "vfw_onap_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vfw_onap_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vfw_onap_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 289ab19..5c649df 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vip",
-  "name": "vip",
-  "property": {
-    "description": "vip",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vip",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vip": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vip",
+       "name": "vip",
+       "property": {
+               "description": "vip",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vip",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vip": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 7640aa2..0ab9a53 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vlb_0_int_pktgen_private_port_0_mac",
-  "name": "vlb_0_int_pktgen_private_port_0_mac",
-  "property": {
-    "description": "vlb_0_int_pktgen_private_port_0_mac",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_0_int_pktgen_private_port_0_mac",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vlb_0_int_pktgen_private_port_0_mac": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vlb_0_int_pktgen_private_port_0_mac",
+       "name": "vlb_0_int_pktgen_private_port_0_mac",
+       "property": {
+               "description": "vlb_0_int_pktgen_private_port_0_mac",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_0_int_pktgen_private_port_0_mac",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_0_int_pktgen_private_port_0_mac": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 3ba34ee..1571708 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vlb_flavor_name",
-  "name": "vlb_flavor_name",
-  "property": {
-    "description": "vlb_flavor_name",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_flavor_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vlb_flavor_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vlb_flavor_name",
+       "name": "vlb_flavor_name",
+       "property": {
+               "description": "vlb_flavor_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_flavor_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_flavor_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 0db006b..76c7e67 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vlb_image_name",
-  "name": "vlb_image_name",
-  "property": {
-    "description": "vlb_image_name",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_image_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vlb_image_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vlb_image_name",
+       "name": "vlb_image_name",
+       "property": {
+               "description": "vlb_image_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_image_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_image_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 04604eb..af55cd7 100644 (file)
@@ -1,37 +1,38 @@
-  {
-      "tags": "vlb_int_pktgen_private_ip_0",
-      "name": "vlb_int_pktgen_private_ip_0",
-      "property": {
-        "description": "vlb_int_pktgen_private_ip_0",
-        "type": "string"
-      },
-      "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/vlb_int_pktgen_private_ip_0",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "vlb_int_pktgen_private_ip_0": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    }
+{
+       "tags": "vlb_int_pktgen_private_ip_0",
+       "name": "vlb_int_pktgen_private_ip_0",
+       "property": {
+               "description": "vlb_int_pktgen_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_int_pktgen_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_int_pktgen_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 4ca8e70..1ac5e19 100644 (file)
@@ -1,38 +1,38 @@
- {
-      "tags": "vlb_int_private_ip_0",
-      "name": "vlb_int_private_ip_0",
-      "property": {
-        "description": "vlb_int_private_ip_0",
-        "type": "string"
-      },
-      "updated-by": "Singal, Kapil <ks220y@att.com>",
-      "sources": {
-        "input": {
-          "type": "source-input"
-        },
-        "default": {
-          "type": "source-default",
-          "properties": {}
-        },
-        "sdnc": {
-          "type": "source-rest",
-          "properties": {
-            "type": "JSON",
-            "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/vlb_int_private_ip_0",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "vlb_int_private_ip_0": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        }
-      }
-    
-  }
+{
+       "tags": "vlb_int_private_ip_0",
+       "name": "vlb_int_private_ip_0",
+       "property": {
+               "description": "vlb_int_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_int_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_int_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index f8e7f31..acf3494 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vlb_name_0",
-  "name": "vlb_name_0",
-  "property": {
-    "description": "vlb_name_0",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_name_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vlb_name_0": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vlb_name_0",
+       "name": "vlb_name_0",
+       "property": {
+               "description": "vlb_name_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_name_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_name_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index b78cc9f..6279e44 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vlb_onap_private_ip_0",
-  "name": "vlb_onap_private_ip_0",
-  "property": {
-    "description": "vlb_onap_private_ip_0",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_onap_private_ip_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "private2-prefix-id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vlb_onap_private_ip_0",
+       "name": "vlb_onap_private_ip_0",
+       "property": {
+               "description": "vlb_onap_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_onap_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "private2-prefix-id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 419ef22..cf782cc 100644 (file)
@@ -1,49 +1,50 @@
 {
-  "tags": "vlb_private_net_cidr",
-  "name": "vlb_private_net_cidr",
-  "property": {
-    "description": "vlb_private_net_cidr",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_private_net_cidr",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vlb_private_net_cidr": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
-        "input-key-mapping": {},
-        "output-key-mapping": {
-          "vlb_private_net_cidr": "prefix"
-        }
-      }
-    }
-  }
-}
+       "tags": "vlb_private_net_cidr",
+       "name": "vlb_private_net_cidr",
+       "property": {
+               "description": "vlb_private_net_cidr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
+                               "input-key-mapping": {},
+                               "output-key-mapping": {
+                                       "vlb_private_net_cidr": "prefix"
+                               }
+                       }
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_private_net_cidr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_private_net_cidr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 38f33a2..5e83220 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vlb_private_net_id",
-  "name": "vlb_private_net_id",
-  "property": {
-    "description": "vlb_private_net_id",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vlb_private_net_id",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vlb_private_net_id": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vlb_private_net_id",
+       "name": "vlb_private_net_id",
+       "property": {
+               "description": "vlb_private_net_id",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vlb_private_net_id",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vlb_private_net_id": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index d24478d..a514592
@@ -1,35 +1,35 @@
 {
-  "tags": "vm-type",
-  "name": "vm-type",
-  "property": {
-    "description": "vm-type",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select VFC_MODEL.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-        "input-key-mapping": {
-          "vfccustomizationuuid": "vfccustomizationuuid"
-        },
-        "output-key-mapping": {
-          "vm-type": "vm_type"
-        },
-        "key-dependencies": [
-          "vfccustomizationuuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vm-type",
+       "name": "vm-type",
+       "property": {
+               "description": "vm-type",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select VFC_MODEL.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                               "output-key-mapping": {
+                                       "vm-type": "vm_type"
+                               },
+                               
+                               "input-key-mapping": {
+                                       "vfccustomizationuuid": "vfccustomizationuuid"
+                               },
+                               "key-dependencies": [
+                                       "vfccustomizationuuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index a71bef9..7b170a6
         "default": {
           "type": "source-default",
           "properties": {}
+        },
+        "sdnc": {
+          "type": "source-rest",
+          "properties": {
+            "verb": "GET",   "type": "JSON",
+            "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf-id",
+            "path": "/param/0/value",
+            "input-key-mapping": {
+              "service-instance-id": "service-instance-id",
+              "vnf-id": "vnf-id"
+            },
+            "output-key-mapping": {
+              "vnf-id": "value"
+            },
+            "key-dependencies": [
+              "service-instance-id",
+              "vnf-id"
+            ]
+          }
         }
       }
     }
+  
old mode 100755 (executable)
new mode 100644 (file)
index 2aa08c4..e598f6a
@@ -1,15 +1,15 @@
 {
-  "name" : "vnf-model-customization-uuid",
-  "tags" : "vnf-model-customization-uuid",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vnf-model-customization-uuid",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
-    }
-  }
+       "tags": "vnf-model-customization-uuid",
+       "name": "vnf-model-customization-uuid",
+       "property": {
+               "description": "vnf-model-customization-uuid",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input",
+                       "properties": {}
+               }
+       }
 }
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index b8649bf..1794b6a
@@ -1,37 +1,37 @@
-{
-  "name" : "vnf_name",
-  "tags" : "vnf_name",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vnf_name",
-    "type" : "string"
-  },
-  "sources" : {
-    "default": {
-      "type": "source-default",
-      "properties": {
-      }
-    },
-    "input": {
-      "type": "source-input",
-      "properties": {
-      }
-    },
-    "sdnc" : {
-      "type" : "source-rest",
-      "properties" : {
-        "type" : "JSON",
-        "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/vnf_name",
-        "path" : "/param/0/value",
-        "input-key-mapping" : {
-          "service-instance-id" : "service-instance-id",
-          "vnf-id" : "vnf-id"
-        },
-        "output-key-mapping" : {
-          "vnf_name" : "value"
-        },
-        "key-dependencies" : [ "service-instance-id", "vnf-id" ]
-      }
-    }
-  }
-}
+{\r
+  "tags": "vnf_name",\r
+  "name": "vnf_name",\r
+  "property": {\r
+    "description": "vnf_name",\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
+    "sdnc": {\r
+      "type": "source-rest",\r
+      "properties": {\r
+        "verb": "GET",   "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/vnf_name",\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
+          "vnf_name": "value"\r
+        },\r
+        "key-dependencies": [\r
+          "service-instance-id",\r
+          "vnf-id"\r
+        ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 2150b50..d78ee0d
@@ -1,35 +1,35 @@
 {
-  "tags": "vnfc-model-invariant-uuid",
-  "name": "vnfc-model-invariant-uuid",
-  "property": {
-    "description": "vnfc-model-invariant-uuid",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select VFC_MODEL.invariant_uuid as vfc_invariant_uuid from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-        "input-key-mapping": {
-          "vfccustomizationuuid": "vfccustomizationuuid"
-        },
-        "output-key-mapping": {
-          "vnfc-model-invariant-uuid": "vfc_invariant_uuid"
-        },
-        "key-dependencies": [
-          "vfccustomizationuuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vnfc-model-invariant-uuid",
+       "name": "vnfc-model-invariant-uuid",
+       "property": {
+               "description": "vnfc-model-invariant-uuid",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select VFC_MODEL.invariant_uuid as vfc_invariant_uuid from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                               "output-key-mapping": {
+                                       "vnfc-model-invariant-uuid": "vfc_invariant_uuid"
+                               },
+                               
+                               "input-key-mapping": {
+                                       "vfccustomizationuuid": "vfccustomizationuuid"
+                               },
+                               "key-dependencies": [
+                                       "vfccustomizationuuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 4673a61..cc9eb62
@@ -1,35 +1,35 @@
 {
-  "tags": "vnfc-model-version",
-  "name": "vnfc-model-version",
-  "property": {
-    "description": "vnfc-model-version",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "processor-db": {
-      "type": "source-db",
-      "properties": {
-        "endpoint-selector": "dynamic-db-source",
-        "type": "SQL",
-        "query": "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-        "input-key-mapping": {
-          "vfccustomizationuuid": "vfccustomizationuuid"
-        },
-        "output-key-mapping": {
-          "vnfc-model-version": "vnfc_model_version"
-        },
-        "key-dependencies": [
-          "vfccustomizationuuid"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vnfc-model-version",
+       "name": "vnfc-model-version",
+       "property": {
+               "description": "vnfc-model-version",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               
+                               "type": "SQL",
+                               "query": "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                               "input-key-mapping": {
+                                       "vfccustomizationuuid": "vfccustomizationuuid"
+                               },
+                               "output-key-mapping": {
+                                       "vnfc-model-version": "vnfc_model_version"
+                               },
+                               "key-dependencies": [
+                                       "vfccustomizationuuid"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index ae21528..faeccf7 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vpg_flavor_name",
-  "name": "vpg_flavor_name",
-  "property": {
-    "description": "vpg_flavor_name",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vpg_flavor_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vpg_flavor_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vpg_flavor_name",
+       "name": "vpg_flavor_name",
+       "property": {
+               "description": "vpg_flavor_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vpg_flavor_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vpg_flavor_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 3fd99a6..1bee33c 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vpg_image_name",
-  "name": "vpg_image_name",
-  "property": {
-    "description": "vpg_image_name",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vpg_image_name",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vpg_image_name": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vpg_image_name",
+       "name": "vpg_image_name",
+       "property": {
+               "description": "vpg_image_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vpg_image_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vpg_image_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index 88e9720..42aeed6 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vpg_int_pktgen_private_ip_0",
-  "name": "vpg_int_pktgen_private_ip_0",
-  "property": {
-    "description": "vpg_int_pktgen_private_ip_0",
-    "type": "string"
-  },
-  "updated-by": "Singal, Kapil <ks220y@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vpg_int_pktgen_private_ip_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vpg_int_pktgen_private_ip_0": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vpg_int_pktgen_private_ip_0",
+       "name": "vpg_int_pktgen_private_ip_0",
+       "property": {
+               "description": "vpg_int_pktgen_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vpg_int_pktgen_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vpg_int_pktgen_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vpg_int_private1_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vpg_int_private1_ip_0.json
new file mode 100644 (file)
index 0000000..c54ab20
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vpg_int_private1_ip_0",
+       "name": "vpg_int_private1_ip_0",
+       "property": {
+               "description": "vpg_int_private1_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vpg_int_private1_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vpg_int_private1_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vpg_name_0 .json b/components/model-catalog/resource-dictionary/starter-dictionary/vpg_name_0 .json
new file mode 100644 (file)
index 0000000..65f54f6
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vpg_name_0",
+       "name": "vpg_name_0",
+       "property": {
+               "description": "vlb_name_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vpg_name_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vpg_name_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
index cfdf8b9..bfb12b8 100644 (file)
@@ -1,37 +1,38 @@
 {
-  "tags": "vpg_onap_private_ip_0",
-  "name": "vpg_onap_private_ip_0",
-  "property": {
-    "description": "vpg_onap_private_ip_0",
-    "type": "string"
-  },
-  "updated-by": "Singal, Kapil <ks220y@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
-    },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "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/vpg_onap_private_ip_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
-        },
-        "output-key-mapping": {
-          "vpg_onap_private_ip_0": "value"
-        },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
-    }
-  }
-}
+       "tags": "vpg_onap_private_ip_0",
+       "name": "vpg_onap_private_ip_0",
+       "property": {
+               "description": "vpg_onap_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vpg_onap_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vpg_onap_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vsn_flavor_name.json b/components/model-catalog/resource-dictionary/starter-dictionary/vsn_flavor_name.json
new file mode 100644 (file)
index 0000000..89bd9c4
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vsn_flavor_name",
+       "name": "vsn_flavor_name",
+       "property": {
+               "description": "vsn_flavor_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_flavor_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vsn_flavor_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vsn_image_name.json b/components/model-catalog/resource-dictionary/starter-dictionary/vsn_image_name.json
new file mode 100644 (file)
index 0000000..8edeb56
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vsn_image_name",
+       "name": "vsn_image_name",
+       "property": {
+               "description": "vsn_image_name",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_image_name",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vsn_image_name": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vsn_int_private2_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vsn_int_private2_ip_0.json
new file mode 100644 (file)
index 0000000..c0015a6
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vsn_int_private2_ip_0",
+       "name": "vsn_int_private2_ip_0",
+       "property": {
+               "description": "vsn_int_private2_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_int_private2_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vsn_int_private2_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 7b7ba45..1ad25b3
@@ -1,15 +1,38 @@
 {
-  "name" : "vsn_name_0",
-  "tags" : "vsn_name_0",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "vsn_name_0",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
-    }
-  }
+       "tags": "vsn_name_0",
+       "name": "vsn_name_0",
+       "property": {
+               "description": "vsn_name_0",
+               "type": "string"
+       },
+       "updated-by": "Singal, Kapil <ks220y@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_name_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vsn_name_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
 }
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vsn_onap_private_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vsn_onap_private_ip_0.json
new file mode 100644 (file)
index 0000000..b769bc6
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "tags": "vsn_onap_private_ip_0",
+       "name": "vsn_onap_private_ip_0",
+       "property": {
+               "description": "vsn_onap_private_ip_0",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "sdnc": {
+                       "type": "source-rest",
+                       "properties": {
+                               "verb": "GET",
+                               "type": "JSON",
+                               "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_onap_private_ip_0",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "vsn_onap_private_ip_0": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file