diff options
author | 2018-03-19 15:22:39 +0200 | |
---|---|---|
committer | 2018-03-19 15:22:39 +0200 | |
commit | a94ec86f242d57fc0832f2658114ae8c9d1c6b1c (patch) | |
tree | ac648375b2d75fe04bbaafc27e0d26259a9d22b9 /vid-app-common/src/main/java/org/onap/vid/asdc | |
parent | 545434fd679fa918288b913a6525d2e05777b22a (diff) |
Migrate to org.onap
Change-Id: Ibc8c4ad47f9bd3bf30db901cbd282d36f279d91c
Issue-ID: VID-86
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/asdc')
4 files changed, 16 insertions, 16 deletions
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 e485a65e..9f3ae429 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<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint> constraints; + private List<org.onap.sdc.toscaparser.api.elements.constraints.Constraint> 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<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint>(); + constraints = new ArrayList<org.onap.sdc.toscaparser.api.elements.constraints.Constraint>(); } /** @@ -146,7 +146,7 @@ public class Input { * * @param c the new constraints */ - public void setConstraints(List<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint> c) { + public void setConstraints(List<org.onap.sdc.toscaparser.api.elements.constraints.Constraint> c) { this.constraints = c; } /** @@ -154,7 +154,7 @@ public class Input { * * @return the constraints */ - public List<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint> getConstraints() { + public List<org.onap.sdc.toscaparser.api.elements.constraints.Constraint> 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 890752af..6da1738a 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 6635b1bf..37f4b0ab 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 4a5ab3af..f0d056a0 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<String, org.onap.vid.asdc.beans.tosca.Input> inputsListToInputsMap(List<org.openecomp.sdc.toscaparser.api.parameters.Input> inputList) { + private Map<String, org.onap.vid.asdc.beans.tosca.Input> inputsListToInputsMap(List<org.onap.sdc.toscaparser.api.parameters.Input> inputList) { Map<String, org.onap.vid.asdc.beans.tosca.Input> 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; |