diff options
author | talio <tali.orenbach@amdocs.com> | 2018-01-28 09:47:38 +0200 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-02-04 06:56:25 +0000 |
commit | b43e8ebd9f3e7436a51c2a6b9fe71f254d92b833 (patch) | |
tree | 88ef13834fc4529c26bf325fb7188c90309f4e3e /openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main | |
parent | 693a3f26aba6104fad1659d9b481cbdd0b75d6d8 (diff) |
change capabilities datatype
change node template capabilities datatype from list of map to map
Change-Id: Ie0fa71b8a41ec732ae5290a72c4d8e908701ce17
Issue-ID: SDC-968
Signed-off-by: talio <tali.orenbach@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java index 4ad81210df..629868cb3a 100644 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java @@ -257,10 +257,6 @@ public class PortMirroringEnricher { } private void addPortMirroringCapability(NodeTemplate portNodeTemplate) { - List<Map<String, CapabilityAssignment>> capabilities = portNodeTemplate.getCapabilities(); - if (Objects.isNull(capabilities)) { - capabilities = new ArrayList<>(); - } Map<String, Object> portMirroringCapabilityProperties = new HashMap<>(); PortMirroringConnectionPointDescription connectionPoint = new PortMirroringConnectionPointDescription(); |