diff options
author | tragait <rahul.tyagi@est.tech> | 2019-11-06 11:44:11 +0000 |
---|---|---|
committer | tragait <rahul.tyagi@est.tech> | 2019-11-13 14:51:40 +0000 |
commit | 6f7a427e53f4e129d84198f4c94036b4fe6b3898 (patch) | |
tree | 87238feaa6262bd4c96a910cc0b3df38f0a7905d /components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json | |
parent | 54eb2f2680d4f2447a4d48b612b2b83e37d90754 (diff) |
CCSDK-1603:Changes in 'Config via netconf' BP to pull data from AAI
This commit includes changes in blueprint for "Configuration over
netconf", So that CDS can fetch data from AAI.
It has enhancement in UAT test yaml file, so this blueprint
can be tested.
An enhancement is also included to introduce request headers
in the source-rest.
Change-Id: I4ff973538249925239b89da4c5720ec63ffe8037
Issue-ID: CCSDK-1603
Signed-off-by: tragait <rahul.tyagi@est.tech>
Diffstat (limited to 'components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json')
-rw-r--r-- | components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json | 92 |
1 files changed, 90 insertions, 2 deletions
diff --git a/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json b/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json index 8c2c0abea..bfae6779e 100644 --- a/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json +++ b/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json @@ -24,6 +24,12 @@ "required" : false, "type" : "string" }, + "occurrence" : { + "description" : "Number of time to perform the resolution.", + "required" : false, + "type" : "integer", + "default" : 1 + }, "store-result" : { "description" : "Whether or not to store the output.", "required" : false, @@ -80,8 +86,14 @@ "derived_from" : "tosca.nodes.Component" }, "component-script-executor" : { - "description" : "This is Restconf Transaction Configuration Component API", + "description" : "This is CLI Transaction Configuration Component API", "version" : "1.0.0", + "attributes" : { + "response-data" : { + "required" : false, + "type" : "json" + } + }, "capabilities" : { "component-node" : { "type" : "tosca.capabilities.Node" @@ -114,7 +126,7 @@ }, "outputs" : { "response-data" : { - "description" : "Execution Response Data in JSON format.", + "description" : "Execution Response Data.", "required" : false, "type" : "string" }, @@ -155,6 +167,82 @@ "properties" : { }, "derived_from" : "tosca.nodes.ResourceSource" }, + "source-rest" : { + "description" : "This is Rest Resource Source Node Type", + "version" : "1.0.0", + "properties" : { + "type" : { + "required" : true, + "type" : "string", + "constraints" : [ { + "valid_values" : [ "JSON" ] + } ], + "default" : "JSON" + }, + "headers" : { + "required" : false, + "type" : "map", + "entry_schema" : { + "type" : "string" + } + }, + "verb" : { + "required" : true, + "type" : "string", + "constraints" : [ { + "valid_values" : [ "GET", "POST", "DELETE", "PUT" ] + } ], + "default" : "GET" + }, + "payload" : { + "required" : false, + "type" : "string", + "default" : "" + }, + "endpoint-selector" : { + "required" : false, + "type" : "string" + }, + "url-path" : { + "required" : true, + "type" : "string" + }, + "path" : { + "required" : true, + "type" : "string" + }, + "expression-type" : { + "required" : false, + "type" : "string", + "constraints" : [ { + "valid_values" : [ "JSON_PATH", "JSON_POINTER" ] + } ], + "default" : "JSON_PATH" + }, + "input-key-mapping" : { + "required" : false, + "type" : "map", + "entry_schema" : { + "type" : "string" + } + }, + "output-key-mapping" : { + "required" : false, + "type" : "map", + "entry_schema" : { + "type" : "string" + } + }, + "key-dependencies" : { + "required" : true, + "type" : "list", + "entry_schema" : { + "type" : "string" + } + } + }, + "derived_from" : "tosca.nodes.ResourceSource" + }, "tosca.nodes.Component" : { "description" : "This is default Component Node", "version" : "1.0.0", |