From 6f751487ca8f6fb65fa0a8ef5a149afc7c86ed91 Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Mon, 28 Jan 2019 15:34:31 +0000 Subject: [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 --- babel/appconfig/filter-types.properties | 1 - babel/appconfig/tosca-mappings.json | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) delete mode 100644 babel/appconfig/filter-types.properties create mode 100644 babel/appconfig/tosca-mappings.json (limited to 'babel') 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" + } +} -- cgit 1.2.3-korg