diff options
author | 2019-01-14 14:46:41 -0500 | |
---|---|---|
committer | 2019-01-14 14:46:55 -0500 | |
commit | fbcdb700fdf2bcc469317d19838ecfac075f1729 (patch) | |
tree | 0ab1820ec98f597f5b17fbcc532d79a13e2844dd /config/ndQuery.spec | |
parent | cecc5554b6214be9e473ccfa7207bb04f079b9ae (diff) |
Upgrade nd-context-builder to audit-common.1.4.0
Issue-ID: LOG-926
Change-Id: I63533764139d143bddbf3c2d3c3921dfd438d365
Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'config/ndQuery.spec')
-rw-r--r-- | config/ndQuery.spec | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/config/ndQuery.spec b/config/ndQuery.spec new file mode 100644 index 0000000..20914d2 --- /dev/null +++ b/config/ndQuery.spec @@ -0,0 +1,34 @@ +[
+ // Use https://jolt-demo.appspot.com/#inception to develop/test
+ // any changes to this file
+ {
+ // This section converts the updated json from service-decompostion
+ // to org.onap.pomba.common.datatypes.ModelContext
+ "operation": "shift",
+ "spec": {
+ "generic-vnfs": {
+ "*": {
+ "vservers": {
+ "*": {
+ "vserver-id": "ndQuery[&3].ndResourceList[0].ndResource[&1].resourceId",
+ "#vserver": "ndQuery[&3].ndResourceList[0].ndResource[&1].resourceType"
+ }
+ },
+ "l3-networks": {
+ "*": {
+ "network-id": "ndQuery[&3].ndResourceList[1].ndResource[&1].resourceId",
+ "#l3-network": "ndQuery[&3].ndResourceList[1].ndResource[&1].resourceType"
+ }
+ },
+ "vnfcs": {
+ "*": {
+ "vnfc-id": "ndQuery[&3].ndResourceList[2].ndResource[&1].resourceId",
+ "#vnfc": "ndQuery[&3].ndResourceList[2].ndResource[&1].resourceType"
+ }
+ }
+ }
+ }
+ }
+ }
+
+ ]
|