summaryrefslogtreecommitdiffstats
path: root/babel
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2019-01-28 15:34:31 +0000
committermark.j.leonard <mark.j.leonard@gmail.com>2019-01-30 14:19:45 +0000
commit6f751487ca8f6fb65fa0a8ef5a149afc7c86ed91 (patch)
treef52e3bd8716e2e9329797cd192182d14855cf488 /babel
parente64f08ac8242a7db6eb3238ee0ad1a30c8aecf0d (diff)
[Babel] Add type mapping JSON configuration
Remove the deprecated filter-types.properties Change-Id: I08c36c86b8f58c71bbfdbecfd6101a85bf7e1b6f Issue-ID: AAI-2121 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'babel')
-rw-r--r--babel/appconfig/filter-types.properties1
-rw-r--r--babel/appconfig/tosca-mappings.json21
2 files changed, 21 insertions, 1 deletions
diff --git a/babel/appconfig/filter-types.properties b/babel/appconfig/filter-types.properties
deleted file mode 100644
index fcf139f..0000000
--- a/babel/appconfig/filter-types.properties
+++ /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
index 0000000..9c3d0b4
--- /dev/null
+++ b/babel/appconfig/tosca-mappings.json
@@ -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"
+ }
+}