From 7f858b082287017c2f28b7fac03476c5f761a517 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Mon, 15 Mar 2021 22:46:18 +0100 Subject: Added missing elements of starter dictionary for CNF CBA Added missing elements of starter dictionary for CNF CBA Issue-ID: CCSDK-3211 Signed-off-by: Lukasz Rajewski Change-Id: Ib0ae251e26ccfab08e9c402d9e22bf5e9af29109 --- .../k8s-rb-profile-namespace.json | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json new file mode 100644 index 000000000..a7cd5c806 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json @@ -0,0 +1,39 @@ +{ + "tags": "k8s, cnf, k8s-rb-profile-namespace", + "name": "k8s-rb-profile-namespace", + "group": "default", + "property": { + "description": "Profile name used in multicloud/k8s plugin", + "type": "string" + }, + "updated-by": "Lukasz Rajewski ", + "sources": { + "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" + ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg