X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=components%2Fmodel-catalog%2Fblueprint-model%2Fservice-blueprint%2FvFW%2FDefinitions%2Fresources_definition_types.json;h=a35974c83d90cee148577759b27759c18edd54f3;hb=d1df8f95104b66a1135660e06d71ebf7e59c81f9;hp=18d0acb4fb842789aff8e829cda15c9e225945a8;hpb=fa5e73e47a1bf8c1c18bba7ac421e5692ba21b8e;p=ccsdk%2Fcds.git diff --git a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json index 18d0acb4f..a35974c83 100644 --- a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json +++ b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json @@ -26,7 +26,7 @@ "input" : { "type" : "source-input" }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -56,7 +56,7 @@ "input" : { "type" : "source-input" }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -81,15 +81,30 @@ "description" : "nexus_artifact_repo", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, "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/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" ] + } } } }, @@ -107,7 +122,7 @@ "properties" : { } }, "processor-db" : { - "type" : "source-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", @@ -129,11 +144,19 @@ "description" : "nfc-naming-code", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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" : { @@ -154,13 +177,38 @@ "description" : "onap_private_net_cidr", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "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-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 = \"private\"", + "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" } @@ -175,12 +223,16 @@ "description" : "onap_private_net_id", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { "input" : { "type" : "source-input" }, - "primary-config-data" : { + "default" : { + "type" : "source-default", + "properties" : { } + }, + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -205,12 +257,16 @@ "description" : "onap_private_subnet_id", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { "input" : { "type" : "source-input" }, - "primary-config-data" : { + "default" : { + "type" : "source-default", + "properties" : { } + }, + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -235,13 +291,22 @@ "description" : "private-prefix-id", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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 = \"private\"", + "input-key-mapping" : { }, "output-key-mapping" : { "private-prefix-id" : "prefix_id" } @@ -259,7 +324,7 @@ "updated-by" : "Singal, Kapil ", "sources" : { "processor-db" : { - "type" : "source-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 = \"protected\"", @@ -280,7 +345,7 @@ "updated-by" : "Singal, Kapil ", "sources" : { "processor-db" : { - "type" : "source-processor-db", + "type" : "source-db", "properties" : { "type" : "SQL", "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"protected\"", @@ -298,12 +363,16 @@ "description" : "pub_key", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { "input" : { "type" : "source-input" }, - "primary-config-data" : { + "default" : { + "type" : "source-default", + "properties" : { } + }, + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -328,14 +397,30 @@ "description" : "public_net_id", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, "default" : { "type" : "source-default", "properties" : { } }, - "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/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" ] + } } } }, @@ -346,15 +431,30 @@ "description" : "sec_group", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, "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/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" ] + } } } }, @@ -372,9 +472,9 @@ "properties" : { } }, "any-db" : { - "type" : "source-processor-db", + "type" : "source-db", "properties" : { - "query" : "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"", + "query" : "SELECT artifact_name FROM BLUEPRINT_MODEL where artifact_version=\"1.0.0\"", "input-key-mapping" : { }, "output-key-mapping" : { "service-instance-id" : "artifact_name" @@ -382,9 +482,9 @@ } }, "processor-db" : { - "type" : "source-processor-db", + "type" : "source-db", "properties" : { - "query" : "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"", + "query" : "SELECT artifact_name FROM BLUEPRINT_MODEL where artifact_version=\"1.0.0\"", "input-key-mapping" : { }, "output-key-mapping" : { "service-instance-id" : "artifact_name" @@ -411,7 +511,7 @@ "updated-by" : "Singal, Kapil ", "sources" : { "processor-db" : { - "type" : "source-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 = \"unprotected\"", @@ -432,7 +532,7 @@ "updated-by" : "Singal, Kapil ", "sources" : { "processor-db" : { - "type" : "source-processor-db", + "type" : "source-db", "properties" : { "type" : "SQL", "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"unprotected\"", @@ -465,10 +565,17 @@ "description" : "vf-module-label", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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", @@ -490,10 +597,13 @@ "description" : "vf-module-model-customization-uuid", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { "input" : { - "type" : "source-input", + "type" : "source-input" + }, + "default" : { + "type" : "source-default", "properties" : { } } } @@ -508,7 +618,7 @@ "updated-by" : "adetalhouet", "sources" : { "processor-db" : { - "type" : "source-processor-db", + "type" : "source-db", "properties" : { "type" : "SQL", "query" : "select sdnctl.demo.value as value from sdnctl.demo where sdnctl.demo.id=:vfmoduleid", @@ -537,7 +647,7 @@ "properties" : { } }, "processor-db" : { - "type" : "source-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", @@ -562,7 +672,7 @@ "updated-by" : "Singal, Kapil ", "sources" : { "processor-db" : { - "type" : "source-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", @@ -593,17 +703,25 @@ } }, "vfccustomizationuuid" : { - "tags" : "vfccustomizationuuid, tosca.datatypes.Root, data_type", + "tags" : "vfccustomizationuuid", "name" : "vfccustomizationuuid", "property" : { "description" : "vfccustomizationuuid", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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" : { @@ -645,7 +763,7 @@ "type" : "source-input", "properties" : { } }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -677,7 +795,7 @@ "type" : "source-input", "properties" : { } }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -717,11 +835,19 @@ "description" : "vm-type", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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" : { @@ -742,10 +868,13 @@ "description" : "vnf-id", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { "input" : { - "type" : "source-input", + "type" : "source-input" + }, + "default" : { + "type" : "source-default", "properties" : { } } } @@ -766,21 +895,27 @@ } }, "vnf-name" : { - "tags" : "vnf-name, tosca.datatypes.Root, data_type", + "tags" : "vnf-name", "name" : "vnf-name", "property" : { "description" : "vnf-name", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { - "primary-config-data" : { + "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/vnf_name", + "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" @@ -790,6 +925,22 @@ }, "key-dependencies" : [ "service-instance-id", "vnf-id" ] } + }, + "aai-data" : { + "type" : "source-rest", + "properties" : { + "type" : "JSON", + "verb" : "GET", + "url-path" : "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id", + "path" : "", + "input-key-mapping" : { + "vnf-id" : "vnf-id" + }, + "output-key-mapping" : { + "vnf-name" : "vnf-name" + }, + "key-dependencies" : [ "vnf-id" ] + } } } }, @@ -810,7 +961,7 @@ "type" : "source-input", "properties" : { } }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -832,14 +983,22 @@ "tags" : "vnfc-model-invariant-uuid", "name" : "vnfc-model-invariant-uuid", "property" : { - "description" : "vnfc-model-invariant-uuid for SRIOV VPE template", + "description" : "vnfc-model-invariant-uuid", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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" : { @@ -857,14 +1016,22 @@ "tags" : "vnfc-model-version", "name" : "vnfc-model-version", "property" : { - "description" : "vnfc-model-version for SRIOV VPE template", + "description" : "vnfc-model-version", "type" : "string" }, - "updated-by" : "Singal, Kapil ", + "updated-by" : "MALAKOV, YURIY ", "sources" : { + "input" : { + "type" : "source-input" + }, + "default" : { + "type" : "source-default", + "properties" : { } + }, "processor-db" : { - "type" : "source-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" : { @@ -906,7 +1073,7 @@ "type" : "source-input", "properties" : { } }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -968,7 +1135,7 @@ "type" : "source-input", "properties" : { } }, - "primary-config-data" : { + "sdnc" : { "type" : "source-rest", "properties" : { "type" : "JSON", @@ -1001,4 +1168,4 @@ } } } -} \ No newline at end of file +}