summaryrefslogtreecommitdiffstats
path: root/config/sdnccontextbuilder.spec
diff options
context:
space:
mode:
authorTait,Trevor(rt0435) <rtait@amdocs.com>2018-10-03 15:08:34 -0400
committerMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-10-09 15:36:22 -0400
commita2423cf3ba54da34bb865befd44d56bbb925a94b (patch)
tree6d4ac22b24f3f33087edc3e7c077ef3d6ad96469 /config/sdnccontextbuilder.spec
parent2fb09922810847108464ba52e5b68907d5176e7a (diff)
POMBA: SDNC Context Builder
Initial code for POMBA: SDNC Context Builder Issue-ID: LOG-520 Change-Id: I6b06561b9050acc83b0c2b18b21c94f0f13f63e4 Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'config/sdnccontextbuilder.spec')
-rw-r--r--config/sdnccontextbuilder.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/config/sdnccontextbuilder.spec b/config/sdnccontextbuilder.spec
new file mode 100644
index 0000000..1f15b22
--- /dev/null
+++ b/config/sdnccontextbuilder.spec
@@ -0,0 +1,76 @@
+[
+ // 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": {
+ "service": {
+ "*": {
+ "service-data": {
+ "service-topology": {
+ "service-topology-identifier": {
+ "service-instance-id": "service.uuid",
+ "service-instance-name": "service.name"
+ },
+ "onap-model-information": {
+ "model-invariant-uuid": "service.invariantUUID"
+ }
+ },
+ "vnfs": {
+ "vnf": {
+ "*": {
+ "vnf-data": {
+ "vnf-topology": {
+ "onap-model-information": {
+ "model-uuid": "vfList[&4].uuid",
+ "model-invariant-uuid": "vfList[&4].invariantUUID"
+ },
+ "vnf-topology-identifier-structure": {
+ "vnf-type": "vfList[&4].type",
+ "vnf-name": "vfList[&4].name"
+ }
+ },
+ "vf-modules": {
+ "vf-module": {
+ "*": {
+ "vf-module-data": {
+ "vf-module-topology": {
+ "vf-module-topology-identifier": {
+ "vf-module-name": "vfList[&8].vfModuleList[&4].name"
+ },
+ "onap-model-information": {
+ "model-uuid": "vfList[&8].vfModuleList[&4].uuid",
+ "model-invariant-uuid": "vfList[&8].vfModuleList[&4].invariantUUID"
+ },
+ "vf-module-assignments": {
+ "vms": {
+ "vm": {
+ "*": {
+ "vm-names": {
+ "vm-name": {
+ "@(2,vm-type)": "vfList[&13].vfModuleList[&9].vmList[&3].nfNamingCode",
+ "*": "vfList[&13].vfModuleList[&9].vmList[&3].name"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ]