From a94ec86f242d57fc0832f2658114ae8c9d1c6b1c Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Mon, 19 Mar 2018 15:22:39 +0200 Subject: Migrate to org.onap Change-Id: Ibc8c4ad47f9bd3bf30db901cbd282d36f279d91c Issue-ID: VID-86 Signed-off-by: Sonsino, Ofir (os0695) --- .../main/java/org/onap/vid/asdc/beans/tosca/Input.java | 10 +++++----- .../java/org/onap/vid/asdc/parser/ToscaParser.java | 2 +- .../java/org/onap/vid/asdc/parser/ToscaParserImpl.java | 2 +- .../org/onap/vid/asdc/parser/ToscaParserImpl2.java | 18 +++++++++--------- .../java/org/onap/vid/controllers/VidController.java | 2 +- .../java/org/onap/vid/model/PortMirroringConfig.java | 4 ++-- .../java/org/onap/vid/services/VidServiceImpl.java | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) (limited to 'vid-app-common/src/main/java/org') diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java b/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java index e485a65e2..9f3ae429d 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java @@ -20,7 +20,7 @@ package org.onap.vid.asdc.beans.tosca; -import org.openecomp.sdc.toscaparser.api.elements.constraints.*; +import org.onap.sdc.toscaparser.api.elements.constraints.*; import java.util.List; import java.util.ArrayList; @@ -44,7 +44,7 @@ public class Input { private Input entry_schema; /** The constraints */ - private List constraints; + private List constraints; /** The required field. If not set, the default is true */ private boolean required = true; @@ -53,7 +53,7 @@ public class Input { * Instantiates a new input. */ public Input() { - constraints = new ArrayList(); + constraints = new ArrayList(); } /** @@ -146,7 +146,7 @@ public class Input { * * @param c the new constraints */ - public void setConstraints(List c) { + public void setConstraints(List c) { this.constraints = c; } /** @@ -154,7 +154,7 @@ public class Input { * * @return the constraints */ - public List getConstraints() { + public List getConstraints() { return constraints; } diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParser.java b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParser.java index 890752afe..6da1738a9 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParser.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParser.java @@ -2,7 +2,7 @@ package org.onap.vid.asdc.parser; import java.nio.file.Path; -import org.openecomp.sdc.tosca.parser.exceptions.SdcToscaParserException; +import org.onap.sdc.tosca.parser.exceptions.SdcToscaParserException; import org.onap.vid.asdc.AsdcCatalogException; import org.onap.vid.asdc.beans.tosca.ToscaCsar; import org.onap.vid.asdc.beans.Service; diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl.java b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl.java index 6635b1bf8..37f4b0ab0 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl.java @@ -15,7 +15,7 @@ import java.util.zip.ZipFile; import org.apache.commons.lang3.mutable.MutableBoolean; import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate; -import org.openecomp.sdc.tosca.parser.exceptions.SdcToscaParserException; +import org.onap.sdc.tosca.parser.exceptions.SdcToscaParserException; import org.onap.vid.asdc.AsdcCatalogException; import org.onap.vid.asdc.beans.Service; import org.onap.vid.asdc.beans.tosca.NodeTemplate; diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java index 4a5ab3af3..f0d056a0f 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java @@ -2,13 +2,13 @@ package org.onap.vid.asdc.parser; import org.onap.vid.asdc.beans.Service; import org.onap.vid.model.*; -import org.openecomp.sdc.tosca.parser.api.ISdcCsarHelper; -import org.openecomp.sdc.tosca.parser.exceptions.SdcToscaParserException; -import org.openecomp.sdc.tosca.parser.impl.FilterType; -import org.openecomp.sdc.tosca.parser.impl.SdcToscaParserFactory; -import org.openecomp.sdc.tosca.parser.impl.SdcTypes; -import org.openecomp.sdc.toscaparser.api.*; -import org.openecomp.sdc.toscaparser.api.parameters.Input; +import org.onap.sdc.tosca.parser.api.ISdcCsarHelper; +import org.onap.sdc.tosca.parser.exceptions.SdcToscaParserException; +import org.onap.sdc.tosca.parser.impl.FilterType; +import org.onap.sdc.tosca.parser.impl.SdcToscaParserFactory; +import org.onap.sdc.tosca.parser.impl.SdcTypes; +import org.onap.sdc.toscaparser.api.*; +import org.onap.sdc.toscaparser.api.parameters.Input; import java.nio.file.Path; import java.util.*; @@ -235,9 +235,9 @@ public class ToscaParserImpl2 { return volumeGroupHashMap; } - private Map inputsListToInputsMap(List inputList) { + private Map inputsListToInputsMap(List inputList) { Map inputs = new HashMap<>(); - for (org.openecomp.sdc.toscaparser.api.parameters.Input input : inputList) { + for (org.onap.sdc.toscaparser.api.parameters.Input input : inputList) { inputs.put(input.getName(), convertInput(input, new org.onap.vid.asdc.beans.tosca.Input())); } return inputs; diff --git a/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java b/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java index da27cd993..41abdee5f 100644 --- a/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java +++ b/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java @@ -22,7 +22,7 @@ package org.onap.vid.controllers; import org.onap.portalsdk.core.controller.RestrictedBaseController; import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate; -import org.openecomp.sdc.tosca.parser.exceptions.SdcToscaParserException; +import org.onap.sdc.tosca.parser.exceptions.SdcToscaParserException; import org.onap.vid.asdc.AsdcCatalogException; import org.onap.vid.asdc.beans.SecureServices; import org.onap.vid.exceptions.VidServiceUnavailableException; diff --git a/vid-app-common/src/main/java/org/onap/vid/model/PortMirroringConfig.java b/vid-app-common/src/main/java/org/onap/vid/model/PortMirroringConfig.java index 8c1fe66bc..393c34259 100644 --- a/vid-app-common/src/main/java/org/onap/vid/model/PortMirroringConfig.java +++ b/vid-app-common/src/main/java/org/onap/vid/model/PortMirroringConfig.java @@ -2,8 +2,8 @@ package org.onap.vid.model; import com.fasterxml.jackson.annotation.JsonIgnore; import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate; -import org.openecomp.sdc.toscaparser.api.NodeTemplate; -import org.openecomp.sdc.toscaparser.api.RequirementAssignments; +import org.onap.sdc.toscaparser.api.NodeTemplate; +import org.onap.sdc.toscaparser.api.RequirementAssignments; import java.text.DateFormat; import java.text.SimpleDateFormat; diff --git a/vid-app-common/src/main/java/org/onap/vid/services/VidServiceImpl.java b/vid-app-common/src/main/java/org/onap/vid/services/VidServiceImpl.java index 44cfb28be..3b9d65107 100644 --- a/vid-app-common/src/main/java/org/onap/vid/services/VidServiceImpl.java +++ b/vid-app-common/src/main/java/org/onap/vid/services/VidServiceImpl.java @@ -1,7 +1,7 @@ package org.onap.vid.services; import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate; -import org.openecomp.sdc.tosca.parser.exceptions.SdcToscaParserException; +import org.onap.sdc.tosca.parser.exceptions.SdcToscaParserException; import org.onap.vid.asdc.AsdcCatalogException; import org.onap.vid.asdc.AsdcClient; import org.onap.vid.asdc.beans.Service; -- cgit 1.2.3-korg