From 5b7869e3cf9fc3a5c09c14ba94f2d9341523c7b6 Mon Sep 17 00:00:00 2001 From: rn509j Date: Tue, 3 Oct 2017 11:07:22 -0400 Subject: commiting code for test coverage DMAAP-149 Signed-off-by: rn509j Change-Id: Ibbb8b44a67f6ba9f5361874df444ef9e31ce7bed --- src/test/resources/dme2/consumer.properties | 56 +++++++++++++++++++++++++++++ src/test/resources/dme2/message.txt | 2 ++ src/test/resources/dme2/preferredRoute.txt | 1 + src/test/resources/dme2/producer.properties | 54 ++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 src/test/resources/dme2/consumer.properties create mode 100644 src/test/resources/dme2/message.txt create mode 100644 src/test/resources/dme2/preferredRoute.txt create mode 100644 src/test/resources/dme2/producer.properties (limited to 'src/test/resources') 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 = +password = +contenttype =application/json +authKey= +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= +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 -- cgit 1.2.3-korg