X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=heat%2FvFW_CNF_CDS%2Ftemplates%2Fcba%2FDefinitions%2Fresources_definition_types.json;h=9fe3956a2f0618baeadc477a6e02df5eda86d4a5;hb=21757af846776cf5005e06d8c4a9c9dfd4eb6b6e;hp=cb5aaeb42e376430ed7463bb5eead11c2dd75701;hpb=89da408dd79bcc7cfb4d89033da435c974c13e70;p=demo.git diff --git a/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json b/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json index cb5aaeb4..9fe3956a 100644 --- a/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json +++ b/heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json @@ -1,992 +1,1193 @@ { "active-streams": { - "tags": "active-streams", + "group": "default", "name": "active-streams", "property": { "description": "active-streams", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" - }, - "default": { - "type": "source-default", - "properties": {} } - } + }, + "tags": "active-streams", + "updated-by": "MALAKOV, YURIY " }, "aic-cloud-region": { - "tags": "aic-cloud-region", + "group": "default", "name": "aic-cloud-region", "property": { "description": "aic-cloud-region", "type": "string" }, - "group": "default", - "updated-by": "Singal, Kapil ", "sources": { "input": { - "type": "source-input", - "properties": {} + "properties": {}, + "type": "source-input" } - } + }, + "tags": "aic-cloud-region", + "updated-by": "Singal, Kapil " + }, + "config-deploy-setup": { + "group": "default", + "name": "config-deploy-setup", + "property": { + "description": "Configuration Input setup for config-deploy operation", + "type": "json" + }, + "sources": { + "capability": { + "properties": { + "instance-dependencies": [], + "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploySetup", + "script-type": "kotlin" + }, + "type": "source-capability" + } + }, + "tags": "config-deploy-setup", + "updated-by": "Lukasz Rajewski " }, "dcae_collector_ip": { - "tags": "dcae_collector_ip", + "group": "default", "name": "dcae_collector_ip", "property": { "description": "dcae_collector_ip", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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" - ] - } + ], + "output-key-mapping": { + "dcae_collector_ip": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "dcae_collector_ip", + "updated-by": "MALAKOV, YURIY " }, "dcae_collector_port": { - "tags": "dcae_collector_port", + "group": "default", "name": "dcae_collector_port", "property": { "description": "dcae_collector_port", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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" - ] - } + ], + "output-key-mapping": { + "dcae_collector_port": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "dcae_collector_port", + "updated-by": "MALAKOV, YURIY " }, "demo_artifacts_version": { - "tags": "demo_artifacts_version", + "group": "default", "name": "demo_artifacts_version", "property": { "description": "demo_artifacts_version", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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" - ] - } + ], + "output-key-mapping": { + "demo_artifacts_version": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "demo_artifacts_version", + "updated-by": "MALAKOV, YURIY " }, "int_private1_net_cidr": { - "tags": "int_private1_net_cidr", + "group": "default", "name": "int_private1_net_cidr", "property": { "description": "int_private1_net_cidr", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} + "processor-db": { + "properties": { + "input-key-mapping": {}, + "output-key-mapping": { + "int_private1_net_cidr": "prefix" + }, + "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"", + "type": "SQL" + }, + "type": "source-db" }, "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", - "endpoint-selector": "dynamic-db-source", - "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" - } - } + "int_private1_net_cidr": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "int_private1_net_cidr", + "updated-by": "MALAKOV, YURIY " }, "int_private2_net_cidr": { - "tags": "int_private2_net_cidr", + "group": "default", "name": "int_private2_net_cidr", "property": { "description": "int_private2_net_cidr", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} - }, "processor-db": { - "type": "source-db", "properties": { - "type": "SQL", - "endpoint-selector": "dynamic-db-source", - "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"", + "input-key-mapping": {}, "output-key-mapping": { "int_private2_net_cidr": "prefix" }, - "input-key-mapping": {} - } + "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"", + "type": "SQL" + }, + "type": "source-db" }, "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" - ] - } + ], + "output-key-mapping": { + "int_private2_net_cidr": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "int_private2_net_cidr", + "updated-by": "MALAKOV, YURIY " }, - "k8s-rb-profile-name": { - "tags": "k8s, cnf, profile, k8s-rb-profile-name", - "name": "k8s-rb-profile-name", + "k8s-rb-config-name": { + "group": "default", + "name": "k8s-rb-config-name", "property": { - "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.", + "description": "The source of configuration values for config-deploy operation", "type": "string" }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" + } + }, + "tags": "k8s, cnf, config, k8s-rb-config-name", + "updated-by": "Rajewski, Lukasz " + }, + "k8s-rb-config-template-name": { "group": "default", - "updated-by": "Samuli, Silvius ", + "name": "k8s-rb-config-template-name", + "property": { + "description": "The name of configuration template for config-assign operation", + "type": "string" + }, "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" + } + }, + "tags": "k8s, cnf, config, k8s-rb-config-template-name", + "updated-by": "Rajewski, Lukasz " + }, + "k8s-rb-config-template-source": { + "group": "default", + "name": "k8s-rb-config-template-source", + "property": { + "description": "The source of configuration template for config-assign operation", + "type": "string" + }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" }, + "input": { + "type": "source-input" + } + }, + "tags": "k8s, cnf, config, k8s-rb-config-template-source", + "updated-by": "Rajewski, Lukasz " + }, + "k8s-rb-config-value-source": { + "group": "default", + "name": "k8s-rb-config-value-source", + "property": { + "description": "The source of configuration values for config-deploy operation", + "type": "string" + }, + "sources": { "default": { - "type": "source-default", - "properties": {} + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" + } + }, + "tags": "k8s, cnf, config, k8s-rb-config-value-source", + "updated-by": "Rajewski, Lukasz " + }, + "k8s-rb-instance-release-name": { + "group": "default", + "name": "k8s-rb-instance-release-name", + "property": { + "description": "Name of the release for the helm package instance in k8s", + "type": "string" + }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" + } + }, + "tags": "k8s, cnf, profile, k8s-rb-instance-release-name", + "updated-by": "Rajewski, Lukasz " + }, + "k8s-rb-profile-k8s-version": { + "group": "default", + "name": "k8s-rb-profile-k8s-version", + "property": { + "description": "Profile k8s version used in multicloud/k8s plugin", + "type": "string" + }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" }, "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/k8s-rb-profile-name", - "path": "/param/0/value", "input-key-mapping": { "service-instance-id": "service-instance-id", "vnf-id": "vnf-id" }, - "output-key-mapping": { - "k8s-rb-profile-name": "value" - }, "key-dependencies": [ "service-instance-id", "vnf-id" - ] - } + ], + "output-key-mapping": { + "k8s-rb-profile-k8s-version": "value" + }, + "path": "/param/0/value", + "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/k8s-rb-profile-k8s-version", + "verb": "GET" + }, + "type": "source-rest" + } + }, + "tags": "k8s, cnf, profile, k8s version, k8s-rb-profile-k8s-version", + "updated-by": "Rajewski, Lukasz " + }, + "k8s-rb-profile-name": { + "group": "default", + "name": "k8s-rb-profile-name", + "property": { + "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.", + "type": "string" + }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" } - } + }, + "tags": "k8s, cnf, profile, k8s-rb-profile-name", + "updated-by": "Samuli, Silvius " }, "k8s-rb-profile-namespace": { - "tags": "k8s, cnf, profile, namespace, k8s-rb-profile-namespace", + "group": "default", "name": "k8s-rb-profile-namespace", "property": { "description": "Profile name used in multicloud/k8s plugin", "type": "string" }, - "group": "default", - "updated-by": "Samuli, Silvius ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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/k8s-rb-profile-namespace", - "path": "/param/0/value", "input-key-mapping": { "service-instance-id": "service-instance-id", "vnf-id": "vnf-id" }, - "output-key-mapping": { - "k8s-rb-profile-namespace": "value" - }, "key-dependencies": [ "service-instance-id", "vnf-id" - ] - } + ], + "output-key-mapping": { + "k8s-rb-profile-namespace": "value" + }, + "path": "/param/0/value", + "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/k8s-rb-profile-namespace", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "k8s, cnf, profile, namespace, k8s-rb-profile-namespace", + "updated-by": "Samuli, Silvius " + }, + "k8s-rb-profile-source": { + "group": "default", + "name": "k8s-rb-profile-source", + "property": { + "description": "The source folder or file relative to 'Templates/k8s-profiles' folder", + "type": "string" + }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" + } + }, + "tags": "k8s, cnf, profile, k8s-rb-profile-source", + "updated-by": "Rajewski, Lukasz " }, "management-prefix-id": { - "tags": "management-prefix-id", + "group": "default", "name": "management-prefix-id", "property": { "description": "management-prefix-id", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} + "processor-db": { + "properties": { + "input-key-mapping": {}, + "output-key-mapping": { + "management-prefix-id": "prefix_id" + }, + "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"", + "type": "SQL" + }, + "type": "source-db" }, "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", - "endpoint-selector": "dynamic-db-source", - "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" - } - } + "management-prefix-id": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "management-prefix-id", + "updated-by": "MALAKOV, YURIY " }, "onap_private_net_cidr": { - "tags": "onap_private_net_cidr", + "group": "default", "name": "onap_private_net_cidr", "property": { "description": "onap_private_net_cidr", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} - }, "processor-db": { - "type": "source-db", "properties": { - "type": "SQL", - "endpoint-selector": "dynamic-db-source", - "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" - } - } + }, + "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"", + "type": "SQL" + }, + "type": "source-db" }, "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" - ] - } + ], + "output-key-mapping": { + "onap_private_net_cidr": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "onap_private_net_cidr", + "updated-by": "MALAKOV, YURIY " }, "private1-prefix-id": { - "tags": "private1-prefix-id", + "group": "default", "name": "private1-prefix-id", "property": { "description": "private1-prefix-id", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} + "processor-db": { + "properties": { + "input-key-mapping": {}, + "output-key-mapping": { + "private1-prefix-id": "prefix_id" + }, + "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"", + "type": "SQL" + }, + "type": "source-db" }, "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", - "endpoint-selector": "dynamic-db-source", - "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" - } - } + "private1-prefix-id": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "private1-prefix-id", + "updated-by": "MALAKOV, YURIY " }, "private2-prefix-id": { - "tags": "private2-prefix-id", + "group": "default", "name": "private2-prefix-id", "property": { "description": "private2-prefix-id", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} + "processor-db": { + "properties": { + "input-key-mapping": {}, + "output-key-mapping": { + "private2-prefix-id": "prefix_id" + }, + "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"", + "type": "SQL" + }, + "type": "source-db" }, "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", - "endpoint-selector": "dynamic-db-source", - "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" - } - } + "private2-prefix-id": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "private2-prefix-id", + "updated-by": "MALAKOV, YURIY " }, "put-active-streams": { - "tags": "put-active-streams", + "group": "default", "name": "put-active-streams", "property": { "description": "put-active-streams", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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", + "endpoint-selector": "vpkg-rest-api", "input-key-mapping": { - "vpg_onap_private_ip_0": "vpg_onap_private_ip_0", - "active-streams": "active-streams" + "active-streams": "active-streams", + "vpg_onap_private_ip_0": "vpg_onap_private_ip_0" }, - "output-key-mapping": {}, "key-dependencies": [ "vpg_onap_private_ip_0", "active-streams" ], - "endpoint-selector": "vpkg-rest-api", - "payload": "{\"streams\": {\"active-streams\": $active-streams}}" - } + "output-key-mapping": {}, + "path": "/param/0/value", + "payload": "{\"streams\": {\"active-streams\": $active-streams}}", + "type": "JSON", + "url-path": "$vpg_onap_private_ip_0:8183/restconf/config/stream-count:stream-count/streams", + "verb": "PUT" + }, + "type": "source-rest" } - } + }, + "tags": "put-active-streams", + "updated-by": "MALAKOV, YURIY " }, "service-instance-id": { - "tags": "service-instance-id, tosca.datatypes.Root, data_type", + "group": "default", "name": "service-instance-id", "property": { "description": "To be provided", "type": "string" }, - "group": "default", - "updated-by": "Singal, Kapil ", "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" - } - } + }, + "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"" + }, + "type": "source-db" + }, + "capability": { + "properties": { + "instance-dependencies": [], + "script-class-reference": "SampleRAProcessor", + "script-type": "jython" + }, + "type": "source-capability" + }, + "input": { + "properties": {}, + "type": "source-input" }, "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": [] - } + }, + "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"" + }, + "type": "source-db" }, "sdnc": { - "type": "source-rest", "properties": { - "verb": "GET", - "type": "JSON", - "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id", - "path": "/service/0/service-instance-id", "input-key-mapping": { "service-instance-id": "service-instance.service-instance-id" }, + "key-dependencies": [ + "service-instance.service-instance-id" + ], "output-key-mapping": { "service-instance-id": "service-instance-id" }, - "key-dependencies": [ - "service-instance.service-instance-id" - ] - } + "path": "/service/0/service-instance-id", + "type": "JSON", + "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "service-instance-id, tosca.datatypes.Root, data_type", + "updated-by": "Singal, Kapil " }, "vf-module-id": { - "tags": "vf-module-id", + "group": "default", "name": "vf-module-id", "property": { "description": "vf-module-id", "type": "string" }, - "group": "default", - "updated-by": "Singal, Kapil ", "sources": { "input": { - "type": "source-input", - "properties": {} + "properties": {}, + "type": "source-input" }, "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/$vf-module-id", - "path": "/vf-module/0/vf-module-id", "input-key-mapping": { "service-instance-id": "service-instance-id", - "vnf-id": "vnf-id", - "vf-module-id": "vf-module.vf-module-id" - }, - "output-key-mapping": { - "vf-module-id": "vf-module-id" + "vf-module-id": "vf-module.vf-module-id", + "vnf-id": "vnf-id" }, "key-dependencies": [ "service-instance-id", "vnf-id", "vf-module.vf-module-id" - ] - } + ], + "output-key-mapping": { + "vf-module-id": "vf-module-id" + }, + "path": "/vf-module/0/vf-module-id", + "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/$vf-module-id", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "vf-module-id", + "updated-by": "Singal, Kapil " }, "vf-module-label": { - "tags": "vf-module-label", + "group": "default", "name": "vf-module-label", "property": { "description": "vf-module-label", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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" - } + "output-key-mapping": { + "vf-module-label": "vf_module_label" + }, + "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", + "type": "SQL" + }, + "type": "source-db" } - } + }, + "tags": "vf-module-label", + "updated-by": "MALAKOV, YURIY " }, "vf-module-model-customization-uuid": { - "tags": "vf-module-model-customization-uuid", + "group": "default", "name": "vf-module-model-customization-uuid", "property": { "description": "vf-module-model-customization-uuid", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" - }, - "default": { - "type": "source-default", - "properties": {} } - } + }, + "tags": "vf-module-model-customization-uuid", + "updated-by": "MALAKOV, YURIY " }, "vf-module-model-invariant-uuid": { - "tags": "vnf, vf-module", + "group": "default", "name": "vf-module-model-invariant-uuid", "property": { "description": "vf module model invariant uuid", "type": "string" }, - "group": "default", - "updated-by": "Samuli, Silvius ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} - }, "processor-db": { - "type": "source-db", "properties": { - "type": "SQL", - "query": "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid 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-model-invariant-uuid": "vf_module_model_invariant_uuid" - }, "key-dependencies": [ "vf-module-model-customization-uuid" ], - "endpoint-selector": "dynamic-db-source" - } + "output-key-mapping": { + "vf-module-model-invariant-uuid": "vf_module_model_invariant_uuid" + }, + "query": "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid", + "type": "SQL" + }, + "type": "source-db" } - } + }, + "tags": "vnf, vf-module", + "updated-by": "Samuli, Silvius " }, "vf-module-model-version": { - "tags": "vnf, vf-module", + "group": "default", "name": "vf-module-model-version", "property": { "description": "vf module model model version", "type": "string" }, - "group": "default", - "updated-by": "Samuli, Silvius ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" }, - "default": { - "type": "source-default", - "properties": {} - }, "processor-db": { - "type": "source-db", "properties": { - "type": "SQL", - "query": "select sdnctl.VF_MODULE_MODEL.uuid as vf_module_model_version 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-model-version": "vf_module_model_version" - }, "key-dependencies": [ "vf-module-model-customization-uuid" ], - "endpoint-selector": "dynamic-db-source" - } + "output-key-mapping": { + "vf-module-model-version": "vf_module_model_version" + }, + "query": "select sdnctl.VF_MODULE_MODEL.uuid as vf_module_model_version from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid", + "type": "SQL" + }, + "type": "source-db" } - } + }, + "tags": "vnf, vf-module", + "updated-by": "Samuli, Silvius " }, - "vf-naming-policy": { - "tags": "vf-naming-policy", - "name": "vf-naming-policy", + "vf-modules-list": { + "group": "default", + "name": "vf-modules-list", "property": { - "description": "vf-naming-policy", - "type": "string" + "description": "List of vf-modules associated with vnf", + "type": "json" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "aai-data": { + "properties": { + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "key-dependencies": [ + "vnf-id" + ], + "output-key-mapping": { + "vf-modules": "vf-module" + }, + "path": "/vf-modules", + "type": "JSON", + "url-path": "/aai/v19/network/generic-vnfs/generic-vnf/${vnf-id}?depth=1", + "verb": "GET" + }, + "type": "source-rest" + }, "default": { - "type": "source-default", - "properties": {} + "properties": {}, + "type": "source-default" + }, + "input": { + "type": "source-input" }, "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" - ] - } + ], + "output-key-mapping": { + "vf-modules": "vf-module" + }, + "path": "/vf-modules", + "type": "JSON", + "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules", + "verb": "GET" + }, + "type": "source-rest" + } + }, + "tags": "vf-modules-list", + "updated-by": "Lukasz Rajewski " + }, + "vf-naming-policy": { + "group": "default", + "name": "vf-naming-policy", + "property": { + "description": "vf-naming-policy", + "type": "string" + }, + "sources": { + "default": { + "properties": {}, + "type": "source-default" }, "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" }, + "key-dependencies": [ + "vnf-model-customization-uuid" + ], "output-key-mapping": { "vf-naming-policy": "vf_naming_policy" }, + "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", + "type": "SQL" + }, + "type": "source-db" + }, + "sdnc": { + "properties": { + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, "key-dependencies": [ - "vnf-model-customization-uuid" - ] - } + "service-instance-id", + "vnf-id" + ], + "output-key-mapping": { + "vf-naming-policy": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "vf-naming-policy", + "updated-by": "MALAKOV, YURIY " }, "vnf-id": { - "tags": "vnf-id", + "group": "default", "name": "vnf-id", "property": { "description": "vnf-id", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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/", - "path": "/vnf/0/vnf-id", "input-key-mapping": { "service-instance-id": "service-instance-id", "vnf-id": "generic-vnf.vnf-id" }, - "output-key-mapping": { - "vnf-id": "vnf-id" - }, "key-dependencies": [ "service-instance-id", "generic-vnf.vnf-id" - ] - } + ], + "output-key-mapping": { + "vnf-id": "vnf-id" + }, + "path": "/vnf/0/vnf-id", + "type": "JSON", + "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "vnf-id", + "updated-by": "MALAKOV, YURIY " }, "vnf_name": { - "tags": "vnf_name", + "group": "default", "name": "vnf_name", "property": { "description": "vnf_name", "type": "string" }, - "group": "default", - "updated-by": "MALAKOV, YURIY ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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/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" - ] - } + ], + "output-key-mapping": { + "vnf_name": "value" + }, + "path": "/param/0/value", + "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_name", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "vnf_name", + "updated-by": "MALAKOV, YURIY " }, "vpg-management-port": { - "tags": "vpg-management-port", + "group": "default", "name": "vpg-management-port", "property": { "description": "vpg-management-port", - "type": "string" + "type": "integer" }, - "group": "default", - "updated-by": "Rajewski, Lukasz ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "input": { "type": "source-input" - }, - "default": { - "type": "source-default", - "properties": {} } - } + }, + "tags": "vpg-management-port", + "updated-by": "Rajewski, Lukasz " }, "vpg_onap_private_ip_0": { - "tags": "vpg_onap_private_ip_0", + "group": "default", "name": "vpg_onap_private_ip_0", "property": { "description": "vpg_onap_private_ip_0", "type": "string" }, - "group": "default", - "updated-by": "Singal, Kapil ", "sources": { + "default": { + "properties": {}, + "type": "source-default" + }, "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" - ] - } + ], + "output-key-mapping": { + "vpg_onap_private_ip_0": "value" + }, + "path": "/param/0/value", + "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", + "verb": "GET" + }, + "type": "source-rest" } - } + }, + "tags": "vpg_onap_private_ip_0", + "updated-by": "Singal, Kapil " } }