aboutsummaryrefslogtreecommitdiffstats
path: root/config/jolt/sdToModelContextSpec.json
diff options
context:
space:
mode:
Diffstat (limited to 'config/jolt/sdToModelContextSpec.json')
-rw-r--r--config/jolt/sdToModelContextSpec.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/jolt/sdToModelContextSpec.json b/config/jolt/sdToModelContextSpec.json
new file mode 100644
index 0000000..88201a7
--- /dev/null
+++ b/config/jolt/sdToModelContextSpec.json
@@ -0,0 +1,31 @@
+[
+ // 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-instance-id": "service.uuid",
+ "generic-vnfs": {
+ "*": {
+ "vservers": {
+ "*": {
+ "vserver-id": "vnfList[&3].vfModuleList[0].vmList[&1].uuid"
+ }
+ },
+ "l3-networks": {
+ "*": {
+ "network-id": "vnfList[&3].vfModuleList[0].networkList[&1].uuid"
+ }
+ },
+ "vnfcs": {
+ "*": {
+ "vnfc-id": "vnfList[&3].vnfcList[&1].uuid"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]