From e2f68206f7c4b86ac79fa0873cd4816bd2486253 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Fri, 27 Sep 2019 11:07:49 -0400 Subject: remove org.openecomp.sdc artifact replace to org.onap.sdc Issue-ID: APPC-736 Change-Id: I6b9b451ad0196e03e7db90e6157e11139f0d0428 Signed-off-by: Taka Cho --- appc-config/appc-config-params/provider/pom.xml | 4 ++-- .../transformer/tosca/ArtifactProcessorImpl.java | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'appc-config/appc-config-params/provider') diff --git a/appc-config/appc-config-params/provider/pom.xml b/appc-config/appc-config-params/provider/pom.xml index 5812a4bf0..50cb878a5 100644 --- a/appc-config/appc-config-params/provider/pom.xml +++ b/appc-config/appc-config-params/provider/pom.xml @@ -45,8 +45,8 @@ - org.openecomp.sdc.common - openecomp-tosca-datatype + org.onap.sdc.common + onap-tosca-datatype ${tosca.datatype.version} diff --git a/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/transformer/tosca/ArtifactProcessorImpl.java b/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/transformer/tosca/ArtifactProcessorImpl.java index ad9daf5eb..d990bbdc3 100644 --- a/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/transformer/tosca/ArtifactProcessorImpl.java +++ b/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/transformer/tosca/ArtifactProcessorImpl.java @@ -41,11 +41,11 @@ import org.onap.sdnc.config.params.data.PropertyDefinition; import org.onap.sdnc.config.params.data.RequestKey; import org.onap.sdnc.config.params.data.ResponseKey; import org.onap.sdnc.config.params.transformer.tosca.exceptions.ArtifactProcessorException; -import org.openecomp.sdc.tosca.datatypes.model.NodeTemplate; -import org.openecomp.sdc.tosca.datatypes.model.NodeType; -import org.openecomp.sdc.tosca.datatypes.model.ServiceTemplate; -import org.openecomp.sdc.tosca.datatypes.model.TopologyTemplate; -import org.openecomp.sdc.tosca.services.YamlUtil; +import org.onap.sdc.tosca.datatypes.model.NodeTemplate; +import org.onap.sdc.tosca.datatypes.model.NodeType; +import org.onap.sdc.tosca.datatypes.model.ServiceTemplate; +import org.onap.sdc.tosca.datatypes.model.TopologyTemplate; +import org.onap.sdc.tosca.services.YamlUtil; import org.slf4j.MDC; import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; @@ -141,11 +141,11 @@ public class ArtifactProcessorImpl implements ArtifactProcessor { List parameterList = new LinkedList<>(); - Map propertyDefinitionFromTOSCA = + Map propertyDefinitionFromTOSCA = nodeType.getProperties(); if (null != propertyDefinitionFromTOSCA) { for (String propertyName : propertyDefinitionFromTOSCA.keySet()) { - org.openecomp.sdc.tosca.datatypes.model.PropertyDefinition propertyDefinition = + org.onap.sdc.tosca.datatypes.model.PropertyDefinition propertyDefinition = propertyDefinitionFromTOSCA.get(propertyName); Parameter parameter = new Parameter(); @@ -284,7 +284,7 @@ public class ArtifactProcessorImpl implements ArtifactProcessor { toscaNodeType.setVersion(artifact.getVersion()); toscaNodeType.setDescription(""); if (artifact.getParameters() != null) { - Map toscaPropertyMap = + Map toscaPropertyMap = new HashMap<>(); toscaNodeType.setProperties(toscaPropertyMap); @@ -305,8 +305,8 @@ public class ArtifactProcessorImpl implements ArtifactProcessor { if (!StringUtils.isBlank(pdParameter.getName()) && !pdParameter.getName().matches(".*\\s+.*")) { Log.info("Adding parameter " + pdParameter.getName() + " in node type"); - org.openecomp.sdc.tosca.datatypes.model.PropertyDefinition toscaProperty = - new org.openecomp.sdc.tosca.datatypes.model.PropertyDefinition(); + org.onap.sdc.tosca.datatypes.model.PropertyDefinition toscaProperty = + new org.onap.sdc.tosca.datatypes.model.PropertyDefinition(); toscaProperty.setType( StringUtils.isBlank(pdParameter.getType()) ? "string" : pdParameter.getType()); -- cgit 1.2.3-korg