diff options
author | Arul.Nambi <arul.nambi@amdocs.com> | 2017-09-13 15:13:29 -0400 |
---|---|---|
committer | Arul.Nambi <arul.nambi@amdocs.com> | 2017-09-13 15:13:37 -0400 |
commit | 059f42e1a2289ecb2cb5835b8b14a0d098c9e1d3 (patch) | |
tree | eb9218adc67f1183b9d371a4ca10fc31ece3b23c /src/main/java/org | |
parent | 7813ad1766bb168f92ce6c0c10a6926a2f00b519 (diff) |
Renaming openecomp to onap
Issue-ID: AAI-208
Change-Id: I559ba27fba96364c506730e8cbac05a9e6591694
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/config/ModelLoaderConfig.java (renamed from src/main/java/org/openecomp/modelloader/config/ModelLoaderConfig.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/Artifact.java (renamed from src/main/java/org/openecomp/modelloader/entity/Artifact.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/ArtifactHandler.java (renamed from src/main/java/org/openecomp/modelloader/entity/ArtifactHandler.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/ArtifactType.java (renamed from src/main/java/org/openecomp/modelloader/entity/ArtifactType.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/catalog/VnfCatalogArtifact.java (renamed from src/main/java/org/openecomp/modelloader/entity/catalog/VnfCatalogArtifact.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/catalog/VnfCatalogArtifactHandler.java (renamed from src/main/java/org/openecomp/modelloader/entity/catalog/VnfCatalogArtifactHandler.java) | 14 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/AbstractModelArtifact.java) | 10 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/IModelParser.java) | 4 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifact.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelArtifact.java) | 10 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelArtifactHandler.java) | 12 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactParser.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelArtifactParser.java) | 7 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelParserFactory.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelParserFactory.java) | 4 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelSorter.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelV8Artifact.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelV8Artifact.java) | 12 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/ModelV8ArtifactParser.java) | 7 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/NamedQueryArtifact.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/NamedQueryArtifact.java) | 10 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/NamedQueryArtifactParser.java (renamed from src/main/java/org/openecomp/modelloader/entity/model/NamedQueryArtifactParser.java) | 7 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/notification/DistributionStatusMsg.java (renamed from src/main/java/org/openecomp/modelloader/notification/DistributionStatusMsg.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/notification/EventCallback.java (renamed from src/main/java/org/openecomp/modelloader/notification/EventCallback.java) | 19 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/restclient/AaiRestClient.java (renamed from src/main/java/org/openecomp/modelloader/restclient/AaiRestClient.java) | 8 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/service/ModelLoaderInterface.java (renamed from src/main/java/org/openecomp/modelloader/service/ModelLoaderInterface.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/service/ModelLoaderMsgs.java (renamed from src/main/java/org/openecomp/modelloader/service/ModelLoaderMsgs.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/service/ModelLoaderService.java (renamed from src/main/java/org/openecomp/modelloader/service/ModelLoaderService.java) | 13 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/service/SdcConnectionJob.java (renamed from src/main/java/org/openecomp/modelloader/service/SdcConnectionJob.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/util/JsonXmlConverter.java (renamed from src/main/java/org/openecomp/modelloader/util/JsonXmlConverter.java) | 2 |
25 files changed, 86 insertions, 89 deletions
diff --git a/src/main/java/org/openecomp/modelloader/config/ModelLoaderConfig.java b/src/main/java/org/onap/aai/modelloader/config/ModelLoaderConfig.java index cb4719e..cca99f1 100644 --- a/src/main/java/org/openecomp/modelloader/config/ModelLoaderConfig.java +++ b/src/main/java/org/onap/aai/modelloader/config/ModelLoaderConfig.java @@ -21,7 +21,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.config; +package org.onap.aai.modelloader.config; import org.eclipse.jetty.util.security.Password; import org.openecomp.sdc.api.consumer.IConfiguration; diff --git a/src/main/java/org/openecomp/modelloader/entity/Artifact.java b/src/main/java/org/onap/aai/modelloader/entity/Artifact.java index 1deb4f4..cf612ce 100644 --- a/src/main/java/org/openecomp/modelloader/entity/Artifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/Artifact.java @@ -21,7 +21,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity; +package org.onap.aai.modelloader.entity; public abstract class Artifact { diff --git a/src/main/java/org/openecomp/modelloader/entity/ArtifactHandler.java b/src/main/java/org/onap/aai/modelloader/entity/ArtifactHandler.java index 245a93c..b52b1a6 100644 --- a/src/main/java/org/openecomp/modelloader/entity/ArtifactHandler.java +++ b/src/main/java/org/onap/aai/modelloader/entity/ArtifactHandler.java @@ -21,12 +21,12 @@ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.openecomp.modelloader.entity;
-
-import org.openecomp.modelloader.config.ModelLoaderConfig;
+package org.onap.aai.modelloader.entity;
import java.util.List;
+import org.onap.aai.modelloader.config.ModelLoaderConfig;
+
public abstract class ArtifactHandler {
protected ModelLoaderConfig config;
diff --git a/src/main/java/org/openecomp/modelloader/entity/ArtifactType.java b/src/main/java/org/onap/aai/modelloader/entity/ArtifactType.java index 4ab7bd1..33b7d61 100644 --- a/src/main/java/org/openecomp/modelloader/entity/ArtifactType.java +++ b/src/main/java/org/onap/aai/modelloader/entity/ArtifactType.java @@ -21,7 +21,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity; +package org.onap.aai.modelloader.entity; public enum ArtifactType { MODEL, diff --git a/src/main/java/org/openecomp/modelloader/entity/catalog/VnfCatalogArtifact.java b/src/main/java/org/onap/aai/modelloader/entity/catalog/VnfCatalogArtifact.java index 79cff98..1ca6b25 100644 --- a/src/main/java/org/openecomp/modelloader/entity/catalog/VnfCatalogArtifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/catalog/VnfCatalogArtifact.java @@ -21,10 +21,10 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.catalog; +package org.onap.aai.modelloader.entity.catalog; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.entity.ArtifactType; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.entity.ArtifactType; public class VnfCatalogArtifact extends Artifact { public VnfCatalogArtifact(String payload) { diff --git a/src/main/java/org/openecomp/modelloader/entity/catalog/VnfCatalogArtifactHandler.java b/src/main/java/org/onap/aai/modelloader/entity/catalog/VnfCatalogArtifactHandler.java index d96f25b..9ef3f6f 100644 --- a/src/main/java/org/openecomp/modelloader/entity/catalog/VnfCatalogArtifactHandler.java +++ b/src/main/java/org/onap/aai/modelloader/entity/catalog/VnfCatalogArtifactHandler.java @@ -21,7 +21,7 @@ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.openecomp.modelloader.entity.catalog;
+package org.onap.aai.modelloader.entity.catalog;
import com.sun.jersey.api.client.ClientResponse;
@@ -31,14 +31,14 @@ import generated.VnfCatalog.PartNumberList; import inventory.aai.openecomp.org.v8.VnfImage;
import org.eclipse.persistence.jaxb.MarshallerProperties;
+import org.onap.aai.modelloader.config.ModelLoaderConfig;
+import org.onap.aai.modelloader.entity.Artifact;
+import org.onap.aai.modelloader.entity.ArtifactHandler;
+import org.onap.aai.modelloader.restclient.AaiRestClient;
+import org.onap.aai.modelloader.restclient.AaiRestClient.MimeType;
+import org.onap.aai.modelloader.service.ModelLoaderMsgs;
import org.openecomp.cl.api.Logger;
import org.openecomp.cl.eelf.LoggerFactory;
-import org.openecomp.modelloader.config.ModelLoaderConfig;
-import org.openecomp.modelloader.entity.Artifact;
-import org.openecomp.modelloader.entity.ArtifactHandler;
-import org.openecomp.modelloader.restclient.AaiRestClient;
-import org.openecomp.modelloader.restclient.AaiRestClient.MimeType;
-import org.openecomp.modelloader.service.ModelLoaderMsgs;
import org.springframework.web.util.UriUtils;
import java.io.StringReader;
diff --git a/src/main/java/org/openecomp/modelloader/entity/model/AbstractModelArtifact.java b/src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java index 2738457..a942cf6 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/AbstractModelArtifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java @@ -21,16 +21,16 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import java.util.HashSet; import java.util.List; import java.util.Set; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.entity.ArtifactType; -import org.openecomp.modelloader.restclient.AaiRestClient; +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.entity.ArtifactType; +import org.onap.aai.modelloader.restclient.AaiRestClient; public abstract class AbstractModelArtifact extends Artifact { diff --git a/src/main/java/org/openecomp/modelloader/entity/model/IModelParser.java b/src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java index ac97f34..0d34908 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/IModelParser.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java @@ -21,11 +21,11 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import java.util.List; -import org.openecomp.modelloader.entity.Artifact; +import org.onap.aai.modelloader.entity.Artifact; public interface IModelParser { public List<Artifact> parse(byte[] artifactPayload, String artifactName); diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelArtifact.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifact.java index 369b09e..f0e848d 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelArtifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifact.java @@ -21,7 +21,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import java.io.StringWriter; import java.util.List; @@ -34,12 +34,12 @@ import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.ArtifactType; +import org.onap.aai.modelloader.restclient.AaiRestClient; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.ArtifactType; -import org.openecomp.modelloader.restclient.AaiRestClient; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import org.w3c.dom.Node; import com.sun.jersey.api.client.ClientResponse; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelArtifactHandler.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java index e4e1dd0..b7da5a2 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelArtifactHandler.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java @@ -21,15 +21,15 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.entity.ArtifactHandler; +import org.onap.aai.modelloader.restclient.AaiRestClient; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.entity.ArtifactHandler; -import org.openecomp.modelloader.restclient.AaiRestClient; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelArtifactParser.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactParser.java index 779b135..a362fce 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelArtifactParser.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactParser.java @@ -21,13 +21,12 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.service.ModelLoaderMsgs; - import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelParserFactory.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelParserFactory.java index ab1ceab..df54811 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelParserFactory.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelParserFactory.java @@ -21,16 +21,16 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import java.io.StringReader; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.InputSource; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelSorter.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java index 0a1090e..825cbcb 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelSorter.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java @@ -21,12 +21,10 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import jline.internal.Log; -import org.openecomp.modelloader.entity.Artifact; - import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; @@ -34,6 +32,8 @@ import java.util.HashSet; import java.util.Iterator; import java.util.List; +import org.onap.aai.modelloader.entity.Artifact; + /** * Utility class to sort the given Models according to their dependencies. * Example: Given a list of Models [A, B, C] where B depends on A, and A depends diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelV8Artifact.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8Artifact.java index ba7e661..892d20f 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelV8Artifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8Artifact.java @@ -21,19 +21,19 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import java.util.List; import javax.ws.rs.core.Response; +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.entity.ArtifactType; +import org.onap.aai.modelloader.restclient.AaiRestClient; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.entity.ArtifactType; -import org.openecomp.modelloader.restclient.AaiRestClient; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import com.sun.jersey.api.client.ClientResponse; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/ModelV8ArtifactParser.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java index a6b3d23..af6160f 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/ModelV8ArtifactParser.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java @@ -21,13 +21,12 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.service.ModelLoaderMsgs; - import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/NamedQueryArtifact.java b/src/main/java/org/onap/aai/modelloader/entity/model/NamedQueryArtifact.java index a5f4ef4..ece8d4b 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/NamedQueryArtifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/NamedQueryArtifact.java @@ -21,18 +21,18 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; import java.util.List; import javax.ws.rs.core.Response; +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.ArtifactType; +import org.onap.aai.modelloader.restclient.AaiRestClient; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.ArtifactType; -import org.openecomp.modelloader.restclient.AaiRestClient; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import com.sun.jersey.api.client.ClientResponse; diff --git a/src/main/java/org/openecomp/modelloader/entity/model/NamedQueryArtifactParser.java b/src/main/java/org/onap/aai/modelloader/entity/model/NamedQueryArtifactParser.java index 9e4507d..b035592 100644 --- a/src/main/java/org/openecomp/modelloader/entity/model/NamedQueryArtifactParser.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/NamedQueryArtifactParser.java @@ -21,13 +21,12 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.entity.model; +package org.onap.aai.modelloader.entity.model; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.service.ModelLoaderMsgs; - import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; diff --git a/src/main/java/org/openecomp/modelloader/notification/DistributionStatusMsg.java b/src/main/java/org/onap/aai/modelloader/notification/DistributionStatusMsg.java index c0305c0..6c267e6 100644 --- a/src/main/java/org/openecomp/modelloader/notification/DistributionStatusMsg.java +++ b/src/main/java/org/onap/aai/modelloader/notification/DistributionStatusMsg.java @@ -21,7 +21,7 @@ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.openecomp.modelloader.notification;
+package org.onap.aai.modelloader.notification;
import org.openecomp.sdc.api.consumer.IDistributionStatusMessage;
import org.openecomp.sdc.utils.DistributionStatusEnum;
diff --git a/src/main/java/org/openecomp/modelloader/notification/EventCallback.java b/src/main/java/org/onap/aai/modelloader/notification/EventCallback.java index c75dc94..1d40291 100644 --- a/src/main/java/org/openecomp/modelloader/notification/EventCallback.java +++ b/src/main/java/org/onap/aai/modelloader/notification/EventCallback.java @@ -21,7 +21,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.notification; +package org.onap.aai.modelloader.notification; import org.openecomp.sdc.api.IDistributionClient; import org.openecomp.sdc.api.consumer.IDistributionStatusMessage; @@ -34,19 +34,18 @@ import org.openecomp.sdc.api.results.IDistributionClientResult; import org.openecomp.sdc.utils.ArtifactTypeEnum; import org.openecomp.sdc.utils.DistributionActionResultEnum; import org.openecomp.sdc.utils.DistributionStatusEnum; - +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.Artifact; +import org.onap.aai.modelloader.entity.catalog.VnfCatalogArtifact; +import org.onap.aai.modelloader.entity.catalog.VnfCatalogArtifactHandler; +import org.onap.aai.modelloader.entity.model.IModelParser; +import org.onap.aai.modelloader.entity.model.ModelArtifactHandler; +import org.onap.aai.modelloader.entity.model.ModelParserFactory; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; import org.openecomp.cl.mdc.MdcContext; import org.openecomp.cl.mdc.MdcOverride; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.Artifact; -import org.openecomp.modelloader.entity.catalog.VnfCatalogArtifact; -import org.openecomp.modelloader.entity.catalog.VnfCatalogArtifactHandler; -import org.openecomp.modelloader.entity.model.IModelParser; -import org.openecomp.modelloader.entity.model.ModelArtifactHandler; -import org.openecomp.modelloader.entity.model.ModelParserFactory; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import org.slf4j.MDC; import java.text.SimpleDateFormat; diff --git a/src/main/java/org/openecomp/modelloader/restclient/AaiRestClient.java b/src/main/java/org/onap/aai/modelloader/restclient/AaiRestClient.java index a642ec6..712290e 100644 --- a/src/main/java/org/openecomp/modelloader/restclient/AaiRestClient.java +++ b/src/main/java/org/onap/aai/modelloader/restclient/AaiRestClient.java @@ -21,7 +21,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.restclient; +package org.onap.aai.modelloader.restclient; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; @@ -29,14 +29,16 @@ import com.sun.jersey.api.client.config.ClientConfig; import com.sun.jersey.api.client.config.DefaultClientConfig; import com.sun.jersey.api.client.filter.LoggingFilter; import com.sun.jersey.client.urlconnection.HTTPSProperties; + +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.restclient.AaiRestClient; +import org.onap.aai.modelloader.service.ModelLoaderMsgs; import org.openecomp.cl.api.LogFields; import org.openecomp.cl.api.LogLine; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; import org.openecomp.cl.mdc.MdcContext; import org.openecomp.cl.mdc.MdcOverride; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.service.ModelLoaderMsgs; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; diff --git a/src/main/java/org/openecomp/modelloader/service/ModelLoaderInterface.java b/src/main/java/org/onap/aai/modelloader/service/ModelLoaderInterface.java index c5ead66..9233796 100644 --- a/src/main/java/org/openecomp/modelloader/service/ModelLoaderInterface.java +++ b/src/main/java/org/onap/aai/modelloader/service/ModelLoaderInterface.java @@ -21,7 +21,7 @@ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.openecomp.modelloader.service;
+package org.onap.aai.modelloader.service;
import java.io.IOException;
diff --git a/src/main/java/org/openecomp/modelloader/service/ModelLoaderMsgs.java b/src/main/java/org/onap/aai/modelloader/service/ModelLoaderMsgs.java index b66e5eb..6362e7f 100644 --- a/src/main/java/org/openecomp/modelloader/service/ModelLoaderMsgs.java +++ b/src/main/java/org/onap/aai/modelloader/service/ModelLoaderMsgs.java @@ -21,7 +21,7 @@ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.openecomp.modelloader.service;
+package org.onap.aai.modelloader.service;
import com.att.eelf.i18n.EELFResourceManager;
diff --git a/src/main/java/org/openecomp/modelloader/service/ModelLoaderService.java b/src/main/java/org/onap/aai/modelloader/service/ModelLoaderService.java index d500f26..b5f5981 100644 --- a/src/main/java/org/openecomp/modelloader/service/ModelLoaderService.java +++ b/src/main/java/org/onap/aai/modelloader/service/ModelLoaderService.java @@ -21,18 +21,17 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.service; +package org.onap.aai.modelloader.service; import org.openecomp.sdc.api.IDistributionClient; import org.openecomp.sdc.api.results.IDistributionClientResult; import org.openecomp.sdc.impl.DistributionClientFactory; import org.openecomp.sdc.utils.DistributionActionResultEnum; - +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.entity.model.ModelArtifactHandler; +import org.onap.aai.modelloader.notification.EventCallback; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.entity.model.ModelArtifactHandler; -import org.openecomp.modelloader.notification.EventCallback; import java.io.FileInputStream; import java.io.IOException; @@ -163,7 +162,7 @@ public class ModelLoaderService implements ModelLoaderInterface { } /** (non-Javadoc) - * @see org.openecomp.modelloader.service.ModelLoaderInterface#loadModel(java.lang.String) + * @see org.onap.aai.modelloader.service.ModelLoaderInterface#loadModel(java.lang.String) */ @Override public Response loadModel(String modelid) { @@ -173,7 +172,7 @@ public class ModelLoaderService implements ModelLoaderInterface { } /** (non-Javadoc) - * @see org.openecomp.modelloader.service.ModelLoaderInterface#saveModel(java.lang.String, java.lang.String) + * @see org.onap.aai.modelloader.service.ModelLoaderInterface#saveModel(java.lang.String, java.lang.String) */ @Override public Response saveModel(String modelid, String modelname) { diff --git a/src/main/java/org/openecomp/modelloader/service/SdcConnectionJob.java b/src/main/java/org/onap/aai/modelloader/service/SdcConnectionJob.java index ffc1352..30c8709 100644 --- a/src/main/java/org/openecomp/modelloader/service/SdcConnectionJob.java +++ b/src/main/java/org/onap/aai/modelloader/service/SdcConnectionJob.java @@ -21,16 +21,16 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ -package org.openecomp.modelloader.service; +package org.onap.aai.modelloader.service; import java.util.Date; import java.util.Timer; import java.util.TimerTask; +import org.onap.aai.modelloader.config.ModelLoaderConfig; +import org.onap.aai.modelloader.notification.EventCallback; import org.openecomp.cl.api.Logger; import org.openecomp.cl.eelf.LoggerFactory; -import org.openecomp.modelloader.config.ModelLoaderConfig; -import org.openecomp.modelloader.notification.EventCallback; import org.openecomp.sdc.api.IDistributionClient; import org.openecomp.sdc.api.results.IDistributionClientResult; import org.openecomp.sdc.utils.DistributionActionResultEnum; diff --git a/src/main/java/org/openecomp/modelloader/util/JsonXmlConverter.java b/src/main/java/org/onap/aai/modelloader/util/JsonXmlConverter.java index 25a19c2..e307be6 100644 --- a/src/main/java/org/openecomp/modelloader/util/JsonXmlConverter.java +++ b/src/main/java/org/onap/aai/modelloader/util/JsonXmlConverter.java @@ -21,7 +21,7 @@ *
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.openecomp.modelloader.util;
+package org.onap.aai.modelloader.util;
import org.json.JSONArray;
import org.json.JSONException;
|