summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2021-03-24 01:57:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-24 01:57:00 +0000
commitf4c4b404e18ef1fddfe7425186026c1e3b43488b (patch)
treed045c89e1710ecd97c7079afc18fbcb246b35ca3 /components
parentf13c7c4cb1fd32d5f0d36a909285cab2c4337cf9 (diff)
parent9f6848476de716fe68e315a4b4f99c8d893eecef (diff)
Merge "Add new elements of starter dictionary for vFW CNF CBA"
Diffstat (limited to 'components')
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json20
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json24
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