From 83c8be70288614aecd64e0fadfaa0b8908a2d0b7 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Fri, 21 Sep 2018 14:31:06 -0400 Subject: SDN Controller Blueprints MS Component Adding ONAP Resource Definitions with new schema Change-Id: Ic4e1bd79dd54d12ce12f6e79ae1d738b283f3f0c Issue-ID: CCSDK-490 Signed-off-by: Singal, Kapil (ks220y) --- .../load/resource_dictionary/vnf-name.json | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 components/resource-dict/load/resource_dictionary/vnf-name.json (limited to 'components/resource-dict/load/resource_dictionary/vnf-name.json') diff --git a/components/resource-dict/load/resource_dictionary/vnf-name.json b/components/resource-dict/load/resource_dictionary/vnf-name.json new file mode 100644 index 000000000..47371d184 --- /dev/null +++ b/components/resource-dict/load/resource_dictionary/vnf-name.json @@ -0,0 +1,28 @@ +{ + "name" : "vnf-name", + "tags" : "vnf-name, tosca.datatypes.Root, data_type", + "updated-by" : "Singal, Kapil ", + "property" : { + "description" : "vnf-name", + "type" : "string" + }, + "sources" : { + "mdsal" : { + "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", + "expression-type" : "JSON_POINTER", + "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" ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg