From c34fdc19686d70af12e8873b0b01b96dd54c1aa3 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Fri, 12 Jun 2020 10:40:23 +0100 Subject: Remove logback.xml files bundled as part of jar Change-Id: I4d603ea67eca5d8d75b9df004e1ff4a6be2b2a9e Issue-ID: POLICY-2627 Signed-off-by: a.sreekumar --- .../src/main/package/docker/dmaap-sim.sh | 2 +- .../src/main/package/tarball/assembly.xml | 10 +--- .../src/main/resources/logback.xml | 46 ------------------ .../src/main/package/docker/pdp-sim.sh | 2 +- .../src/main/package/tarball/assembly.xml | 10 +--- .../src/main/resources/logback.xml | 46 ------------------ .../src/main/package/docker/simulators.sh | 2 +- .../src/main/package/tarball/assembly.xml | 9 +--- .../src/main/resources/logback.xml | 56 ---------------------- 9 files changed, 6 insertions(+), 177 deletions(-) delete mode 100644 models-sim/models-sim-dmaap/src/main/resources/logback.xml delete mode 100644 models-sim/policy-models-sim-pdp/src/main/resources/logback.xml delete mode 100644 models-sim/policy-models-simulators/src/main/resources/logback.xml (limited to 'models-sim') diff --git a/models-sim/models-sim-dmaap/src/main/package/docker/dmaap-sim.sh b/models-sim/models-sim-dmaap/src/main/package/docker/dmaap-sim.sh index 0d152e1db..deb168f5d 100644 --- a/models-sim/models-sim-dmaap/src/main/package/docker/dmaap-sim.sh +++ b/models-sim/models-sim-dmaap/src/main/package/docker/dmaap-sim.sh @@ -2,6 +2,7 @@ # # ============LICENSE_START======================================================= # Copyright (C) 2019 Nordix Foundation. +# Modifications copyright (C) 2020 Bell Canada. 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. @@ -50,6 +51,5 @@ $JAVA_HOME/bin/java \ -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" \ -Djavax.net.ssl.trustStore="$TRUSTSTORE" \ -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASSWD" \ - -Dlogback.configurationFile=$DMAAP_SIM_HOME/etc/logback.xml \ org.onap.policy.models.sim.dmaap.startstop.Main \ -c $CONFIG_FILE diff --git a/models-sim/models-sim-dmaap/src/main/package/tarball/assembly.xml b/models-sim/models-sim-dmaap/src/main/package/tarball/assembly.xml index 8717701b6..08e202938 100644 --- a/models-sim/models-sim-dmaap/src/main/package/tarball/assembly.xml +++ b/models-sim/models-sim-dmaap/src/main/package/tarball/assembly.xml @@ -1,6 +1,7 @@ - - - - DMaaPSim - - - - - - - %d %contextName [%t] %level %logger{36} - %msg%n - - - - - - - - - - - - - - - - diff --git a/models-sim/policy-models-sim-pdp/src/main/package/docker/pdp-sim.sh b/models-sim/policy-models-sim-pdp/src/main/package/docker/pdp-sim.sh index 3eac29ded..aaab6591e 100644 --- a/models-sim/policy-models-sim-pdp/src/main/package/docker/pdp-sim.sh +++ b/models-sim/policy-models-sim-pdp/src/main/package/docker/pdp-sim.sh @@ -2,6 +2,7 @@ # # ============LICENSE_START======================================================= # Copyright (C) 2019-2020 Nordix Foundation. +# Modifications copyright (C) 2020 Bell Canada. 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. @@ -50,6 +51,5 @@ $JAVA_HOME/bin/java \ -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" \ -Djavax.net.ssl.trustStore="$TRUSTSTORE" \ -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASSWD" \ - -Dlogback.configurationFile=$PDP_SIM_HOME/etc/logback.xml \ org.onap.policy.models.sim.pdp.PdpSimulatorMain \ -c $CONFIG_FILE diff --git a/models-sim/policy-models-sim-pdp/src/main/package/tarball/assembly.xml b/models-sim/policy-models-sim-pdp/src/main/package/tarball/assembly.xml index 2fc66d12b..240905357 100644 --- a/models-sim/policy-models-sim-pdp/src/main/package/tarball/assembly.xml +++ b/models-sim/policy-models-sim-pdp/src/main/package/tarball/assembly.xml @@ -1,6 +1,7 @@ - - - - DMaaPSim - - - - - - - %d %contextName [%t] %level %logger{36} - %msg%n - - - - - - - - - - - - - - - - diff --git a/models-sim/policy-models-simulators/src/main/package/docker/simulators.sh b/models-sim/policy-models-simulators/src/main/package/docker/simulators.sh index 57e742708..7e38f374c 100644 --- a/models-sim/policy-models-simulators/src/main/package/docker/simulators.sh +++ b/models-sim/policy-models-simulators/src/main/package/docker/simulators.sh @@ -4,6 +4,7 @@ # ONAP # ================================================================================ # Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. +# Modifications copyright (C) 2020 Bell Canada. 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. @@ -34,7 +35,6 @@ TRUSTSTORE_PASSWD="Pol1cy_0nap" ${JAVA_HOME}/bin/java \ -cp "${SIMULATOR_HOME}/etc:${SIMULATOR_HOME}/lib/*" \ - -Dlogback.configurationFile=${SIMULATOR_HOME}/etc/logback.xml \ -Djavax.net.ssl.keyStore="${KEYSTORE}" \ -Djavax.net.ssl.keyStorePassword="${KEYSTORE_PASSWD}" \ -Djavax.net.ssl.trustStore="${TRUSTSTORE}" \ diff --git a/models-sim/policy-models-simulators/src/main/package/tarball/assembly.xml b/models-sim/policy-models-simulators/src/main/package/tarball/assembly.xml index 8496fd3c6..9a2fd65df 100644 --- a/models-sim/policy-models-simulators/src/main/package/tarball/assembly.xml +++ b/models-sim/policy-models-simulators/src/main/package/tarball/assembly.xml @@ -1,6 +1,7 @@ - - - - Simulators - - - - - ${logDir}/debug.log - - ${logDir}/debug.%d{yyyy-MM-dd}.%i.log.zip - - 50MB - 10 - 500MB - - - %d %contextName [%t] %level %logger{36} - %msg%n - - - - - - - - - - - - - - - - - -- cgit 1.2.3-korg