[Babel] Add type mapping JSON configuration 59/77459/2
authormark.j.leonard <mark.j.leonard@gmail.com>
Mon, 28 Jan 2019 15:34:31 +0000 (15:34 +0000)
committermark.j.leonard <mark.j.leonard@gmail.com>
Wed, 30 Jan 2019 14:19:45 +0000 (14:19 +0000)
Remove the deprecated filter-types.properties

Change-Id: I08c36c86b8f58c71bbfdbecfd6101a85bf7e1b6f
Issue-ID: AAI-2121
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
babel/appconfig/filter-types.properties [deleted file]
babel/appconfig/tosca-mappings.json [new file with mode: 0644]

diff --git a/babel/appconfig/filter-types.properties b/babel/appconfig/filter-types.properties
deleted file mode 100644 (file)
index fcf139f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-AAI.instance-group-types=org.openecomp.groups.NetworkCollection,org.openecomp.groups.VfcInstanceGroup
diff --git a/babel/appconfig/tosca-mappings.json b/babel/appconfig/tosca-mappings.json
new file mode 100644 (file)
index 0000000..9c3d0b4
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "instanceGroupTypes": [
+    "org.openecomp.groups.NetworkCollection",
+    "org.openecomp.groups.VfcInstanceGroup",
+    "org.openecomp.groups.ResourceInstanceGroup"
+  ],
+  "toscaToWidgetMappings": {
+    "org.openecomp.resource.vf.allottedResource": "AllotedResource",
+    "org.openecomp.resource.vfc.AllottedResource": "ProvidingService",
+    "org.openecomp.resource.vfc": "VServerWidget",
+    "org.openecomp.resource.cp": "LIntfWidget",
+    "org.openecomp.cp": "LIntfWidget",
+    "org.openecomp.resource.vl": "L3Network",
+    "org.openecomp.resource.vf": "VirtualFunction",
+    "org.openecomp.groups.vfmodule": "VfModule",
+    "org.openecomp.groups.VfModule": "VfModule",
+    "org.openecomp.resource.vfc.nodes.heat.cinder": "VolumeWidget",
+    "org.openecomp.nodes.PortMirroringConfiguration": "Configuration",
+    "org.openecomp.resource.cr.Kk1806Cr1": "CR"
+  }
+}