From 9f6848476de716fe68e315a4b4f99c8d893eecef Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Tue, 23 Mar 2021 22:48:02 +0100 Subject: Add new elements of starter dictionary for vFW CNF CBA Add new elements of starter dictionary for vFW CNF CBA Issue-ID: INT-1870 Signed-off-by: Lukasz Rajewski Change-Id: I83d36de9e14316c1c95cbb78e69527802d2a6373 --- .../starter-dictionary/config-value-setup.json | 20 ++++++++++++++++++ .../starter-dictionary/k8s-rb-config-name.json | 19 +++++++++++++++++ .../k8s-rb-config-template-name.json | 19 +++++++++++++++++ .../k8s-rb-config-template-source.json | 19 +++++++++++++++++ .../k8s-rb-config-value-source.json | 19 +++++++++++++++++ .../starter-dictionary/vf-modules-list.json | 24 ++++++++++++++++++++-- 6 files changed, 118 insertions(+), 2 deletions(-) create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json b/components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json new file mode 100644 index 000000000..b0938cecb --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json @@ -0,0 +1,20 @@ +{ + "tags": "k8s, cnf, config-deploy-setup", + "name": "config-deploy-setup", + "group": "default", + "property": { + "description": "Configuration for CNF config deployment", + "type": "json" + }, + "updated-by": "Lukasz Rajewski ", + "sources": { + "capability": { + "type": "source-capability", + "properties": { + "script-type": "kotlin", + "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploySetup", + "instance-dependencies": [] + } + } + } +} \ No newline at end of file diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json new file mode 100644 index 000000000..1a10a8c1f --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, config, k8s-rb-config-name", + "name": "k8s-rb-config-name", + "property": { + "description": "The source of configuration values for config-deploy operation", + "type": "string" + }, + "group": "default", + "updated-by": "Rajewski, Lukasz ", + "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/k8s-rb-config-template-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json new file mode 100644 index 000000000..07e735626 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, config, k8s-rb-config-template-name", + "name": "k8s-rb-config-template-name", + "property": { + "description": "The name of configuration template for config-assign operation", + "type": "string" + }, + "group": "default", + "updated-by": "Rajewski, Lukasz ", + "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/k8s-rb-config-template-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json new file mode 100644 index 000000000..b830ccbd8 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, config, k8s-rb-config-template-source", + "name": "k8s-rb-config-template-source", + "property": { + "description": "The source of configuration template for config-assign operation", + "type": "string" + }, + "group": "default", + "updated-by": "Rajewski, Lukasz ", + "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/k8s-rb-config-value-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json new file mode 100644 index 000000000..c82cdf194 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, config, k8s-rb-config-value-source", + "name": "k8s-rb-config-value-source", + "property": { + "description": "The source of configuration values for config-deploy operation", + "type": "string" + }, + "group": "default", + "updated-by": "Rajewski, Lukasz ", + "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-modules-list.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json index 0bf66f6e6..91afaf4a7 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json @@ -1,11 +1,11 @@ { - "tags": "vnf, vf-modules-list", + "tags": "vf-modules-list", "name": "vf-modules-list", - "group": "default", "property": { "description": "List of vf-modules associated with vnf", "type": "json" }, + "group": "default", "updated-by": "Lukasz Rajewski ", "sources": { "input": { @@ -32,6 +32,26 @@ "vnf-id" ] } + }, + "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", + "path": "/vf-modules", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vf-modules": "vf-module" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } } } } \ No newline at end of file -- cgit 1.2.3-korg