diff options
author | andreasgeissler <andreas-geissler@telekom.de> | 2020-08-26 14:49:13 +0200 |
---|---|---|
committer | andreasgeissler <andreas-geissler@telekom.de> | 2020-08-26 15:29:05 +0200 |
commit | fb1b892f0ca6f2ded72e28315c005cb24a6c4bb2 (patch) | |
tree | 7838c947325f9bb050f04f6a0d68af304f7872e8 /components | |
parent | e0da7c94aedc038c76d17c1d4a904c7b12ba3c5b (diff) |
Updated dictionary entries for Frankfurt and later usecases
Issue-ID: CCSDK-2696
Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
Change-Id: I380f94b4264cba5530138667ac5c9b5a2291d03f
Diffstat (limited to 'components')
3 files changed, 74 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json index 9b00cae59..e8d1fd7a0 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json @@ -39,6 +39,22 @@ "script-class-reference": "SampleRAProcessor", "instance-dependencies": [] } + }, + "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" + }, + "output-key-mapping": { + "service-instance-id": "service-instance-id" + }, + "key-dependencies": ["service-instance.service-instance-id"] + } } } } diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/update-active-streams.json b/components/model-catalog/resource-dictionary/starter-dictionary/update-active-streams.json new file mode 100644 index 000000000..631be516b --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/update-active-streams.json @@ -0,0 +1,38 @@ +{ + "name": "update-active-streams", + "tags": "update-active-streams", + "property": { + "description": "update-active-streams", + "type": "string" + }, + "group": "default", + "updated-by": "Bruno Sakoto <bruno.sakoto@bell.ca>", + "sources": { + "default": { + "type": "source-default", + "properties": {} + }, + "sdnc": { + "type": "source-rest", + "properties": { + "verb": "PUT", + "type": "JSON", + "path": "", + "url-path": "$vpg_onap_private_ip_0:8183/restconf/config/stream-count:stream-count/streams", + "input-key-mapping": { + "vpg_onap_private_ip_0": "vpg_onap_private_ip_0", + "data": "data" + }, + "output-key-mapping": { + }, + "key-dependencies": [ + "vpg_onap_private_ip_0", + "data" + ], + "endpoint-selector": "vpkg-rest-api", + "payload": "{\"streams\": $data}" + } + } + } +} + diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json index e8c451b2b..f05499f2a 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json @@ -14,6 +14,26 @@ "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-id", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vnf-id": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } } } } |