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) <ks220y@att.com>
diff --git a/components/resource-dict/load/resource_dictionary/nf-role.json b/components/resource-dict/load/resource_dictionary/nf-role.json
new file mode 100644
index 0000000..0e108c5
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/nf-role.json
@@ -0,0 +1,25 @@
+{
+ "name" : "nf-role",
+ "tags" : "nf-role",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnf/nf-role",
+ "type" : "string"
+ },
+ "sources" : {
+ "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