aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-11-18 14:29:21 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-18 14:29:21 +0000
commit1dd0c293d8a076d0c2cabced73572f15790e8736 (patch)
tree74d648171a1808a70aad32f3b066f0d936be1f82 /components/model-catalog/resource-dictionary
parent835914bd584e771e47a5c8824848e8ba0ca06aec (diff)
parent6f7a427e53f4e129d84198f4c94036b4fe6b3898 (diff)
Merge "CCSDK-1603:Changes in 'Config via netconf' BP to pull data from AAI"
Diffstat (limited to 'components/model-catalog/resource-dictionary')
-rwxr-xr-xcomponents/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json32
1 files changed, 32 insertions, 0 deletions
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 <rahul.tyagi@est.tech>",
+ "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