summaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap
diff options
context:
space:
mode:
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