diff options
author | 2019-11-06 11:44:11 +0000 | |
---|---|---|
committer | 2019-11-13 14:51:40 +0000 | |
commit | 6f7a427e53f4e129d84198f4c94036b4fe6b3898 (patch) | |
tree | 87238feaa6262bd4c96a910cc0b3df38f0a7905d /components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_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/resources_definition_types.json')
-rw-r--r-- | components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json b/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json index 114eb1992..d1183f14b 100644 --- a/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json +++ b/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json @@ -15,17 +15,32 @@ } }, "pnf-ipv4-address" : { - "tags" : "pnf-ipv4-address", + "tags" : "aai-get", "name" : "pnf-ipv4-address", "property" : { - "description" : "pnf-ipv4-address", + "description" : "primary aai data to get resource", "type" : "string" }, - "updated-by" : "Rodrigo Ottero <rodrigo.ottero@est.tech>", + "updated-by" : "Rahul, Tyagi <rahul.tyagi@est.tech>", "sources" : { - "input" : { - "type" : "source-input", - "properties" : { } + "aai-data" : { + "type" : "source-rest", + "properties" : { + "type" : "JSON", + "verb" : "GET", + "url-path" : "/aai/v14/network/pnfs/pnf/$pnf-id", + "path" : "/ipaddress-v4-oam", + "input-key-mapping" : { + "pnf-id" : "pnf-id" + }, + "headers" : { + "Accept" : "application/json" + }, + "output-key-mapping" : { + "ipaddress-v4-oam" : "value" + }, + "key-dependencies" : [ "pnf-id" ] + } } } } |