summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2022-08-26 00:23:01 +0200
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2022-09-01 15:50:43 +0200
commit54fdb67b49134fe357a6415fba761bab2588a197 (patch)
treef570bea40b27a802f463f449dfbedde67b091a28 /components/model-catalog/blueprint-model
parent89c17ae2e3222b98450e7c8d17566cd76ecf113b (diff)
Resolution processors tests and extendability
- Open resolution processors for in-CBA customization - Improve resolution tests verification - Use RestProcessor for testing RestProcessor Issue-ID: CCSDK-3716 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: I7c05fc940647f40c20c37b4f7fcfe29f2c3076ba
Diffstat (limited to 'components/model-catalog/blueprint-model')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json84
1 files changed, 84 insertions, 0 deletions
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
@@ -120,6 +120,90 @@
"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 <lukasz.rajewski@t-mobile.pl>",
+ "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 <lukasz.rajewski@t-mobile.pl>",
+ "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 <lukasz.rajewski@t-mobile.pl>",
+ "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": {
},
"key-dependencies": [
"vnf-id"