summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@att.com>2018-02-07 12:17:42 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-07 12:17:42 +0000
commit4218526154d4ecda5b8ea2ca4e9e729672b2103a (patch)
tree2add79095f4e144110d42aa74380d953dd828fbf /vid-app-common/src/main/java
parent146eef0d6c07306b85c511bbcac0f60f4e3dae1a (diff)
parent94f33fa3abf17d576b9fe43fa2913c4546febaa8 (diff)
Merge "org.onap migration"
Diffstat (limited to 'vid-app-common/src/main/java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/asdc/local/LocalAsdcClient.java20
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/asdc/memory/InMemoryAsdcClient.java18
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/client/HttpsBasicClient.java2
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/rest/AsyncRequestStatus.java8
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedInstance.java10
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedModel.java12
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/rest/Request.java6
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/rest/RequestDetails.java10
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/services/VidServiceImpl.java4
9 files changed, 45 insertions, 45 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/local/LocalAsdcClient.java b/vid-app-common/src/main/java/org/onap/vid/asdc/local/LocalAsdcClient.java
index 3c04e5ce8..7671b7305 100644
--- a/vid-app-common/src/main/java/org/onap/vid/asdc/local/LocalAsdcClient.java
+++ b/vid-app-common/src/main/java/org/onap/vid/asdc/local/LocalAsdcClient.java
@@ -94,7 +94,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResource(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getResource(java.util.UUID)
*/
public Resource getResource(UUID uuid) throws AsdcCatalogException {
final JSONObject resource = getCatalog().getJSONObject("resources")
@@ -103,7 +103,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResources()
+ * @see org.onap.vid.asdc.AsdcClient#getResources()
*/
public Collection<Resource> getResources() throws AsdcCatalogException {
final Collection<Resource> resources = new LinkedList<Resource>();
@@ -118,7 +118,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResources(java.util.Map)
+ * @see org.onap.vid.asdc.AsdcClient#getResources(java.util.Map)
*/
public Collection<Resource> getResources(Map<String, String[]> filter) throws AsdcCatalogException {
final Collection<Resource> resources = new LinkedList<Resource>();
@@ -144,7 +144,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getService(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getService(java.util.UUID)
*/
public Service getService(UUID uuid) throws AsdcCatalogException {
@@ -165,7 +165,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getServices()
+ * @see org.onap.vid.asdc.AsdcClient#getServices()
*/
public Collection<Service> getServices() throws AsdcCatalogException {
final Collection<Service> services = new LinkedList<Service>();
@@ -182,7 +182,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecompt.vid.asdc.AsdcClient#getServices(java.util.Map)
+ * @see org.onap.vid.asdc.AsdcClient#getServices(java.util.Map)
*/
public Collection<Service> getServices(Map<String, String[]> filter) throws AsdcCatalogException {
final Collection<Service> services = new LinkedList<Service>();
@@ -209,7 +209,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResourceArtifact(java.util.UUID, java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getResourceArtifact(java.util.UUID, java.util.UUID)
*/
public Artifact getResourceArtifact(UUID resourceUuid, UUID artifactUuid) throws AsdcCatalogException {
final JSONArray artifacts = getCatalog().getJSONObject("resources")
@@ -228,7 +228,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getServiceArtifact(java.util.UUID, java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getServiceArtifact(java.util.UUID, java.util.UUID)
*/
public Artifact getServiceArtifact(UUID serviceUuid, UUID artifactUuid) throws AsdcCatalogException {
final JSONArray artifacts = getCatalog().getJSONObject("services")
@@ -247,7 +247,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResourceToscaModel(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getResourceToscaModel(java.util.UUID)
*/
public Path getResourceToscaModel(UUID resourceUuid) throws AsdcCatalogException {
final String toscaModelURL = getCatalog().getJSONObject("resources")
@@ -263,7 +263,7 @@ public class LocalAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getServiceToscaModel(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getServiceToscaModel(java.util.UUID)
*/
public Path getServiceToscaModel(UUID serviceUuid) throws AsdcCatalogException {
diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/memory/InMemoryAsdcClient.java b/vid-app-common/src/main/java/org/onap/vid/asdc/memory/InMemoryAsdcClient.java
index a7b934e99..780e82a6f 100644
--- a/vid-app-common/src/main/java/org/onap/vid/asdc/memory/InMemoryAsdcClient.java
+++ b/vid-app-common/src/main/java/org/onap/vid/asdc/memory/InMemoryAsdcClient.java
@@ -159,7 +159,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResource(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getResource(java.util.UUID)
*/
public Resource getResource(UUID uuid) throws AsdcCatalogException {
final JSONObject resource = getCatalog().getJSONObject("resources")
@@ -182,7 +182,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResources(java.util.Map)
+ * @see org.onap.vid.asdc.AsdcClient#getResources(java.util.Map)
*/
public Collection<Resource> getResources(Map<String, String[]> filter) throws AsdcCatalogException {
final Collection<Resource> resources = new LinkedList<Resource> ();
@@ -208,7 +208,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getService(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getService(java.util.UUID)
*/
public Service getService(UUID uuid) throws AsdcCatalogException {
final JSONObject service = getCatalog().getJSONObject("services")
@@ -217,7 +217,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getServices()
+ * @see org.onap.vid.asdc.AsdcClient#getServices()
*/
public Collection<Service> getServices() throws AsdcCatalogException {
final Collection<Service> services = new LinkedList<Service> ();
@@ -232,7 +232,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecompt.vid.asdc.AsdcClient#getServices(java.util.Map)
+ * @see org.onap.vid.asdc.AsdcClient#getServices(java.util.Map)
*/
public Collection<Service> getServices(Map<String, String[]> filter) throws AsdcCatalogException {
final Collection<Service> services = new LinkedList<Service> ();
@@ -258,7 +258,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResourceArtifact(java.util.UUID, java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getResourceArtifact(java.util.UUID, java.util.UUID)
*/
public Artifact getResourceArtifact(UUID resourceUuid, UUID artifactUuid) throws AsdcCatalogException {
final JSONArray artifacts = getCatalog().getJSONObject("resources")
@@ -277,7 +277,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getServiceArtifact(java.util.UUID, java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getServiceArtifact(java.util.UUID, java.util.UUID)
*/
public Artifact getServiceArtifact(UUID serviceUuid, UUID artifactUuid) throws AsdcCatalogException {
final JSONArray artifacts = getCatalog().getJSONObject("services")
@@ -296,7 +296,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getResourceToscaModel(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getResourceToscaModel(java.util.UUID)
*/
public Path getResourceToscaModel(UUID resourceUuid) throws AsdcCatalogException {
final String toscaModelURL = getCatalog().getJSONObject("resources")
@@ -312,7 +312,7 @@ public class InMemoryAsdcClient implements AsdcClient {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.asdc.AsdcClient#getServiceToscaModel(java.util.UUID)
+ * @see org.onap.vid.asdc.AsdcClient#getServiceToscaModel(java.util.UUID)
*/
public Path getServiceToscaModel(UUID serviceUuid) throws AsdcCatalogException {
final String toscaModelURL = getCatalog().getJSONObject("services")
diff --git a/vid-app-common/src/main/java/org/onap/vid/client/HttpsBasicClient.java b/vid-app-common/src/main/java/org/onap/vid/client/HttpsBasicClient.java
index 28a4d0f9f..e81be9f69 100644
--- a/vid-app-common/src/main/java/org/onap/vid/client/HttpsBasicClient.java
+++ b/vid-app-common/src/main/java/org/onap/vid/client/HttpsBasicClient.java
@@ -61,7 +61,7 @@ public class HttpsBasicClient{
String methodName = "getClient";
ClientConfig config = new ClientConfig();
//config.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE);
- //config.getClasses().add(org.openecomp.aai.util.CustomJacksonJaxBJsonProvider.class);
+ //config.getClasses().add(org.onap.aai.util.CustomJacksonJaxBJsonProvider.class);
SSLContext ctx = null;
diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/rest/AsyncRequestStatus.java b/vid-app-common/src/main/java/org/onap/vid/mso/rest/AsyncRequestStatus.java
index f47e16fe0..4dd6eacaa 100644
--- a/vid-app-common/src/main/java/org/onap/vid/mso/rest/AsyncRequestStatus.java
+++ b/vid-app-common/src/main/java/org/onap/vid/mso/rest/AsyncRequestStatus.java
@@ -54,7 +54,7 @@ public class AsyncRequestStatus extends org.onap.vid.domain.mso.AsyncRequestStat
private RequestStatus requestStatus;
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.AsyncRequestStatus#getInstanceIds()
+ * @see org.onap.vid.domain.mso.AsyncRequestStatus#getInstanceIds()
*/
public InstanceIds getInstanceIds() {
return instanceIds;
@@ -91,7 +91,7 @@ public class AsyncRequestStatus extends org.onap.vid.domain.mso.AsyncRequestStat
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.AsyncRequestStatus#toString()
+ * @see org.onap.vid.domain.mso.AsyncRequestStatus#toString()
*/
@Override
public String toString() {
@@ -99,7 +99,7 @@ public class AsyncRequestStatus extends org.onap.vid.domain.mso.AsyncRequestStat
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.AsyncRequestStatus#hashCode()
+ * @see org.onap.vid.domain.mso.AsyncRequestStatus#hashCode()
*/
@Override
public int hashCode() {
@@ -107,7 +107,7 @@ public class AsyncRequestStatus extends org.onap.vid.domain.mso.AsyncRequestStat
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.AsyncRequestStatus#equals(java.lang.Object)
+ * @see org.onap.vid.domain.mso.AsyncRequestStatus#equals(java.lang.Object)
*/
@Override
public boolean equals(Object other) {
diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedInstance.java b/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedInstance.java
index b7f120330..3fd4cd4d1 100644
--- a/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedInstance.java
+++ b/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedInstance.java
@@ -76,7 +76,7 @@ public class RelatedInstance extends org.onap.vid.domain.mso.RelatedInstance{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedInstance#toString()
+ * @see org.onap.vid.domain.mso.RelatedInstance#toString()
*/
@Override
public String toString() {
@@ -84,7 +84,7 @@ public class RelatedInstance extends org.onap.vid.domain.mso.RelatedInstance{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedInstance#getAdditionalProperties()
+ * @see org.onap.vid.domain.mso.RelatedInstance#getAdditionalProperties()
*/
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
@@ -92,7 +92,7 @@ public class RelatedInstance extends org.onap.vid.domain.mso.RelatedInstance{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedInstance#setAdditionalProperty(java.lang.String, java.lang.Object)
+ * @see org.onap.vid.domain.mso.RelatedInstance#setAdditionalProperty(java.lang.String, java.lang.Object)
*/
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
@@ -100,7 +100,7 @@ public class RelatedInstance extends org.onap.vid.domain.mso.RelatedInstance{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedInstance#hashCode()
+ * @see org.onap.vid.domain.mso.RelatedInstance#hashCode()
*/
@Override
public int hashCode() {
@@ -108,7 +108,7 @@ public class RelatedInstance extends org.onap.vid.domain.mso.RelatedInstance{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedInstance#equals(java.lang.Object)
+ * @see org.onap.vid.domain.mso.RelatedInstance#equals(java.lang.Object)
*/
@Override
public boolean equals(Object other) {
diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedModel.java b/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedModel.java
index 39722e172..36487c596 100644
--- a/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedModel.java
+++ b/vid-app-common/src/main/java/org/onap/vid/mso/rest/RelatedModel.java
@@ -49,7 +49,7 @@ public class RelatedModel extends org.onap.vid.domain.mso.RelatedModel {
// /** The related model object instance list. */
// @JsonProperty("instanceId")
-// private org.openecomp.vid.domain.mso.InstanceIds instanceId;
+// private org.onap.vid.domain.mso.InstanceIds instanceId;
/** The additional properties. */
@JsonIgnore
@@ -76,7 +76,7 @@ public class RelatedModel extends org.onap.vid.domain.mso.RelatedModel {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedModel#toString()
+ * @see org.onap.vid.domain.mso.RelatedModel#toString()
*/
@Override
public String toString() {
@@ -84,7 +84,7 @@ public class RelatedModel extends org.onap.vid.domain.mso.RelatedModel {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedModel#getAdditionalProperties()
+ * @see org.onap.vid.domain.mso.RelatedModel#getAdditionalProperties()
*/
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
@@ -92,7 +92,7 @@ public class RelatedModel extends org.onap.vid.domain.mso.RelatedModel {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedModel#setAdditionalProperty(java.lang.String, java.lang.Object)
+ * @see org.onap.vid.domain.mso.RelatedModel#setAdditionalProperty(java.lang.String, java.lang.Object)
*/
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
@@ -100,7 +100,7 @@ public class RelatedModel extends org.onap.vid.domain.mso.RelatedModel {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedModel#hashCode()
+ * @see org.onap.vid.domain.mso.RelatedModel#hashCode()
*/
@Override
public int hashCode() {
@@ -108,7 +108,7 @@ public class RelatedModel extends org.onap.vid.domain.mso.RelatedModel {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RelatedModel#equals(java.lang.Object)
+ * @see org.onap.vid.domain.mso.RelatedModel#equals(java.lang.Object)
*/
@Override
public boolean equals(Object other) {
diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/rest/Request.java b/vid-app-common/src/main/java/org/onap/vid/mso/rest/Request.java
index b1a84ab29..ee1652e75 100644
--- a/vid-app-common/src/main/java/org/onap/vid/mso/rest/Request.java
+++ b/vid-app-common/src/main/java/org/onap/vid/mso/rest/Request.java
@@ -57,7 +57,7 @@ public class Request extends org.onap.vid.domain.mso.Request {
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.Request#getInstanceIds()
+ * @see org.onap.vid.domain.mso.Request#getInstanceIds()
*/
@JsonProperty("instanceIds")
public InstanceIds getInstanceIds() {
@@ -117,7 +117,7 @@ public class Request extends org.onap.vid.domain.mso.Request {
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.Request#toString()
+ * @see org.onap.vid.domain.mso.Request#toString()
*/
@Override
public String toString() {
@@ -125,7 +125,7 @@ public class Request extends org.onap.vid.domain.mso.Request {
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.Request#equals(java.lang.Object)
+ * @see org.onap.vid.domain.mso.Request#equals(java.lang.Object)
*/
@Override
public boolean equals(Object other) {
diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/rest/RequestDetails.java b/vid-app-common/src/main/java/org/onap/vid/mso/rest/RequestDetails.java
index 1e059896f..9e744736a 100644
--- a/vid-app-common/src/main/java/org/onap/vid/mso/rest/RequestDetails.java
+++ b/vid-app-common/src/main/java/org/onap/vid/mso/rest/RequestDetails.java
@@ -179,7 +179,7 @@ public class RequestDetails{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RequestDetails#toString()
+ * @see org.onap.vid.domain.mso.RequestDetails#toString()
*/
@Override
public String toString() {
@@ -187,7 +187,7 @@ public class RequestDetails{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RequestDetails#getAdditionalProperties()
+ * @see org.onap.vid.domain.mso.RequestDetails#getAdditionalProperties()
*/
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
@@ -195,7 +195,7 @@ public class RequestDetails{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RequestDetails#setAdditionalProperty(java.lang.String, java.lang.Object)
+ * @see org.onap.vid.domain.mso.RequestDetails#setAdditionalProperty(java.lang.String, java.lang.Object)
*/
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
@@ -203,7 +203,7 @@ public class RequestDetails{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RequestDetails#hashCode()
+ * @see org.onap.vid.domain.mso.RequestDetails#hashCode()
*/
@Override
public int hashCode() {
@@ -211,7 +211,7 @@ public class RequestDetails{
}
/* (non-Javadoc)
- * @see org.openecomp.vid.domain.mso.RequestDetails#equals(java.lang.Object)
+ * @see org.onap.vid.domain.mso.RequestDetails#equals(java.lang.Object)
*/
@Override
public boolean equals(Object other) {
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 81966439e..7b0d1a04c 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
@@ -39,7 +39,7 @@ public class VidServiceImpl implements VidService {
/*
* (non-Javadoc)
*
- * @see org.openecomp.vid.controller.VidService#getServices(java.util.Map)
+ * @see org.onap.vid.controller.VidService#getServices(java.util.Map)
*/
@Override
public Collection<Service> getServices(Map<String, String[]> requestParams)
@@ -50,7 +50,7 @@ public class VidServiceImpl implements VidService {
/*
* (non-Javadoc)
*
- * @see org.openecomp.vid.controller.VidService#getService(java.lang.String)
+ * @see org.onap.vid.controller.VidService#getService(java.lang.String)
*/
@Override
public ServiceModel getService(String uuid) throws AsdcCatalogException {