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/" />
<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>
<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" />
<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" />
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') {
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
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;
import java.util.List;
-import org.openecomp.datarouter.util.CrossEntityReference;
+import org.onap.aai.datarouter.util.CrossEntityReference;
public class OxmEntityDescriptor {
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;
*
* 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
*
* 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
*
* 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;
*
* 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;
*
* 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;
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;
*
* 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 {
*
* 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;
*
* 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;
*
* 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;
*
* 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;
*
* 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;
*
* 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) ? "/"
*
* 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;
*
* 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;
*
* 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;
*
* 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;
*
* 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;
*
* 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;
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;
*
* 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;
*\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
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
* 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;
*
* 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;
* 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;
* 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;
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;
/* (non-Javadoc)
- * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getHost()
+ * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getHost()
*/
@Override
public String getHost() {
}
/* (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) {
/* (non-Javadoc)
- * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getPort()
+ * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getPort()
*/
@Override
public String getPort() {
/* (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) {
/* (non-Javadoc)
- * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getTargetUri()
+ * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getTargetUri()
*/
@Override
public String getTargetUri() {
/* (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) {
/* (non-Javadoc)
- * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getTargetPayload()
+ * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getTargetPayload()
*/
@Override
public JsonNode getTargetPayload() {
/* (non-Javadoc)
- * @see org.openecomp.datarouter.util.client
+ * @see org.onap.aai.datarouter.util.client
* .SvcRoutingRestClient#setTargetPayload(com.fasterxml.jackson.databind.JsonNode)
*/
@Override
/* (non-Javadoc)
- * @see org.openecomp.datarouter.util.client.SvcRoutingRestClient#getRestClient()
+ * @see org.onap.aai.datarouter.util.client.SvcRoutingRestClient#getRestClient()
*/
@Override
public RestClient getRestClient() {
}
/* (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) {
*
* 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;
-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 {
-package org.openecomp.datarouter.policy;
+package org.onap.aai.datarouter.policy;
import static org.junit.Assert.*;
import static org.mockito.Matchers.anyObject;
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;
-package org.openecomp.datarouter.policy;
+package org.onap.aai.datarouter.policy;
import java.util.concurrent.ConcurrentHashMap;
* 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;
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;
* 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;
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;
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;