aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json
diff options
context:
space:
mode:
authorSteve Siani <steve.djissitchi@bell.ca>2019-11-13 01:59:53 -0500
committerSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-11-23 21:08:45 -0500
commit8d3834a1674f2f7957baed7fc204c458a48149e7 (patch)
treed0b8fab4686e322adc13de22a1c5bc4c4e79b601 /components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json
parent4dfd7d6f90445fb0a52ccff0a683c8240e4ee9b1 (diff)
Input source doesn't support dynamic values or properties
Issue-ID: CCSDK-1890 Change-Id: I7958174bd0c0a7354ddefd2595723fdb4b4d0485 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json')
-rwxr-xr-xcomponents/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json
index 32468533a..adafc2997 100755
--- a/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/pnf-id.json
@@ -10,6 +10,29 @@
"input" : {
"type" : "source-input",
"properties" : { }
+ },
+ "aai-data": {
+ "type": "source-rest",
+ "properties": {
+ "verb": "GET",
+ "type": "JSON",
+ "url-path": "/aai/v14/network/pnfs/pnf/$pnf-id",
+ "path": "/pnf-name",
+ "headers" : {
+ "Accept": "application/json",
+ "X-TransactionId": "AAI-Temp-Tool",
+ "X-FromAppId": "AAI-Temp-Tool"
+ },
+ "input-key-mapping": {
+ "pnf-id": "pnf.pnf-id"
+ },
+ "output-key-mapping": {
+ "pnf-id": "pnf-name"
+ },
+ "key-dependencies": [
+ "pnf.pnf-id"
+ ]
+ }
}
}
} \ No newline at end of file