aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorrn509j <rn509j@att.com>2017-10-03 11:07:22 -0400
committerrn509j <rn509j@att.com>2017-10-03 11:08:16 -0400
commit5b7869e3cf9fc3a5c09c14ba94f2d9341523c7b6 (patch)
tree0bbaae44cad2bd80a7f7daedb40b2f2a92fb27e2 /src/test/resources
parentd0fd7a9c0aca788fa5fc9109c382c57791662772 (diff)
commiting code for test coveragev1.0.01.0.0-ONAP1.0.0-Amsterdam
DMAAP-149 Signed-off-by: rn509j <rn509j@att.com> Change-Id: Ibbb8b44a67f6ba9f5361874df444ef9e31ce7bed
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/dme2/consumer.properties56
-rw-r--r--src/test/resources/dme2/message.txt2
-rw-r--r--src/test/resources/dme2/preferredRoute.txt1
-rw-r--r--src/test/resources/dme2/producer.properties54
4 files changed, 113 insertions, 0 deletions
diff --git a/src/test/resources/dme2/consumer.properties b/src/test/resources/dme2/consumer.properties
new file mode 100644
index 0000000..ffae91b
--- /dev/null
+++ b/src/test/resources/dme2/consumer.properties
@@ -0,0 +1,56 @@
+###############################################################################
+# ============LICENSE_START=======================================================
+# org.onap.dmaap
+# ================================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# 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=========================================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+#
+###############################################################################
+TransportType=DME2
+Latitude =47.778998
+Longitude =-122.182883
+Version =1.0
+ServiceName =dmaap-v1.dev.dmaap.dt.saat.acsi.att.com/events
+Environment =TEST
+Partner=BOT_R
+routeOffer=MR1
+SubContextPath =/
+Protocol =http
+MethodType =GET
+username =<att uid>
+password =<password>
+contenttype =application/json
+authKey=<auth key>
+authDate=2016-02-18T13:57:37-0800
+#host=uebsb91bodc.it.att.com:3904
+host=olsd004.wnsnet.attws.com:3904
+topic=com.att.ecomp_test.crm.preDemo1
+group=con
+id=5
+timeout=15000
+limit=1000
+filter=
+AFT_DME2_EXCHANGE_REQUEST_HANDLERS=com.att.nsa.test.PreferredRouteRequestHandler
+AFT_DME2_EXCHANGE_REPLY_HANDLERS=com.att.nsa.test.PreferredRouteReplyHandler
+AFT_DME2_REQ_TRACE_ON=true
+AFT_ENVIRONMENT=AFTUAT
+AFT_DME2_EP_CONN_TIMEOUT=15000
+AFT_DME2_ROUNDTRIP_TIMEOUT_MS=240000
+AFT_DME2_EP_READ_TIMEOUT_MS=50000
+sessionstickinessrequired=NO
+#DME2preferredRouterFilePath=/src/main/resources/dme2/preferredRoute.txt
+
+
diff --git a/src/test/resources/dme2/message.txt b/src/test/resources/dme2/message.txt
new file mode 100644
index 0000000..99e97ec
--- /dev/null
+++ b/src/test/resources/dme2/message.txt
@@ -0,0 +1,2 @@
+this is a test file for producer
+this ia a sample file \ No newline at end of file
diff --git a/src/test/resources/dme2/preferredRoute.txt b/src/test/resources/dme2/preferredRoute.txt
new file mode 100644
index 0000000..662b0aa
--- /dev/null
+++ b/src/test/resources/dme2/preferredRoute.txt
@@ -0,0 +1 @@
+preferredRouteKey=MR1 \ No newline at end of file
diff --git a/src/test/resources/dme2/producer.properties b/src/test/resources/dme2/producer.properties
new file mode 100644
index 0000000..0da6880
--- /dev/null
+++ b/src/test/resources/dme2/producer.properties
@@ -0,0 +1,54 @@
+###############################################################################
+# ============LICENSE_START=======================================================
+# org.onap.dmaap
+# ================================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# 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=========================================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+#
+###############################################################################
+TransportType=DME2
+Latitude =47.778998
+Longitude =-122.182883
+Version =1.0
+ServiceName =dmaap-v1.dev.dmaap.dt.saat.acsi.att.com/events
+#com.att.acsi.saat.dt.dmaap.dev.mrclientnew1
+Environment =TEST
+Partner=BOT_R
+routeOffer=MR1
+SubContextPath =/
+Protocol =http
+MethodType =POST
+username =user
+password =password
+contenttype = application/json
+authKey=<auth key>
+authDate=2016-07-20T11:30:56-0700
+host=localhost:9000
+topic=com.att.ecomp_test.crm.preDemo1
+#host=uebsb91bodc.it.att.com:3904
+partition=1
+maxBatchSize=100
+maxAgeMs=250
+AFT_DME2_EXCHANGE_REQUEST_HANDLERS=com.att.nsa.test.PreferredRouteRequestHandler
+AFT_DME2_EXCHANGE_REPLY_HANDLERS=com.att.nsa.test.PreferredRouteReplyHandler
+AFT_DME2_REQ_TRACE_ON=true
+AFT_ENVIRONMENT=AFTUAT
+AFT_DME2_EP_CONN_TIMEOUT=15000
+AFT_DME2_ROUNDTRIP_TIMEOUT_MS=240000
+AFT_DME2_EP_READ_TIMEOUT_MS=50000
+sessionstickinessrequired=NO
+#DME2preferredRouterFilePath=C:/Users/rn509j/ONAP/dmaapclient/target/classes/dme2/preferredRoute.txt
+MessageSentThreadOccurance=50