From 6f7a427e53f4e129d84198f4c94036b4fe6b3898 Mon Sep 17 00:00:00 2001 From: tragait Date: Wed, 6 Nov 2019 11:44:11 +0000 Subject: 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 --- .../starter-dictionary/pnf-ipaddress-aai.json | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json new file mode 100755 index 000000000..f96319266 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json @@ -0,0 +1,32 @@ +{ + "tags": "aai-get", + "name": "pnf-ipaddress-aai", + "property": { + "description": "primary aai data to get resource", + "type": "string" + }, + "updated-by": "Rahul, Tyagi ", + "sources": { + "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" + ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg