Renaming openecomp to onap 59/18559/1
authorArul.Nambi <arul.nambi@amdocs.com>
Thu, 12 Oct 2017 14:42:00 +0000 (10:42 -0400)
committerArul.Nambi <arul.nambi@amdocs.com>
Thu, 12 Oct 2017 14:42:20 +0000 (10:42 -0400)
Issue-ID: AAI-208
Change-Id: Ib5dc63c9b2f4c580caec21414c2fafae904adca9
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
41 files changed:
FUNCTIONS.md
ajsc-shared-config/etc/logback.xml
bundleconfig-local/etc/logback.xml
src/main/ajsc/data-router_v1/data-router/v1/conf/echoService.groovy
src/main/java/org/onap/aai/datarouter/entity/AaiEventEntity.java
src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java
src/main/java/org/onap/aai/datarouter/entity/OxmEntityDescriptor.java
src/main/java/org/onap/aai/datarouter/entity/SuggestionSearchEntity.java
src/main/java/org/onap/aai/datarouter/exception/BaseDataRouterException.java [moved from src/main/java/org/openecomp/datarouter/exception/BaseDataRouterException.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/exception/DataRouterError.java [moved from src/main/java/org/openecomp/datarouter/exception/DataRouterError.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/logging/DataRouterMsgs.java [moved from src/main/java/org/openecomp/datarouter/logging/DataRouterMsgs.java with 99% similarity]
src/main/java/org/onap/aai/datarouter/logging/EntityEventPolicyMsgs.java [moved from src/main/java/org/openecomp/datarouter/logging/EntityEventPolicyMsgs.java with 99% similarity]
src/main/java/org/onap/aai/datarouter/policy/EntityEventPolicy.java [moved from src/main/java/org/openecomp/datarouter/policy/EntityEventPolicy.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/policy/EntityEventPolicyConfig.java [moved from src/main/java/org/openecomp/datarouter/policy/EntityEventPolicyConfig.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/search/filters/config/UiFilterConfig.java [moved from src/main/java/org/openecomp/datarouter/search/filters/config/UiFilterConfig.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/search/filters/config/UiFilterDataSourceConfig.java [moved from src/main/java/org/openecomp/datarouter/search/filters/config/UiFilterDataSourceConfig.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/search/filters/config/UiFiltersConfig.java [moved from src/main/java/org/openecomp/datarouter/search/filters/config/UiFiltersConfig.java with 96% similarity]
src/main/java/org/onap/aai/datarouter/search/filters/config/UiFiltersSchemaUtility.java [moved from src/main/java/org/openecomp/datarouter/search/filters/config/UiFiltersSchemaUtility.java with 92% similarity]
src/main/java/org/onap/aai/datarouter/service/EchoService.java [moved from src/main/java/org/openecomp/datarouter/service/EchoService.java with 95% similarity]
src/main/java/org/onap/aai/datarouter/util/AaiUiSvcPolicyUtil.java [moved from src/main/java/org/openecomp/datarouter/util/AaiUiSvcPolicyUtil.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/util/CrossEntityReference.java [moved from src/main/java/org/openecomp/datarouter/util/CrossEntityReference.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/util/DataRouterConstants.java [moved from src/main/java/org/openecomp/datarouter/util/DataRouterConstants.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/util/DataRouterProperties.java [moved from src/main/java/org/openecomp/datarouter/util/DataRouterProperties.java with 97% similarity]
src/main/java/org/onap/aai/datarouter/util/EntityOxmReferenceHelper.java [moved from src/main/java/org/openecomp/datarouter/util/EntityOxmReferenceHelper.java with 98% similarity]
src/main/java/org/onap/aai/datarouter/util/ExternalOxmModelProcessor.java [moved from src/main/java/org/openecomp/datarouter/util/ExternalOxmModelProcessor.java with 97% similarity]
src/main/java/org/onap/aai/datarouter/util/FileWatcher.java [moved from src/main/java/org/openecomp/datarouter/util/FileWatcher.java with 97% similarity]
src/main/java/org/onap/aai/datarouter/util/NodeUtils.java [moved from src/main/java/org/openecomp/datarouter/util/NodeUtils.java with 99% similarity]
src/main/java/org/onap/aai/datarouter/util/OxmModelLoader.java [moved from src/main/java/org/openecomp/datarouter/util/OxmModelLoader.java with 97% similarity]
src/main/java/org/onap/aai/datarouter/util/RouterServiceUtil.java [moved from src/main/java/org/openecomp/datarouter/util/RouterServiceUtil.java with 99% similarity]
src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java [moved from src/main/java/org/openecomp/datarouter/util/SearchServiceAgent.java with 96% similarity]
src/main/java/org/onap/aai/datarouter/util/SearchSuggestionPermutation.java [moved from src/main/java/org/openecomp/datarouter/util/SearchSuggestionPermutation.java with 97% similarity]
src/main/java/org/onap/aai/datarouter/util/Version.java [moved from src/main/java/org/openecomp/datarouter/util/Version.java with 96% similarity]
src/main/java/org/onap/aai/datarouter/util/VersionedOxmEntities.java [moved from src/main/java/org/openecomp/datarouter/util/VersionedOxmEntities.java with 99% similarity]
src/main/java/org/onap/aai/datarouter/util/client/NoAuthRestClient.java [moved from src/main/java/org/openecomp/datarouter/util/client/NoAuthRestClient.java with 84% similarity]
src/main/java/org/onap/aai/datarouter/util/client/SvcRoutingRestClient.java [moved from src/main/java/org/openecomp/datarouter/util/client/SvcRoutingRestClient.java with 97% similarity]
src/test/java/org/onap/aai/datarouter/policy/EntityEventPolicyStubbed.java [moved from src/test/java/org/openecomp/datarouter/policy/EntityEventPolicyStubbed.java with 86% similarity]
src/test/java/org/onap/aai/datarouter/policy/EntityEventPolicyTest.java [moved from src/test/java/org/openecomp/datarouter/policy/EntityEventPolicyTest.java with 90% similarity]
src/test/java/org/onap/aai/datarouter/policy/InMemorySearchDatastore.java [moved from src/test/java/org/openecomp/datarouter/policy/InMemorySearchDatastore.java with 92% similarity]
src/test/java/org/onap/aai/datarouter/util/AaiUiSvcPolicyUtilTest.java [moved from src/test/java/org/openecomp/datarouter/util/AaiUiSvcPolicyUtilTest.java with 97% similarity]
src/test/java/org/onap/aai/datarouter/util/client/NoAuthRestClientTest.java [moved from src/test/java/org/openecomp/datarouter/util/client/NoAuthRestClientTest.java with 97% similarity]
src/test/java/org/openecomp/datarouter/entity/SuggestionSearchEntityTest.java

index b2090e1..cf0ce87 100644 (file)
@@ -19,7 +19,7 @@ In order to take advantage of the entity change event functionality the followin
                         http://www.springframework.org/schema/beans
                         http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-        <bean id="eepConfig" class="org.openecomp.datarouter.policy.EntityEventPolicyConfig" >
+        <bean id="eepConfig" class="org.onap.aai.datarouter.policy.EntityEventPolicyConfig" >
                <property name="sourceDomain" value="{domain-origin}" />
            <property name="searchBaseUrl" value="https://{search-service-host}:{search-service-port}" />
            <property name="searchEndpoint" value="services/search-data-service/v1/search/indexes/" />
@@ -33,7 +33,7 @@ In order to take advantage of the entity change event functionality the followin
            <property name="searchKeystore" value="{keystore-name}" />
         </bean>
 
-        <bean id="entityEventPolicy" class="org.openecomp.datarouter.policy.EntityEventPolicy" init-method="startup" >
+        <bean id="entityEventPolicy" class="org.onap.aai.datarouter.policy.EntityEventPolicy" init-method="startup" >
             <constructor-arg ref="eepConfig"/>
         </bean>
        </beans>
index 228872e..80d3b81 100644 (file)
   <logger name="com.att.ajsc.csi.logging" level="WARN" />
   <logger name="com.att.ajsc.filemonitor" level="WARN" />
 
-  <logger name="org.openecomp.datarouter" level="INFO" />
+  <logger name="org.onap.aai.datarouter" level="INFO" />
 
   <!-- Other Loggers that may help troubleshoot -->
   <logger name="net.sf" level="WARN" />
index 228872e..80d3b81 100644 (file)
   <logger name="com.att.ajsc.csi.logging" level="WARN" />
   <logger name="com.att.ajsc.filemonitor" level="WARN" />
 
-  <logger name="org.openecomp.datarouter" level="INFO" />
+  <logger name="org.onap.aai.datarouter" level="INFO" />
 
   <!-- Other Loggers that may help troubleshoot -->
   <logger name="net.sf" level="WARN" />
index ad7670e..a8583f2 100644 (file)
@@ -3,7 +3,7 @@ beans{
        xmlns jaxrs: "http://cxf.apache.org/jaxrs"
        xmlns util: "http://www.springframework.org/schema/util"
        
-       echoService(org.openecomp.datarouter.service.EchoService)
+       echoService(org.onap.aai.datarouter.service.EchoService)
 
        
        util.list(id: 'echoServices') { 
index 0391ae3..fafa7ad 100644 (file)
@@ -59,7 +59,7 @@ import java.util.List;
 import javax.json.Json;
 import javax.json.JsonObject;
 
-import org.openecomp.datarouter.util.NodeUtils;
+import org.onap.aai.datarouter.util.NodeUtils;
 
 /**
  * Note: AAIEventEntity is a port forward of IndexDocument Has been renamed here to move forward
index 56ef6fd..8a9f5e4 100644 (file)
@@ -29,7 +29,7 @@ import java.util.Iterator;
 import java.util.Map;
 import java.util.Map.Entry;
 
-import org.openecomp.datarouter.util.NodeUtils;
+import org.onap.aai.datarouter.util.NodeUtils;
 
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.ObjectMapper;
index ed8b9fd..54bd081 100644 (file)
@@ -24,7 +24,7 @@ package org.onap.aai.datarouter.entity;
 
 import java.util.List;
 
-import org.openecomp.datarouter.util.CrossEntityReference;
+import org.onap.aai.datarouter.util.CrossEntityReference;
 
 
 public class OxmEntityDescriptor {
index bd3c5b7..57ab616 100644 (file)
@@ -32,11 +32,11 @@ import java.util.Map;
 
 import org.json.JSONArray;
 import org.json.JSONObject;
-import org.openecomp.datarouter.search.filters.config.UiFilterConfig;
-import org.openecomp.datarouter.search.filters.config.UiFiltersConfig;
-import org.openecomp.datarouter.search.filters.config.UiFiltersSchemaUtility;
-import org.openecomp.datarouter.util.NodeUtils;
-import org.openecomp.datarouter.util.SearchSuggestionPermutation;
+import org.onap.aai.datarouter.search.filters.config.UiFilterConfig;
+import org.onap.aai.datarouter.search.filters.config.UiFiltersConfig;
+import org.onap.aai.datarouter.search.filters.config.UiFiltersSchemaUtility;
+import org.onap.aai.datarouter.util.NodeUtils;
+import org.onap.aai.datarouter.util.SearchSuggestionPermutation;
 
 import com.fasterxml.jackson.databind.JsonNode;
 
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.exception;
+package org.onap.aai.datarouter.exception;
 
 /*
  * COPYRIGHT NOTICE: Copyright (c) 2016 Team Pacifica (Amdocs & AT&T) The contents and intellectual
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.exception;
+package org.onap.aai.datarouter.exception;
 
 /*
  * COPYRIGHT NOTICE: Copyright (c) 2016 Team Pacifica (Amdocs & AT&T) The contents and intellectual
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.logging;
+package org.onap.aai.datarouter.logging;
 
 import com.att.eelf.i18n.EELFResourceManager;
 
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.logging;
+package org.onap.aai.datarouter.logging;
 
 import com.att.eelf.i18n.EELFResourceManager;
 
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.policy;
+package org.onap.aai.datarouter.policy;
 
 import java.io.FileNotFoundException;
 import java.io.IOException;
@@ -48,20 +48,20 @@ import org.onap.aai.datarouter.entity.OxmEntityDescriptor;
 import org.onap.aai.datarouter.entity.SuggestionSearchEntity;
 import org.onap.aai.datarouter.entity.TopographicalEntity;
 import org.onap.aai.datarouter.entity.UebEventHeader;
+import org.onap.aai.datarouter.logging.EntityEventPolicyMsgs;
+import org.onap.aai.datarouter.util.CrossEntityReference;
+import org.onap.aai.datarouter.util.EntityOxmReferenceHelper;
+import org.onap.aai.datarouter.util.ExternalOxmModelProcessor;
+import org.onap.aai.datarouter.util.NodeUtils;
+import org.onap.aai.datarouter.util.OxmModelLoader;
+import org.onap.aai.datarouter.util.RouterServiceUtil;
+import org.onap.aai.datarouter.util.SearchServiceAgent;
+import org.onap.aai.datarouter.util.SearchSuggestionPermutation;
+import org.onap.aai.datarouter.util.Version;
+import org.onap.aai.datarouter.util.VersionedOxmEntities;
 import org.onap.aai.cl.api.Logger;
 import org.onap.aai.cl.eelf.LoggerFactory;
 import org.onap.aai.cl.mdc.MdcContext;
-import org.openecomp.datarouter.logging.EntityEventPolicyMsgs;
-import org.openecomp.datarouter.util.CrossEntityReference;
-import org.openecomp.datarouter.util.EntityOxmReferenceHelper;
-import org.openecomp.datarouter.util.ExternalOxmModelProcessor;
-import org.openecomp.datarouter.util.NodeUtils;
-import org.openecomp.datarouter.util.OxmModelLoader;
-import org.openecomp.datarouter.util.RouterServiceUtil;
-import org.openecomp.datarouter.util.SearchServiceAgent;
-import org.openecomp.datarouter.util.SearchSuggestionPermutation;
-import org.openecomp.datarouter.util.Version;
-import org.openecomp.datarouter.util.VersionedOxmEntities;
 import org.onap.aai.restclient.client.Headers;
 import org.onap.aai.restclient.client.OperationResult;
 import org.onap.aai.restclient.rest.HttpUtil;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.policy;
+package org.onap.aai.datarouter.policy;
 
 public class EntityEventPolicyConfig {
 
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.search.filters.config;
+package org.onap.aai.datarouter.search.filters.config;
 
 import com.fasterxml.jackson.annotation.JsonCreator;
 import com.fasterxml.jackson.annotation.JsonInclude;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.search.filters.config;
+package org.onap.aai.datarouter.search.filters.config;
 
 import com.fasterxml.jackson.annotation.JsonCreator;
 import com.fasterxml.jackson.annotation.JsonInclude;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.search.filters.config;
+package org.onap.aai.datarouter.search.filters.config;
 
 import java.util.ArrayList;
 import java.util.List;
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.search.filters.config;
+package org.onap.aai.datarouter.search.filters.config;
 
 import java.io.File;
 import java.io.IOException;
 
 import org.onap.aai.cl.api.Logger;
 import org.onap.aai.cl.eelf.LoggerFactory;
-import org.openecomp.datarouter.logging.DataRouterMsgs;
-import org.openecomp.datarouter.util.DataRouterConstants;
+import org.onap.aai.datarouter.logging.DataRouterMsgs;
+import org.onap.aai.datarouter.util.DataRouterConstants;
 
 import com.fasterxml.jackson.databind.ObjectMapper;
 
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.service;
+package org.onap.aai.datarouter.service;
 
 import org.onap.aai.cl.api.LogFields;
 import org.onap.aai.cl.api.LogLine;
 import org.onap.aai.cl.api.Logger;
 import org.onap.aai.cl.eelf.LoggerFactory;
 import org.onap.aai.cl.mdc.MdcContext;
-import org.openecomp.datarouter.logging.DataRouterMsgs;
-import org.openecomp.datarouter.util.DataRouterConstants;
+import org.onap.aai.datarouter.logging.DataRouterMsgs;
+import org.onap.aai.datarouter.util.DataRouterConstants;
 import org.slf4j.MDC;
 
 import javax.servlet.http.HttpServletRequest;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 public class DataRouterConstants {
   public static final String DR_FILESEP = (System.getProperty("file.separator") == null) ? "/"
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.io.File;
 import java.io.FileInputStream;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.util.HashMap;
 
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext;
 
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.io.File;
 import java.util.TimerTask;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.io.IOException;
 import java.util.Arrays;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.io.FileNotFoundException;
 import java.io.IOException;
@@ -41,9 +41,8 @@ import org.eclipse.persistence.jaxb.JAXBContextProperties;
 import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext;
 import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContextFactory;
 import org.onap.aai.cl.eelf.LoggerFactory;
-import org.openecomp.datarouter.logging.DataRouterMsgs;
-
-import org.openecomp.datarouter.util.ExternalOxmModelProcessor;
+import org.onap.aai.datarouter.logging.DataRouterMsgs;
+import org.onap.aai.datarouter.util.ExternalOxmModelProcessor;
 import org.springframework.core.io.Resource;
 import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
 import org.springframework.core.io.support.ResourcePatternResolver;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import com.fasterxml.jackson.databind.JsonNode;
 
@@ -20,7 +20,7 @@
  *\r
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
  */\r
-package org.openecomp.datarouter.util;\r
+package org.onap.aai.datarouter.util;\r
 \r
 import java.io.BufferedReader;\r
 import java.io.InputStreamReader;\r
@@ -38,8 +38,8 @@ import javax.ws.rs.core.Response.Status;
 import org.eclipse.jetty.util.security.Password;\r
 import org.onap.aai.cl.api.Logger;\r
 import org.onap.aai.cl.mdc.MdcContext;\r
-import org.openecomp.datarouter.logging.DataRouterMsgs;\r
-import org.openecomp.datarouter.policy.EntityEventPolicy;\r
+import org.onap.aai.datarouter.logging.DataRouterMsgs;\r
+import org.onap.aai.datarouter.policy.EntityEventPolicy;\r
 import org.onap.aai.restclient.client.Headers;\r
 import org.onap.aai.restclient.client.OperationResult;\r
 import org.onap.aai.restclient.client.RestClient;\r
@@ -8,19 +8,19 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END=========================================================
- * <p>
+ *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 public enum Version {
   v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20;
@@ -8,19 +8,19 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END=========================================================
- * <p>
+ *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import org.eclipse.persistence.dynamic.DynamicType;
 import org.eclipse.persistence.internal.helper.DatabaseField;
@@ -8,19 +8,19 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END=========================================================
- * <p>
+ *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util.client;
+package org.onap.aai.datarouter.util.client;
 
 import com.fasterxml.jackson.databind.JsonNode;
 import org.apache.camel.Exchange;
@@ -28,15 +28,15 @@ import org.apache.camel.Message;
 import org.onap.aai.cl.api.Logger;
 import org.onap.aai.cl.eelf.LoggerFactory;
 import org.onap.aai.cl.mdc.MdcContext;
+import org.onap.aai.datarouter.logging.DataRouterMsgs;
+import org.onap.aai.datarouter.util.AaiUiSvcPolicyUtil;
+import org.onap.aai.datarouter.util.NodeUtils;
+import org.onap.aai.datarouter.util.RouterServiceUtil;
 import org.onap.aai.restclient.client.Headers;
 import org.onap.aai.restclient.client.OperationResult;
 import org.onap.aai.restclient.client.RestClient;
 import org.onap.aai.restclient.enums.RestAuthenticationMode;
 import org.onap.aai.restclient.rest.HttpUtil;
-import org.openecomp.datarouter.logging.DataRouterMsgs;
-import org.openecomp.datarouter.util.AaiUiSvcPolicyUtil;
-import org.openecomp.datarouter.util.NodeUtils;
-import org.openecomp.datarouter.util.RouterServiceUtil;
 import org.slf4j.MDC;
 import org.springframework.http.HttpStatus;
 
@@ -122,7 +122,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getHost()
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getHost()
      */
     @Override
     public String getHost() {
@@ -130,7 +130,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
     }
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#setHost(java.lang.String)
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#setHost(java.lang.String)
      */
     @Override
     public void setHost(String host) {
@@ -139,7 +139,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getPort()
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getPort()
      */
     @Override
     public String getPort() {
@@ -148,7 +148,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#setPort(java.lang.String)
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#setPort(java.lang.String)
      */
     @Override
     public void setPort(String port) {
@@ -157,7 +157,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getTargetUri()
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getTargetUri()
      */
     @Override
     public String getTargetUri() {
@@ -166,7 +166,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#setTargetUri(java.lang.String)
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#setTargetUri(java.lang.String)
      */
     @Override
     public void setTargetUri(String targetUri) {
@@ -175,7 +175,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getTargetPayload()
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getTargetPayload()
      */
     @Override
     public JsonNode getTargetPayload() {
@@ -184,7 +184,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client
+     * @see org.onap.aai.datarouter.util.client
      * .SvcRoutingRestClient#setTargetPayload(com.fasterxml.jackson.databind.JsonNode)
      */
     @Override
@@ -194,7 +194,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
 
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getRestClient()
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getRestClient()
      */
     @Override
     public RestClient getRestClient() {
@@ -202,7 +202,7 @@ public class NoAuthRestClient implements SvcRoutingRestClient {
     }
 
     /* (non-Javadoc)
-     * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#setRestClient()
+     * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#setRestClient()
      */
     @Override
     public void setRestClient(RestClient client) {
@@ -20,7 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.datarouter.util.client;
+package org.onap.aai.datarouter.util.client;
 
 import org.onap.aai.restclient.client.RestClient;
 
@@ -1,8 +1,10 @@
-package org.openecomp.datarouter.policy;
+package org.onap.aai.datarouter.policy;
 
 import java.io.FileNotFoundException;
 
 import org.onap.aai.datarouter.entity.DocumentStoreDataEntity;
+import org.onap.aai.datarouter.policy.EntityEventPolicy;
+import org.onap.aai.datarouter.policy.EntityEventPolicyConfig;
 
 public class EntityEventPolicyStubbed extends EntityEventPolicy {
        
@@ -1,4 +1,4 @@
-package org.openecomp.datarouter.policy;
+package org.onap.aai.datarouter.policy;
 
 import static org.junit.Assert.*;
 import static org.mockito.Matchers.anyObject;
@@ -12,8 +12,10 @@ import org.apache.camel.Message;
 import org.apache.commons.io.IOUtils;
 import org.junit.Before;
 import org.junit.Test;
-import org.openecomp.datarouter.util.NodeUtils;
-import org.openecomp.datarouter.util.SearchServiceAgent;
+import org.onap.aai.datarouter.policy.EntityEventPolicy;
+import org.onap.aai.datarouter.policy.EntityEventPolicyConfig;
+import org.onap.aai.datarouter.util.NodeUtils;
+import org.onap.aai.datarouter.util.SearchServiceAgent;
 import org.powermock.api.mockito.PowerMockito;
 
 
@@ -23,7 +23,7 @@
  * and service marks of AT&T Intellectual Property.
  */
 
-package org.openecomp.datarouter.util;
+package org.onap.aai.datarouter.util;
 
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
@@ -31,6 +31,7 @@ import static org.junit.Assert.fail;
 
 import org.junit.BeforeClass;
 import org.junit.Test;
+import org.onap.aai.datarouter.util.AaiUiSvcPolicyUtil;
 
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.ObjectMapper;
@@ -23,7 +23,7 @@
  * and service marks of AT&T Intellectual Property.
  */
 
-package org.openecomp.datarouter.util.client;
+package org.onap.aai.datarouter.util.client;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.fail;
@@ -37,6 +37,7 @@ import org.apache.camel.impl.DefaultExchange;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mockito;
+import org.onap.aai.datarouter.util.client.NoAuthRestClient;
 import org.onap.aai.restclient.client.OperationResult;
 import org.onap.aai.restclient.client.RestClient;
 
index 4461bdc..6ae4a8e 100644 (file)
@@ -40,7 +40,7 @@ import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mockito;
 import org.onap.aai.datarouter.entity.SuggestionSearchEntity;
-import org.openecomp.datarouter.search.filters.config.UiFiltersSchemaUtility;
+import org.onap.aai.datarouter.search.filters.config.UiFiltersSchemaUtility;
 
 public class SuggestionSearchEntityTest {
   private static SuggestionSearchEntity suggestionSearchEntity;