From 6c881fc1fbc617c368f17044419e4fc0ae59c5e7 Mon Sep 17 00:00:00 2001 From: su622b Date: Thu, 22 Mar 2018 17:39:23 -0400 Subject: [PATCH] changes for docker deployment Issue-ID: DMAAP-338 Change-Id: I328cd941e493fa151383b12e008a1d220a242345 Signed-off-by: su622b --- ajsc-shared-config/etc/logback.xml | 42 +++++++++++----------- antBuild/build.xml | 8 ++--- bundleconfig-csi/README.txt | 4 +-- .../etc/appprops/AAFUserRoles.properties | 1 - .../appprops/PostProcessorInterceptors.properties | 3 +- .../appprops/PreProcessorInterceptors.properties | 3 +- .../etc/service-file-monitor.properties | 1 - bundleconfig-csi/etc/sysprops/sys-props.properties | 2 -- bundleconfig-local/README.txt | 2 -- .../etc/appprops/AAFUserRoles.properties | 1 - .../appprops/PostProcessorInterceptors.properties | 3 +- .../appprops/PreProcessorInterceptors.properties | 3 +- .../etc/service-file-monitor.properties | 1 - .../etc/sysprops/sys-props.properties | 6 ++-- .../etc/sysprops/template.sys-props.properties | 2 -- pom.xml | 19 ++++------ .../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 ++++++++++-- 25 files changed, 73 insertions(+), 112 deletions(-) diff --git a/ajsc-shared-config/etc/logback.xml b/ajsc-shared-config/etc/logback.xml index 56a9590..6f90ce1 100644 --- a/ajsc-shared-config/etc/logback.xml +++ b/ajsc-shared-config/etc/logback.xml @@ -38,13 +38,13 @@ + class="ch.qos.logback.core.ConsoleAppender"> INFO ACCEPT DENY - ${logDirectory}/Info.log + - "%d [%thread] %-5level %logger{1024} - %msg%n" - --> + + class="ch.qos.logback.core.ConsoleAppender"> ERROR ACCEPT DENY - ${logDirectory}/Error.log - + "%d [%thread] %-5level %logger{1024} - %msg%n" @@ -209,10 +209,10 @@ + class="ch.qos.logback.core.ConsoleAppender"> - ${logDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.log + "%d [%thread] %-5level %logger{1024} - %msg%n" + class="ch.qos.logback.core.ConsoleAppender"> - ${logDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.log + "%d [%thread] %-5level %logger{1024} - %msg%n" @@ -289,12 +289,10 @@ - - + - - + 1000 diff --git a/antBuild/build.xml b/antBuild/build.xml index e5ea26f..18ba18a 100644 --- a/antBuild/build.xml +++ b/antBuild/build.xml @@ -29,8 +29,7 @@ - @@ -153,7 +152,7 @@ + starts up. --> + camel component. --> @@ -311,8 +311,7 @@ so). If you have a startup failure related to a missing dme2 class not found exception, please contact the AJSC team for assistance. You can email support at ajsc-Support . For more information regarding - the usage of the AJSC service pom.xml and management of dependencies, please - goto wiki link:http://wiki.web.att.com/display/ajsc/pom.xml --> + the usage of the AJSC service pom.xml and management of dependencies, --> - com.att.ajsc ajsc-archetype-parent - 3.0.1-oss + 3.0.3-oss pom @@ -617,13 +610,13 @@ com.att.ajsc ajsc-runner - 3.0.1-oss + 3.0.3-oss runtime com.att.ajsc ajsc-core - 3.0.1-oss + 3.0.3-oss provided 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