diff options
Diffstat (limited to 'components/model-catalog/resource-dictionary')
6 files changed, 118 insertions, 2 deletions
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 <lukasz.rajewski@orange.com>", + "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 <lukasz.rajewski@orange.com>", + "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 <lukasz.rajewski@orange.com>", + "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 <lukasz.rajewski@orange.com>", + "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 <lukasz.rajewski@orange.com>", + "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 <lukasz.rajewski@orange.com>", "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 |