From 6c881fc1fbc617c368f17044419e4fc0ae59c5e7 Mon Sep 17 00:00:00 2001 From: su622b Date: Thu, 22 Mar 2018 17:39:23 -0400 Subject: changes for docker deployment Issue-ID: DMAAP-338 Change-Id: I328cd941e493fa151383b12e008a1d220a242345 Signed-off-by: su622b --- .../dmaap_v1/dmaap/v1/conf/FileMonitorBeans.xml | 22 --------------------- .../ajsc/dmaap_v1/dmaap/v1/conf/serviceBeans.xml | 13 ++++++++---- .../dmaap_v1/dmaap/v1/routes/topicService.route | 2 +- src/main/config/ajsc-override-web.xml | 4 ++-- src/main/config/cadi.properties | 5 +---- src/main/config/runner-web.xml | 12 ++--------- .../com/att/nsa/dmaap/DMaaPWebExceptionMapper.java | 2 +- .../com/att/nsa/dmaap/service/MMRestService.java | 1 + .../resources/docker-compose/docker-compose.yml | 23 +++++++++++++++++++--- 9 files changed, 37 insertions(+), 47 deletions(-) (limited to 'src/main') diff --git a/src/main/ajsc/dmaap_v1/dmaap/v1/conf/FileMonitorBeans.xml b/src/main/ajsc/dmaap_v1/dmaap/v1/conf/FileMonitorBeans.xml index 2aa3908..a2c393c 100644 --- a/src/main/ajsc/dmaap_v1/dmaap/v1/conf/FileMonitorBeans.xml +++ b/src/main/ajsc/dmaap_v1/dmaap/v1/conf/FileMonitorBeans.xml @@ -1,25 +1,3 @@ - - diff --git a/src/main/ajsc/dmaap_v1/dmaap/v1/conf/serviceBeans.xml b/src/main/ajsc/dmaap_v1/dmaap/v1/conf/serviceBeans.xml index ac72847..ae7ba34 100644 --- a/src/main/ajsc/dmaap_v1/dmaap/v1/conf/serviceBeans.xml +++ b/src/main/ajsc/dmaap_v1/dmaap/v1/conf/serviceBeans.xml @@ -7,14 +7,19 @@ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> + + + + + - - @@ -80,7 +85,7 @@ - + diff --git a/src/main/ajsc/dmaap_v1/dmaap/v1/routes/topicService.route b/src/main/ajsc/dmaap_v1/dmaap/v1/routes/topicService.route index eddace7..57a8a70 100644 --- a/src/main/ajsc/dmaap_v1/dmaap/v1/routes/topicService.route +++ b/src/main/ajsc/dmaap_v1/dmaap/v1/routes/topicService.route @@ -2,7 +2,7 @@ - + ${in.header.exception} diff --git a/src/main/config/ajsc-override-web.xml b/src/main/config/ajsc-override-web.xml index 42652d4..7bd3c1d 100644 --- a/src/main/config/ajsc-override-web.xml +++ b/src/main/config/ajsc-override-web.xml @@ -25,10 +25,10 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" metadata-complete="false" version="3.0"> - + WriteableRequestFilter diff --git a/src/main/config/cadi.properties b/src/main/config/cadi.properties index a36fcac..30df1b9 100644 --- a/src/main/config/cadi.properties +++ b/src/main/config/cadi.properties @@ -20,10 +20,7 @@ # ############################################################################### #This properties file is used for defining AAF properties related to the CADI framework. This file is used for running AAF framework -#using the ajsc-cadi plugin. For more information on the ajsc-cadi plugin, please goto wiki link: -#http://wiki.web.att.com/display/ajsc/CADI-AJSC-Plugin -#For more information on utilizing the AAF framework, please goto wiki link: -#AAF wiki link: http://wiki.web.att.com/display/aaf/AAF+Documentation +#using the ajsc-cadi plugin. For more information on the ajsc-cadi plugin, #In order to test functionality of cadi-ajsc-plugin locally (pertaining to GLO (AT&T Global Login)), you will need an AT&T cross #domain cookie. Cadi "should" find your hostname for you. However, we have seen some situations where this fails. A Local testing diff --git a/src/main/config/runner-web.xml b/src/main/config/runner-web.xml index a94cbe6..55d7961 100644 --- a/src/main/config/runner-web.xml +++ b/src/main/config/runner-web.xml @@ -66,23 +66,15 @@ - + - - - - - /appl/dmaapMR1/etc/cadi.properties - + --> diff --git a/src/main/java/com/att/nsa/dmaap/DMaaPWebExceptionMapper.java b/src/main/java/com/att/nsa/dmaap/DMaaPWebExceptionMapper.java index 7a9d0ba..47765c3 100644 --- a/src/main/java/com/att/nsa/dmaap/DMaaPWebExceptionMapper.java +++ b/src/main/java/com/att/nsa/dmaap/DMaaPWebExceptionMapper.java @@ -150,7 +150,7 @@ public class DMaaPWebExceptionMapper implements ExceptionMapper