aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-10-10 15:22:07 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-10-23 08:11:51 +0300
commite8d29ab5e3775472f59a4997fa3a5df9319de306 (patch)
tree5f53a1548e7d191385d77f2fd5df0d96c04d4af1 /epsdk-app-onap
parentf09e8d114804e4237e79f27ed492835ecb1b17b0 (diff)
use logging interceptor in SDC client
Issue-ID: VID-253 Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'epsdk-app-onap')
-rw-r--r--epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java b/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java
index ca317dde2..2c6fcea9d 100644
--- a/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java
+++ b/epsdk-app-onap/src/main/java/org/onap/portalapp/conf/ExternalAppInitializer.java
@@ -59,6 +59,12 @@ public class ExternalAppInitializer extends AppInitializer {
public void onStartup(ServletContext servletContext) throws ServletException {
super.onStartup(servletContext);
setDefaultTimeZoneToUTC();
+ setPartnerName();
+ }
+
+ private void setPartnerName() {
+ //org.onap.logging.filter.base.AbstractMetricLogFilter read this system property
+ System.setProperty("partnerName", "VID.VID");
}
//set time zone to UTC so Dates would be written to DB in UTC timezone