diff --git a/samples/WebLogicLoggingExporter.yaml b/samples/WebLogicLoggingExporter.yaml index c97ab97..2f8fc8b 100644 --- a/samples/WebLogicLoggingExporter.yaml +++ b/samples/WebLogicLoggingExporter.yaml @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * * Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. */ diff --git a/samples/run-elk-local.sh b/samples/run-elk-local.sh index fb0e334..9830307 100755 --- a/samples/run-elk-local.sh +++ b/samples/run-elk-local.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2018, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. + +# start elasticsearch... docker run -d \ --name elasticsearch \ -p 9200:9200 \ @@ -6,6 +10,7 @@ docker run -d \ -e "discovery.type=single-node" \ docker.elastic.co/elasticsearch/elasticsearch:6.2.2 +# start kibana... docker run -d \ --name kibana \ -p 5601:5601 \ diff --git a/sonar-project.properties b/sonar-project.properties index 8059d66..1736a65 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,3 +1,6 @@ +# Copyright 2018, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. + # Required metadata sonar.projectKey=weblogic-logging-exporter sonar.projectName=WebLogic Logging Exporter diff --git a/src/main/java/weblogic/logging/exporter/config/Config.java b/src/main/java/weblogic/logging/exporter/config/Config.java index e3fd39e..8cd59c7 100644 --- a/src/main/java/weblogic/logging/exporter/config/Config.java +++ b/src/main/java/weblogic/logging/exporter/config/Config.java @@ -23,7 +23,7 @@ public class Config { public static final int DEFAULT_PORT = 9200; public static final String DEFAULT_INDEX_NAME = "wls"; public static final int DEFAULT_BULK_SIZE = 1; - private static final String DEFAULT_DOMAIN_UID = "unknown"; + public static final String DEFAULT_DOMAIN_UID = "unknown"; private static final String HOST = "publishHost"; private static final String PORT = "publishPort";