summaryrefslogtreecommitdiffstats
path: root/src/test/resources/topic-config
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/topic-config')
-rw-r--r--src/test/resources/topic-config/test-topic-config-beans.xml49
-rw-r--r--src/test/resources/topic-config/test-validation-service-beans.xml27
-rw-r--r--src/test/resources/topic-config/topic-aai-data-integrity.properties5
-rw-r--r--src/test/resources/topic-config/topic-aai-event.properties5
4 files changed, 13 insertions, 73 deletions
diff --git a/src/test/resources/topic-config/test-topic-config-beans.xml b/src/test/resources/topic-config/test-topic-config-beans.xml
deleted file mode 100644
index 0466f81..0000000
--- a/src/test/resources/topic-config/test-topic-config-beans.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-============LICENSE_START===================================================
-Copyright (c) 2018 Amdocs
-============================================================================
-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
-
- 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=====================================================
--->
-
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-
- <!-- TOPIC NAMES -->
- <bean id="topicConfig" class="org.onap.aai.validation.config.TopicConfig">
- <property name="consumerTopicNames">
- <list>
- <value>aai-event</value>
- <value>aai-data-export</value>
- </list>
- </property>
- <property name="publisherTopicNames">
- <list>
- <value>aai-data-integrity</value>
- </list>
- </property>
- </bean>
-
- <!-- DEFINE THE TOPIC PROPERTY FILES. Naming convention: topic-[topic name].properties. Each property must be pre-fixed with [topic name] -->
- <bean id="topicProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
- <property name="locations">
- <list>
- <value>classpath:topic-config/topic-aai-event.properties</value>
- <value>classpath:topic-config/topic-aai-data-export.properties</value>
- <value>classpath:topic-config/topic-aai-data-integrity.properties</value>
- </list>
- </property>
- </bean>
-</beans> \ No newline at end of file
diff --git a/src/test/resources/topic-config/test-validation-service-beans.xml b/src/test/resources/topic-config/test-validation-service-beans.xml
index 9d880a3..ad7ad1f 100644
--- a/src/test/resources/topic-config/test-validation-service-beans.xml
+++ b/src/test/resources/topic-config/test-validation-service-beans.xml
@@ -1,25 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-============LICENSE_START===================================================
-Copyright (c) 2018 Amdocs
-============================================================================
-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
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd">
- http://www.apache.org/licenses/LICENSE-2.0
+ <bean class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor" />
-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=====================================================
--->
-
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <import resource="test-topic-config-beans.xml" />
+ <bean id="topicConfig" class="org.onap.aai.validation.config.TopicConfig" />
</beans> \ No newline at end of file
diff --git a/src/test/resources/topic-config/topic-aai-data-integrity.properties b/src/test/resources/topic-config/topic-aai-data-integrity.properties
index f5a5839..a8ca1ee 100644
--- a/src/test/resources/topic-config/topic-aai-data-integrity.properties
+++ b/src/test/resources/topic-config/topic-aai-data-integrity.properties
@@ -1,5 +1,5 @@
# ============LICENSE_START===================================================
-# Copyright (c) 2018 Amdocs
+# Copyright (c) 2018-2019 European Software Marketing Ltd.
# ============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,4 +19,5 @@ aai-data-integrity.host=integrity-dummy-host
aai-data-integrity.publisher.partition=integrity-dummy-partition
aai-data-integrity.username=integrity-dummy-username
aai-data-integrity.password=integrity-dummy-password
-aai-data-integrity.transport.type=integrity-dummy-transport-type \ No newline at end of file
+aai-data-integrity.transport.type=integrity-dummy-transport-type
+aai-data-integrity.protocol=http
diff --git a/src/test/resources/topic-config/topic-aai-event.properties b/src/test/resources/topic-config/topic-aai-event.properties
index 2779f13..72af926 100644
--- a/src/test/resources/topic-config/topic-aai-event.properties
+++ b/src/test/resources/topic-config/topic-aai-event.properties
@@ -1,5 +1,5 @@
# ============LICENSE_START===================================================
-# Copyright (c) 2018 Amdocs
+# Copyright (c) 2018-2019 European Software Marketing Ltd.
# ============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -20,4 +20,5 @@ aai-event.username=event-dummy-username
aai-event.password=event-dummy-password
aai-event.consumer.group=event-dummy-consumer-group
aai-event.consumer.id=event-dummy-consumer-id
-aai-event.transport.type=event-dummy-transport-type \ No newline at end of file
+aai-event.transport.type=event-dummy-transport-type
+aai-event.protocol=event-dummy-protocol-type \ No newline at end of file