X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=components%2Fmodel-catalog%2Fblueprint-model%2Ftest-blueprint%2Fbaseconfiguration%2FDefinitions%2Fresources_definition_types.json;fp=components%2Fmodel-catalog%2Fblueprint-model%2Ftest-blueprint%2Fbaseconfiguration%2FDefinitions%2Fresources_definition_types.json;h=98f77266a076869dc151255e685c8e5a9d52a879;hb=54fdb67b49134fe357a6415fba761bab2588a197;hp=e679a9a22ea56cfddf5566bd35e09bd62c8a74b9;hpb=89c17ae2e3222b98450e7c8d17566cd76ecf113b;p=ccsdk%2Fcds.git diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json index e679a9a22..98f77266a 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json @@ -108,6 +108,90 @@ "type": "string" }, "updated-by": "Steve, Siani ", + "sources": { + "aai-data": { + "type": "source-rest", + "properties": { + "type": "JSON", + "verb": "GET", + "url-path": "/aai/v22/network/generic-vnfs/generic-vnf/$vnf-id", + "path": "", + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "aai-get-resource": "vnf-id" + }, + "key-dependencies": [ + "vnf-id" + ] + } + } + } + }, + "aai-get-resource-null": { + "tags": "aai-get", + "name": "aai-get-resource-null", + "property": { + "description": "primary aai data to get resource with empty content", + "type": "string" + }, + "updated-by": "Rajewski, Lukasz ", + "sources": { + "aai-data": { + "type": "source-rest", + "properties": { + "type": "JSON", + "verb": "GET", + "url-path": "/aai/v22/network/generic-vnfs/generic-vnf/$vnf-id", + "path": "", + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "key-dependencies": [ + "vnf-id" + ] + } + } + } + }, + "aai-get-resource-wrong-mapping": { + "tags": "aai-get", + "name": "aai-get-resource-wrong-mapping", + "property": { + "description": "primary aai data to get resource with wrong mapping", + "type": "string" + }, + "updated-by": "Rajewski, Lukasz ", + "sources": { + "aai-data": { + "type": "source-rest", + "properties": { + "type": "JSON", + "verb": "GET", + "url-path": "/aai/v22/network/generic-vnfs/generic-vnf/$vnf-id", + "path": "", + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "aai-get-resource-wrong-mapping": "wrong" + }, + "key-dependencies": [ + "vnf-id" + ] + } + } + } + }, + "aai-get-json-resource": { + "tags": "aai-get-json", + "name": "aai-get-json-resource", + "property": { + "description": "primary aai data to get resource", + "type": "json" + }, + "updated-by": "Rajewski, Lukasz ", "sources": { "aai-data": { "type": "source-rest",