You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2019/03/04 16:13:59 UTC
[logging-log4j2] branch LOG4J2-913 created (now b6d8f40)
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a change to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git.
at b6d8f40 Functional Sample
This branch includes the following new commits:
new a5c5987 LOG4J2-913 - Access configurations by HTTP/S. Support Spring Cloud Config
new c917c40 LOG4J2-1906 - Delay file name resolution closer to when the stream is opened
new ad3e48a LOG4J2-2266 - Load PropertySources from any accessible ClassLoader and handle any exceptions
new 74c7f29 Prepare for release
new e960aeb Update changes.xml for next release
new e2b2757 LOG4J2-913 - Add support for dynamic reconfiguration
new 3db5e4b LOG4J2-913 - Code review changes
new b6d8f40 Functional Sample
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[logging-log4j2] 06/08: LOG4J2-913 - Add support for dynamic
reconfiguration
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit e2b275754057ee90adb70480f46b22d8203ce5a6
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Wed Jan 30 17:02:50 2019 -0700
LOG4J2-913 - Add support for dynamic reconfiguration
---
.../log4j/core/config/AbstractConfiguration.java | 48 ++++++++++++++--------
.../logging/log4j/core/config/HttpWatcher.java | 2 +-
.../logging/log4j/core/util/WatchEventService.java | 28 +++++++++++++
.../logging/log4j/core/util/WatchManager.java | 43 +++++++++++++++++++
.../apache/logging/log4j/core/util/Watcher.java | 1 +
.../log4j-spring-cloud-config-client/pom.xml | 8 ++++
.../cloud/config/client/Log4j2EventListener.java | 45 ++++++++++++++++++++
.../cloud/config/client/WatchEventManager.java | 48 ++++++++++++++++++++++
...pache.logging.log4j.core.util.WatchEventService | 1 +
.../src/main/resources/META-INF/spring.factories | 1 +
.../src/main/resources/log4j2.component.properties | 0
log4j-spring-cloud-config/pom.xml | 10 +++++
12 files changed, 216 insertions(+), 19 deletions(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
index de0d6eb..4a93e02 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
@@ -245,27 +245,39 @@ public abstract class AbstractConfiguration extends AbstractFilterable implement
protected void initializeWatchers(Reconfigurable reconfigurable, ConfigurationSource configSource,
int monitorIntervalSeconds) {
- if ((configSource.getFile() != null || configSource.getURL() != null) && monitorIntervalSeconds > 0) {
- watchManager.setIntervalSeconds(monitorIntervalSeconds);
- if (configSource.getFile() != null) {
- final Source cfgSource = new Source(configSource);
- final long lastModifeid = configSource.getFile().lastModified();
- final ConfigurationFileWatcher watcher = new ConfigurationFileWatcher(this, reconfigurable,
- listeners, lastModifeid);
- watchManager.watch(cfgSource, watcher);
- } else if (configSource.getURL() != null) {
- if (configSource.getLastModified() > 0) {
- final Source cfgSource = new Source(configSource);
- final Watcher watcher = WatcherFactory.getInstance(pluginPackages)
- .newWatcher(cfgSource, this, reconfigurable, listeners, configSource.getLastModified());
- watchManager.watch(cfgSource, watcher);
- } else {
- LOGGER.info("{} does not support dynamic reconfiguration", configSource.getURI());
- }
- }
+ if (configSource.getFile() != null || configSource.getURL() != null) {
+ if (monitorIntervalSeconds > 0) {
+ watchManager.setIntervalSeconds(monitorIntervalSeconds);
+ if (configSource.getFile() != null) {
+ final Source cfgSource = new Source(configSource);
+ final long lastModifeid = configSource.getFile().lastModified();
+ final ConfigurationFileWatcher watcher = new ConfigurationFileWatcher(this, reconfigurable,
+ listeners, lastModifeid);
+ watchManager.watch(cfgSource, watcher);
+ } else {
+ if (configSource.getURL() != null) {
+ monitorSource(reconfigurable, configSource);
+ }
+ }
+ } else if (watchManager.hasEventListeners() && configSource.getURL() != null && monitorIntervalSeconds >= 0) {
+ monitorSource(reconfigurable, configSource);
+ }
}
}
+ private void monitorSource(Reconfigurable reconfigurable, ConfigurationSource configSource) {
+ if (configSource.getLastModified() > 0) {
+ final Source cfgSource = new Source(configSource);
+ final Watcher watcher = WatcherFactory.getInstance(pluginPackages)
+ .newWatcher(cfgSource, this, reconfigurable, listeners, configSource.getLastModified());
+ if (watcher != null) {
+ watchManager.watch(cfgSource, watcher);
+ }
+ } else {
+ LOGGER.info("{} does not support dynamic reconfiguration", configSource.getURI());
+ }
+ }
+
/**
* Start the configuration.
*/
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
index a2d1220..6072168 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
@@ -30,7 +30,7 @@ import org.apache.logging.log4j.util.PropertiesUtil;
/**
*
*/
-@Plugin(name = "http", category = Watcher.CATEGORY, printObject = true)
+@Plugin(name = "http", category = Watcher.CATEGORY, elementType = Watcher.ELEMENT_TYPE, printObject = true)
@PluginAliases("https")
public class HttpWatcher extends AbstractWatcher {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchEventService.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchEventService.java
new file mode 100644
index 0000000..31021c8
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchEventService.java
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.util;
+
+/**
+ *
+ */
+public interface WatchEventService {
+
+ void subscribe(WatchManager manager);
+
+ void unsubscribe(WatchManager manager);
+
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
index 37e0a44..3e37152 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
@@ -17,9 +17,13 @@
package org.apache.logging.log4j.core.util;
import java.io.File;
+import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
+import java.util.ServiceLoader;
+import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ScheduledFuture;
@@ -30,6 +34,7 @@ import org.apache.logging.log4j.core.AbstractLifeCycle;
import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
import org.apache.logging.log4j.core.config.ConfigurationScheduler;
import org.apache.logging.log4j.status.StatusLogger;
+import org.apache.logging.log4j.util.LoaderUtil;
/**
* Manages {@link FileWatcher}s.
@@ -44,11 +49,22 @@ public class WatchManager extends AbstractLifeCycle {
private int intervalSeconds = 0;
private ScheduledFuture<?> future;
private final ConfigurationScheduler scheduler;
+ private final List<WatchEventService> eventServiceList;
+ private final UUID id = UuidUtil.getTimeBasedUuid();
public WatchManager(final ConfigurationScheduler scheduler) {
this.scheduler = scheduler;
+ eventServiceList = getEventServices();
}
+ public UUID getId() {
+ return this.id;
+ }
+
+ public boolean hasEventListeners() {
+ return eventServiceList.size() > 0;
+ }
+
/**
* Resets all file monitors to their current last modified time. If this manager does not watch any file, nothing
* happens.
@@ -141,15 +157,22 @@ public class WatchManager extends AbstractLifeCycle {
@Override
public void start() {
super.start();
+
if (intervalSeconds > 0) {
future = scheduler.scheduleWithFixedDelay(new WatchRunnable(), intervalSeconds, intervalSeconds,
TimeUnit.SECONDS);
}
+ for (WatchEventService service : eventServiceList) {
+ service.subscribe(this);
+ }
}
@Override
public boolean stop(final long timeout, final TimeUnit timeUnit) {
setStopping();
+ for (WatchEventService service : eventServiceList) {
+ service.unsubscribe(this);
+ }
final boolean stopped = stop(future);
setStopped();
return stopped;
@@ -179,6 +202,10 @@ public class WatchManager extends AbstractLifeCycle {
watchers.remove(source);
}
+ public void checkFiles() {
+ new WatchRunnable().run();
+ }
+
/**
* Watches the given file.
*
@@ -248,6 +275,22 @@ public class WatchManager extends AbstractLifeCycle {
return new Date(millis).toString();
}
+ private List<WatchEventService> getEventServices() {
+ List<WatchEventService> list = new ArrayList<>();
+ for (final ClassLoader classLoader : LoaderUtil.getClassLoaders()) {
+ try {
+ final ServiceLoader<WatchEventService > serviceLoader =
+ ServiceLoader.load(WatchEventService.class, classLoader);
+ for (final WatchEventService service : serviceLoader) {
+ list.add(service);
+ }
+ } catch (final Throwable ex) {
+ LOGGER.debug("Unable to retrieve WatchEventService from ClassLoader {}", classLoader, ex);
+ }
+ }
+ return list;
+ }
+
private final class WatchRunnable implements Runnable {
// Use a hard class reference here in case a refactoring changes the class name.
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
index 7ae9cd0..c2be48d 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
@@ -30,6 +30,7 @@ import org.apache.logging.log4j.core.config.Reconfigurable;
public interface Watcher {
public static final String CATEGORY = "Watcher";
+ public static final String ELEMENT_TYPE = "watcher";
/**
* Returns the list of listeners for this configuration.
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
index 8799078..c0a31f7 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
@@ -48,6 +48,14 @@
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context-support</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java
new file mode 100644
index 0000000..29cdc92
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.client;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
+import org.springframework.cloud.context.environment.EnvironmentChangeEvent;
+import org.springframework.cloud.context.refresh.ContextRefresher;
+import org.springframework.context.event.EventListener;
+import org.springframework.stereotype.Component;
+
+/**
+ * Listen for events indicating the remote configuration has changed.
+ */
+@Component
+@ConditionalOnClass(ContextRefresher.class)
+@ConditionalOnBean(ContextRefresher.class)
+@ConditionalOnProperty(value = "spring.cloud.config.watch.enabled")
+public class Log4j2EventListener {
+
+ private static Logger LOGGER = LogManager.getLogger(Log4j2EventListener.class);
+
+ @EventListener(EnvironmentChangeEvent.class)
+ public void handleEnvironmentChangeEvent(EnvironmentChangeEvent event) {
+ LOGGER.debug("Environment change event received");
+ WatchEventManager.publishEvent();
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/WatchEventManager.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/WatchEventManager.java
new file mode 100644
index 0000000..a49d5f2
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/WatchEventManager.java
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.client;
+
+import java.util.UUID;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
+
+import org.apache.logging.log4j.core.util.WatchEventService;
+import org.apache.logging.log4j.core.util.WatchManager;
+
+/**
+ *
+ */
+public class WatchEventManager implements WatchEventService {
+ private static final ConcurrentMap<UUID, WatchManager> watchManagers = new ConcurrentHashMap<>();
+
+ public static void publishEvent() {
+ for (WatchManager manager : watchManagers.values()) {
+ manager.checkFiles();
+ }
+ }
+
+ @Override
+ public void subscribe(WatchManager manager) {
+ watchManagers.put(manager.getId(), manager);
+
+ }
+
+ @Override
+ public void unsubscribe(WatchManager manager) {
+ watchManagers.remove(manager.getId());
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.WatchEventService b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.WatchEventService
new file mode 100644
index 0000000..701bfd3
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/META-INF/services/org.apache.logging.log4j.core.util.WatchEventService
@@ -0,0 +1 @@
+org.apache.logging.log4j.spring.cloud.config.client.WatchEventManager
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/META-INF/spring.factories b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..95a972f
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/META-INF/spring.factories
@@ -0,0 +1 @@
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=org.apache.logging.log4j.spring.cloud.config.client.Log4j2EventListener
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/log4j2.component.properties b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/log4j2.component.properties
new file mode 100644
index 0000000..e69de29
diff --git a/log4j-spring-cloud-config/pom.xml b/log4j-spring-cloud-config/pom.xml
index a736e86..37282c9 100644
--- a/log4j-spring-cloud-config/pom.xml
+++ b/log4j-spring-cloud-config/pom.xml
@@ -53,6 +53,16 @@
</dependency>
<dependency>
<groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context-support</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
[logging-log4j2] 05/08: Update changes.xml for next release
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit e960aeb41551c2dc14d16fd285ddb9afd755910f
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Sun Feb 3 17:06:32 2019 -0700
Update changes.xml for next release
---
src/changes/changes.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a24b6a1..f6343be 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -29,7 +29,7 @@
- "update" - Change
- "remove" - Removed
-->
-
+
<release version="2.11.2" date="2019-02-04" description="GA Release 2.11.2">
<action issue="LOG4J2-2500" dev="rgoers" type="fix">
Document that Properties element must be the first configuration element.
[logging-log4j2] 01/08: LOG4J2-913 - Access configurations by
HTTP/S. Support Spring Cloud Config
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit a5c5987f31c5cff68a0828af64e828f97bc2614d
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Thu Jan 24 20:41:26 2019 -0700
LOG4J2-913 - Access configurations by HTTP/S. Support Spring Cloud Config
LOG4J2-913 - App works with Cloud Config
LOG4j2-913 - Integration with Spring Cloud Config
---
.../apache/logging/log4j/util/PropertiesUtil.java | 15 ++
.../logging/log4j/util/PropertiesUtilTest.java | 15 +-
.../src/test/resources/log4j2.system.properties | 1 +
log4j-core/revapi.json | 5 +
.../log4j/core/config/AbstractConfiguration.java | 26 +++
.../log4j/core/config/ConfigurationFactory.java | 25 ++-
.../core/config/ConfigurationFileWatcher.java | 72 ++++++++
.../log4j/core/config/ConfigurationSource.java | 107 ++++++++++-
.../logging/log4j/core/config/HttpWatcher.java | 186 +++++++++++++++++++
.../config/builder/impl/BuiltConfiguration.java | 18 +-
.../builder/impl/DefaultConfigurationBuilder.java | 2 +-
.../config/composite/CompositeConfiguration.java | 24 +--
.../log4j/core/config/json/JsonConfiguration.java | 16 +-
.../log4j/core/config/xml/XmlConfiguration.java | 19 +-
.../log4j/core/net/ssl/SslConfiguration.java | 29 ++-
.../core/net/ssl/SslConfigurationFactory.java | 79 ++++++++
.../AbstractWatcher.java} | 42 ++++-
.../org/apache/logging/log4j/core/util/Source.java | 135 ++++++++++++++
.../logging/log4j/core/util/WatchManager.java | 152 +++++++++++----
.../apache/logging/log4j/core/util/Watcher.java | 78 ++++++++
.../logging/log4j/core/util/WatcherFactory.java | 89 +++++++++
.../log4j/core/util/WrappedFileWatcher.java | 90 +++++++++
.../logging/log4j/core/util/WatchHttpTest.java | 175 ++++++++++++++++++
.../src/test/resources/__files/log4j-test1.xml | 58 ++++++
.../log4j-spring-cloud-config-client/pom.xml | 196 ++++++++++++++++++++
.../client/Log4j2CloudConfigLoggingSystem.java | 127 +++++++++++++
.../src/main/resources/log4j2.system.properties | 1 +
.../log4j-spring-cloud-config-server/pom.xml | 205 +++++++++++++++++++++
.../server/controller/Log4jResourceController.java | 200 ++++++++++++++++++++
.../src/main/resources/META-INF/spring.factories | 1 +
log4j-spring-cloud-config/pom.xml | 95 ++++++++++
pom.xml | 1 +
32 files changed, 2175 insertions(+), 109 deletions(-)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
index c4104f7..4feb207 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
@@ -46,6 +46,8 @@ import java.util.concurrent.ConcurrentHashMap;
public final class PropertiesUtil {
private static final String LOG4J_PROPERTIES_FILE_NAME = "log4j2.component.properties";
+ private static final String LOG4J_SYSTEM_PROPERTIES_FILE_NAME = "log4j2.system.properties";
+ private static final String SYSTEM = "system:";
private static final PropertiesUtil LOG4J_PROPERTIES = new PropertiesUtil(LOG4J_PROPERTIES_FILE_NAME);
private final Environment environment;
@@ -315,6 +317,19 @@ public final class PropertiesUtil {
private final Map<List<CharSequence>, String> tokenized = new ConcurrentHashMap<>();
private Environment(final PropertySource propertySource) {
+ PropertyFilePropertySource sysProps = new PropertyFilePropertySource(LOG4J_SYSTEM_PROPERTIES_FILE_NAME);
+ try {
+ sysProps.forEach(new BiConsumer<String, String>() {
+ @Override
+ public void accept(String key, String value) {
+ if (System.getProperty(key) == null) {
+ System.setProperty(key, value);
+ }
+ }
+ });
+ } catch (SecurityException ex) {
+ // Access to System Properties is restricted so just skip it.
+ }
sources.add(propertySource);
for (final ClassLoader classLoader : LoaderUtil.getClassLoaders()) {
try {
diff --git a/log4j-api/src/test/java/org/apache/logging/log4j/util/PropertiesUtilTest.java b/log4j-api/src/test/java/org/apache/logging/log4j/util/PropertiesUtilTest.java
index 3ac9c92..a5dc873 100644
--- a/log4j-api/src/test/java/org/apache/logging/log4j/util/PropertiesUtilTest.java
+++ b/log4j-api/src/test/java/org/apache/logging/log4j/util/PropertiesUtilTest.java
@@ -17,14 +17,14 @@
package org.apache.logging.log4j.util;
-import org.junit.Before;
-import org.junit.Test;
-
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Map;
import java.util.Properties;
+import org.junit.Before;
+import org.junit.Test;
+
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -108,4 +108,13 @@ public class PropertiesUtilTest {
System.getProperties().remove(key2);
}
}
+
+ @Test
+ public void testPublish() {
+ final Properties props = new Properties();
+ final PropertiesUtil util = new PropertiesUtil(props);
+ String value = System.getProperty("Application");
+ assertNotNull("System property was not published", value);
+ assertEquals("Log4j", value);
+ }
}
diff --git a/log4j-api/src/test/resources/log4j2.system.properties b/log4j-api/src/test/resources/log4j2.system.properties
new file mode 100644
index 0000000..6e4f8ae
--- /dev/null
+++ b/log4j-api/src/test/resources/log4j2.system.properties
@@ -0,0 +1 @@
+Application=Log4j
\ No newline at end of file
diff --git a/log4j-core/revapi.json b/log4j-core/revapi.json
index 9f6aef1..3c12553 100644
--- a/log4j-core/revapi.json
+++ b/log4j-core/revapi.json
@@ -31,6 +31,11 @@
"extension": "revapi.ignore",
"configuration": [
{
+ "code": "java.class.removed",
+ "old": "class org.apache.logging.log4j.core.config.ConfiguratonFileWatcher",
+ "justification": "LOG4J2-913 - This class name was misspelled"
+ },
+ {
"code": "java.method.returnTypeTypeParametersChanged",
"old": "method org.apache.logging.log4j.core.appender.AsyncAppender.Builder org.apache.logging.log4j.core.appender.AsyncAppender.Builder::setFilter(org.apache.logging.log4j.core.Filter)",
"new": "method B org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B extends org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B extends org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B>>>::setFilter(org.apache.logging.log4j.core.Filter) @ org.apache.logging.log4j.core.appender.AsyncAppender.Builder<B extends org.apache.logging.log4j.core.appender.AsyncAppender.Builder<B extends org.apache.logging.log4j.core.appender.AsyncAppender.Buil [...]
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
index ecaf4b3..de0d6eb 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
@@ -67,7 +67,10 @@ import org.apache.logging.log4j.core.util.DummyNanoClock;
import org.apache.logging.log4j.core.util.Loader;
import org.apache.logging.log4j.core.util.NameUtil;
import org.apache.logging.log4j.core.util.NanoClock;
+import org.apache.logging.log4j.core.util.Source;
import org.apache.logging.log4j.core.util.WatchManager;
+import org.apache.logging.log4j.core.util.Watcher;
+import org.apache.logging.log4j.core.util.WatcherFactory;
import org.apache.logging.log4j.util.PropertiesUtil;
/**
@@ -240,6 +243,29 @@ public abstract class AbstractConfiguration extends AbstractFilterable implement
LOGGER.debug("Configuration {} initialized", this);
}
+ protected void initializeWatchers(Reconfigurable reconfigurable, ConfigurationSource configSource,
+ int monitorIntervalSeconds) {
+ if ((configSource.getFile() != null || configSource.getURL() != null) && monitorIntervalSeconds > 0) {
+ watchManager.setIntervalSeconds(monitorIntervalSeconds);
+ if (configSource.getFile() != null) {
+ final Source cfgSource = new Source(configSource);
+ final long lastModifeid = configSource.getFile().lastModified();
+ final ConfigurationFileWatcher watcher = new ConfigurationFileWatcher(this, reconfigurable,
+ listeners, lastModifeid);
+ watchManager.watch(cfgSource, watcher);
+ } else if (configSource.getURL() != null) {
+ if (configSource.getLastModified() > 0) {
+ final Source cfgSource = new Source(configSource);
+ final Watcher watcher = WatcherFactory.getInstance(pluginPackages)
+ .newWatcher(cfgSource, this, reconfigurable, listeners, configSource.getLastModified());
+ watchManager.watch(cfgSource, watcher);
+ } else {
+ LOGGER.info("{} does not support dynamic reconfiguration", configSource.getURI());
+ }
+ }
+ }
+ }
+
/**
* Start the configuration.
*/
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
index 8c05959..f4adea0 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
@@ -21,6 +21,7 @@ import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.net.URI;
import java.net.URL;
+import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@@ -29,6 +30,8 @@ import java.util.Map;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
+import javax.net.ssl.HttpsURLConnection;
+
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.LoggerContext;
@@ -38,6 +41,9 @@ import org.apache.logging.log4j.core.config.plugins.util.PluginManager;
import org.apache.logging.log4j.core.config.plugins.util.PluginType;
import org.apache.logging.log4j.core.lookup.Interpolator;
import org.apache.logging.log4j.core.lookup.StrSubstitutor;
+import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
+import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
import org.apache.logging.log4j.core.util.FileUtils;
import org.apache.logging.log4j.core.util.Loader;
import org.apache.logging.log4j.core.util.NetUtils;
@@ -128,6 +134,8 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
private static final Lock LOCK = new ReentrantLock();
+ private static final String HTTPS = "https";
+
/**
* Returns the ConfigurationFactory.
* @return the ConfigurationFactory.
@@ -294,7 +302,22 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
protected ConfigurationSource getInputFromString(final String config, final ClassLoader loader) {
try {
final URL url = new URL(config);
- return new ConfigurationSource(url.openStream(), FileUtils.fileFromUri(url.toURI()));
+ URLConnection urlConnection = url.openConnection();
+ if (url.getProtocol().equals(HTTPS)) {
+ SslConfiguration sslConfiguration = SslConfigurationFactory.getSslConfiguration();
+ if (sslConfiguration != null) {
+ ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
+ if (!sslConfiguration.isVerifyHostName()) {
+ ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
+ }
+ }
+ }
+ File file = FileUtils.fileFromUri(url.toURI());
+ if (file != null) {
+ return new ConfigurationSource(urlConnection.getInputStream(), FileUtils.fileFromUri(url.toURI()));
+ } else {
+ return new ConfigurationSource(urlConnection.getInputStream(), url, urlConnection.getLastModified());
+ }
} catch (final Exception ex) {
final ConfigurationSource source = ConfigurationSource.fromResource(config, loader);
if (source == null) {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFileWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFileWatcher.java
new file mode 100644
index 0000000..e777fbf
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFileWatcher.java
@@ -0,0 +1,72 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.config;
+
+import java.io.File;
+import java.util.List;
+
+import org.apache.logging.log4j.core.util.AbstractWatcher;
+import org.apache.logging.log4j.core.util.FileWatcher;
+import org.apache.logging.log4j.core.util.Source;
+import org.apache.logging.log4j.core.util.Watcher;
+
+/**
+ * Watcher for configuration files. Causes a reconfiguration when a file changes.
+ */
+public class ConfigurationFileWatcher extends AbstractWatcher implements FileWatcher {
+
+ private File file;
+ private long lastModifiedMillis;
+
+ public ConfigurationFileWatcher(final Configuration configuration, final Reconfigurable reconfigurable,
+ final List<ConfigurationListener> configurationListeners, long lastModifiedMillis) {
+ super(configuration, reconfigurable, configurationListeners);
+ this.lastModifiedMillis = lastModifiedMillis;
+ }
+
+ public long getLastModified() {
+ return file != null ? file.lastModified() : 0;
+ }
+
+ @Override
+ public void fileModified(final File file) {
+ lastModifiedMillis = file.lastModified();
+ }
+
+ @Override
+ public void watching(Source source) {
+ file = source.getFile();
+ lastModifiedMillis = file.lastModified();
+ super.watching(source);
+ }
+
+ @Override
+ public boolean isModified() {
+ return lastModifiedMillis != file.lastModified();
+ }
+
+ @Override
+ public Watcher newWatcher(final Reconfigurable reconfigurable, final List<ConfigurationListener> listeners,
+ long lastModifiedMillis) {
+ ConfigurationFileWatcher watcher = new ConfigurationFileWatcher(getConfiguration(), reconfigurable, listeners,
+ lastModifiedMillis);
+ if (getSource() != null) {
+ watcher.watching(getSource());
+ }
+ return watcher;
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java
index 21558fc..d7c1808 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java
@@ -28,11 +28,18 @@ import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
+import java.net.URLConnection;
import java.util.Objects;
+import javax.net.ssl.HttpsURLConnection;
+
import org.apache.logging.log4j.Level;
+import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
+import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
import org.apache.logging.log4j.core.util.FileUtils;
import org.apache.logging.log4j.core.util.Loader;
+import org.apache.logging.log4j.core.util.Source;
import org.apache.logging.log4j.util.LoaderUtil;
/**
@@ -43,13 +50,18 @@ public class ConfigurationSource {
/**
* ConfigurationSource to use with Configurations that do not require a "real" configuration source.
*/
- public static final ConfigurationSource NULL_SOURCE = new ConfigurationSource(new byte[0]);
+ public static final ConfigurationSource NULL_SOURCE = new ConfigurationSource(new byte[0], null, 0);
+ private static final String HTTPS = "https";
private final File file;
private final URL url;
private final String location;
private final InputStream stream;
- private final byte[] data;
+ private volatile byte[] data;
+ private volatile Source source = null;
+ private final long lastModified;
+ // Set when the configuration has been updated so reset can use it for the next lastModified timestamp.
+ private volatile long modifiedMillis;
/**
* Constructs a new {@code ConfigurationSource} with the specified input stream that originated from the specified
@@ -64,6 +76,13 @@ public class ConfigurationSource {
this.location = file.getAbsolutePath();
this.url = null;
this.data = null;
+ long modified = 0;
+ try {
+ modified = file.lastModified();
+ } catch (Exception ex) {
+ // There is a problem with the file. It will be handled somewhere else.
+ }
+ this.lastModified = modified;
}
/**
@@ -79,6 +98,24 @@ public class ConfigurationSource {
this.location = url.toString();
this.file = null;
this.data = null;
+ this.lastModified = 0;
+ }
+
+ /**
+ * Constructs a new {@code ConfigurationSource} with the specified input stream that originated from the specified
+ * url.
+ *
+ * @param stream the input stream
+ * @param url the URL where the input stream originated
+ * @param lastModified when the source was last modified.
+ */
+ public ConfigurationSource(final InputStream stream, final URL url, long lastModified) {
+ this.stream = Objects.requireNonNull(stream, "stream is null");
+ this.url = Objects.requireNonNull(url, "URL is null");
+ this.location = url.toString();
+ this.file = null;
+ this.data = null;
+ this.lastModified = lastModified;
}
/**
@@ -89,15 +126,26 @@ public class ConfigurationSource {
* @throws IOException if an exception occurred reading from the specified stream
*/
public ConfigurationSource(final InputStream stream) throws IOException {
- this(toByteArray(stream));
+ this(toByteArray(stream), null, 0);
}
- private ConfigurationSource(final byte[] data) {
+ public ConfigurationSource(final Source source, final byte[] data, long lastModified) throws IOException {
+ Objects.requireNonNull(source, "source is null");
this.data = Objects.requireNonNull(data, "data is null");
this.stream = new ByteArrayInputStream(data);
+ this.file = source.getFile();
+ this.url = source.getURI().toURL();
+ this.location = source.getLocation();
+ this.lastModified = lastModified;
+ }
+
+ private ConfigurationSource(final byte[] data, final URL url, long lastModified) {
+ Objects.requireNonNull(data, "data is null");
+ this.stream = new ByteArrayInputStream(data);
this.file = null;
- this.url = null;
+ this.url = url;
this.location = null;
+ this.lastModified = lastModified;
}
/**
@@ -140,6 +188,18 @@ public class ConfigurationSource {
return url;
}
+ public void setSource(Source source) {
+ this.source = source;
+ }
+
+ public void setData(byte[] data) {
+ this.data = data;
+ }
+
+ public void setModifiedMillis(long modifiedMillis) {
+ this.modifiedMillis = modifiedMillis;
+ }
+
/**
* Returns a URI representing the configuration resource or null if it cannot be determined.
* @return The URI.
@@ -172,6 +232,14 @@ public class ConfigurationSource {
}
/**
+ * Returns the time the resource was last modified or 0 if it is not available.
+ * @return the last modified time of the resource.
+ */
+ public long getLastModified() {
+ return lastModified;
+ }
+
+ /**
* Returns a string describing the configuration source file or URL, or {@code null} if this configuration source
* has neither a file nor an URL.
*
@@ -197,13 +265,19 @@ public class ConfigurationSource {
* @throws IOException if a problem occurred while opening the new input stream
*/
public ConfigurationSource resetInputStream() throws IOException {
- if (file != null) {
+ if (source != null) {
+ return new ConfigurationSource(source, data, this.lastModified);
+ } else if (file != null) {
return new ConfigurationSource(new FileInputStream(file), file);
+ } else if (url != null && data != null) {
+ // Creates a ConfigurationSource without accessing the URL since the data was provided.
+ return new ConfigurationSource(data, url, modifiedMillis == 0 ? lastModified : modifiedMillis);
} else if (url != null) {
- return new ConfigurationSource(url.openStream(), url);
- } else {
- return new ConfigurationSource(data);
+ return fromUri(getURI());
+ } else if (data != null) {
+ return new ConfigurationSource(data, null, lastModified);
}
+ return null;
}
@Override
@@ -245,7 +319,20 @@ public class ConfigurationSource {
return null;
}
try {
- return new ConfigurationSource(configLocation.toURL().openStream(), configLocation.toURL());
+ URL url = configLocation.toURL();
+ URLConnection urlConnection = url.openConnection();
+ if (url.getProtocol().equals(HTTPS)) {
+ SslConfiguration sslConfiguration = SslConfigurationFactory.getSslConfiguration();
+ if (sslConfiguration != null) {
+ ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
+ if (!sslConfiguration.isVerifyHostName()) {
+ ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
+ }
+ }
+ }
+ InputStream is = urlConnection.getInputStream();
+ long lastModified = urlConnection.getLastModified();
+ return new ConfigurationSource(configLocation.toURL().openStream(), configLocation.toURL(), lastModified);
} catch (final MalformedURLException ex) {
ConfigurationFactory.LOGGER.error("Invalid URL {}", configLocation.toString(), ex);
} catch (final Exception ex) {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
new file mode 100644
index 0000000..a2d1220
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
@@ -0,0 +1,186 @@
+/*
+ * Copyright (c) 2019 Nextiva, Inc. to Present.
+ * All rights reserved.
+ */
+package org.apache.logging.log4j.core.config;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.HttpURLConnection;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.List;
+import java.util.Properties;
+
+import javax.net.ssl.HttpsURLConnection;
+
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.core.config.plugins.Plugin;
+import org.apache.logging.log4j.core.config.plugins.PluginAliases;
+import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
+import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
+import org.apache.logging.log4j.core.util.AbstractWatcher;
+import org.apache.logging.log4j.core.util.Source;
+import org.apache.logging.log4j.core.util.Watcher;
+import org.apache.logging.log4j.status.StatusLogger;
+import org.apache.logging.log4j.util.PropertiesUtil;
+
+/**
+ *
+ */
+@Plugin(name = "http", category = Watcher.CATEGORY, printObject = true)
+@PluginAliases("https")
+public class HttpWatcher extends AbstractWatcher {
+
+ private Logger LOGGER = StatusLogger.getLogger();
+
+ private static int DEFAULT_TIMEOUT = 60000;
+ private int connectTimeoutMillis = DEFAULT_TIMEOUT;
+ private int readTimeoutMillis = DEFAULT_TIMEOUT;
+ private SslConfiguration sslConfiguration;
+ private URL url;
+ private volatile long lastModifiedMillis;
+ private static final String JSON = "application/json";
+ private static final String XML = "application/xml";
+ private static final String PROPERTIES = "text/x-java-properties";
+ private static final String TEXT = "text/plain";
+ private static final int NOT_MODIFIED = 304;
+ private static final int OK = 200;
+ private static final int BUF_SIZE = 1024;
+ private static final String HTTP = "http";
+ private static final String HTTPS = "https";
+
+ public HttpWatcher(final Configuration configuration, final Reconfigurable reconfigurable,
+ final List<ConfigurationListener> configurationListeners, long lastModifiedMillis) {
+ super(configuration, reconfigurable, configurationListeners);
+ sslConfiguration = SslConfigurationFactory.getSslConfiguration();
+ this.lastModifiedMillis = lastModifiedMillis;
+ }
+
+ @Override
+ public long getLastModified() {
+ return lastModifiedMillis;
+ }
+
+ @Override
+ public boolean isModified() {
+ return refreshConfiguration();
+ }
+
+ @Override
+ public void watching(Source source) {
+ if (!source.getURI().getScheme().equals(HTTP) && !source.getURI().getScheme().equals(HTTPS)) {
+ throw new IllegalArgumentException("HttpWatcher requires a url using the HTTP or HTTPS protocol, not " +
+ source.getURI().getScheme());
+ }
+ try {
+ url = source.getURI().toURL();
+ } catch (MalformedURLException ex) {
+ throw new IllegalArgumentException("Invalid URL for HttpWatcher " + source.getURI(), ex);
+ }
+ super.watching(source);
+ }
+
+ @Override
+ public Watcher newWatcher(Reconfigurable reconfigurable, List<ConfigurationListener> listeners,
+ long lastModifiedMillis) {
+ HttpWatcher watcher = new HttpWatcher(getConfiguration(), reconfigurable, listeners, lastModifiedMillis);
+ if (getSource() != null) {
+ watcher.watching(getSource());
+ }
+ return watcher;
+ }
+
+ private boolean refreshConfiguration() {
+ try {
+ final HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
+ urlConnection.setAllowUserInteraction(false);
+ urlConnection.setDoOutput(true);
+ urlConnection.setDoInput(true);
+ urlConnection.setRequestMethod("GET");
+ if (connectTimeoutMillis > 0) {
+ urlConnection.setConnectTimeout(connectTimeoutMillis);
+ }
+ if (readTimeoutMillis > 0) {
+ urlConnection.setReadTimeout(readTimeoutMillis);
+ }
+ String[] fileParts = url.getFile().split("\\.");
+ String type = fileParts[fileParts.length - 1].trim();
+ String contentType = isXml(type) ? XML : isJson(type) ? JSON : isProperties(type) ? PROPERTIES : TEXT;
+ urlConnection.setRequestProperty("Content-Type", contentType);
+ urlConnection.setIfModifiedSince(lastModifiedMillis);
+ if (url.getProtocol().equals(HTTPS) && sslConfiguration != null) {
+ ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
+ if (!sslConfiguration.isVerifyHostName()) {
+ ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
+ }
+ }
+
+ urlConnection.connect();
+
+ try {
+ int code = urlConnection.getResponseCode();
+ switch (code) {
+ case NOT_MODIFIED: {
+ return false;
+ }
+ case OK: {
+ try (InputStream is = urlConnection.getInputStream()) {
+ ConfigurationSource configSource = getConfiguration().getConfigurationSource();
+ configSource.setData(readStream(is));
+ lastModifiedMillis = urlConnection.getLastModified();
+ configSource.setModifiedMillis(lastModifiedMillis);
+ LOGGER.debug("Content was modified for {}", url.toString());
+ return true;
+ } catch (final IOException e) {
+ try (InputStream es = urlConnection.getErrorStream()) {
+ LOGGER.info("Error accessing configuration at {}: {}", url,
+ readStream(es));
+ } catch (final IOException ioe) {
+ LOGGER.error("Error accessing configuration at {}: {}", url, e.getMessage());
+ }
+ return false;
+ }
+ }
+ default : {
+ if (code < 0) {
+ LOGGER.info("Invalid response code returned");
+ } else {
+ LOGGER.info("Unexpected response code returned {}", code);
+ }
+ return false;
+ }
+ }
+ } catch (final IOException ioe) {
+ LOGGER.error("Error accessing configuration at {}: {}", url, ioe.getMessage());
+ }
+ } catch (final IOException ioe) {
+ LOGGER.error("Error connecting to configuration at {}: {}", url, ioe.getMessage());
+ }
+ return false;
+ }
+
+ private byte[] readStream(InputStream is) throws IOException {
+ ByteArrayOutputStream result = new ByteArrayOutputStream();
+ byte[] buffer = new byte[BUF_SIZE];
+ int length;
+ while ((length = is.read(buffer)) != -1) {
+ result.write(buffer, 0, length);
+ }
+ return result.toByteArray();
+ }
+
+ private boolean isXml(String type) {
+ return type.equalsIgnoreCase("xml");
+ }
+
+ private boolean isJson(String type) {
+ return type.equalsIgnoreCase("json") || type.equalsIgnoreCase("jsn");
+ }
+
+ private boolean isProperties(String type) {
+ return type.equalsIgnoreCase("properties");
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/BuiltConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/BuiltConfiguration.java
index ae932ee..741859c 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/BuiltConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/BuiltConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.logging.log4j.core.config.builder.impl;
-import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
@@ -25,7 +24,7 @@ import java.util.List;
import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.core.config.AbstractConfiguration;
import org.apache.logging.log4j.core.config.ConfigurationSource;
-import org.apache.logging.log4j.core.config.ConfiguratonFileWatcher;
+import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
import org.apache.logging.log4j.core.config.Node;
import org.apache.logging.log4j.core.config.Reconfigurable;
import org.apache.logging.log4j.core.config.builder.api.Component;
@@ -35,6 +34,9 @@ import org.apache.logging.log4j.core.config.plugins.util.ResolverUtil;
import org.apache.logging.log4j.core.config.status.StatusConfiguration;
import org.apache.logging.log4j.core.util.FileWatcher;
import org.apache.logging.log4j.core.util.Patterns;
+import org.apache.logging.log4j.core.util.Source;
+import org.apache.logging.log4j.core.util.Watcher;
+import org.apache.logging.log4j.core.util.WatcherFactory;
/**
* This is the general version of the Configuration created by the Builder. It may be extended to
@@ -153,17 +155,7 @@ public class BuiltConfiguration extends AbstractConfiguration {
public void setMonitorInterval(final int intervalSeconds) {
if (this instanceof Reconfigurable && intervalSeconds > 0) {
- final ConfigurationSource configSource = getConfigurationSource();
- if (configSource != null) {
- final File configFile = configSource.getFile();
- if (intervalSeconds > 0) {
- getWatchManager().setIntervalSeconds(intervalSeconds);
- if (configFile != null) {
- final FileWatcher watcher = new ConfiguratonFileWatcher((Reconfigurable) this, listeners);
- getWatchManager().watchFile(configFile, watcher);
- }
- }
- }
+ initializeWatchers((Reconfigurable) this, getConfigurationSource(), intervalSeconds);
}
}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java
index c0595d7..0a6c2d1 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java
@@ -170,7 +170,6 @@ public class DefaultConfigurationBuilder<T extends BuiltConfiguration> implement
}
final Constructor<T> constructor = clazz.getConstructor(LoggerContext.class, ConfigurationSource.class, Component.class);
configuration = constructor.newInstance(loggerContext, source, root);
- configuration.setMonitorInterval(monitorInterval);
configuration.getRootNode().getAttributes().putAll(root.getAttributes());
if (name != null) {
configuration.setName(name);
@@ -196,6 +195,7 @@ public class DefaultConfigurationBuilder<T extends BuiltConfiguration> implement
if (advertiser != null) {
configuration.createAdvertiser(advertiser, source);
}
+ configuration.setMonitorInterval(monitorInterval);
} catch (final Exception ex) {
throw new IllegalArgumentException("Invalid Configuration class specified", ex);
}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/composite/CompositeConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/composite/CompositeConfiguration.java
index 9b6b11a..2267639 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/composite/CompositeConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/composite/CompositeConfiguration.java
@@ -29,7 +29,7 @@ import org.apache.logging.log4j.core.config.AbstractConfiguration;
import org.apache.logging.log4j.core.config.Configuration;
import org.apache.logging.log4j.core.config.ConfigurationFactory;
import org.apache.logging.log4j.core.config.ConfigurationSource;
-import org.apache.logging.log4j.core.config.ConfiguratonFileWatcher;
+import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
import org.apache.logging.log4j.core.config.Node;
import org.apache.logging.log4j.core.config.Reconfigurable;
import org.apache.logging.log4j.core.config.plugins.util.ResolverUtil;
@@ -37,7 +37,10 @@ import org.apache.logging.log4j.core.config.status.StatusConfiguration;
import org.apache.logging.log4j.core.util.FileWatcher;
import org.apache.logging.log4j.core.util.Loader;
import org.apache.logging.log4j.core.util.Patterns;
+import org.apache.logging.log4j.core.util.Source;
import org.apache.logging.log4j.core.util.WatchManager;
+import org.apache.logging.log4j.core.util.Watcher;
+import org.apache.logging.log4j.core.util.WatcherFactory;
import org.apache.logging.log4j.util.PropertiesUtil;
/**
@@ -106,14 +109,12 @@ public class CompositeConfiguration extends AbstractConfiguration implements Rec
staffChildConfiguration(targetConfiguration);
final WatchManager watchManager = getWatchManager();
final WatchManager targetWatchManager = targetConfiguration.getWatchManager();
- final FileWatcher fileWatcher = new ConfiguratonFileWatcher(this, listeners);
if (targetWatchManager.getIntervalSeconds() > 0) {
watchManager.setIntervalSeconds(targetWatchManager.getIntervalSeconds());
- final Map<File, FileWatcher> watchers = targetWatchManager.getWatchers();
- for (final Map.Entry<File, FileWatcher> entry : watchers.entrySet()) {
- if (entry.getValue() instanceof ConfiguratonFileWatcher) {
- watchManager.watchFile(entry.getKey(), fileWatcher);
- }
+ final Map<Source, Watcher> watchers = targetWatchManager.getConfigurationWatchers();
+ for (final Map.Entry<Source, Watcher> entry : watchers.entrySet()) {
+ watchManager.watch(entry.getKey(), entry.getValue().newWatcher(this, listeners,
+ entry.getValue().getLastModified()));
}
}
for (final AbstractConfiguration sourceConfiguration : configurations.subList(1, configurations.size())) {
@@ -132,11 +133,10 @@ public class CompositeConfiguration extends AbstractConfiguration implements Rec
watchManager.setIntervalSeconds(monitorInterval);
}
final WatchManager sourceWatchManager = sourceConfiguration.getWatchManager();
- final Map<File, FileWatcher> watchers = sourceWatchManager.getWatchers();
- for (final Map.Entry<File, FileWatcher> entry : watchers.entrySet()) {
- if (entry.getValue() instanceof ConfiguratonFileWatcher) {
- watchManager.watchFile(entry.getKey(), fileWatcher);
- }
+ final Map<Source, Watcher> watchers = sourceWatchManager.getConfigurationWatchers();
+ for (final Map.Entry<Source, Watcher> entry : watchers.entrySet()) {
+ watchManager.watch(entry.getKey(), entry.getValue().newWatcher(this, listeners,
+ entry.getValue().getLastModified()));
}
}
}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/json/JsonConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/json/JsonConfiguration.java
index 5b38dfb..c9d7162 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/json/JsonConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/json/JsonConfiguration.java
@@ -33,7 +33,7 @@ import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.core.config.AbstractConfiguration;
import org.apache.logging.log4j.core.config.Configuration;
import org.apache.logging.log4j.core.config.ConfigurationSource;
-import org.apache.logging.log4j.core.config.ConfiguratonFileWatcher;
+import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
import org.apache.logging.log4j.core.config.LoggerConfig;
import org.apache.logging.log4j.core.config.Node;
import org.apache.logging.log4j.core.config.Reconfigurable;
@@ -42,6 +42,9 @@ import org.apache.logging.log4j.core.config.plugins.util.ResolverUtil;
import org.apache.logging.log4j.core.config.status.StatusConfiguration;
import org.apache.logging.log4j.core.util.FileWatcher;
import org.apache.logging.log4j.core.util.Patterns;
+import org.apache.logging.log4j.core.util.Source;
+import org.apache.logging.log4j.core.util.Watcher;
+import org.apache.logging.log4j.core.util.WatcherFactory;
/**
* Creates a Node hierarchy from a JSON file.
@@ -70,6 +73,7 @@ public class JsonConfiguration extends AbstractConfiguration implements Reconfig
processAttributes(rootNode, root);
final StatusConfiguration statusConfig = new StatusConfiguration().withVerboseClasses(VERBOSE_CLASSES)
.withStatus(getDefaultStatus());
+ int monitorIntervalSeconds = 0;
for (final Map.Entry<String, String> entry : rootNode.getAttributes().entrySet()) {
final String key = entry.getKey();
final String value = getStrSubstitutor().replace(entry.getValue());
@@ -89,18 +93,12 @@ public class JsonConfiguration extends AbstractConfiguration implements Reconfig
} else if ("name".equalsIgnoreCase(key)) {
setName(value);
} else if ("monitorInterval".equalsIgnoreCase(key)) {
- final int intervalSeconds = Integer.parseInt(value);
- if (intervalSeconds > 0) {
- getWatchManager().setIntervalSeconds(intervalSeconds);
- if (configFile != null) {
- final FileWatcher watcher = new ConfiguratonFileWatcher(this, listeners);
- getWatchManager().watchFile(configFile, watcher);
- }
- }
+ monitorIntervalSeconds = Integer.parseInt(value);
} else if ("advertiser".equalsIgnoreCase(key)) {
createAdvertiser(value, configSource, buffer, "application/json");
}
}
+ initializeWatchers(this, configSource, monitorIntervalSeconds);
statusConfig.initialize();
if (getName() == null) {
setName(configSource.getLocation());
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
index 6b0e79a..0e5fa98 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/xml/XmlConfiguration.java
@@ -28,7 +28,6 @@ import javax.xml.XMLConstants;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
@@ -38,7 +37,7 @@ import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.core.config.AbstractConfiguration;
import org.apache.logging.log4j.core.config.Configuration;
import org.apache.logging.log4j.core.config.ConfigurationSource;
-import org.apache.logging.log4j.core.config.ConfiguratonFileWatcher;
+import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
import org.apache.logging.log4j.core.config.Node;
import org.apache.logging.log4j.core.config.Reconfigurable;
import org.apache.logging.log4j.core.config.plugins.util.PluginType;
@@ -48,7 +47,10 @@ import org.apache.logging.log4j.core.util.Closer;
import org.apache.logging.log4j.core.util.FileWatcher;
import org.apache.logging.log4j.core.util.Loader;
import org.apache.logging.log4j.core.util.Patterns;
+import org.apache.logging.log4j.core.util.Source;
import org.apache.logging.log4j.core.util.Throwables;
+import org.apache.logging.log4j.core.util.Watcher;
+import org.apache.logging.log4j.core.util.WatcherFactory;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -110,6 +112,7 @@ public class XmlConfiguration extends AbstractConfiguration implements Reconfigu
final Map<String, String> attrs = processAttributes(rootNode, rootElement);
final StatusConfiguration statusConfig = new StatusConfiguration().withVerboseClasses(VERBOSE_CLASSES)
.withStatus(getDefaultStatus());
+ int monitorIntervalSeconds = 0;
for (final Map.Entry<String, String> entry : attrs.entrySet()) {
final String key = entry.getKey();
final String value = getStrSubstitutor().replace(entry.getValue());
@@ -132,18 +135,12 @@ public class XmlConfiguration extends AbstractConfiguration implements Reconfigu
} else if ("schema".equalsIgnoreCase(key)) {
schemaResource = value;
} else if ("monitorInterval".equalsIgnoreCase(key)) {
- final int intervalSeconds = Integer.parseInt(value);
- if (intervalSeconds > 0) {
- getWatchManager().setIntervalSeconds(intervalSeconds);
- if (configFile != null) {
- final FileWatcher watcher = new ConfiguratonFileWatcher(this, listeners);
- getWatchManager().watchFile(configFile, watcher);
- }
- }
+ monitorIntervalSeconds = Integer.parseInt(value);
} else if ("advertiser".equalsIgnoreCase(key)) {
createAdvertiser(value, configSource, buffer, "text/xml");
}
}
+ initializeWatchers(this, configSource, monitorIntervalSeconds);
statusConfig.initialize();
} catch (final SAXException | IOException | ParserConfigurationException e) {
LOGGER.error("Error parsing " + configSource.getLocation(), e);
@@ -151,7 +148,7 @@ public class XmlConfiguration extends AbstractConfiguration implements Reconfigu
if (strict && schemaResource != null && buffer != null) {
try (InputStream is = Loader.getResourceAsStream(schemaResource, XmlConfiguration.class.getClassLoader())) {
if (is != null) {
- final Source src = new StreamSource(is, LOG4J_XSD);
+ final javax.xml.transform.Source src = new StreamSource(is, LOG4J_XSD);
final SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Schema schema = null;
try {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfiguration.java
index 5603e89..5d341d6 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfiguration.java
@@ -46,13 +46,15 @@ public class SslConfiguration {
private final TrustStoreConfiguration trustStoreConfig;
private final SSLContext sslContext;
private final String protocol;
+ private final boolean verifyHostName;
private SslConfiguration(final String protocol, final KeyStoreConfiguration keyStoreConfig,
- final TrustStoreConfiguration trustStoreConfig) {
+ final TrustStoreConfiguration trustStoreConfig, boolean verifyHostName) {
this.keyStoreConfig = keyStoreConfig;
this.trustStoreConfig = trustStoreConfig;
this.protocol = protocol == null ? SslConfigurationDefaults.PROTOCOL : protocol;
this.sslContext = this.createSslContext();
+ this.verifyHostName = verifyHostName;
}
/**
@@ -232,7 +234,26 @@ public class SslConfiguration {
@PluginElement("KeyStore") final KeyStoreConfiguration keyStoreConfig,
@PluginElement("TrustStore") final TrustStoreConfiguration trustStoreConfig) {
// @formatter:on
- return new SslConfiguration(protocol, keyStoreConfig, trustStoreConfig);
+ return new SslConfiguration(protocol, keyStoreConfig, trustStoreConfig, false);
+ }
+
+ /**
+ * Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
+ *
+ * @param protocol The protocol, see http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContext
+ * @param keyStoreConfig The KeyStoreConfiguration.
+ * @param trustStoreConfig The TrustStoreConfiguration.
+ * @return a new SslConfiguration
+ * @since 2.12
+ */
+ public static SslConfiguration createSSLConfiguration(
+ // @formatter:off
+ @PluginAttribute("protocol") final String protocol,
+ @PluginElement("KeyStore") final KeyStoreConfiguration keyStoreConfig,
+ @PluginElement("TrustStore") final TrustStoreConfiguration trustStoreConfig,
+ @PluginElement("verifyHostName") final boolean verifyHostName) {
+ // @formatter:on
+ return new SslConfiguration(protocol, keyStoreConfig, trustStoreConfig, verifyHostName);
}
@Override
@@ -304,4 +325,8 @@ public class SslConfiguration {
public String getProtocol() {
return protocol;
}
+
+ public boolean isVerifyHostName() {
+ return verifyHostName;
+ }
}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java
new file mode 100644
index 0000000..e3cc4d3
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2019 Nextiva, Inc. to Present.
+ * All rights reserved.
+ */
+package org.apache.logging.log4j.core.net.ssl;
+
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.status.StatusLogger;
+import org.apache.logging.log4j.util.PropertiesUtil;
+
+/**
+ * Creates an SSL configuration from Log4j properties.
+ */
+public class SslConfigurationFactory {
+
+ private static final Logger LOGGER = StatusLogger.getLogger();
+ private static SslConfiguration sslConfiguration = null;
+
+ private static final String trustStorelocation = "log4j2.trustStore.location";
+ private static final String trustStorePassword = "log4j2.trustStore.password";
+ private static final String trustStorePasswordFile = "log4j2.trustStore.passwordFile";
+ private static final String trustStorePasswordEnvVar = "log4j2.trustStore.passwordEnvironmentVariable";
+ private static final String trustStoreKeyStoreType = "log4j2.trustStore.keyStoreType";
+ private static final String trustStoreKeyManagerFactoryAlgorithm = "log4j2.trustStore.keyManagerFactoryAlgorithm";
+ private static final String keyStoreLocation = "log4j2.keyStore.location";
+ private static final String keyStorePassword = "log4j2.keyStorePassword";
+ private static final String keyStorePasswordFile = "log4j2.keyStorePasswordFile";
+ private static final String keyStorePasswordEnvVar = "log4j2.keyStorePasswordEnvironmentVariable";
+ private static final String keyStoreType = "log4j2.keyStore.type";
+ private static final String keyStoreKeyManagerFactoryAlgorithm = "log4j2.keyStore.keyManagerFactoryAlgorithm";
+ private static final String verifyHostName = "log4j2.ssl.verifyHostName";
+
+ static {
+ PropertiesUtil props = PropertiesUtil.getProperties();
+ KeyStoreConfiguration keyStoreConfiguration = null;
+ TrustStoreConfiguration trustStoreConfiguration = null;
+ String location = props.getStringProperty(trustStorelocation);
+ if (location != null) {
+ String password = props.getStringProperty(trustStorePassword);
+ char[] passwordChars = null;
+ if (password != null) {
+ passwordChars = password.toCharArray();
+ }
+ try {
+ trustStoreConfiguration = TrustStoreConfiguration.createKeyStoreConfiguration(location, passwordChars,
+ props.getStringProperty(trustStorePasswordEnvVar), props.getStringProperty(trustStorePasswordFile),
+ props.getStringProperty(trustStoreKeyStoreType), props.getStringProperty(trustStoreKeyManagerFactoryAlgorithm));
+ } catch (Exception ex) {
+ LOGGER.warn("Unable to create trust store configuration due to: {} {}", ex.getClass().getName(),
+ ex.getMessage());
+ }
+ }
+ location = props.getStringProperty(keyStoreLocation);
+ if (location != null) {
+ String password = props.getStringProperty(keyStorePassword);
+ char[] passwordChars = null;
+ if (password != null) {
+ passwordChars = password.toCharArray();
+ }
+ try {
+ keyStoreConfiguration = KeyStoreConfiguration.createKeyStoreConfiguration(location, passwordChars,
+ props.getStringProperty(keyStorePasswordEnvVar), props.getStringProperty(keyStorePasswordFile),
+ props.getStringProperty(keyStoreType), props.getStringProperty(keyStoreKeyManagerFactoryAlgorithm));
+ } catch (Exception ex) {
+ LOGGER.warn("Unable to create key store configuration due to: {} {}", ex.getClass().getName(),
+ ex.getMessage());
+ }
+ }
+ if (trustStoreConfiguration != null || keyStoreConfiguration != null) {
+ boolean isVerifyHostName = props.getBooleanProperty(verifyHostName, false);
+ sslConfiguration = SslConfiguration.createSSLConfiguration("https", keyStoreConfiguration,
+ trustStoreConfiguration, isVerifyHostName);
+ }
+ }
+
+ public static SslConfiguration getSslConfiguration() {
+ return sslConfiguration;
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfiguratonFileWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java
similarity index 65%
rename from log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfiguratonFileWatcher.java
rename to log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java
index 38491f2..3dbb111 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfiguratonFileWatcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java
@@ -14,46 +14,70 @@
* See the license for the specific language governing permissions and
* limitations under the license.
*/
-package org.apache.logging.log4j.core.config;
+package org.apache.logging.log4j.core.util;
import java.io.File;
import java.util.List;
-import org.apache.logging.log4j.core.util.FileWatcher;
-import org.apache.logging.log4j.core.util.Log4jThreadFactory;
+import org.apache.logging.log4j.core.config.Configuration;
+import org.apache.logging.log4j.core.config.ConfigurationListener;
+import org.apache.logging.log4j.core.config.Reconfigurable;
/**
* Watcher for configuration files. Causes a reconfiguration when a file changes.
*/
-public class ConfiguratonFileWatcher implements FileWatcher {
+public abstract class AbstractWatcher implements Watcher {
private final Reconfigurable reconfigurable;
private final List<ConfigurationListener> configurationListeners;
private final Log4jThreadFactory threadFactory;
+ private final Configuration configuration;
+ private Source source;
- public ConfiguratonFileWatcher(final Reconfigurable reconfigurable, final List<ConfigurationListener> configurationListeners) {
+ public AbstractWatcher(final Configuration configuration, final Reconfigurable reconfigurable,
+ final List<ConfigurationListener> configurationListeners) {
+ this.configuration = configuration;
this.reconfigurable = reconfigurable;
this.configurationListeners = configurationListeners;
- this.threadFactory = Log4jThreadFactory.createDaemonThreadFactory("ConfiguratonFileWatcher");
+ this.threadFactory = configurationListeners != null ?
+ Log4jThreadFactory.createDaemonThreadFactory("ConfiguratonFileWatcher") : null;
}
+ @Override
public List<ConfigurationListener> getListeners() {
return configurationListeners;
}
-
@Override
- public void fileModified(final File file) {
+ public void modified() {
for (final ConfigurationListener configurationListener : configurationListeners) {
final Thread thread = threadFactory.newThread(new ReconfigurationRunnable(configurationListener, reconfigurable));
thread.start();
}
}
+ public Configuration getConfiguration() {
+ return configuration;
+ }
+
+ public abstract long getLastModified();
+
+ public abstract boolean isModified();
+
+ @Override
+ public void watching(Source source) {
+ this.source = source;
+ }
+
+ @Override
+ public Source getSource() {
+ return source;
+ }
+
/**
* Helper class for triggering a reconfiguration in a background thread.
*/
- private static class ReconfigurationRunnable implements Runnable {
+ public static class ReconfigurationRunnable implements Runnable {
private final ConfigurationListener configurationListener;
private final Reconfigurable reconfigurable;
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java
new file mode 100644
index 0000000..a0aa548
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Source.java
@@ -0,0 +1,135 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+
+package org.apache.logging.log4j.core.util;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.util.Objects;
+
+import org.apache.logging.log4j.Level;
+import org.apache.logging.log4j.core.config.ConfigurationFactory;
+import org.apache.logging.log4j.core.config.ConfigurationSource;
+import org.apache.logging.log4j.util.LoaderUtil;
+
+/**
+ * Represents the source for the logging configuration.
+ */
+public class Source {
+
+ /**
+ * Captures a URI or File.
+ */
+
+ private final File file;
+ private final URI uri;
+ private final String location;
+
+ /**
+ * Constructs a Source from a ConfigurationSource.
+ * @param source The ConfigurationSource.
+ */
+ public Source(ConfigurationSource source) {
+ this.file = source.getFile();
+ this.uri = source.getURI();
+ this.location = source.getLocation();
+ }
+
+ /**
+ * Constructs a new {@code Source} with the specified file.
+ * file.
+ *
+ * @param file the file where the input stream originated
+ */
+ public Source(final File file) {
+ this.file = Objects.requireNonNull(file, "file is null");
+ this.location = file.getAbsolutePath();
+ this.uri = null;
+ }
+
+ /**
+ * Constructs a new {@code Source} from the specified URI.
+ *
+ * @param uri the URL where the input stream originated
+ */
+ public Source(final URI uri, final long lastModified) {
+ this.uri = Objects.requireNonNull(uri, "URI is null");
+ this.location = uri.toString();
+ this.file = null;
+ }
+
+ /**
+ * Returns the file configuration source, or {@code null} if this configuration source is based on an URL or has
+ * neither a file nor an URL.
+ *
+ * @return the configuration source file, or {@code null}
+ */
+ public File getFile() {
+ return file;
+ }
+
+ /**
+ * Returns the configuration source URL, or {@code null} if this configuration source is based on a file or has
+ * neither a file nor an URL.
+ *
+ * @return the configuration source URL, or {@code null}
+ */
+ public URI getURI() {
+ return uri;
+ }
+
+ /**
+ * Returns a string describing the configuration source file or URL, or {@code null} if this configuration source
+ * has neither a file nor an URL.
+ *
+ * @return a string describing the configuration source file or URL, or {@code null}
+ */
+ public String getLocation() {
+ return location;
+ }
+
+ @Override
+ public String toString() {
+ return location;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof Source)) {
+ return false;
+ }
+ Source source = (Source) o;
+ return Objects.equals(location, source.location);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(location);
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
index 31a98ef..37e0a44 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatchManager.java
@@ -27,6 +27,7 @@ import java.util.concurrent.TimeUnit;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.AbstractLifeCycle;
+import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
import org.apache.logging.log4j.core.config.ConfigurationScheduler;
import org.apache.logging.log4j.status.StatusLogger;
@@ -39,7 +40,7 @@ import org.apache.logging.log4j.status.StatusLogger;
public class WatchManager extends AbstractLifeCycle {
private static Logger logger = StatusLogger.getLogger();
- private final ConcurrentMap<File, FileMonitor> watchers = new ConcurrentHashMap<>();
+ private final ConcurrentMap<Source, ConfigurationMonitor> watchers = new ConcurrentHashMap<>();
private int intervalSeconds = 0;
private ScheduledFuture<?> future;
private final ConfigurationScheduler scheduler;
@@ -60,8 +61,8 @@ public class WatchManager extends AbstractLifeCycle {
*/
public void reset() {
logger.debug("Resetting {}", this);
- for (final File file : watchers.keySet()) {
- reset(file);
+ for (final Source source: watchers.keySet()) {
+ reset(source);
}
}
@@ -81,16 +82,38 @@ public class WatchManager extends AbstractLifeCycle {
if (file == null) {
return;
}
- final FileMonitor fileMonitor = watchers.get(file);
- if (fileMonitor != null) {
- final long lastModifiedMillis = file.lastModified();
- if (lastModifiedMillis != fileMonitor.lastModifiedMillis) {
+ Source source = new Source(file);
+ reset(source);
+ }
+
+
+ /**
+ * Resets the configuration monitor for the given file being watched to its current last modified time. If this
+ * manager does not watch the given configuration, nothing happens.
+ * <p>
+ * This allows you to start, stop, reset and start again a manager, without triggering file modified events if the
+ * given watched configuration has changed during the period of time when the manager was stopped.
+ * </p>
+ *
+ * @param source
+ * the Source for the monitor to reset.
+ * @since 2.11.2
+ */
+ public void reset(final Source source) {
+ if (source == null) {
+ return;
+ }
+ final ConfigurationMonitor monitor = watchers.get(source);
+ if (monitor != null) {
+ Watcher watcher = monitor.getWatcher();
+ if (watcher.isModified()) {
+ final long lastModifiedMillis = watcher.getLastModified();
if (logger.isDebugEnabled()) {
- logger.debug("Resetting file monitor for '{}' from {} ({}) to {} ({})", file,
- millisToString(fileMonitor.lastModifiedMillis), fileMonitor.lastModifiedMillis,
- millisToString(lastModifiedMillis), lastModifiedMillis);
+ logger.debug("Resetting file monitor for '{}' from {} ({}) to {} ({})", source.getLocation(),
+ millisToString(monitor.lastModifiedMillis), monitor.lastModifiedMillis,
+ millisToString(lastModifiedMillis), lastModifiedMillis);
}
- fileMonitor.setLastModifiedMillis(lastModifiedMillis);
+ monitor.setLastModifiedMillis(lastModifiedMillis);
}
}
}
@@ -140,8 +163,20 @@ public class WatchManager extends AbstractLifeCycle {
* @since 2.11.0
*/
public void unwatchFile(final File file) {
- logger.debug("Unwatching file '{}'", file);
- watchers.remove(file);
+ Source source = new Source(file);
+ unwatch(source);
+ }
+
+ /**
+ * Unwatches the given file.
+ *
+ * @param source the Source to stop watching.
+ * the file to stop watching.
+ * @since 2.11.2
+ */
+ public void unwatch(final Source source) {
+ logger.debug("Unwatching configuration {}", source);
+ watchers.remove(source);
}
/**
@@ -149,21 +184,62 @@ public class WatchManager extends AbstractLifeCycle {
*
* @param file
* the file to watch.
+ * @param fileWatcher
+ * the watcher to notify of file changes.
+ */
+ public void watchFile(final File file, final FileWatcher fileWatcher) {
+ Watcher watcher;
+ if (fileWatcher instanceof Watcher) {
+ watcher = (Watcher) fileWatcher;
+ } else {
+ watcher = new WrappedFileWatcher(fileWatcher);
+ }
+ Source source = new Source(file);
+ watch(source, watcher);
+ }
+
+ /**
+ * Watches the given file.
+ *
+ * @param source the source to watch.
* @param watcher
* the watcher to notify of file changes.
*/
- public void watchFile(final File file, final FileWatcher watcher) {
- final long lastModified = file.lastModified();
+ public void watch(final Source source, final Watcher watcher) {
+ watcher.watching(source);
+ final long lastModified = watcher.getLastModified();
if (logger.isDebugEnabled()) {
- logger.debug("Watching file '{}' for lastModified {} ({})", file, millisToString(lastModified), lastModified);
+ logger.debug("Watching configuration '{}' for lastModified {} ({})", source, millisToString(lastModified), lastModified);
}
- watchers.put(file, new FileMonitor(lastModified, watcher));
+ watchers.put(source, new ConfigurationMonitor(lastModified, watcher));
}
+ /**
+ * Returns a Map of the file watchers.
+ * @return A Map of the file watchers.
+ * @deprecated use getConfigurationWatchers.
+ */
public Map<File, FileWatcher> getWatchers() {
final Map<File, FileWatcher> map = new HashMap<>(watchers.size());
- for (final Map.Entry<File, FileMonitor> entry : watchers.entrySet()) {
- map.put(entry.getKey(), entry.getValue().fileWatcher);
+ for (Map.Entry<Source, ConfigurationMonitor> entry : watchers.entrySet()) {
+ if (entry.getValue().getWatcher() instanceof ConfigurationFileWatcher) {
+ map.put(entry.getKey().getFile(), (FileWatcher) entry.getValue().getWatcher());
+ } else {
+ map.put(entry.getKey().getFile(), new WrappedFileWatcher((FileWatcher)entry.getValue().getWatcher()));
+ }
+ }
+ return map;
+ }
+
+ /**
+ * Return the ConfigurationWaatchers.
+ * @return the ConfigurationWatchers.
+ * @since 2.11.2
+ */
+ public Map<Source, Watcher> getConfigurationWatchers() {
+ final Map<Source, Watcher> map = new HashMap<>(watchers.size());
+ for (final Map.Entry<Source, ConfigurationMonitor> entry : watchers.entrySet()) {
+ map.put(entry.getKey(), entry.getValue().getWatcher());
}
return map;
}
@@ -180,34 +256,34 @@ public class WatchManager extends AbstractLifeCycle {
@Override
public void run() {
logger.trace("{} run triggered.", SIMPLE_NAME);
- for (final Map.Entry<File, FileMonitor> entry : watchers.entrySet()) {
- final File file = entry.getKey();
- final FileMonitor fileMonitor = entry.getValue();
- final long lastModfied = file.lastModified();
- if (fileModified(fileMonitor, lastModfied)) {
+ for (final Map.Entry<Source, ConfigurationMonitor> entry : watchers.entrySet()) {
+ final Source source = entry.getKey();
+ final ConfigurationMonitor monitor = entry.getValue();
+ if (monitor.getWatcher().isModified()) {
+ final long lastModified = monitor.getWatcher().getLastModified();
if (logger.isInfoEnabled()) {
- logger.info("File '{}' was modified on {} ({}), previous modification was on {} ({})", file,
- millisToString(lastModfied), lastModfied, millisToString(fileMonitor.lastModifiedMillis),
- fileMonitor.lastModifiedMillis);
+ logger.info("Source '{}' was modified on {} ({}), previous modification was on {} ({})", source,
+ millisToString(lastModified), lastModified, millisToString(monitor.lastModifiedMillis),
+ monitor.lastModifiedMillis);
}
- fileMonitor.lastModifiedMillis = lastModfied;
- fileMonitor.fileWatcher.fileModified(file);
+ monitor.lastModifiedMillis = lastModified;
+ monitor.getWatcher().modified();
}
}
logger.trace("{} run ended.", SIMPLE_NAME);
}
-
- private boolean fileModified(final FileMonitor fileMonitor, final long lastModifiedMillis) {
- return lastModifiedMillis != fileMonitor.lastModifiedMillis;
- }
}
- private final class FileMonitor {
- private final FileWatcher fileWatcher;
+ private final class ConfigurationMonitor {
+ private final Watcher watcher;
private volatile long lastModifiedMillis;
- public FileMonitor(final long lastModifiedMillis, final FileWatcher fileWatcher) {
- this.fileWatcher = fileWatcher;
+ public Watcher getWatcher() {
+ return watcher;
+ }
+
+ public ConfigurationMonitor(final long lastModifiedMillis, final Watcher watcher) {
+ this.watcher = watcher;
this.lastModifiedMillis = lastModifiedMillis;
}
@@ -217,7 +293,7 @@ public class WatchManager extends AbstractLifeCycle {
@Override
public String toString() {
- return "FileMonitor [fileWatcher=" + fileWatcher + ", lastModifiedMillis=" + lastModifiedMillis + "]";
+ return "ConfigurationMonitor [watcher=" + watcher + ", lastModifiedMillis=" + lastModifiedMillis + "]";
}
}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
new file mode 100644
index 0000000..7ae9cd0
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.util;
+
+import java.util.List;
+
+import org.apache.logging.log4j.core.config.Configuration;
+import org.apache.logging.log4j.core.config.ConfigurationListener;
+import org.apache.logging.log4j.core.config.Reconfigurable;
+
+/**
+ * Watches for changes in a Source and performs an action when it is modified.
+ *
+ * @see WatchManager
+ */
+public interface Watcher {
+
+ public static final String CATEGORY = "Watcher";
+
+ /**
+ * Returns the list of listeners for this configuration.
+ * @return The list of listeners.
+ */
+ List<ConfigurationListener> getListeners();
+
+ /**
+ * Called when the configuration has been modified.
+ * @param source The location of the configuration that was modified.
+ */
+ void modified();
+
+ /**
+ * Periodically called to determine if the configuration has been modified.
+ * @return true if the configuration was modified, false otherwise.
+ */
+ boolean isModified();
+
+ /**
+ * Returns the time the source was last modified or 0 if it is not available.
+ * @return the time the soruce was last modified.
+ */
+ long getLastModified();
+
+ /**
+ * Called when the Watcher is registered.
+ * @param source the Source that is being watched.
+ */
+ void watching(Source source);
+
+ /**
+ * Returns the Source being monitored.
+ * @return the Source.
+ */
+ Source getSource();
+
+ /**
+ * Creates a new Watcher by copying the original and using the new Reconfigurable and listeners.
+ * @param reconfigurable The Reconfigurable.
+ * @param listeners the listeners.
+ * @param lastModifiedMillis The time the resource was last modified in milliseconds.
+ * @return A new Watcher.
+ */
+ Watcher newWatcher(Reconfigurable reconfigurable, List<ConfigurationListener> listeners, long lastModifiedMillis);
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java
new file mode 100644
index 0000000..ab9e86c
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java
@@ -0,0 +1,89 @@
+/*
+ * Copyright (c) 2019 Nextiva, Inc. to Present.
+ * All rights reserved.
+ */
+package org.apache.logging.log4j.core.util;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.Objects;
+
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.core.config.Configuration;
+import org.apache.logging.log4j.core.config.ConfigurationFileWatcher;
+import org.apache.logging.log4j.core.config.ConfigurationListener;
+import org.apache.logging.log4j.core.config.Reconfigurable;
+import org.apache.logging.log4j.core.config.plugins.util.PluginManager;
+import org.apache.logging.log4j.core.config.plugins.util.PluginType;
+import org.apache.logging.log4j.status.StatusLogger;
+
+/**
+ * Creates Watchers of various types.
+ */
+public class WatcherFactory {
+
+ private static Logger LOGGER = StatusLogger.getLogger();
+ private static PluginManager pluginManager = new PluginManager(Watcher.CATEGORY);
+
+ private static volatile WatcherFactory factory = null;
+
+ private final Map<String, PluginType<?>> plugins;
+
+ private WatcherFactory(List<String> packages) {
+ pluginManager.collectPlugins(packages);
+ plugins = pluginManager.getPlugins();
+ }
+
+ public static WatcherFactory getInstance(List<String> packages) {
+ if (factory == null) {
+ synchronized(pluginManager) {
+ if (factory == null) {
+ factory = new WatcherFactory(packages);
+ }
+ }
+ }
+ return factory;
+ }
+
+ @SuppressWarnings("unchecked")
+ public Watcher newWatcher(Source source, final Configuration configuration, final Reconfigurable reconfigurable,
+ final List<ConfigurationListener> configurationListeners, long lastModifiedMillis) {
+ if (source.getFile() != null) {
+ return new ConfigurationFileWatcher(configuration, reconfigurable, configurationListeners,
+ lastModifiedMillis);
+ } else {
+ String name = source.getURI().getScheme();
+ PluginType<?> pluginType = plugins.get(name);
+ if (pluginType != null) {
+ return instantiate(name, (Class<? extends Watcher>) pluginType.getPluginClass(),
+ configuration, reconfigurable, configurationListeners, lastModifiedMillis);
+ }
+ LOGGER.info("No Watcher plugin is available for protocol '{}'", name);
+ return null;
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ public static <T extends Watcher> T instantiate(String name, final Class<T> clazz, final Configuration configuration,
+ final Reconfigurable reconfigurable, final List<ConfigurationListener> listeners, long lastModifiedMillis) {
+ Objects.requireNonNull(clazz, "No class provided");
+ try {
+ Constructor constructor = clazz.getConstructor(Configuration.class, Reconfigurable.class, List.class, long.class);
+ return (T) constructor.newInstance(configuration, reconfigurable, listeners, lastModifiedMillis);
+ } catch (NoSuchMethodException ex) {
+ throw new IllegalArgumentException("No valid constructor for Watcher plugin " + name, ex);
+ } catch (final LinkageError | InstantiationException e) {
+ // LOG4J2-1051
+ // On platforms like Google App Engine and Android, some JRE classes are not supported: JMX, JNDI, etc.
+ throw new IllegalArgumentException(e);
+ } catch (final IllegalAccessException e) {
+ throw new IllegalStateException(e);
+ } catch (final InvocationTargetException e) {
+ Throwables.rethrow(e.getCause());
+ throw new InternalError("Unreachable");
+ }
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java
new file mode 100644
index 0000000..ffab8bb
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright (c) 2019 Nextiva, Inc. to Present.
+ * All rights reserved.
+ */
+package org.apache.logging.log4j.core.util;
+
+import java.io.File;
+import java.util.Collections;
+import java.util.List;
+
+import org.apache.logging.log4j.core.config.Configuration;
+import org.apache.logging.log4j.core.config.ConfigurationListener;
+import org.apache.logging.log4j.core.config.Reconfigurable;
+
+/**
+ *
+ */
+public class WrappedFileWatcher extends AbstractWatcher implements FileWatcher {
+
+ private final FileWatcher watcher;
+ private volatile long lastModifiedMillis;
+
+ public WrappedFileWatcher(FileWatcher watcher, final Configuration configuration,
+ final Reconfigurable reconfigurable, final List<ConfigurationListener> configurationListeners,
+ final long lastModifiedMillis) {
+ super(configuration, reconfigurable, configurationListeners);
+ this.watcher = watcher;
+ this.lastModifiedMillis = lastModifiedMillis;
+ }
+
+
+ public WrappedFileWatcher(FileWatcher watcher) {
+ super(null, null, null);
+ this.watcher = watcher;
+ }
+
+ public long getLastModified() {
+ return lastModifiedMillis;
+ }
+
+ @Override
+ public void fileModified(File file) {
+ watcher.fileModified(file);
+ }
+
+ @Override
+ public boolean isModified() {
+ long lastModified = getSource().getFile().lastModified();
+ if (lastModifiedMillis != lastModified) {
+ lastModifiedMillis = lastModified;
+ return true;
+ }
+ return false;
+ }
+
+ @Override
+ public List<ConfigurationListener> getListeners() {
+ if (super.getListeners() != null) {
+ return Collections.unmodifiableList(super.getListeners());
+ } else {
+ return null;
+ }
+ }
+
+ @Override
+ public void modified() {
+ if (getListeners() != null) {
+ super.modified();
+ }
+ fileModified(getSource().getFile());
+ lastModifiedMillis = getSource().getFile().lastModified();
+ }
+
+ @Override
+ public void watching(Source source) {
+ lastModifiedMillis = source.getFile().lastModified();
+ super.watching(source);
+ }
+
+ @Override
+ public Watcher newWatcher(final Reconfigurable reconfigurable, final List<ConfigurationListener> listeners,
+ long lastModifiedMillis) {
+ WrappedFileWatcher watcher = new WrappedFileWatcher(this.watcher, getConfiguration(), reconfigurable, listeners,
+ lastModifiedMillis);
+ if (getSource() != null) {
+ watcher.watching(getSource());
+ }
+ return watcher;
+ }
+}
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java
new file mode 100644
index 0000000..f9b5abf
--- /dev/null
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java
@@ -0,0 +1,175 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.util;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.List;
+import java.util.Queue;
+import java.util.TimeZone;
+import java.util.concurrent.BlockingQueue;
+import java.util.concurrent.LinkedBlockingQueue;
+import java.util.concurrent.TimeUnit;
+
+import org.apache.logging.log4j.core.config.Configuration;
+import org.apache.logging.log4j.core.config.ConfigurationListener;
+import org.apache.logging.log4j.core.config.ConfigurationScheduler;
+import org.apache.logging.log4j.core.config.DefaultConfiguration;
+import org.apache.logging.log4j.core.config.HttpWatcher;
+import org.apache.logging.log4j.core.config.Reconfigurable;
+import org.apache.logging.log4j.core.net.ssl.TestConstants;
+import org.apache.logging.log4j.core.util.datetime.FastDateFormat;
+import org.apache.logging.log4j.util.PropertiesUtil;
+import org.junit.After;
+import org.junit.Assume;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Rule;
+import org.junit.Test;
+
+import com.github.tomakehurst.wiremock.junit.WireMockRule;
+import com.github.tomakehurst.wiremock.stubbing.StubMapping;
+
+import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
+import static com.github.tomakehurst.wiremock.client.WireMock.get;
+import static com.github.tomakehurst.wiremock.client.WireMock.removeStub;
+import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
+import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
+import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
+
+/**
+ * Test the WatchManager
+ */
+public class WatchHttpTest {
+
+ private static final String FORCE_RUN_KEY = WatchHttpTest.class.getSimpleName() + ".forceRun";
+ private final String file = "log4j-test1.xml";
+ private static FastDateFormat formatter;
+ private static final String XML = "application/xml";
+
+ private static final boolean IS_WINDOWS = PropertiesUtil.getProperties().isOsWindows();
+
+ @BeforeClass
+ public static void beforeClass() {
+ try {
+ formatter = FastDateFormat.getInstance("EEE, dd MMM yyyy HH:mm:ss", TimeZone.getTimeZone("UTC"));
+ } catch (Exception ex) {
+ System.err.println("Unable to create date format.");
+ ex.printStackTrace();
+ throw ex;
+ }
+ }
+
+ @Rule
+ public WireMockRule wireMockRule = new WireMockRule(wireMockConfig().dynamicPort().dynamicHttpsPort()
+ .keystorePath(TestConstants.KEYSTORE_FILE)
+ .keystorePassword(String.valueOf(TestConstants.KEYSTORE_PWD()))
+ .keystoreType(TestConstants.KEYSTORE_TYPE));
+
+ @Test
+ public void testWatchManager() throws Exception {
+ BlockingQueue<String> queue = new LinkedBlockingQueue<>();
+ List<ConfigurationListener> listeners = new ArrayList<>();
+ listeners.add(new TestConfigurationListener(queue, "log4j-test1.xml"));
+ TimeZone timeZone = TimeZone.getTimeZone("UTC");
+ Calendar now = Calendar.getInstance(timeZone);
+ Calendar previous = now;
+ previous.add(Calendar.MINUTE, -5);
+ Configuration configuration = new DefaultConfiguration();
+ Assume.assumeTrue(!IS_WINDOWS || Boolean.getBoolean(FORCE_RUN_KEY));
+ URL url = new URL("http://localhost:" + wireMockRule.port() + "/log4j-test1.xml");
+ StubMapping stubMapping = stubFor(get(urlPathEqualTo("/log4j-test1.xml"))
+ .willReturn(aResponse()
+ .withBodyFile(file)
+ .withStatus(200)
+ .withHeader("Last-Modified", formatter.format(previous) + " GMT")
+ .withHeader("Content-Type", XML)));
+ final ConfigurationScheduler scheduler = new ConfigurationScheduler();
+ scheduler.incrementScheduledItems();
+ final WatchManager watchManager = new WatchManager(scheduler);
+ watchManager.setIntervalSeconds(1);
+ scheduler.start();
+ watchManager.start();
+ try {
+ watchManager.watch(new Source(url.toURI(), previous.getTimeInMillis()), new HttpWatcher(configuration, null,
+ listeners, previous.getTimeInMillis()));
+ Thread.sleep(1500);
+ final String str = queue.poll(1, TimeUnit.SECONDS);
+ assertNotNull("File change not detected", str);
+ } finally {
+ removeStub(stubMapping);
+ watchManager.stop();
+ scheduler.stop();
+ }
+ }
+
+ @Test
+ public void testNotModified() throws Exception {
+ BlockingQueue<String> queue = new LinkedBlockingQueue<>();
+ List<ConfigurationListener> listeners = new ArrayList<>();
+ listeners.add(new TestConfigurationListener(queue, "log4j-test2.xml"));
+ TimeZone timeZone = TimeZone.getTimeZone("UTC");
+ Calendar now = Calendar.getInstance(timeZone);
+ Calendar previous = now;
+ previous.add(Calendar.MINUTE, -5);
+ Configuration configuration = new DefaultConfiguration();
+ Assume.assumeTrue(!IS_WINDOWS || Boolean.getBoolean(FORCE_RUN_KEY));
+ URL url = new URL("http://localhost:" + wireMockRule.port() + "/log4j-test2.xml");
+ StubMapping stubMapping = stubFor(get(urlPathEqualTo("/log4j-test2.xml"))
+ .willReturn(aResponse()
+ .withBodyFile(file)
+ .withStatus(304)
+ .withHeader("Last-Modified", formatter.format(now) + " GMT")
+ .withHeader("Content-Type", XML)));
+ final ConfigurationScheduler scheduler = new ConfigurationScheduler();
+ scheduler.incrementScheduledItems();
+ final WatchManager watchManager = new WatchManager(scheduler);
+ watchManager.setIntervalSeconds(1);
+ scheduler.start();
+ watchManager.start();
+ try {
+ watchManager.watch(new Source(url.toURI(), previous.getTimeInMillis()), new HttpWatcher(configuration, null,
+ listeners, previous.getTimeInMillis()));
+ Thread.sleep(1500);
+ final String str = queue.poll(1, TimeUnit.SECONDS);
+ assertNull("File changed.", str);
+ } finally {
+ removeStub(stubMapping);
+ watchManager.stop();
+ scheduler.stop();
+ }
+ }
+
+ private class TestConfigurationListener implements ConfigurationListener {
+ private final Queue<String> queue;
+ private final String name;
+
+ public TestConfigurationListener(final Queue<String> queue, String name) {
+ this.queue = queue;
+ this.name = name;
+ }
+
+ @Override
+ public void onChange(Reconfigurable reconfigurable) {
+ //System.out.println("Reconfiguration detected for " + name);
+ queue.add(name);
+ }
+ }
+}
diff --git a/log4j-core/src/test/resources/__files/log4j-test1.xml b/log4j-core/src/test/resources/__files/log4j-test1.xml
new file mode 100644
index 0000000..3598aec
--- /dev/null
+++ b/log4j-core/src/test/resources/__files/log4j-test1.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<Configuration status="OFF" name="XMLConfigTest">
+ <Properties>
+ <Property name="filename">target/test-xml.log</Property>
+ </Properties>
+ <ThresholdFilter level="debug"/>
+
+ <Appenders>
+ <Console name="STDOUT">
+ <PatternLayout pattern="%m%n"/>
+ </Console>
+ <File name="File" fileName="${filename}" bufferedIO="false">
+ <PatternLayout>
+ <Pattern>%d %p %C{1.} [%t] %m%n</Pattern>
+ </PatternLayout>
+ </File>
+ <List name="List">
+ <Filters>
+ <ThresholdFilter level="error"/>
+ </Filters>
+ </List>
+ </Appenders>
+
+ <Loggers>
+ <Logger name="org.apache.logging.log4j.test1" level="debug" additivity="false">
+ <ThreadContextMapFilter>
+ <KeyValuePair key="test" value="123"/>
+ </ThreadContextMapFilter>
+ <AppenderRef ref="STDOUT"/>
+ </Logger>
+
+ <Logger name="org.apache.logging.log4j.test2" level="debug" additivity="false">
+ <AppenderRef ref="File"/>
+ </Logger>
+
+ <Root level="error">
+ <AppenderRef ref="STDOUT"/>
+ </Root>
+ </Loggers>
+
+</Configuration>
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
new file mode 100644
index 0000000..8799078
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config</artifactId>
+ <version>2.11.2-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+ <artifactId>log4j-spring-cloud-config-client</artifactId>
+ <packaging>jar</packaging>
+ <name>Apache Log4j Spring Cloud Config Client Support</name>
+ <description></description>
+ <properties>
+ <log4jParentDir>${basedir}/..</log4jParentDir>
+ <docLabel>Log4j Spring Cloud Config Client Documentation</docLabel>
+ <projectDir>/log4j-spring-cloud-config-client</projectDir>
+ <module.name>org.apache.logging.log4j.spring.cloud.config.client</module.name>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <!-- Include the standard NOTICE and LICENSE -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>org.apache.logging.log4j.spring.cloud.config.controller</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>${changes.plugin.version}</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${checkstyle.plugin.version}</version>
+ <configuration>
+ <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
+ <configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
+ <suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=${basedir}</propertyExpansion>
+ <propertyExpansion>licensedir=${log4jParentDir}/checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${javadoc.plugin.version}</version>
+ <configuration>
+ <bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p>]]></bottom>
+ <!-- module link generation is completely broken in the javadoc plugin for a multi-module non-aggregating
+ project -->
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.plugin.version}</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>${log4jParentDir}/findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>${jxr.plugin.version}</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.plugin.version}</version>
+ <configuration>
+ <targetJdk>${maven.compiler.target}</targetJdk>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java
new file mode 100644
index 0000000..05b02f9
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java
@@ -0,0 +1,127 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.client;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.net.URLConnection;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Properties;
+import javax.net.ssl.HttpsURLConnection;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.core.LoggerContext;
+import org.apache.logging.log4j.core.config.ConfigurationFactory;
+import org.apache.logging.log4j.core.config.ConfigurationSource;
+import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
+import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
+import org.apache.logging.log4j.core.util.FileUtils;
+import org.apache.logging.log4j.status.StatusLogger;
+import org.apache.logging.log4j.util.PropertiesUtil;
+import org.springframework.boot.logging.LogFile;
+import org.springframework.boot.logging.LoggingInitializationContext;
+import org.springframework.boot.logging.log4j2.Log4J2LoggingSystem;
+import org.springframework.core.io.ClassPathResource;
+import org.springframework.util.Assert;
+import org.springframework.util.ClassUtils;
+import org.springframework.util.ResourceUtils;
+
+/**
+ *
+ */
+public class Log4j2CloudConfigLoggingSystem extends Log4J2LoggingSystem {
+ private static final String FILE_PROTOCOL = "file";
+ private static final String HTTPS = "https";
+ private Logger LOGGER = StatusLogger.getLogger();
+
+ public Log4j2CloudConfigLoggingSystem(ClassLoader loader) {
+ super(loader);
+ }
+
+ @Override
+ protected String[] getStandardConfigLocations() {
+ String[] locations = super.getStandardConfigLocations();
+ PropertiesUtil props = new PropertiesUtil(new Properties());
+ String location = props.getStringProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
+ if (location != null) {
+ List<String> list = Arrays.asList(super.getStandardConfigLocations());
+ list.add(location);
+ locations = list.toArray(new String[list.size()]);
+ }
+ return locations;
+ }
+
+ @Override
+ protected void loadDefaults(LoggingInitializationContext initializationContext, LogFile logFile) {
+ if (logFile != null) {
+ this.loadConfiguration(this.getBootPackagedConfigFile("log4j2-file.xml"), logFile);
+ } else {
+ this.loadConfiguration(this.getBootPackagedConfigFile("log4j2.xml"), logFile);
+ }
+ }
+
+ private String getBootPackagedConfigFile(String fileName) {
+ String defaultPath = ClassUtils.getPackageName(Log4J2LoggingSystem.class);
+ defaultPath = defaultPath.replace('.', '/');
+ defaultPath = defaultPath + "/" + fileName;
+ defaultPath = "classpath:" + defaultPath;
+ return defaultPath;
+ }
+
+ @Override
+ protected void loadConfiguration(String location, LogFile logFile) {
+ Assert.notNull(location, "Location must not be null");
+ try {
+ LoggerContext ctx = getLoggerContext();
+ URL url = ResourceUtils.getURL(location);
+ ConfigurationSource source = getConfigurationSource(url);
+ ctx.start(ConfigurationFactory.getInstance().getConfiguration(ctx, source));
+ }
+ catch (Exception ex) {
+ throw new IllegalStateException(
+ "Could not initialize Log4J2 logging from " + location, ex);
+ }
+ }
+
+ private ConfigurationSource getConfigurationSource(URL url) throws IOException, URISyntaxException {
+ URLConnection urlConnection = url.openConnection();
+ if (url.getProtocol().equals(HTTPS)) {
+ SslConfiguration sslConfiguration = SslConfigurationFactory.getSslConfiguration();
+ if (sslConfiguration != null) {
+ ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
+ if (!sslConfiguration.isVerifyHostName()) {
+ ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
+ }
+ }
+ }
+ File file = FileUtils.fileFromUri(url.toURI());
+ if (file != null) {
+ return new ConfigurationSource(urlConnection.getInputStream(), FileUtils.fileFromUri(url.toURI()));
+ } else {
+ return new ConfigurationSource(urlConnection.getInputStream(), url, urlConnection.getLastModified());
+ }
+ }
+
+ private LoggerContext getLoggerContext() {
+ return (LoggerContext) LogManager.getContext(false);
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/log4j2.system.properties b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/log4j2.system.properties
new file mode 100644
index 0000000..918a074
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/resources/log4j2.system.properties
@@ -0,0 +1 @@
+org.springframework.boot.logging.LoggingSystem=org.apache.logging.log4j.spring.cloud.config.client.Log4j2CloudConfigLoggingSystem
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml
new file mode 100644
index 0000000..6a31ce6
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml
@@ -0,0 +1,205 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config</artifactId>
+ <version>2.11.2-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+ <artifactId>log4j-spring-cloud-config-server</artifactId>
+ <packaging>jar</packaging>
+ <name>Apache Log4j Spring Cloud Config Server Support</name>
+ <description></description>
+ <properties>
+ <log4jParentDir>${basedir}/..</log4jParentDir>
+ <docLabel>Log4j Spring Cloud Config Server Documentation</docLabel>
+ <projectDir>/log4j-spring-cloud-config-server</projectDir>
+ <module.name>org.apache.logging.log4j.spring.cloud.config.controller</module.name>
+ <log4j.version>2.11.2-SNAPSHOT</log4j.version>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-server</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <!-- Include the standard NOTICE and LICENSE -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>org.apache.logging.log4j.spring.cloud.config.controller</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>${changes.plugin.version}</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${checkstyle.plugin.version}</version>
+ <configuration>
+ <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
+ <configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
+ <suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=${basedir}</propertyExpansion>
+ <propertyExpansion>licensedir=${log4jParentDir}/checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${javadoc.plugin.version}</version>
+ <configuration>
+ <bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p>]]></bottom>
+ <!-- module link generation is completely broken in the javadoc plugin for a multi-module non-aggregating
+ project -->
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.plugin.version}</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>${log4jParentDir}/findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>${jxr.plugin.version}</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.plugin.version}</version>
+ <configuration>
+ <targetJdk>${maven.compiler.target}</targetJdk>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java
new file mode 100644
index 0000000..e6bdd66
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java
@@ -0,0 +1,200 @@
+/*
+ * Copyright 2015-2016 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.logging.log4j.spring.cloud.config.server.controller;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.nio.charset.Charset;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.cloud.config.environment.Environment;
+import org.springframework.cloud.config.server.environment.EnvironmentRepository;
+import org.springframework.cloud.config.server.resource.NoSuchResourceException;
+import org.springframework.cloud.config.server.resource.ResourceRepository;
+import org.springframework.core.io.Resource;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.MediaType;
+import org.springframework.util.StreamUtils;
+import org.springframework.web.bind.annotation.ExceptionHandler;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.ResponseStatus;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.context.request.ServletWebRequest;
+import org.springframework.web.util.UrlPathHelper;
+
+import static org.springframework.cloud.config.server.support.EnvironmentPropertySource.prepareEnvironment;
+import static org.springframework.cloud.config.server.support.EnvironmentPropertySource.resolvePlaceholders;
+
+/**
+ * Modified version of Spring Cloud Config's ResourceController to support If-Modified-Since.
+ * Should be dropeed when Spring implements this.
+ *
+ * An HTTP endpoint for serving up templated plain text resources from an underlying
+ * repository. Can be used to supply config files for consumption by a wide variety of
+ * applications and services. A {@link ResourceRepository} is used to locate a
+ * {@link Resource}, specific to an application, and the contents are transformed to text.
+ * Then an {@link EnvironmentRepository} is used to supply key-value pairs which are used
+ * to replace placeholders in the resource text.
+ *
+ * @author Dave Syer
+ * @author Daniel Lavoie
+ *
+ */
+@RestController
+@RequestMapping(method = RequestMethod.GET, path = "${spring.cloud.config.server.prefix:}/resource")
+public class Log4jResourceController {
+
+ @Autowired
+ private ResourceRepository resourceRepository;
+
+ @Autowired
+ private EnvironmentRepository environmentRepository;
+
+ private UrlPathHelper helper = new UrlPathHelper();
+
+ public Log4jResourceController(ResourceRepository resourceRepository,
+ EnvironmentRepository environmentRepository) {
+ this.resourceRepository = resourceRepository;
+ this.environmentRepository = environmentRepository;
+ this.helper.setAlwaysUseFullPath(true);
+ }
+
+ @RequestMapping("/{name}/{profile}/{label}/**")
+ public String retrieve(@PathVariable String name, @PathVariable String profile,
+ @PathVariable String label, ServletWebRequest request,
+ @RequestParam(defaultValue = "true") boolean resolvePlaceholders)
+ throws IOException {
+ String path = getFilePath(request, name, profile, label);
+ return retrieve(request, name, profile, label, path, resolvePlaceholders);
+ }
+
+ @RequestMapping(value = "/{name}/{profile}/**", params = "useDefaultLabel")
+ public String retrieve(@PathVariable String name, @PathVariable String profile,
+ ServletWebRequest request, @RequestParam(defaultValue = "true") boolean resolvePlaceholders)
+ throws IOException {
+ String path = getFilePath(request, name, profile, null);
+ return retrieve(request, name, profile, null, path, resolvePlaceholders);
+ }
+
+ private String getFilePath(ServletWebRequest request, String name, String profile,
+ String label) {
+ String stem;
+ if(label != null ) {
+ stem = String.format("/%s/%s/%s/", name, profile, label);
+ }else {
+ stem = String.format("/%s/%s/", name, profile);
+ }
+ String path = this.helper.getPathWithinApplication(request.getRequest());
+ path = path.substring(path.indexOf(stem) + stem.length());
+ return path;
+ }
+
+ private synchronized String retrieve(ServletWebRequest request, String name, String profile, String label,
+ String path, boolean resolvePlaceholders) throws IOException {
+ name = resolveName(name);
+ label = resolveLabel(label);
+ Resource resource = this.resourceRepository.findOne(name, profile, label, path);
+ if (checkNotModified(request, resource)) {
+ // Content was not modified. Just return.
+ return null;
+ }
+ // ensure InputStream will be closed to prevent file locks on Windows
+ try (InputStream is = resource.getInputStream()) {
+ String text = StreamUtils.copyToString(is, Charset.forName("UTF-8"));
+ if (resolvePlaceholders) {
+ Environment environment = this.environmentRepository.findOne(name, profile, label);
+ text = resolvePlaceholders(prepareEnvironment(environment), text);
+ }
+ return text;
+ }
+ }
+
+ /*
+ * Used only for unit tests.
+ */
+ String retrieve(String name, String profile, String label, String path,
+ boolean resolvePlaceholders) throws IOException {
+ return retrieve(null, name, profile, label, path, resolvePlaceholders);
+ }
+
+ @RequestMapping(value = "/{name}/{profile}/{label}/**", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
+ public synchronized byte[] binary(@PathVariable String name,
+ @PathVariable String profile, @PathVariable String label,
+ ServletWebRequest request) throws IOException {
+ String path = getFilePath(request, name, profile, label);
+ return binary(request, name, profile, label, path);
+ }
+
+ /*
+ * Used only for unit tests.
+ */
+ byte[] binary(String name, String profile, String label, String path) throws IOException {
+ return binary(null, name, profile, label, path);
+ }
+
+ private synchronized byte[] binary(ServletWebRequest request, String name, String profile, String label,
+ String path) throws IOException {
+ name = resolveName(name);
+ label = resolveLabel(label);
+ Resource resource = this.resourceRepository.findOne(name, profile, label, path);
+ if (checkNotModified(request, resource)) {
+ // Content was not modified. Just return.
+ return null;
+ }
+ // TODO: is this line needed for side effects?
+ prepareEnvironment(this.environmentRepository.findOne(name, profile, label));
+ try (InputStream is = resource.getInputStream()) {
+ return StreamUtils.copyToByteArray(is);
+ }
+ }
+
+ private boolean checkNotModified(ServletWebRequest request, Resource resource) {
+ try {
+ return request != null && request.checkNotModified(resource.lastModified());
+ } catch (Exception ex) {
+ // Ignore the exception since caching is optional.
+ }
+ return false;
+ }
+
+ private String resolveName(String name) {
+ if (name != null && name.contains("(_)")) {
+ // "(_)" is uncommon in a git repo name, but "/" cannot be matched
+ // by Spring MVC
+ name = name.replace("(_)", "/");
+ }
+ return name;
+ }
+
+ private String resolveLabel(String label) {
+ if (label != null && label.contains("(_)")) {
+ // "(_)" is uncommon in a git branch name, but "/" cannot be matched
+ // by Spring MVC
+ label = label.replace("(_)", "/");
+ }
+ return label;
+ }
+
+ @ExceptionHandler(NoSuchResourceException.class)
+ @ResponseStatus(HttpStatus.NOT_FOUND)
+ public void notFound(NoSuchResourceException e) {
+ }
+
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/resources/META-INF/spring.factories b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..dadd13c
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/resources/META-INF/spring.factories
@@ -0,0 +1 @@
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=org.apache.logging.log4j.spring.cloud.config.server.controller.Log4jResourceController
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/pom.xml b/log4j-spring-cloud-config/pom.xml
new file mode 100644
index 0000000..a736e86
--- /dev/null
+++ b/log4j-spring-cloud-config/pom.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>2.11.2-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache Log4j Spring Cloud Config Support</name>
+ <url>http://maven.apache.org</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <revapi.skip>true</revapi.skip>
+ <spring-cloud-config.version>2.0.3.BUILD-SNAPSHOT</spring-cloud-config.version>
+ <spring-boot.version>2.1.1.RELEASE</spring-boot.version>
+ <spring.version>5.0.5.RELEASE</spring.version>
+ </properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-dependencies</artifactId>
+ <version>${spring-cloud-config.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot</artifactId>
+ <version>${spring-boot.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.12</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <modules>
+ <module>log4j-spring-cloud-config-server</module>
+ <module>log4j-spring-cloud-config-client</module>
+ </modules>
+ <build>
+ <plugins>
+ <!-- Include the standard NOTICE and LICENSE -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/pom.xml b/pom.xml
index df33a12..5333bb2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1375,6 +1375,7 @@
<module>log4j-liquibase</module>
<module>log4j-appserver</module>
<module>log4j-osgi</module>
+ <module>log4j-spring-cloud-config</module>
</modules>
<profiles>
<profile>
[logging-log4j2] 02/08: LOG4J2-1906 - Delay file name resolution
closer to when the stream is opened
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit c917c407e30843467bb6482d05d4933e71c66f07
Author: rgoers <ra...@dslextreme.com>
AuthorDate: Tue Jan 29 06:25:10 2019 -0700
LOG4J2-1906 - Delay file name resolution closer to when the stream is opened
---
log4j-core/revapi.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-core/revapi.json b/log4j-core/revapi.json
index 3c12553..01c0e69 100644
--- a/log4j-core/revapi.json
+++ b/log4j-core/revapi.json
@@ -379,4 +379,4 @@
}
]
}
-]
+]
\ No newline at end of file
[logging-log4j2] 07/08: LOG4J2-913 - Code review changes
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 3db5e4b3a670337447820a1fa80a41967d0b6ae4
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Mon Feb 4 15:48:45 2019 -0700
LOG4J2-913 - Code review changes
---
.../logging/log4j/core/config/HttpWatcher.java | 28 ++--
.../core/net/ssl/SslConfigurationFactory.java | 22 +++-
.../apache/logging/log4j/core/util/Watcher.java | 4 +-
.../logging/log4j/core/util/WatcherFactory.java | 34 +++--
.../log4j/core/util/WrappedFileWatcher.java | 16 ++-
.../logging/log4j/core/util/WatchHttpTest.java | 6 +-
log4j-core/src/test/resources/logback-test.xml | 31 +++++
.../server/controller/Log4jResourceController.java | 142 ++++++++++-----------
8 files changed, 175 insertions(+), 108 deletions(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
index 6072168..8a2f189 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
@@ -1,6 +1,18 @@
/*
- * Copyright (c) 2019 Nextiva, Inc. to Present.
- * All rights reserved.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
*/
package org.apache.logging.log4j.core.config;
@@ -11,8 +23,6 @@ import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
-import java.util.Properties;
-
import javax.net.ssl.HttpsURLConnection;
import org.apache.logging.log4j.Logger;
@@ -25,7 +35,6 @@ import org.apache.logging.log4j.core.util.AbstractWatcher;
import org.apache.logging.log4j.core.util.Source;
import org.apache.logging.log4j.core.util.Watcher;
import org.apache.logging.log4j.status.StatusLogger;
-import org.apache.logging.log4j.util.PropertiesUtil;
/**
*
@@ -72,8 +81,8 @@ public class HttpWatcher extends AbstractWatcher {
@Override
public void watching(Source source) {
if (!source.getURI().getScheme().equals(HTTP) && !source.getURI().getScheme().equals(HTTPS)) {
- throw new IllegalArgumentException("HttpWatcher requires a url using the HTTP or HTTPS protocol, not " +
- source.getURI().getScheme());
+ throw new IllegalArgumentException(
+ "HttpWatcher requires a url using the HTTP or HTTPS protocol, not " + source.getURI().getScheme());
}
try {
url = source.getURI().toURL();
@@ -136,15 +145,14 @@ public class HttpWatcher extends AbstractWatcher {
return true;
} catch (final IOException e) {
try (InputStream es = urlConnection.getErrorStream()) {
- LOGGER.info("Error accessing configuration at {}: {}", url,
- readStream(es));
+ LOGGER.info("Error accessing configuration at {}: {}", url, readStream(es));
} catch (final IOException ioe) {
LOGGER.error("Error accessing configuration at {}: {}", url, e.getMessage());
}
return false;
}
}
- default : {
+ default: {
if (code < 0) {
LOGGER.info("Invalid response code returned");
} else {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java
index e3cc4d3..d0a517d 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/SslConfigurationFactory.java
@@ -1,6 +1,18 @@
/*
- * Copyright (c) 2019 Nextiva, Inc. to Present.
- * All rights reserved.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
*/
package org.apache.logging.log4j.core.net.ssl;
@@ -23,9 +35,9 @@ public class SslConfigurationFactory {
private static final String trustStoreKeyStoreType = "log4j2.trustStore.keyStoreType";
private static final String trustStoreKeyManagerFactoryAlgorithm = "log4j2.trustStore.keyManagerFactoryAlgorithm";
private static final String keyStoreLocation = "log4j2.keyStore.location";
- private static final String keyStorePassword = "log4j2.keyStorePassword";
- private static final String keyStorePasswordFile = "log4j2.keyStorePasswordFile";
- private static final String keyStorePasswordEnvVar = "log4j2.keyStorePasswordEnvironmentVariable";
+ private static final String keyStorePassword = "log4j2.keyStore.password";
+ private static final String keyStorePasswordFile = "log4j2.keyStore.passwordFile";
+ private static final String keyStorePasswordEnvVar = "log4j2.keyStore.passwordEnvironmentVariable";
private static final String keyStoreType = "log4j2.keyStore.type";
private static final String keyStoreKeyManagerFactoryAlgorithm = "log4j2.keyStore.keyManagerFactoryAlgorithm";
private static final String verifyHostName = "log4j2.ssl.verifyHostName";
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
index c2be48d..426307f 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/Watcher.java
@@ -29,8 +29,8 @@ import org.apache.logging.log4j.core.config.Reconfigurable;
*/
public interface Watcher {
- public static final String CATEGORY = "Watcher";
- public static final String ELEMENT_TYPE = "watcher";
+ String CATEGORY = "Watcher";
+ String ELEMENT_TYPE = "watcher";
/**
* Returns the list of listeners for this configuration.
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java
index ab9e86c..7671353 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WatcherFactory.java
@@ -1,12 +1,23 @@
/*
- * Copyright (c) 2019 Nextiva, Inc. to Present.
- * All rights reserved.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
*/
package org.apache.logging.log4j.core.util;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@@ -39,7 +50,7 @@ public class WatcherFactory {
public static WatcherFactory getInstance(List<String> packages) {
if (factory == null) {
- synchronized(pluginManager) {
+ synchronized (pluginManager) {
if (factory == null) {
factory = new WatcherFactory(packages);
}
@@ -58,21 +69,22 @@ public class WatcherFactory {
String name = source.getURI().getScheme();
PluginType<?> pluginType = plugins.get(name);
if (pluginType != null) {
- return instantiate(name, (Class<? extends Watcher>) pluginType.getPluginClass(),
- configuration, reconfigurable, configurationListeners, lastModifiedMillis);
+ return instantiate(name, (Class<? extends Watcher>) pluginType.getPluginClass(), configuration,
+ reconfigurable, configurationListeners, lastModifiedMillis);
}
LOGGER.info("No Watcher plugin is available for protocol '{}'", name);
return null;
}
}
- @SuppressWarnings("unchecked")
- public static <T extends Watcher> T instantiate(String name, final Class<T> clazz, final Configuration configuration,
- final Reconfigurable reconfigurable, final List<ConfigurationListener> listeners, long lastModifiedMillis) {
+ public static <T extends Watcher> T instantiate(String name, final Class<T> clazz,
+ final Configuration configuration, final Reconfigurable reconfigurable,
+ final List<ConfigurationListener> listeners, long lastModifiedMillis) {
Objects.requireNonNull(clazz, "No class provided");
try {
- Constructor constructor = clazz.getConstructor(Configuration.class, Reconfigurable.class, List.class, long.class);
- return (T) constructor.newInstance(configuration, reconfigurable, listeners, lastModifiedMillis);
+ Constructor<T> constructor = clazz
+ .getConstructor(Configuration.class, Reconfigurable.class, List.class, long.class);
+ return constructor.newInstance(configuration, reconfigurable, listeners, lastModifiedMillis);
} catch (NoSuchMethodException ex) {
throw new IllegalArgumentException("No valid constructor for Watcher plugin " + name, ex);
} catch (final LinkageError | InstantiationException e) {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java
index ffab8bb..54933b2 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/WrappedFileWatcher.java
@@ -1,6 +1,18 @@
/*
- * Copyright (c) 2019 Nextiva, Inc. to Present.
- * All rights reserved.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
*/
package org.apache.logging.log4j.core.util;
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java
index f9b5abf..1b47cfd 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/WatchHttpTest.java
@@ -110,8 +110,7 @@ public class WatchHttpTest {
try {
watchManager.watch(new Source(url.toURI(), previous.getTimeInMillis()), new HttpWatcher(configuration, null,
listeners, previous.getTimeInMillis()));
- Thread.sleep(1500);
- final String str = queue.poll(1, TimeUnit.SECONDS);
+ final String str = queue.poll(2, TimeUnit.SECONDS);
assertNotNull("File change not detected", str);
} finally {
removeStub(stubMapping);
@@ -147,8 +146,7 @@ public class WatchHttpTest {
try {
watchManager.watch(new Source(url.toURI(), previous.getTimeInMillis()), new HttpWatcher(configuration, null,
listeners, previous.getTimeInMillis()));
- Thread.sleep(1500);
- final String str = queue.poll(1, TimeUnit.SECONDS);
+ final String str = queue.poll(2, TimeUnit.SECONDS);
assertNull("File changed.", str);
} finally {
removeStub(stubMapping);
diff --git a/log4j-core/src/test/resources/logback-test.xml b/log4j-core/src/test/resources/logback-test.xml
new file mode 100644
index 0000000..a7885c9
--- /dev/null
+++ b/log4j-core/src/test/resources/logback-test.xml
@@ -0,0 +1,31 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<configuration>
+ <appender name="TestLogfile" class="ch.qos.logback.core.FileAppender">
+ <file>target/testlogback.log</file>
+ <append>false</append>
+ <encoder>
+ <immediateFlush>false</immediateFlush>
+ <Pattern>%d %5p [%t] %c{0} %X{transactionId} - %m%n</Pattern>
+ </encoder>
+ </appender>
+
+ <root level="debug">
+ <appender-ref ref="TestLogfile" />
+ </root>
+</configuration>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java
index e6bdd66..dbfc198 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/server/controller/Log4jResourceController.java
@@ -18,7 +18,7 @@ package org.apache.logging.log4j.spring.cloud.config.server.controller;
import java.io.IOException;
import java.io.InputStream;
-import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.config.environment.Environment;
@@ -45,7 +45,7 @@ import static org.springframework.cloud.config.server.support.EnvironmentPropert
/**
* Modified version of Spring Cloud Config's ResourceController to support If-Modified-Since.
* Should be dropeed when Spring implements this.
- *
+ * <p>
* An HTTP endpoint for serving up templated plain text resources from an underlying
* repository. Can be used to supply config files for consumption by a wide variety of
* applications and services. A {@link ResourceRepository} is used to locate a
@@ -55,56 +55,51 @@ import static org.springframework.cloud.config.server.support.EnvironmentPropert
*
* @author Dave Syer
* @author Daniel Lavoie
- *
*/
@RestController
@RequestMapping(method = RequestMethod.GET, path = "${spring.cloud.config.server.prefix:}/resource")
public class Log4jResourceController {
@Autowired
- private ResourceRepository resourceRepository;
+ private ResourceRepository resourceRepository;
@Autowired
- private EnvironmentRepository environmentRepository;
-
- private UrlPathHelper helper = new UrlPathHelper();
-
- public Log4jResourceController(ResourceRepository resourceRepository,
- EnvironmentRepository environmentRepository) {
- this.resourceRepository = resourceRepository;
- this.environmentRepository = environmentRepository;
- this.helper.setAlwaysUseFullPath(true);
- }
-
- @RequestMapping("/{name}/{profile}/{label}/**")
- public String retrieve(@PathVariable String name, @PathVariable String profile,
- @PathVariable String label, ServletWebRequest request,
- @RequestParam(defaultValue = "true") boolean resolvePlaceholders)
- throws IOException {
- String path = getFilePath(request, name, profile, label);
- return retrieve(request, name, profile, label, path, resolvePlaceholders);
- }
-
- @RequestMapping(value = "/{name}/{profile}/**", params = "useDefaultLabel")
- public String retrieve(@PathVariable String name, @PathVariable String profile,
- ServletWebRequest request, @RequestParam(defaultValue = "true") boolean resolvePlaceholders)
- throws IOException {
- String path = getFilePath(request, name, profile, null);
- return retrieve(request, name, profile, null, path, resolvePlaceholders);
- }
-
- private String getFilePath(ServletWebRequest request, String name, String profile,
- String label) {
- String stem;
- if(label != null ) {
- stem = String.format("/%s/%s/%s/", name, profile, label);
- }else {
- stem = String.format("/%s/%s/", name, profile);
- }
- String path = this.helper.getPathWithinApplication(request.getRequest());
- path = path.substring(path.indexOf(stem) + stem.length());
- return path;
- }
+ private EnvironmentRepository environmentRepository;
+
+ private UrlPathHelper helper = new UrlPathHelper();
+
+ public Log4jResourceController(ResourceRepository resourceRepository, EnvironmentRepository environmentRepository) {
+ this.resourceRepository = resourceRepository;
+ this.environmentRepository = environmentRepository;
+ this.helper.setAlwaysUseFullPath(true);
+ }
+
+ @RequestMapping("/{name}/{profile}/{label}/**")
+ public String retrieve(@PathVariable String name, @PathVariable String profile, @PathVariable String label,
+ ServletWebRequest request, @RequestParam(defaultValue = "true") boolean resolvePlaceholders)
+ throws IOException {
+ String path = getFilePath(request, name, profile, label);
+ return retrieve(request, name, profile, label, path, resolvePlaceholders);
+ }
+
+ @RequestMapping(value = "/{name}/{profile}/**", params = "useDefaultLabel")
+ public String retrieve(@PathVariable String name, @PathVariable String profile, ServletWebRequest request,
+ @RequestParam(defaultValue = "true") boolean resolvePlaceholders) throws IOException {
+ String path = getFilePath(request, name, profile, null);
+ return retrieve(request, name, profile, null, path, resolvePlaceholders);
+ }
+
+ private String getFilePath(ServletWebRequest request, String name, String profile, String label) {
+ String stem;
+ if (label != null) {
+ stem = String.format("/%s/%s/%s/", name, profile, label);
+ } else {
+ stem = String.format("/%s/%s/", name, profile);
+ }
+ String path = this.helper.getPathWithinApplication(request.getRequest());
+ path = path.substring(path.indexOf(stem) + stem.length());
+ return path;
+ }
private synchronized String retrieve(ServletWebRequest request, String name, String profile, String label,
String path, boolean resolvePlaceholders) throws IOException {
@@ -117,7 +112,7 @@ public class Log4jResourceController {
}
// ensure InputStream will be closed to prevent file locks on Windows
try (InputStream is = resource.getInputStream()) {
- String text = StreamUtils.copyToString(is, Charset.forName("UTF-8"));
+ String text = StreamUtils.copyToString(is, StandardCharsets.UTF_8);
if (resolvePlaceholders) {
Environment environment = this.environmentRepository.findOne(name, profile, label);
text = resolvePlaceholders(prepareEnvironment(environment), text);
@@ -129,27 +124,26 @@ public class Log4jResourceController {
/*
* Used only for unit tests.
*/
- String retrieve(String name, String profile, String label, String path,
- boolean resolvePlaceholders) throws IOException {
- return retrieve(null, name, profile, label, path, resolvePlaceholders);
+ String retrieve(String name, String profile, String label, String path, boolean resolvePlaceholders)
+ throws IOException {
+ return retrieve(null, name, profile, label, path, resolvePlaceholders);
+ }
+
+ @RequestMapping(value = "/{name}/{profile}/{label}/**", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
+ public synchronized byte[] binary(@PathVariable String name, @PathVariable String profile,
+ @PathVariable String label, ServletWebRequest request) throws IOException {
+ String path = getFilePath(request, name, profile, label);
+ return binary(request, name, profile, label, path);
}
- @RequestMapping(value = "/{name}/{profile}/{label}/**", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
- public synchronized byte[] binary(@PathVariable String name,
- @PathVariable String profile, @PathVariable String label,
- ServletWebRequest request) throws IOException {
- String path = getFilePath(request, name, profile, label);
- return binary(request, name, profile, label, path);
- }
-
- /*
- * Used only for unit tests.
- */
- byte[] binary(String name, String profile, String label, String path) throws IOException {
+ /*
+ * Used only for unit tests.
+ */
+ byte[] binary(String name, String profile, String label, String path) throws IOException {
return binary(null, name, profile, label, path);
}
- private synchronized byte[] binary(ServletWebRequest request, String name, String profile, String label,
+ private synchronized byte[] binary(ServletWebRequest request, String name, String profile, String label,
String path) throws IOException {
name = resolveName(name);
label = resolveLabel(label);
@@ -158,14 +152,14 @@ public class Log4jResourceController {
// Content was not modified. Just return.
return null;
}
- // TODO: is this line needed for side effects?
- prepareEnvironment(this.environmentRepository.findOne(name, profile, label));
- try (InputStream is = resource.getInputStream()) {
- return StreamUtils.copyToByteArray(is);
- }
- }
-
- private boolean checkNotModified(ServletWebRequest request, Resource resource) {
+ // TODO: is this line needed for side effects?
+ prepareEnvironment(this.environmentRepository.findOne(name, profile, label));
+ try (InputStream is = resource.getInputStream()) {
+ return StreamUtils.copyToByteArray(is);
+ }
+ }
+
+ private boolean checkNotModified(ServletWebRequest request, Resource resource) {
try {
return request != null && request.checkNotModified(resource.lastModified());
} catch (Exception ex) {
@@ -174,7 +168,7 @@ public class Log4jResourceController {
return false;
}
- private String resolveName(String name) {
+ private String resolveName(String name) {
if (name != null && name.contains("(_)")) {
// "(_)" is uncommon in a git repo name, but "/" cannot be matched
// by Spring MVC
@@ -192,9 +186,9 @@ public class Log4jResourceController {
return label;
}
- @ExceptionHandler(NoSuchResourceException.class)
- @ResponseStatus(HttpStatus.NOT_FOUND)
- public void notFound(NoSuchResourceException e) {
- }
+ @ExceptionHandler(NoSuchResourceException.class)
+ @ResponseStatus(HttpStatus.NOT_FOUND)
+ public void notFound(NoSuchResourceException e) {
+ }
}
[logging-log4j2] 03/08: LOG4J2-2266 - Load PropertySources from any
accessible ClassLoader and handle any exceptions
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit ad3e48a7eb69dd2848da09d838dbb869a1d145c6
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Wed Jan 30 19:53:53 2019 -0700
LOG4J2-2266 - Load PropertySources from any accessible ClassLoader and handle any exceptions
---
src/changes/changes.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 01e8787..b889277 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set sw=2: -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
[logging-log4j2] 08/08: Functional Sample
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit b6d8f40a8935946c2ba769f1bbdf3a6c139bf804
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Mon Mar 4 06:19:32 2019 -0700
Functional Sample
---
.../org/apache/logging/log4j/util/Base64Util.java | 32 +
.../org/apache/logging/log4j/util/Base64Util.java | 64 +
.../log4j/core/config/AbstractConfiguration.java | 2 +-
.../log4j/core/config/ConfigurationFactory.java | 46 +-
.../log4j/core/config/ConfigurationSource.java | 19 +-
.../logging/log4j/core/config/HttpWatcher.java | 48 +-
.../log4j/core/net/UrlConnectionFactory.java | 101 +
.../log4j/core/util/AuthorizationProvider.java | 27 +
.../core/util/BasicAuthorizationProvider.java | 65 +
.../logging/log4j/core/util/PasswordDecryptor.java | 25 +
log4j-spring-cloud-config/hs_err_pid81053.log | 697 ++
.../log4j-spring-cloud-config-client/pom.xml | 6 +-
.../client/Log4j2CloudConfigLoggingSystem.java | 5 +
.../cloud/config/client/Log4j2EventListener.java | 34 +-
.../Dockerfile | 16 +
.../README.md | 53 +
.../docker/docker-compose.yml | 23 +
.../docker/down.sh | 5 +
.../docker/init/rabbit/definitions.json | 36 +
.../docker/init/rabbit/rabbitmq.config | 14 +
.../docker/logs.sh | 7 +
.../docker/restartApp.sh | 18 +
.../docker/stop.sh | 6 +
.../docker/stopApp.sh | 3 +
.../docker/up.sh | 6 +
.../pom.xml | 214 +
.../cloud/config/sample/SampleApplication.java | 17 +
.../sample/config/GlobalExceptionHandler.java | 36 +
.../cloud/config/sample/config/WebMvcConfig.java | 39 +
.../config/sample/controller/SampleController.java | 38 +
.../utils/spring/SampleResponseErrorHandler.java | 36 +
.../src/main/resources/META-INF/MANIFEST.MF | 0
.../src/main/resources/application.yml | 30 +
.../src/main/resources/bootstrap.yml | 5 +
.../src/main/resources/log4j2.component.properties | 3 +
.../mvn.txt | 135 +
.../pom.xml | 208 +
.../readme.txt | 0
.../src/main/config-repo/log4j2.xml | 22 +
.../config/service/ConfigServiceApplication.java | 29 +
.../service/config/SecurityConfiguration.java | 37 +
.../src/main/resources/application.yaml | 38 +
.../src/main/resources/log4j2.xml | 29 +
.../service/ConfigServiceApplicationTest.java | 32 +
.../pom.xml | 67 +-
.../log4j-spring-cloud-config-server/pom.txt | 7048 ++++++++++++++++++++
.../log4j-spring-cloud-config-server/pom.xml | 2 +-
log4j-spring-cloud-config/pom.xml | 38 +-
48 files changed, 9312 insertions(+), 149 deletions(-)
diff --git a/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/Base64Util.java b/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/Base64Util.java
new file mode 100644
index 0000000..63ac84f
--- /dev/null
+++ b/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/Base64Util.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.util;
+
+import java.util.Base64;
+
+
+/**
+ * C
+ */
+public class Base64Util {
+
+ private static final Base64.Encoder encoder = Base64.getEncoder();
+
+ public static String encode(String str) {
+ return str != null ? encoder.encodeToString(str.getBytes()) : null;
+ }
+}
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java
new file mode 100644
index 0000000..66ff989
--- /dev/null
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.util;
+
+import java.lang.reflect.Method;
+
+import org.apache.logging.log4j.status.StatusLogger;
+
+/**
+ *
+ */
+public class Base64Util {
+
+ private static Method encodeMethod = null;
+ private static Object encoder = null;
+
+ static {
+ try {
+ Class<?> clazz = LoaderUtil.loadClass("java.util.Base64");
+ Class<?> encoderClazz = LoaderUtil.loadClass("java.util.Base64$Encoder");
+ Method method = clazz.getMethod("getEncoder");
+ encoder = method.invoke(null);
+ encodeMethod = encoderClazz.getMethod("encodeToString", byte[].class);
+ } catch (Exception ex) {
+ try {
+ Class<?> clazz = LoaderUtil.loadClass("javax.xml.bind.DataTypeConverter");
+ encodeMethod = clazz.getMethod("printBase64Binary");
+ } catch (Exception ex2) {
+ LowLevelLogUtil.logException("Unable to create a Base64 Encoder", ex2);
+ }
+ }
+ }
+
+ public static String encode(String str) {
+ if (str == null) {
+ return null;
+ }
+ byte [] data = str.getBytes();
+ if (encodeMethod != null) {
+ try {
+ return (String) encodeMethod.invoke(encoder, data);
+ } catch (Exception ex) {
+ StatusLogger.getLogger().warn("Unable to encode String: " + ex.getMessage());
+ return str;
+ }
+ }
+ StatusLogger.getLogger().warn("No Encoder, unable to encode string");
+ return str;
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
index 4a93e02..42e9940 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
@@ -289,7 +289,7 @@ public abstract class AbstractConfiguration extends AbstractFilterable implement
}
LOGGER.debug("Starting configuration {}", this);
this.setStarting();
- if (watchManager.getIntervalSeconds() > 0) {
+ if (watchManager.getIntervalSeconds() >= 0) {
watchManager.start();
}
if (hasAsyncLoggers()) {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
index f4adea0..4a68a63 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
@@ -30,8 +30,6 @@ import java.util.Map;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
-import javax.net.ssl.HttpsURLConnection;
-
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.LoggerContext;
@@ -41,9 +39,10 @@ import org.apache.logging.log4j.core.config.plugins.util.PluginManager;
import org.apache.logging.log4j.core.config.plugins.util.PluginType;
import org.apache.logging.log4j.core.lookup.Interpolator;
import org.apache.logging.log4j.core.lookup.StrSubstitutor;
-import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
-import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.UrlConnectionFactory;
import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
+import org.apache.logging.log4j.core.util.AuthorizationProvider;
+import org.apache.logging.log4j.core.util.BasicAuthorizationProvider;
import org.apache.logging.log4j.core.util.FileUtils;
import org.apache.logging.log4j.core.util.Loader;
import org.apache.logging.log4j.core.util.NetUtils;
@@ -93,6 +92,8 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
*/
public static final String CONFIGURATION_FILE_PROPERTY = "log4j.configurationFile";
+ public static final String AUTHORIZATION_PROVIDER = "log4j2.authorizationProvider";
+
/**
* Plugin category used to inject a ConfigurationFactory {@link org.apache.logging.log4j.core.config.plugins.Plugin}
* class.
@@ -135,6 +136,9 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
private static final Lock LOCK = new ReentrantLock();
private static final String HTTPS = "https";
+ private static final String HTTP = "http";
+
+ private static AuthorizationProvider authorizationProvider = null;
/**
* Returns the ConfigurationFactory.
@@ -148,7 +152,8 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
try {
if (factories == null) {
final List<ConfigurationFactory> list = new ArrayList<>();
- final String factoryClass = PropertiesUtil.getProperties().getStringProperty(CONFIGURATION_FACTORY_PROPERTY);
+ PropertiesUtil props = PropertiesUtil.getProperties();
+ final String factoryClass = props.getStringProperty(CONFIGURATION_FACTORY_PROPERTY);
if (factoryClass != null) {
addFactory(list, factoryClass);
}
@@ -170,6 +175,22 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
// see above comments about double-checked locking
//noinspection NonThreadSafeLazyInitialization
factories = Collections.unmodifiableList(list);
+ final String authClass = props.getStringProperty(AUTHORIZATION_PROVIDER);
+ if (authClass != null) {
+ try {
+ Object obj = LoaderUtil.newInstanceOf(authClass);
+ if (obj instanceof AuthorizationProvider) {
+ authorizationProvider = (AuthorizationProvider) obj;
+ } else {
+ LOGGER.warn("{} is not an AuthorizationProvider, using default", obj.getClass().getName());
+ }
+ } catch (Exception ex) {
+ LOGGER.warn("Unable to create {}, using default: {}", authClass, ex.getMessage());
+ }
+ }
+ if (authorizationProvider == null) {
+ authorizationProvider = new BasicAuthorizationProvider(props);
+ }
}
} finally {
LOCK.unlock();
@@ -180,6 +201,10 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
return configFactory;
}
+ public static AuthorizationProvider getAuthorizationProvider() {
+ return authorizationProvider;
+ }
+
private static void addFactory(final Collection<ConfigurationFactory> list, final String factoryClass) {
try {
addFactory(list, Loader.loadClass(factoryClass).asSubclass(ConfigurationFactory.class));
@@ -302,16 +327,7 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
protected ConfigurationSource getInputFromString(final String config, final ClassLoader loader) {
try {
final URL url = new URL(config);
- URLConnection urlConnection = url.openConnection();
- if (url.getProtocol().equals(HTTPS)) {
- SslConfiguration sslConfiguration = SslConfigurationFactory.getSslConfiguration();
- if (sslConfiguration != null) {
- ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
- if (!sslConfiguration.isVerifyHostName()) {
- ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
- }
- }
- }
+ URLConnection urlConnection = UrlConnectionFactory.createConnection(url);
File file = FileUtils.fileFromUri(url.toURI());
if (file != null) {
return new ConfigurationSource(urlConnection.getInputStream(), FileUtils.fileFromUri(url.toURI()));
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java
index d7c1808..759386f 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationSource.java
@@ -31,11 +31,8 @@ import java.net.URL;
import java.net.URLConnection;
import java.util.Objects;
-import javax.net.ssl.HttpsURLConnection;
-
import org.apache.logging.log4j.Level;
-import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
-import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.UrlConnectionFactory;
import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
import org.apache.logging.log4j.core.util.FileUtils;
import org.apache.logging.log4j.core.util.Loader;
@@ -52,6 +49,7 @@ public class ConfigurationSource {
*/
public static final ConfigurationSource NULL_SOURCE = new ConfigurationSource(new byte[0], null, 0);
private static final String HTTPS = "https";
+ private static final String HTTP = "http";
private final File file;
private final URL url;
@@ -320,19 +318,10 @@ public class ConfigurationSource {
}
try {
URL url = configLocation.toURL();
- URLConnection urlConnection = url.openConnection();
- if (url.getProtocol().equals(HTTPS)) {
- SslConfiguration sslConfiguration = SslConfigurationFactory.getSslConfiguration();
- if (sslConfiguration != null) {
- ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
- if (!sslConfiguration.isVerifyHostName()) {
- ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
- }
- }
- }
+ URLConnection urlConnection = UrlConnectionFactory.createConnection(url);
InputStream is = urlConnection.getInputStream();
long lastModified = urlConnection.getLastModified();
- return new ConfigurationSource(configLocation.toURL().openStream(), configLocation.toURL(), lastModified);
+ return new ConfigurationSource(is, configLocation.toURL(), lastModified);
} catch (final MalformedURLException ex) {
ConfigurationFactory.LOGGER.error("Invalid URL {}", configLocation.toString(), ex);
} catch (final Exception ex) {
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
index 8a2f189..1673c07 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/HttpWatcher.java
@@ -23,12 +23,11 @@ import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
-import javax.net.ssl.HttpsURLConnection;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.config.plugins.Plugin;
import org.apache.logging.log4j.core.config.plugins.PluginAliases;
-import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
+import org.apache.logging.log4j.core.net.UrlConnectionFactory;
import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
import org.apache.logging.log4j.core.util.AbstractWatcher;
@@ -45,16 +44,9 @@ public class HttpWatcher extends AbstractWatcher {
private Logger LOGGER = StatusLogger.getLogger();
- private static int DEFAULT_TIMEOUT = 60000;
- private int connectTimeoutMillis = DEFAULT_TIMEOUT;
- private int readTimeoutMillis = DEFAULT_TIMEOUT;
private SslConfiguration sslConfiguration;
private URL url;
private volatile long lastModifiedMillis;
- private static final String JSON = "application/json";
- private static final String XML = "application/xml";
- private static final String PROPERTIES = "text/x-java-properties";
- private static final String TEXT = "text/plain";
private static final int NOT_MODIFIED = 304;
private static final int OK = 200;
private static final int BUF_SIZE = 1024;
@@ -104,35 +96,15 @@ public class HttpWatcher extends AbstractWatcher {
private boolean refreshConfiguration() {
try {
- final HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
- urlConnection.setAllowUserInteraction(false);
- urlConnection.setDoOutput(true);
- urlConnection.setDoInput(true);
- urlConnection.setRequestMethod("GET");
- if (connectTimeoutMillis > 0) {
- urlConnection.setConnectTimeout(connectTimeoutMillis);
- }
- if (readTimeoutMillis > 0) {
- urlConnection.setReadTimeout(readTimeoutMillis);
- }
- String[] fileParts = url.getFile().split("\\.");
- String type = fileParts[fileParts.length - 1].trim();
- String contentType = isXml(type) ? XML : isJson(type) ? JSON : isProperties(type) ? PROPERTIES : TEXT;
- urlConnection.setRequestProperty("Content-Type", contentType);
- urlConnection.setIfModifiedSince(lastModifiedMillis);
- if (url.getProtocol().equals(HTTPS) && sslConfiguration != null) {
- ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
- if (!sslConfiguration.isVerifyHostName()) {
- ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
- }
- }
-
+ final HttpURLConnection urlConnection = UrlConnectionFactory.createConnection(url, lastModifiedMillis,
+ sslConfiguration);
urlConnection.connect();
try {
int code = urlConnection.getResponseCode();
switch (code) {
case NOT_MODIFIED: {
+ LOGGER.debug("Configuration Not Modified");
return false;
}
case OK: {
@@ -179,16 +151,4 @@ public class HttpWatcher extends AbstractWatcher {
}
return result.toByteArray();
}
-
- private boolean isXml(String type) {
- return type.equalsIgnoreCase("xml");
- }
-
- private boolean isJson(String type) {
- return type.equalsIgnoreCase("json") || type.equalsIgnoreCase("jsn");
- }
-
- private boolean isProperties(String type) {
- return type.equalsIgnoreCase("properties");
- }
}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/UrlConnectionFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/UrlConnectionFactory.java
new file mode 100644
index 0000000..7f17869
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/UrlConnectionFactory.java
@@ -0,0 +1,101 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.net;
+
+import java.io.IOException;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.net.URLConnection;
+import javax.net.ssl.HttpsURLConnection;
+
+import org.apache.logging.log4j.core.config.ConfigurationFactory;
+import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
+import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
+import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
+import org.apache.logging.log4j.core.util.AuthorizationProvider;
+
+/**
+ * Constructs an HTTPURLConnection. This class should be considered to be internal
+ */
+public class UrlConnectionFactory {
+
+ private static int DEFAULT_TIMEOUT = 60000;
+ private static int connectTimeoutMillis = DEFAULT_TIMEOUT;
+ private static int readTimeoutMillis = DEFAULT_TIMEOUT;
+ private static final String JSON = "application/json";
+ private static final String XML = "application/xml";
+ private static final String PROPERTIES = "text/x-java-properties";
+ private static final String TEXT = "text/plain";
+ private static final String HTTP = "http";
+ private static final String HTTPS = "https";
+
+ public static HttpURLConnection createConnection(URL url, long lastModifiedMillis, SslConfiguration sslConfiguration)
+ throws IOException {
+ final HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
+ AuthorizationProvider provider = ConfigurationFactory.getAuthorizationProvider();
+ if (provider != null) {
+ provider.addAuthorization(urlConnection);
+ }
+ urlConnection.setAllowUserInteraction(false);
+ urlConnection.setDoOutput(true);
+ urlConnection.setDoInput(true);
+ urlConnection.setRequestMethod("GET");
+ if (connectTimeoutMillis > 0) {
+ urlConnection.setConnectTimeout(connectTimeoutMillis);
+ }
+ if (readTimeoutMillis > 0) {
+ urlConnection.setReadTimeout(readTimeoutMillis);
+ }
+ String[] fileParts = url.getFile().split("\\.");
+ String type = fileParts[fileParts.length - 1].trim();
+ String contentType = isXml(type) ? XML : isJson(type) ? JSON : isProperties(type) ? PROPERTIES : TEXT;
+ urlConnection.setRequestProperty("Content-Type", contentType);
+ if (lastModifiedMillis > 0) {
+ urlConnection.setIfModifiedSince(lastModifiedMillis);
+ }
+ if (url.getProtocol().equals(HTTPS) && sslConfiguration != null) {
+ ((HttpsURLConnection) urlConnection).setSSLSocketFactory(sslConfiguration.getSslSocketFactory());
+ if (!sslConfiguration.isVerifyHostName()) {
+ ((HttpsURLConnection) urlConnection).setHostnameVerifier(LaxHostnameVerifier.INSTANCE);
+ }
+ }
+ return urlConnection;
+ }
+
+ public static URLConnection createConnection(URL url) throws IOException {
+ URLConnection urlConnection = null;
+ if (url.getProtocol().equals(HTTPS) || url.getProtocol().equals(HTTP)) {
+ urlConnection = createConnection(url, 0, SslConfigurationFactory.getSslConfiguration());
+ } else {
+ urlConnection = url.openConnection();
+ }
+ return urlConnection;
+ }
+
+
+ private static boolean isXml(String type) {
+ return type.equalsIgnoreCase("xml");
+ }
+
+ private static boolean isJson(String type) {
+ return type.equalsIgnoreCase("json") || type.equalsIgnoreCase("jsn");
+ }
+
+ private static boolean isProperties(String type) {
+ return type.equalsIgnoreCase("properties");
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AuthorizationProvider.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AuthorizationProvider.java
new file mode 100644
index 0000000..27be12a
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AuthorizationProvider.java
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.util;
+
+import java.net.URLConnection;
+
+/**
+ * Interface to be implemented to add an Authorization header to an HTTP request.
+ */
+public interface AuthorizationProvider {
+
+ void addAuthorization(URLConnection urlConnection);
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/BasicAuthorizationProvider.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/BasicAuthorizationProvider.java
new file mode 100644
index 0000000..8ad23df
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/BasicAuthorizationProvider.java
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.util;
+
+import java.net.URLConnection;
+
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.status.StatusLogger;
+import org.apache.logging.log4j.util.Base64Util;
+import org.apache.logging.log4j.util.LoaderUtil;
+import org.apache.logging.log4j.util.PropertiesUtil;
+
+/**
+ * Provides the Basic Authorization header to a request.
+ */
+public class BasicAuthorizationProvider implements AuthorizationProvider {
+
+ public static final String CONFIG_USER_NAME = "log4j2.configurationUserName";
+ public static final String CONFIG_PASSWORD = "log4j2.configurationPassword";
+ public static final String PASSWORD_DECRYPTOR = "log4j2.passwordDecryptor";
+
+ private static Logger LOGGER = StatusLogger.getLogger();
+
+ private String authString = null;
+
+ public BasicAuthorizationProvider(PropertiesUtil props) {
+ String userName = props.getStringProperty(CONFIG_USER_NAME);
+ String password = props.getStringProperty(CONFIG_PASSWORD);
+ String decryptor = props.getStringProperty(PASSWORD_DECRYPTOR);
+ if (decryptor != null) {
+ try {
+ Object obj = LoaderUtil.newInstanceOf(decryptor);
+ if (obj instanceof PasswordDecryptor) {
+ password = ((PasswordDecryptor) obj).decryptPassword(password);
+ }
+ } catch (Exception ex) {
+ LOGGER.warn("Unable to decrypt password.", ex);
+ }
+ }
+ if (userName != null && password != null) {
+ authString = "Basic " + Base64Util.encode(userName + ":" + password);
+ }
+ }
+
+ @Override
+ public void addAuthorization(URLConnection urlConnection) {
+ if (authString != null) {
+ urlConnection.setRequestProperty("Authorization", authString);
+ }
+ }
+}
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/PasswordDecryptor.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/PasswordDecryptor.java
new file mode 100644
index 0000000..a903027
--- /dev/null
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/PasswordDecryptor.java
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.util;
+
+/**
+ * Decrypt passwords.
+ */
+public interface PasswordDecryptor {
+
+ String decryptPassword(String password);
+}
diff --git a/log4j-spring-cloud-config/hs_err_pid81053.log b/log4j-spring-cloud-config/hs_err_pid81053.log
new file mode 100644
index 0000000..5f59865
--- /dev/null
+++ b/log4j-spring-cloud-config/hs_err_pid81053.log
@@ -0,0 +1,697 @@
+#
+# A fatal error has been detected by the Java Runtime Environment:
+#
+# SIGSEGV (0xb) at pc=0x000000012a33e45f, pid=81053, tid=0x000000000000db07
+#
+# JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01)
+# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode bsd-amd64 compressed oops)
+# Problematic frame:
+# C [libawt_lwawt.dylib+0x1c45f] OGLSD_SetScratchSurface+0x49
+#
+# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
+#
+# If you would like to submit a bug report, please visit:
+# http://bugreport.java.com/bugreport/crash.jsp
+# The crash happened outside the Java Virtual Machine in native code.
+# See problematic frame for where to report the bug.
+#
+
+--------------- T H R E A D ---------------
+
+Current thread (0x00007f7ff81cf000): JavaThread "Java2D Queue Flusher" daemon [_thread_in_native, id=56071, stack(0x00007000089d7000,0x0000700008ad7000)]
+
+siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000002
+
+Registers:
+RAX=0x00000000ffffffff, RBX=0x0000000000000002, RCX=0x0000000000000047, RDX=0x000000012a35f258
+RSP=0x0000700008ad6750, RBP=0x0000700008ad6770, RSI=0x00007f7ff71c3260, RDI=0x00007f7ff81cf1f8
+R8 =0x0000000000000c52, R9 =0xffffffff00000000, R10=0x00000001082be278, R11=0x00000001082c0180
+R12=0x0000000000000000, R13=0x0000700008ad6908, R14=0x00007f7ff81cf1f8, R15=0x00007f7ff81cf000
+RIP=0x000000012a33e45f, EFLAGS=0x0000000000010202, ERR=0x0000000000000004
+ TRAPNO=0x000000000000000e
+
+Top of Stack: (sp=0x0000700008ad6750)
+0x0000700008ad6750: 00007f7ff71c3260 0000000000000000
+0x0000700008ad6760: 00007f7ff81ebe10 00007f7ff81cf000
+0x0000700008ad6770: 0000700008ad67f0 000000012a35ed36
+0x0000700008ad6780: 00007f7ff641d600 0000000200000001
+0x0000700008ad6790: 00007f00f81ec298 0000000000000000
+0x0000700008ad67a0: 0000000000000000 0000000000000000
+0x0000700008ad67b0: 0000700008ad67f0 00007f7ff81ebe20
+0x0000700008ad67c0: 0000000000bdf250 00007f7ff81cf1f8
+0x0000700008ad67d0: 000000017bbc2bd8 0000000000000000
+0x0000700008ad67e0: 0000700008ad6988 00007f7ff81cf000
+0x0000700008ad67f0: 0000700008ad6840 00000001082be2ea
+0x0000700008ad6800: 00000005c021bbd8 0000000103138a00
+0x0000700008ad6810: 0000000000000064 0000000000000000
+0x0000700008ad6820: 0000000000000064 00007f7ff66ab4d8
+0x0000700008ad6830: 0000700008ad6890 0000000102f501e8
+0x0000700008ad6840: 0000700008ad6960 00000001082bfb3c
+0x0000700008ad6850: 0000000000000001 00007f7ff66abe80
+0x0000700008ad6860: 00000005c021bc00 00007f7ff81cf000
+0x0000700008ad6870: 00007f7ff81cf000 0000000106a13a00
+0x0000700008ad6880: 0000700008ad6988 00007f7ff81cf000
+0x0000700008ad6890: 0000700008ad68e0 00000001085af4e8
+0x0000700008ad68a0: 00000005c021bbd8 0000000108793266
+0x0000700008ad68b0: 0000700008ad6960 00000001082c01dc
+0x0000700008ad68c0: ffffffffffffffff 0000000106f9cc78
+0x0000700008ad68d0: 000000010704dc28 0000000000000000
+0x0000700008ad68e0: 0000700008ad6960 00000001081122bd
+0x0000700008ad68f0: 0000700008ad6960 00000001081122bd
+0x0000700008ad6900: 00000001081122bd 00000005c021bbd8
+0x0000700008ad6910: 0000000000000001 00000005c021bc60
+0x0000700008ad6920: 0000700008ad6910 0000000106fa04a1
+0x0000700008ad6930: 0000700008ad6988 0000000106fa07f8
+0x0000700008ad6940: 0000000000000000 0000000106fa05a8
+
+Instructions: (pc=0x000000012a33e45f)
+0x000000012a33e43f: c0 e9 82 00 00 00 48 8b 5e 10 48 85 db 75 0e bf
+0x000000012a33e44f: 01 00 00 00 48 8d 15 67 7b 03 00 eb d6 49 89 fe
+0x000000012a33e45f: 4c 8b 3b 30 c0 e8 21 a6 02 00 49 8b 3f 49 89 c4
+0x000000012a33e46f: 48 8b 35 aa 02 06 00 30 c0 e8 51 a7 02 00 48 85
+
+Register to memory mapping:
+
+RAX=0x00000000ffffffff is an unknown value
+RBX=0x0000000000000002 is an unknown value
+RCX=0x0000000000000047 is an unknown value
+RDX=0x000000012a35f258: Java_sun_java2d_opengl_OGLRenderQueue_flushBuffer+0xb5c in /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libawt_lwawt.dylib at 0x000000012a322000
+RSP=0x0000700008ad6750 is pointing into the stack for thread: 0x00007f7ff81cf000
+RBP=0x0000700008ad6770 is pointing into the stack for thread: 0x00007f7ff81cf000
+RSI=0x00007f7ff71c3260 is an unknown value
+RDI=0x00007f7ff81cf1f8 is an unknown value
+R8 =0x0000000000000c52 is an unknown value
+R9 =0xffffffff00000000 is an unknown value
+R10=0x00000001082be278 is at entry_point+56 in (nmethod*)0x00000001082be0d0
+R11=0x00000001082c0180 is at entry_point+0 in (nmethod*)0x00000001082c0010
+R12=0x0000000000000000 is an unknown value
+R13=0x0000700008ad6908 is pointing into the stack for thread: 0x00007f7ff81cf000
+R14=0x00007f7ff81cf1f8 is an unknown value
+R15=0x00007f7ff81cf000 is a thread
+
+
+Stack: [0x00007000089d7000,0x0000700008ad7000], sp=0x0000700008ad6750, free space=1021k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C [libawt_lwawt.dylib+0x1c45f] OGLSD_SetScratchSurface+0x49
+C [libawt_lwawt.dylib+0x3cd36] Java_sun_java2d_opengl_OGLRenderQueue_flushBuffer+0x63a
+J 2700 sun.java2d.opengl.OGLRenderQueue.flushBuffer(JI)V (0 bytes) @ 0x00000001082be2ea [0x00000001082be240+0xaa]
+J 2695 C1 sun.java2d.opengl.OGLRenderQueue.flushBuffer()V (41 bytes) @ 0x00000001082bfb3c [0x00000001082bf8e0+0x25c]
+J 2694 C1 sun.java2d.opengl.OGLRenderQueue.access$100(Lsun/java2d/opengl/OGLRenderQueue;)V (5 bytes) @ 0x00000001082c01dc [0x00000001082c0180+0x5c]
+j sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run()V+81
+v ~StubRoutines::call_stub
+V [libjvm.dylib+0x2ee70a] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6ae
+V [libjvm.dylib+0x2eeeae] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x164
+V [libjvm.dylib+0x2ef05a] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x4a
+V [libjvm.dylib+0x3497b1] thread_entry(JavaThread*, Thread*)+0x7c
+V [libjvm.dylib+0x56c0b3] JavaThread::thread_main_inner()+0x9b
+V [libjvm.dylib+0x56d7a0] JavaThread::run()+0x1c2
+V [libjvm.dylib+0x48baee] java_start(Thread*)+0xf6
+C [libsystem_pthread.dylib+0x3339] _pthread_body+0x7e
+C [libsystem_pthread.dylib+0x62a7] _pthread_start+0x46
+C [libsystem_pthread.dylib+0x2445] thread_start+0xd
+C 0x0000000000000000
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+J 2700 sun.java2d.opengl.OGLRenderQueue.flushBuffer(JI)V (0 bytes) @ 0x00000001082be278 [0x00000001082be240+0x38]
+J 2695 C1 sun.java2d.opengl.OGLRenderQueue.flushBuffer()V (41 bytes) @ 0x00000001082bfb3c [0x00000001082bf8e0+0x25c]
+J 2694 C1 sun.java2d.opengl.OGLRenderQueue.access$100(Lsun/java2d/opengl/OGLRenderQueue;)V (5 bytes) @ 0x00000001082c01dc [0x00000001082c0180+0x5c]
+j sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run()V+81
+v ~StubRoutines::call_stub
+
+--------------- P R O C E S S ---------------
+
+Java Threads: ( => current thread )
+ 0x00007f7ff8229000 JavaThread "Worker-MBeans-192.168.51.28:6336" [_thread_blocked, id=45831, stack(0x000070000853c000,0x000070000863c000)]
+ 0x00007f7ff8d64800 JavaThread "SwingWorker-pool-1-thread-10" daemon [_thread_blocked, id=122371, stack(0x000070000a22b000,0x000070000a32b000)]
+ 0x00007f7ff8ce4000 JavaThread "SwingWorker-pool-1-thread-9" daemon [_thread_blocked, id=122883, stack(0x000070000a128000,0x000070000a228000)]
+ 0x00007f7ff9db2800 JavaThread "SwingWorker-pool-1-thread-8" daemon [_thread_blocked, id=93807, stack(0x000070000a025000,0x000070000a125000)]
+ 0x00007f7ff8ce3000 JavaThread "SwingWorker-pool-1-thread-7" daemon [_thread_blocked, id=129039, stack(0x0000700009481000,0x0000700009581000)]
+ 0x00007f7ff78d7000 JavaThread "Worker-Overview-192.168.51.28:6336" [_thread_blocked, id=125031, stack(0x0000700009e1f000,0x0000700009f1f000)]
+ 0x00007f7ff9853800 JavaThread "SwingWorker-pool-1-thread-6" daemon [_thread_blocked, id=92419, stack(0x0000700009d1c000,0x0000700009e1c000)]
+ 0x00007f7ffa84b800 JavaThread "SwingWorker-pool-1-thread-5" daemon [_thread_blocked, id=92163, stack(0x0000700009c19000,0x0000700009d19000)]
+ 0x00007f7ff6d3f000 JavaThread "SwingWorker-pool-1-thread-4" daemon [_thread_blocked, id=91911, stack(0x0000700009b16000,0x0000700009c16000)]
+ 0x00007f7ff6d4e000 JavaThread "SwingWorker-pool-1-thread-3" daemon [_thread_blocked, id=91651, stack(0x0000700009a13000,0x0000700009b13000)]
+ 0x00007f7ff857d000 JavaThread "SwingWorker-pool-1-thread-2" daemon [_thread_blocked, id=91399, stack(0x0000700009910000,0x0000700009a10000)]
+ 0x00007f7ff981d800 JavaThread "Timer-192.168.51.28:6336" daemon [_thread_blocked, id=91139, stack(0x000070000980d000,0x000070000990d000)]
+ 0x00007f7ff6d4d000 JavaThread "SwingWorker-pool-1-thread-1" daemon [_thread_blocked, id=126767, stack(0x000070000970a000,0x000070000980a000)]
+ 0x00007f7ff9bd4000 JavaThread "GC Daemon" daemon [_thread_blocked, id=30223, stack(0x0000700008848000,0x0000700008948000)]
+ 0x00007f7ff85e3800 JavaThread "RMI RenewClean-[192.168.51.28:39200]" daemon [_thread_blocked, id=6919, stack(0x0000700008745000,0x0000700008845000)]
+ 0x00007f7ff85e3000 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=9991, stack(0x0000700008642000,0x0000700008742000)]
+ 0x00007f7ff7b51000 JavaThread "TimerQueue" daemon [_thread_blocked, id=66575, stack(0x000070000906c000,0x000070000916c000)]
+ 0x00007f7ff905b800 JavaThread "DestroyJavaVM" [_thread_blocked, id=8963, stack(0x0000700006df4000,0x0000700006ef4000)]
+ 0x00007f7ff8242000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=73731, stack(0x0000700008de3000,0x0000700008ee3000)]
+ 0x00007f7ff8240000 JavaThread "Thread-1" [_thread_blocked, id=57603, stack(0x0000700008ce0000,0x0000700008de0000)]
+ 0x00007f7ff8234000 JavaThread "Thread-0" [_thread_blocked, id=73999, stack(0x0000700008bdd000,0x0000700008cdd000)]
+ 0x00007f7ff7a22000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=75023, stack(0x0000700008ada000,0x0000700008bda000)]
+=>0x00007f7ff81cf000 JavaThread "Java2D Queue Flusher" daemon [_thread_in_native, id=56071, stack(0x00007000089d7000,0x0000700008ad7000)]
+ 0x00007f7ff79c9000 JavaThread "AWT-Shutdown" [_thread_blocked, id=37419, stack(0x00007000083b6000,0x00007000084b6000)]
+ 0x00007f7ff880d000 JavaThread "AppKit Thread" daemon [_thread_in_native, id=775, stack(0x00007ffeee257000,0x00007ffeeea57000)]
+ 0x00007f7ff782c800 JavaThread "Service Thread" daemon [_thread_blocked, id=22019, stack(0x000070000812d000,0x000070000822d000)]
+ 0x00007f7ff8801800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=15875, stack(0x000070000802a000,0x000070000812a000)]
+ 0x00007f7ff782a000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=16387, stack(0x0000700007f27000,0x0000700008027000)]
+ 0x00007f7ff7827800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=15363, stack(0x0000700007e24000,0x0000700007f24000)]
+ 0x00007f7ff7828000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=15107, stack(0x0000700007d21000,0x0000700007e21000)]
+ 0x00007f7ff7826800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=17155, stack(0x0000700007c1e000,0x0000700007d1e000)]
+ 0x00007f7ff7824000 JavaThread "Finalizer" daemon [_thread_blocked, id=13827, stack(0x0000700007b1b000,0x0000700007c1b000)]
+ 0x00007f7ff8000000 JavaThread "Reference Handler" daemon [_thread_blocked, id=13315, stack(0x0000700007a18000,0x0000700007b18000)]
+
+Other Threads:
+ 0x00007f7ff6807000 VMThread [stack: 0x0000700007915000,0x0000700007a15000] [id=13059]
+ 0x00007f7ff782d800 WatcherThread [stack: 0x0000700008230000,0x0000700008330000] [id=22531]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap:
+ PSYoungGen total 51200K, used 1788K [0x0000000715580000, 0x0000000719580000, 0x00000007c0000000)
+ eden space 38912K, 4% used [0x0000000715580000,0x000000071573f398,0x0000000717b80000)
+ from space 12288K, 0% used [0x0000000718980000,0x0000000718980000,0x0000000719580000)
+ to space 13312K, 0% used [0x0000000717b80000,0x0000000717b80000,0x0000000718880000)
+ ParOldGen total 203264K, used 12973K [0x00000005c0000000, 0x00000005cc680000, 0x0000000715580000)
+ object space 203264K, 6% used [0x00000005c0000000,0x00000005c0cab7f0,0x00000005cc680000)
+ Metaspace used 27120K, capacity 27896K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+
+Card table byte_map: [0x0000000103f67000,0x0000000104f68000] byte_map_base: 0x0000000101167000
+
+Marking Bits: (ParMarkBitMap*) 0x00000001034f35d0
+ Begin Bits: [0x000000011710a000, 0x000000011f10a000)
+ End Bits: [0x000000011f10a000, 0x000000012710a000)
+
+Polling page: 0x0000000101262000
+
+CodeCache: size=245760Kb used=18337Kb max_used=18452Kb free=227422Kb
+ bounds [0x000000010810a000, 0x000000010933a000, 0x000000011710a000]
+ total_blobs=5862 nmethods=5194 adapters=578
+ compilation: enabled
+
+Compilation events (10 events):
+Event: 4290.961 Thread 0x00007f7ff8801800 nmethod 6284 0x0000000108e8de90 code [0x0000000108e8dfe0, 0x0000000108e8e0f0]
+Event: 4290.961 Thread 0x00007f7ff8801800 6285 3 sun.awt.geom.Edge::setEquivalence (6 bytes)
+Event: 4290.961 Thread 0x00007f7ff8801800 nmethod 6285 0x0000000108a05ad0 code [0x0000000108a05c20, 0x0000000108a05d70]
+Event: 4290.984 Thread 0x00007f7ff8801800 6286 1 javax.swing.table.JTableHeader::getDraggedColumn (5 bytes)
+Event: 4290.985 Thread 0x00007f7ff8801800 nmethod 6286 0x0000000109008ad0 code [0x0000000109008c20, 0x0000000109008d30]
+Event: 4290.985 Thread 0x00007f7ff8801800 6287 1 javax.swing.table.DefaultTableCellRenderer::revalidate (1 bytes)
+Event: 4290.985 Thread 0x00007f7ff8801800 nmethod 6287 0x0000000109008810 code [0x0000000109008960, 0x0000000109008a70]
+Event: 4291.010 Thread 0x00007f7ff8801800 6288 3 javax.swing.DefaultButtonModel::isSelected (15 bytes)
+Event: 4291.011 Thread 0x00007f7ff8801800 nmethod 6288 0x0000000109008490 code [0x0000000109008600, 0x00000001090087b0]
+Event: 4291.265 Thread 0x00007f7ff8801800 6289 ! 3 sun.java2d.opengl.OGLSurfaceData::dispose (68 bytes)
+
+GC Heap History (10 events):
+Event: 3385.203 GC heap before
+{Heap before GC invocations=118 (full 19):
+ PSYoungGen total 46592K, used 30924K [0x0000000715580000, 0x0000000719280000, 0x00000007c0000000)
+ eden space 30720K, 99% used [0x0000000715580000,0x000000071737b3c0,0x0000000717380000)
+ from space 15872K, 1% used [0x0000000718300000,0x0000000718338000,0x0000000719280000)
+ to space 15872K, 0% used [0x0000000717380000,0x0000000717380000,0x0000000718300000)
+ ParOldGen total 190464K, used 134191K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 70% used [0x00000005c0000000,0x00000005c830bf38,0x00000005cba00000)
+ Metaspace used 27101K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+Event: 3385.210 GC heap after
+Heap after GC invocations=118 (full 19):
+ PSYoungGen total 46592K, used 2623K [0x0000000715580000, 0x0000000719500000, 0x00000007c0000000)
+ eden space 30720K, 0% used [0x0000000715580000,0x0000000715580000,0x0000000717380000)
+ from space 15872K, 16% used [0x0000000717380000,0x000000071760fe20,0x0000000718300000)
+ to space 14848K, 0% used [0x0000000718680000,0x0000000718680000,0x0000000719500000)
+ ParOldGen total 190464K, used 134191K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 70% used [0x00000005c0000000,0x00000005c830bf38,0x00000005cba00000)
+ Metaspace used 27101K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+}
+Event: 3385.768 GC heap before
+{Heap before GC invocations=119 (full 19):
+ PSYoungGen total 46592K, used 31986K [0x0000000715580000, 0x0000000719500000, 0x00000007c0000000)
+ eden space 30720K, 95% used [0x0000000715580000,0x000000071722cce8,0x0000000717380000)
+ from space 15872K, 16% used [0x0000000717380000,0x000000071760fe20,0x0000000718300000)
+ to space 14848K, 0% used [0x0000000718680000,0x0000000718680000,0x0000000719500000)
+ ParOldGen total 190464K, used 134191K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 70% used [0x00000005c0000000,0x00000005c830bf38,0x00000005cba00000)
+ Metaspace used 27101K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+Event: 3385.772 GC heap after
+Heap after GC invocations=119 (full 19):
+ PSYoungGen total 48128K, used 224K [0x0000000715580000, 0x0000000719380000, 0x00000007c0000000)
+ eden space 34816K, 0% used [0x0000000715580000,0x0000000715580000,0x0000000717780000)
+ from space 13312K, 1% used [0x0000000718680000,0x00000007186b8000,0x0000000719380000)
+ to space 14336K, 0% used [0x0000000717780000,0x0000000717780000,0x0000000718580000)
+ ParOldGen total 190464K, used 134191K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 70% used [0x00000005c0000000,0x00000005c830bf38,0x00000005cba00000)
+ Metaspace used 27101K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+}
+Event: 4286.871 GC heap before
+{Heap before GC invocations=120 (full 19):
+ PSYoungGen total 48128K, used 29718K [0x0000000715580000, 0x0000000719380000, 0x00000007c0000000)
+ eden space 34816K, 84% used [0x0000000715580000,0x000000071724d960,0x0000000717780000)
+ from space 13312K, 1% used [0x0000000718680000,0x00000007186b8000,0x0000000719380000)
+ to space 14336K, 0% used [0x0000000717780000,0x0000000717780000,0x0000000718580000)
+ ParOldGen total 190464K, used 134191K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 70% used [0x00000005c0000000,0x00000005c830bf38,0x00000005cba00000)
+ Metaspace used 27102K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+Event: 4286.917 GC heap after
+Heap after GC invocations=120 (full 19):
+ PSYoungGen total 49152K, used 988K [0x0000000715580000, 0x0000000719700000, 0x00000007c0000000)
+ eden space 34816K, 0% used [0x0000000715580000,0x0000000715580000,0x0000000717780000)
+ from space 14336K, 6% used [0x0000000717780000,0x0000000717877398,0x0000000718580000)
+ to space 13824K, 0% used [0x0000000718980000,0x0000000718980000,0x0000000719700000)
+ ParOldGen total 190464K, used 134191K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 70% used [0x00000005c0000000,0x00000005c830bf38,0x00000005cba00000)
+ Metaspace used 27102K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+}
+Event: 4287.396 GC heap before
+{Heap before GC invocations=121 (full 19):
+ PSYoungGen total 49152K, used 35804K [0x0000000715580000, 0x0000000719700000, 0x00000007c0000000)
+ eden space 34816K, 100% used [0x0000000715580000,0x0000000717780000,0x0000000717780000)
+ from space 14336K, 6% used [0x0000000717780000,0x0000000717877398,0x0000000718580000)
+ to space 13824K, 0% used [0x0000000718980000,0x0000000718980000,0x0000000719700000)
+ ParOldGen total 190464K, used 155513K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 81% used [0x00000005c0000000,0x00000005c97de748,0x00000005cba00000)
+ Metaspace used 27104K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+Event: 4287.401 GC heap after
+Heap after GC invocations=121 (full 19):
+ PSYoungGen total 51200K, used 1533K [0x0000000715580000, 0x0000000719580000, 0x00000007c0000000)
+ eden space 38912K, 0% used [0x0000000715580000,0x0000000715580000,0x0000000717b80000)
+ from space 12288K, 12% used [0x0000000718980000,0x0000000718aff550,0x0000000719580000)
+ to space 13312K, 0% used [0x0000000717b80000,0x0000000717b80000,0x0000000718880000)
+ ParOldGen total 190464K, used 155553K [0x00000005c0000000, 0x00000005cba00000, 0x0000000715580000)
+ object space 190464K, 81% used [0x00000005c0000000,0x00000005c97e8748,0x00000005cba00000)
+ Metaspace used 27104K, capacity 27892K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+}
+Event: 4291.027 GC heap before
+{Heap before GC invocations=122 (full 20):
+ PSYoungGen total 51200K, used 40099K [0x0000000715580000, 0x0000000719580000, 0x00000007c0000000)
+ eden space 38912K, 99% used [0x0000000715580000,0x0000000717b29a00,0x0000000717b80000)
+ from space 12288K, 12% used [0x0000000718980000,0x0000000718aff550,0x0000000719580000)
+ to space 13312K, 0% used [0x0000000717b80000,0x0000000717b80000,0x0000000718880000)
+ ParOldGen total 256512K, used 244235K [0x00000005c0000000, 0x00000005cfa80000, 0x0000000715580000)
+ object space 256512K, 95% used [0x00000005c0000000,0x00000005cee82f28,0x00000005cfa80000)
+ Metaspace used 27120K, capacity 27896K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+Event: 4291.264 GC heap after
+Heap after GC invocations=122 (full 20):
+ PSYoungGen total 51200K, used 0K [0x0000000715580000, 0x0000000719580000, 0x00000007c0000000)
+ eden space 38912K, 0% used [0x0000000715580000,0x0000000715580000,0x0000000717b80000)
+ from space 12288K, 0% used [0x0000000718980000,0x0000000718980000,0x0000000719580000)
+ to space 13312K, 0% used [0x0000000717b80000,0x0000000717b80000,0x0000000718880000)
+ ParOldGen total 203264K, used 12973K [0x00000005c0000000, 0x00000005cc680000, 0x0000000715580000)
+ object space 203264K, 6% used [0x00000005c0000000,0x00000005c0cab7f0,0x00000005cc680000)
+ Metaspace used 27120K, capacity 27896K, committed 28032K, reserved 1073152K
+ class space used 3493K, capacity 3706K, committed 3712K, reserved 1048576K
+}
+
+Deoptimization events (10 events):
+Event: 1398.977 Thread 0x00007f7ff8242000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000109279c84 method=sun.java2d.pipe.Region.getIntersectionXYXY(IIII)Lsun/java2d/pipe/Region; @ 72
+Event: 1401.232 Thread 0x00007f7ff8242000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000001087026b4 method=java.util.HashMap$HashIterator.<init>(Ljava/util/HashMap;)V @ 45
+Event: 1428.089 Thread 0x00007f7ff8242000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001090f294c method=java.awt.EventQueue.coalescePeerEvent(Lsun/awt/PeerEvent;)Z @ 4
+Event: 1466.745 Thread 0x00007f7ff8242000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001090f294c method=java.awt.EventQueue.coalescePeerEvent(Lsun/awt/PeerEvent;)Z @ 4
+Event: 1509.345 Thread 0x00007f7ff8242000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001090f294c method=java.awt.EventQueue.coalescePeerEvent(Lsun/awt/PeerEvent;)Z @ 4
+Event: 1510.643 Thread 0x00007f7ff8242000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000001089c653c method=sun.java2d.pipe.Region.endRow([I)V @ 82
+Event: 3382.720 Thread 0x00007f7ff880d000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000010931e72c method=sun.awt.PostEventQueue.flush()V @ 23
+Event: 3383.030 Thread 0x00007f7ff880d000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001088a1088 method=java.awt.EventQueue.coalescePeerEvent(Lsun/awt/PeerEvent;)Z @ 4
+Event: 4288.155 Thread 0x00007f7ff880d000 Uncommon trap: reason=speculate_class_check action=maybe_recompile pc=0x00000001091f0458 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 56
+Event: 4288.157 Thread 0x00007f7ff880d000 Uncommon trap: reason=speculate_class_check action=maybe_recompile pc=0x00000001091f0458 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 56
+
+Internal exceptions (10 events):
+Event: 1528.348 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c5a238) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1531.336 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c5b188) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1543.369 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c5c0f0) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1554.883 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c5d020) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1562.910 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c5df50) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1578.936 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c60770) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1610.963 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c616a0) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1684.990 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c625d0) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 1813.016 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c65f00) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+Event: 2069.046 Thread 0x00007f7ff85e3800 Exception <a 'java/net/ConnectException'> (0x0000000716c66fa8) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u144/9417/hotspot/src/share/vm/prims/jni.cpp, line 709]
+
+Events (10 events):
+Event: 4287.396 Executing VM operation: ParallelGCFailedAllocation
+Event: 4287.401 Executing VM operation: ParallelGCFailedAllocation done
+Event: 4288.155 Thread 0x00007f7ff880d000 Uncommon trap: trap_request=0xffffff76 fr.pc=0x00000001091f0458
+Event: 4288.155 Thread 0x00007f7ff880d000 DEOPT PACKING pc=0x00000001091f0458 sp=0x00007ffeeea52090
+Event: 4288.155 Thread 0x00007f7ff880d000 DEOPT UNPACKING pc=0x000000010810f229 sp=0x00007ffeeea51f98 mode 2
+Event: 4288.157 Thread 0x00007f7ff880d000 Uncommon trap: trap_request=0xffffff76 fr.pc=0x00000001091f0458
+Event: 4288.157 Thread 0x00007f7ff880d000 DEOPT PACKING pc=0x00000001091f0458 sp=0x00007ffeeea52090
+Event: 4288.157 Thread 0x00007f7ff880d000 DEOPT UNPACKING pc=0x000000010810f229 sp=0x00007ffeeea51f98 mode 2
+Event: 4291.026 Executing VM operation: ParallelGCFailedAllocation
+Event: 4291.264 Executing VM operation: ParallelGCFailedAllocation done
+
+
+Dynamic libraries:
+0x000000001cbdb000 /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
+0x000000001cbdb000 /System/Library/Frameworks/Security.framework/Versions/A/Security
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
+0x000000001cbdb000 /usr/lib/libz.1.dylib
+0x000000001cbdb000 /usr/lib/libSystem.B.dylib
+0x000000001cbdb000 /usr/lib/libobjc.A.dylib
+0x000000001cbdb000 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
+0x000000001cbdb000 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
+0x000000001cbdb000 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
+0x000000001cbdb000 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
+0x000000001cbdb000 /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
+0x000000001cbdb000 /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
+0x000000001cbdb000 /System/Library/PrivateFrameworks/XCTTargetBootstrap.framework/Versions/A/XCTTargetBootstrap
+0x000000001cbdb000 /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
+0x000000001cbdb000 /System/Library/Frameworks/Metal.framework/Versions/A/Metal
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
+0x000000001cbdb000 /usr/lib/libenergytrace.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
+0x000000001cbdb000 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
+0x000000001cbdb000 /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DFRFoundation.framework/Versions/A/DFRFoundation
+0x000000001cbdb000 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
+0x000000001cbdb000 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
+0x000000001cbdb000 /usr/lib/libicucore.A.dylib
+0x000000001cbdb000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
+0x000000001cbdb000 /usr/lib/libauto.dylib
+0x000000001cbdb000 /usr/lib/libxml2.2.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
+0x000000001cbdb000 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
+0x000000001cbdb000 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
+0x000000001cbdb000 /usr/lib/liblangid.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
+0x000000001cbdb000 /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
+0x000000001cbdb000 /usr/lib/libDiagnosticMessagesClient.dylib
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
+0x000000001cbdb000 /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
+0x000000001cbdb000 /System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync
+0x000000001cbdb000 /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
+0x000000001cbdb000 /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
+0x000000001cbdb000 /usr/lib/libarchive.2.dylib
+0x000000001cbdb000 /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
+0x000000001cbdb000 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
+0x000000001cbdb000 /usr/lib/libCRFSuite.dylib
+0x000000001cbdb000 /usr/lib/libc++.1.dylib
+0x000000001cbdb000 /usr/lib/libc++abi.dylib
+0x000000001cbdb000 /usr/lib/system/libcache.dylib
+0x000000001cbdb000 /usr/lib/system/libcommonCrypto.dylib
+0x000000001cbdb000 /usr/lib/system/libcompiler_rt.dylib
+0x000000001cbdb000 /usr/lib/system/libcopyfile.dylib
+0x000000001cbdb000 /usr/lib/system/libcorecrypto.dylib
+0x000000001cbdb000 /usr/lib/system/libdispatch.dylib
+0x000000001cbdb000 /usr/lib/system/libdyld.dylib
+0x000000001cbdb000 /usr/lib/system/libkeymgr.dylib
+0x000000001cbdb000 /usr/lib/system/liblaunch.dylib
+0x000000001cbdb000 /usr/lib/system/libmacho.dylib
+0x000000001cbdb000 /usr/lib/system/libquarantine.dylib
+0x000000001cbdb000 /usr/lib/system/libremovefile.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_asl.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_blocks.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_c.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_configuration.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_coreservices.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_darwin.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_dnssd.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_info.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_m.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_malloc.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_networkextension.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_notify.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_sandbox.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_secinit.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_kernel.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_platform.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_pthread.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_symptoms.dylib
+0x000000001cbdb000 /usr/lib/system/libsystem_trace.dylib
+0x000000001cbdb000 /usr/lib/system/libunwind.dylib
+0x000000001cbdb000 /usr/lib/system/libxpc.dylib
+0x000000001cbdb000 /usr/lib/libbsm.0.dylib
+0x000000001cbdb000 /usr/lib/system/libkxld.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
+0x000000001cbdb000 /usr/lib/libOpenScriptingUtil.dylib
+0x000000001cbdb000 /usr/lib/libcoretls.dylib
+0x000000001cbdb000 /usr/lib/libcoretls_cfhelpers.dylib
+0x000000001cbdb000 /usr/lib/libpam.2.dylib
+0x000000001cbdb000 /usr/lib/libsqlite3.dylib
+0x000000001cbdb000 /usr/lib/libxar.1.dylib
+0x000000001cbdb000 /usr/lib/libbz2.1.0.dylib
+0x000000001cbdb000 /usr/lib/liblzma.5.dylib
+0x000000001cbdb000 /usr/lib/libnetwork.dylib
+0x000000001cbdb000 /usr/lib/libapple_nghttp2.dylib
+0x000000001cbdb000 /usr/lib/libpcap.A.dylib
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
+0x000000001cbdb000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
+0x000000001cbdb000 /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
+0x000000001cbdb000 /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
+0x000000001cbdb000 /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
+0x000000001cbdb000 /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
+0x000000001cbdb000 /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
+0x000000001cbdb000 /usr/lib/libmecabra.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
+0x000000001cbdb000 /usr/lib/libcompression.dylib
+0x000000001cbdb000 /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
+0x000000001cbdb000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler
+0x000000001cbdb000 /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
+0x000000001cbdb000 /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
+0x000000001cbdb000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Versions/A/MPSCore
+0x000000001cbdb000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/Versions/A/MPSImage
+0x000000001cbdb000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork
+0x000000001cbdb000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix
+0x000000001cbdb000 /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Versions/A/MPSRayIntersector
+0x000000001cbdb000 /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary
+0x000000001cbdb000 /usr/lib/libMobileGestalt.dylib
+0x000000001cbdb000 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
+0x000000001cbdb000 /System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer
+0x000000001cbdb000 /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
+0x000000001cbdb000 /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
+0x000000001cbdb000 /usr/lib/libFosl_dynamic.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/OTSVG.framework/Versions/A/OTSVG
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
+0x000000001cbdb000 /usr/lib/libcups.2.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
+0x000000001cbdb000 /System/Library/Frameworks/GSS.framework/Versions/A/GSS
+0x000000001cbdb000 /usr/lib/libresolv.9.dylib
+0x000000001cbdb000 /usr/lib/libiconv.2.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
+0x000000001cbdb000 /usr/lib/libheimdal-asn1.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
+0x000000001cbdb000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
+0x000000001cbdb000 /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
+0x000000001cbdb000 /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
+0x000000001cbdb000 /usr/lib/libutil.dylib
+0x000000001cbdb000 /usr/lib/libcharset.1.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AssertionServices.framework/Versions/A/AssertionServices
+0x000000001cbdb000 /System/Library/PrivateFrameworks/BaseBoard.framework/Versions/A/BaseBoard
+0x000000001cbdb000 /usr/lib/libmecab.1.0.0.dylib
+0x000000001cbdb000 /usr/lib/libgermantok.dylib
+0x000000001cbdb000 /usr/lib/libThaiTokenizer.dylib
+0x000000001cbdb000 /usr/lib/libChineseTokenizer.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
+0x000000001cbdb000 /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
+0x000000001cbdb000 /usr/lib/libcmph.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
+0x000000001cbdb000 /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
+0x000000001cbdb000 /usr/lib/libxslt.1.dylib
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
+0x000000001cbdb000 /System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
+0x000000001cbdb000 /usr/lib/libate.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AuthKit.framework/Versions/A/AuthKit
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
+0x000000001cbdb000 /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
+0x000000001cbdb000 /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
+0x000000001cbdb000 /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
+0x000000001cbdb000 /System/Library/PrivateFrameworks/MobileKeyBag.framework/Versions/A/MobileKeyBag
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CorePhoneNumbers.framework/Versions/A/CorePhoneNumbers
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppleIDAuthSupport.framework/Versions/A/AppleIDAuthSupport
+0x000000001cbdb000 /System/Library/PrivateFrameworks/KeychainCircle.framework/Versions/A/KeychainCircle
+0x000000001cbdb000 /System/Library/PrivateFrameworks/ROCKit.framework/Versions/A/ROCKit
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
+0x000000001cbdb000 /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
+0x000000001cbdb000 /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
+0x0000000102c00000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/server/libjvm.dylib
+0x000000001cbdb000 /usr/lib/libstdc++.6.dylib
+0x000000010121f000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libverify.dylib
+0x000000010122d000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libjava.dylib
+0x000000010126b000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libzip.dylib
+0x000000001cbdb000 /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaRuntimeSupport.framework/Versions/A/JavaRuntimeSupport
+0x000000001cbdb000 /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation
+0x000000001cbdb000 /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
+0x000000001cbdb000 /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
+0x000000001cbdb000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
+0x000000012a1ae000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libawt.dylib
+0x000000012a256000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/./libmlib_image.dylib
+0x000000012a322000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libawt_lwawt.dylib
+0x000000012a3d9000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/./libosxapp.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHandling
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
+0x000000001cbdb000 /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
+0x000000001cbdb000 /System/Library/PrivateFrameworks/MobileAsset.framework/Versions/A/MobileAsset
+0x000000001cbdb000 /System/Library/PrivateFrameworks/StreamingZip.framework/Versions/A/StreamingZip
+0x000000001cbdb000 /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD
+0x000000001cbdb000 /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility
+0x000000001cbdb000 /System/Library/PrivateFrameworks/Mangrove.framework/Versions/A/Mangrove
+0x000000001cbdb000 /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
+0x000000001cbdb000 /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
+0x000000001cbdb000 /usr/lib/libspindump.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
+0x000000001cbdb000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
+0x000000001cbdb000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
+0x000000001cbdb000 /System/Library/Extensions/AMDMTLBronzeDriver.bundle/Contents/MacOS/AMDMTLBronzeDriver
+0x000000001cbdb000 /System/Library/PrivateFrameworks/IOAccelMemoryInfo.framework/Versions/A/IOAccelMemoryInfo
+0x000000001cbdb000 /System/Library/Extensions/AppleIntelKBLGraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelKBLGraphicsMTLDriver
+0x000000001cbdb000 /System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/3902/Libraries/libmetal_timestamp.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
+0x000000001cbdb000 /System/Library/PrivateFrameworks/SystemAdministration.framework/Versions/A/SystemAdministration
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContainer
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox
+0x000000001cbdb000 /System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWrapper
+0x000000001cbdb000 /usr/lib/libsandbox.1.dylib
+0x000000001cbdb000 /usr/lib/libMatch.1.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManagement
+0x000000001cbdb000 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
+0x000000001cbdb000 /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
+0x000000001cbdb000 /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/LoginUICore.framework/Versions/A/LoginUICore
+0x000000001cbdb000 /usr/lib/libCoreStorage.dylib
+0x000000001cbdb000 /usr/lib/libcsfde.dylib
+0x000000001cbdb000 /usr/lib/libodfde.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
+0x000000001cbdb000 /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
+0x000000001cbdb000 /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
+0x000000001cbdb000 /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/Versions/A/ProtectedCloudStorage
+0x000000001cbdb000 /usr/lib/libcurl.4.dylib
+0x000000001cbdb000 /usr/lib/libcrypto.42.dylib
+0x000000001cbdb000 /usr/lib/libssl.44.dylib
+0x000000001cbdb000 /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
+0x000000001cbdb000 /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
+0x000000001cbdb000 /usr/lib/libsasl2.2.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
+0x000000001cbdb000 /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
+0x000000001cbdb000 /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge
+0x000000012a9b1000 /usr/lib/libobjc-trampolines.dylib
+0x000000012d20d000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libfontmanager.dylib
+0x000000012d274000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libosxui.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
+0x000000001cbdb000 /System/Library/Extensions/AppleIntelKBLGraphicsGLDriver.bundle/Contents/MacOS/AppleIntelKBLGraphicsGLDriver
+0x000000001cbdb000 /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
+0x000000012dd1b000 /System/Library/Extensions/AMDRadeonX4000GLDriver.bundle/Contents/MacOS/AMDRadeonX4000GLDriver
+0x000000001cbdb000 /System/Library/Extensions/AMDRadeonX4000GLDriver.bundle/Contents/MacOS/ATIRadeonX4000SCLib.dylib
+0x000000001cbdb000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
+0x000000001cbdb000 /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
+0x000000001cbdb000 /usr/lib/libcrypto.35.dylib
+0x000000013470e000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libnet.dylib
+0x0000000134725000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libnio.dylib
+0x000000012b8fc000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libdcpr.dylib
+0x000000001cbdb000 /System/Library/PrivateFrameworks/login.framework/Versions/A/login
+0x000000017ac23000 /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libsunec.dylib
+
+VM Arguments:
+jvm_args: -Dapplication.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home -Xms8m -Djconsole.showOutputViewer
+java_command: sun.tools.jconsole.JConsole
+java_class_path (initial): /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/classes
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/Library/Java/JavaVirtualMachines/Java8/Contents/Home
+PATH=/Users/rgoers/.nvm/versions/node/v7.0.0/bin:/usr/local/opt/protobuf@2.5/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/PostgreSQL/11/bin:/opt/subversion/bin:/opt/ant/ant19/bin:/Users/rgoers/bin:/usr/local/git/bin:/opt/maven/maven/bin:/Library/Java/JavaVirtualMachines/Java8/Contents/Home/bin:/opt/gradle/gradle/bin:/opt/roo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/usr/local/MacGPG2/bin:/opt/X11/bin
+SHELL=/bin/bash
+DISPLAY=/private/tmp/com.apple.launchd.GVYLrXVX6R/org.macosforge.xquartz:0
+
+Signal Handlers:
+SIGSEGV: [libjvm.dylib+0x5b26e5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO
+SIGBUS: [libjvm.dylib+0x5b26e5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGFPE: [libjvm.dylib+0x489100], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGPIPE: [libjvm.dylib+0x489100], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGXFSZ: [libjvm.dylib+0x489100], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGILL: [libjvm.dylib+0x489100], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGUSR1: SIG_DFL, sa_mask[0]=11011111011111100000000111000110, sa_flags=none
+SIGUSR2: [libjvm.dylib+0x488c1e], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
+SIGHUP: [libjvm.dylib+0x4871f5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGINT: [libjvm.dylib+0x4871f5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGTERM: [libjvm.dylib+0x4871f5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+SIGQUIT: [libjvm.dylib+0x4871f5], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
+
+
+--------------- S Y S T E M ---------------
+
+OS:Bsduname:Darwin 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64
+rlimit: STACK 8192k, CORE 0k, NPROC 4256, NOFILE 10240, AS infinity
+load average:2.83 2.52 2.64
+
+CPU:total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 158 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx
+
+Memory: 4k page, physical 33554432k(62404k free)
+
+/proc/meminfo:
+
+
+vm_info: Java HotSpot(TM) 64-Bit Server VM (25.144-b01) for bsd-amd64 JRE (1.8.0_144-b01), built on Jul 21 2017 22:07:42 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
+
+time: Wed Feb 13 15:21:15 2019
+elapsed time: 4291 seconds (0d 1h 11m 31s)
+
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
index c0a31f7..6ab556b 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-spring-cloud-config</artifactId>
- <version>2.11.2-SNAPSHOT</version>
+ <version>2.12.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-spring-cloud-config-client</artifactId>
@@ -44,6 +44,10 @@
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-bus</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java
index 05b02f9..459be37 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java
@@ -34,6 +34,7 @@ import org.apache.logging.log4j.core.config.ConfigurationSource;
import org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier;
import org.apache.logging.log4j.core.net.ssl.SslConfiguration;
import org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory;
+import org.apache.logging.log4j.core.util.AuthorizationProvider;
import org.apache.logging.log4j.core.util.FileUtils;
import org.apache.logging.log4j.status.StatusLogger;
import org.apache.logging.log4j.util.PropertiesUtil;
@@ -104,6 +105,10 @@ public class Log4j2CloudConfigLoggingSystem extends Log4J2LoggingSystem {
private ConfigurationSource getConfigurationSource(URL url) throws IOException, URISyntaxException {
URLConnection urlConnection = url.openConnection();
+ AuthorizationProvider provider = ConfigurationFactory.getAuthorizationProvider();
+ if (provider != null) {
+ provider.addAuthorization(urlConnection);
+ }
if (url.getProtocol().equals(HTTPS)) {
SslConfiguration sslConfiguration = SslConfigurationFactory.getSslConfiguration();
if (sslConfiguration != null) {
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java
index 29cdc92..96812d2 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/src/main/java/org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java
@@ -18,28 +18,32 @@ package org.apache.logging.log4j.spring.cloud.config.client;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
-import org.springframework.cloud.context.environment.EnvironmentChangeEvent;
-import org.springframework.cloud.context.refresh.ContextRefresher;
+
+import org.springframework.cloud.bus.ConditionalOnBusEnabled;
+import org.springframework.cloud.bus.SpringCloudBusClient;
+import org.springframework.cloud.bus.event.RemoteApplicationEvent;
+import org.springframework.cloud.stream.annotation.EnableBinding;
+import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;
-/**
- * Listen for events indicating the remote configuration has changed.
- */
@Component
-@ConditionalOnClass(ContextRefresher.class)
-@ConditionalOnBean(ContextRefresher.class)
+@ConditionalOnBusEnabled
+@EnableBinding(SpringCloudBusClient.class)
@ConditionalOnProperty(value = "spring.cloud.config.watch.enabled")
public class Log4j2EventListener {
+ private static Logger LOGGER = LogManager.getLogger(Log4j2EventListener.class);
- private static Logger LOGGER = LogManager.getLogger(Log4j2EventListener.class);
+ @EventListener(classes = RemoteApplicationEvent.class)
+ public void acceptLocal(RemoteApplicationEvent event) {
+ LOGGER.debug("Refresh application event triggered");
+ WatchEventManager.publishEvent();
+ }
- @EventListener(EnvironmentChangeEvent.class)
- public void handleEnvironmentChangeEvent(EnvironmentChangeEvent event) {
- LOGGER.debug("Environment change event received");
- WatchEventManager.publishEvent();
- }
+ @StreamListener(SpringCloudBusClient.INPUT)
+ public void acceptRemote(RemoteApplicationEvent event) {
+ LOGGER.debug("Refresh application event triggered");
+ WatchEventManager.publishEvent();
+ }
}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/Dockerfile b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/Dockerfile
new file mode 100644
index 0000000..c774202
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/Dockerfile
@@ -0,0 +1,16 @@
+# Alpine Linux with OpenJDK
+#FROM openjdk:8-jdk-alpine
+FROM openjdk:11-jdk-slim
+
+ARG build_version
+ENV BUILD_VERSION=${build_version}
+RUN mkdir /service
+
+ADD ./target/sampleapp.jar /service/
+WORKDIR /service
+
+EXPOSE 8080 5005
+#EXPOSE 8080
+
+CMD java "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005" -jar sampleapp.jar
+#CMD java -jar sampleapp.jar
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md
new file mode 100644
index 0000000..93448e3
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md
@@ -0,0 +1,53 @@
+#Local Development
+###Prerequisites
+Note: This guide uses Homebrew (package manage for macOS). It is not necessary to use Homebrew, but it does
+simplify the installation process.
+* Install Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
+ * If you already have Homebrew installed, make sure it is updated: `brew update`
+* Add the cask-versions tap for Homebrew: `brew tap homebrew/cask-versions`
+* Install Docker: `brew cask install docker`
+* Install docker-machine: `brew install docker-machine`
+* Set up Docker connection to nexus: https://confluence.nextiva.xyz/display/DP/Docker+connection+to+nexus
+* Find OpenJDK 11 cask `brew search java`
+ * Currently the cask for java 11 is just named 'java', but this may change in the future. You can verify by
+ running `brew cask info <caskName>` to verify the version.
+* Install OpenJDK 11 cask: `brew cask install java`
+* Set JAVA_HOME to java 11 installation directory (/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home)
+ * If you need to use and switch between multiple Java versions, consider using jEnv to simplify this process
+ http://www.jenv.be
+
+###Starting the Application
+* Start local postgres image `./docker/up.sh`
+* Compile and start local application image `./docker/restartApp.sh`
+ * Alternatively: Run FulfillmentApplication.java as a Spring Boot application using java -jar target/fulfillment-service.jar.
+* Local swagger URL is available at http://localhost:8080/swagger-ui.html
+
+# Java client
+* Using the fulfillment-service-client is recommended when integrating Java applications with this service.
+###Using the client
+* Add the latest version of fulfillment-service-client as a dependency to your application.
+* Import the OrderSubmissionServiceClient class into your application configuration.
+* Specify fulfillment-service.url as a property
+
+# Database setup
+Docker will create a container for postgres - a local version of Postgresql does not need to be installed.
+Before starting the application the tables in Postgres must be created. Until this is automatced login to pgAdmin
+using fulfillment_app/fulfillment_app as the credentialsand run the script in
+fulfillment-service-web/resources/postgres/schema.sql.
+
+# Environment properties
+* This applications uses Kubernetes Config Maps to configure properties for an environment. The properties
+configured in application.yml will be used unless overridden at https://git.nextiva.xyz/projects/REL/repos/k8s-platform/browse
+
+# Swagger
+* Dev: https://fulfillment-service.dev.nextiva.io/swagger-ui.ml
+* Rc: https://fulfillment-service.qa.nextiva.io/swagger-ui.html
+* Prod: https://fulfillment-service.prod.nextiva.io/swagger-ui.html
+
+#Automated Testing
+<!---
+* Unit tests can be run using `mvn test -Dgroups=UnitTest`
+* Integration tests (do not require Fulfillment Service but do require connection to third parties)
+can be run using `mvn test -Dgroups=IntegrationTest`
+-->
+* Functional tests (those that require Fulfillment Service running) can be run using `mvn -P integration-tests verify`
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/docker-compose.yml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/docker-compose.yml
new file mode 100755
index 0000000..61e1d4d
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/docker-compose.yml
@@ -0,0 +1,23 @@
+version: "3"
+services:
+ rabbitmq:
+ image: rabbitmq:3-management-alpine
+ expose:
+ - "5672"
+ - "15672"
+ ports:
+ - "5672:5672"
+ - "15672:15672"
+ volumes:
+ - ./init/rabbit/rabbitmq.config:/etc/rabbitmq/rabbitmq.config:ro
+ - ./init/rabbit/definitions.json:/etc/rabbitmq/definitions.json:ro
+ networks:
+ sample_app:
+ aliases:
+ - rabbitmq
+
+networks:
+ sample_app:
+
+volumes:
+ pgdata:
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/down.sh b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/down.sh
new file mode 100755
index 0000000..79ff27e
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/down.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+echo Stopping containers and removing containers, networks, volumes, and images created by up.
+DIR=`dirname "$0"`
+docker-compose --file ${DIR}/docker-compose.yml down --rmi local -v
+docker-compose --file ${DIR}/docker-compose.yml rm --force -v
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/init/rabbit/definitions.json b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/init/rabbit/definitions.json
new file mode 100644
index 0000000..835f10e
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/init/rabbit/definitions.json
@@ -0,0 +1,36 @@
+{
+ "rabbit_version": "3.6.14",
+ "users": [
+ {
+ "name": "guest",
+ "password_hash": "8NWJazmxFqF0nohjVsE6rRP9wvwzEq/fpUel2in5Y3YAE3KZ",
+ "hashing_algorithm": "rabbit_password_hashing_sha256",
+ "tags": "administrator"
+ }
+ ],
+ "vhosts": [
+ {
+ "name": "/"
+ }
+ ],
+ "permissions": [
+ {
+ "user": "guest",
+ "vhost": "/",
+ "configure": ".*",
+ "write": ".*",
+ "read": ".*"
+ }
+ ],
+ "parameters": [],
+ "global_parameters": [
+ {
+ "name": "cluster_name",
+ "value": "rabbit@c85301775966"
+ }
+ ],
+ "policies": [],
+ "queues": [],
+ "exchanges": [],
+ "bindings": []
+}
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/init/rabbit/rabbitmq.config b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/init/rabbit/rabbitmq.config
new file mode 100644
index 0000000..b55f508
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/init/rabbit/rabbitmq.config
@@ -0,0 +1,14 @@
+[
+ {
+ rabbit,
+ [
+ { loopback_users, [] }
+ ]
+ },
+ {
+ rabbitmq_management,
+ [
+ { load_definitions, "/etc/rabbitmq/definitions.json" }
+ ]
+ }
+].
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/logs.sh b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/logs.sh
new file mode 100755
index 0000000..8cf865d
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/logs.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+DIR=`dirname "$0"`
+# dump existing logs and start tailing them
+# https://docs.docker.com/compose/reference/logs
+docker-compose --file ${DIR}/../docker/docker-compose.yml logs --follow --tail=all
+
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/restartApp.sh b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/restartApp.sh
new file mode 100755
index 0000000..10a1fc9
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/restartApp.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+imageName=sampleapp
+containerName=app-container
+networkName=docker_sampleapp
+debug_port=5005
+debug_expose="-p $debug_port:$debug_port"
+exposed_ports="-p 8080:10010 $debug_expose"
+
+mvn clean package -DskipTests=true
+
+docker build -t $imageName -f Dockerfile .
+
+echo Delete old container...
+docker rm -f $containerName
+
+echo Run new container...
+docker run -e "SERVICE_PARAMS=--spring.config.location=classpath:/,classpath:/application-local-docker.yml" \
+ --network=$networkName -d $exposed_ports --name $containerName $imageName
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/stop.sh b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/stop.sh
new file mode 100755
index 0000000..b7f83c6
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/stop.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+echo Stopping running containers without removing them.
+
+DIR=`dirname "$0"`
+docker-compose --file ${DIR}/../docker/docker-compose.yml stop
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/stopApp.sh b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/stopApp.sh
new file mode 100755
index 0000000..471d6e1
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/stopApp.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+containerName=app-container
+docker rm -f $containerName
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/up.sh b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/up.sh
new file mode 100755
index 0000000..6f6602b
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/docker/up.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+echo "Building, (re)creating, starting, and attaching to containers for a service."
+
+DIR=`dirname "$0"`
+docker-compose --file ${DIR}/docker-compose.yml up --detach --build
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
new file mode 100644
index 0000000..639a091
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.logging.log4j.samples</groupId>
+ <artifactId>log4j-spring-cloud-config-samples</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <relativePath>..</relativePath>
+ </parent>
+
+ <artifactId>sample-app</artifactId>
+ <packaging>jar</packaging>
+
+ <name>Spring Cloud Config Sample Application</name>
+ <url>http://maven.apache.org</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!--<manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>-->
+ </properties>
+
+ <dependencies>
+ <!-- Spring Boot dependencies -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-web</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jsr310</artifactId>
+ <version>${jackson2Version}</version>
+ </dependency>
+ <!-- Spring Cloud dependencies -->
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-bus-amqp</artifactId>
+ </dependency>
+
+ <!-- Spring Tests -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-tomcat</artifactId>
+ </dependency>
+
+ <!-- log dependencies -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-log4j2</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config-client</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>3.1.0</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>sampleapp</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <toolchains>
+ <jdk>
+ <version>[8, )</version>
+ </jdk>
+ </toolchains>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-test-compile</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <source>1.8</source>
+ <target>1.8</target>
+ <proc>none</proc>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.18.1</version>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <includes>
+ <include>**/Test*.java</include>
+ <include>**/*Test.java</include>
+ <include>**/IT*.java</include>
+ <include>**/*IT.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*FuncTest.java</exclude>
+ </excludes>
+ <forkCount>1</forkCount>
+ <systemPropertyVariables>
+ <environment>${environment}</environment>
+ <site>${site}</site>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>default-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifestFile>${manifestfile}</manifestFile>
+ <manifestEntries>
+ <Specification-Title>${project.name}</Specification-Title>
+ <Specification-Version>${project.version}</Specification-Version>
+ <Specification-Vendor>${project.organization.name}</Specification-Vendor>
+ <Implementation-Title>${project.name}</Implementation-Title>
+ <Implementation-Version>${project.version}</Implementation-Version>
+ <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
+ <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+ <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
+ <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
+ <Multi-Release>true</Multi-Release>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <version>${spring-boot.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>repackage</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <profiles>
+
+ </profiles>
+</project>
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/SampleApplication.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/SampleApplication.java
new file mode 100644
index 0000000..a1ac420
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/SampleApplication.java
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2019 Nextiva, Inc. to Present.
+ * All rights reserved.
+ */
+package org.apache.logging.log4j.spring.cloud.config.sample;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
+
+@SpringBootApplication
+public class SampleApplication extends SpringBootServletInitializer {
+ public static void main(String[] args) {
+ SpringApplication.run(SampleApplication.class, args);
+ }
+
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/config/GlobalExceptionHandler.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/config/GlobalExceptionHandler.java
new file mode 100644
index 0000000..8efa0a8
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/config/GlobalExceptionHandler.java
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.sample.config;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.ControllerAdvice;
+import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
+
+
+@ControllerAdvice
+public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
+
+ private static final Logger LOGGER = LogManager.getLogger(GlobalExceptionHandler.class);
+
+
+ private ResponseEntity<Object> getResponseEntity(Object responseMessage, HttpStatus httpStatus) {
+ return new ResponseEntity<>(responseMessage, httpStatus);
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/config/WebMvcConfig.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/config/WebMvcConfig.java
new file mode 100644
index 0000000..1576f88
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/config/WebMvcConfig.java
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.sample.config;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.apache.logging.log4j.spring.cloud.config.sample.utils.spring.SampleResponseErrorHandler;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.client.RestTemplate;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
+
+@Configuration
+public class WebMvcConfig extends WebMvcConfigurerAdapter {
+ private Logger LOGGER = LogManager.getLogger(WebMvcConfig.class);
+
+ @Bean
+ public RestTemplate restTemplate() {
+ RestTemplate restTemplate = new RestTemplate();
+ restTemplate.setErrorHandler(new SampleResponseErrorHandler());
+ return restTemplate;
+ }
+
+
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java
new file mode 100644
index 0000000..ceeda38
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/controller/SampleController.java
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.sample.controller;
+
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+@RestController
+@RequestMapping("/sample")
+public class SampleController {
+
+ private static final Logger LOGGER = LogManager.getLogger(SampleController.class);
+
+ @GetMapping
+ public ResponseEntity<String> get() {
+ LOGGER.info("Hello, World");
+ return ResponseEntity.ok("Hello, World");
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/utils/spring/SampleResponseErrorHandler.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/utils/spring/SampleResponseErrorHandler.java
new file mode 100644
index 0000000..77b4d1f
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/java/org/apache/logging/log4j/spring/cloud/config/sample/utils/spring/SampleResponseErrorHandler.java
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.sample.utils.spring;
+
+import java.io.IOException;
+import org.springframework.http.client.ClientHttpResponse;
+import org.springframework.web.client.ResponseErrorHandler;
+
+/**
+ * Custom http client error handler which doesn't throw exception in case http code is not 2xx.
+ */
+public class SampleResponseErrorHandler implements org.springframework.web.client.ResponseErrorHandler {
+ @Override
+ public boolean hasError(ClientHttpResponse clientHttpResponse) throws IOException {
+ return false;
+ }
+
+ @Override
+ public void handleError(ClientHttpResponse clientHttpResponse) throws IOException {
+
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/META-INF/MANIFEST.MF b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..e69de29
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/application.yml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/application.yml
new file mode 100644
index 0000000..71ca238
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/application.yml
@@ -0,0 +1,30 @@
+server:
+ port: 4567
+ servlet:
+ context-path: /sample
+
+security:
+ basic:
+ enabled: false
+
+management:
+ security:
+ enabled: false
+
+spring:
+ application:
+ name: sampleapp
+
+ cloud:
+ bus:
+ trace:
+ enabled: true
+ config:
+ watch:
+ enabled: true
+
+ rabbitmq:
+ addresses: rabbit
+ port: 5672
+ username: guest
+ password: guest
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/bootstrap.yml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000..3ea82d1
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/bootstrap.yml
@@ -0,0 +1,5 @@
+#Spring Cloud (Hystrix) config goes here.
+hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 30000
+logging:
+ config: http://host.docker.internal:8888/ConfigService/resource/samppleapp/default/master/log4j2.xml
+
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/log4j2.component.properties b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/log4j2.component.properties
new file mode 100644
index 0000000..c76fb7a
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/src/main/resources/log4j2.component.properties
@@ -0,0 +1,3 @@
+log4j.configurationFile=http://host.docker.internal:8888/ConfigService/resource/sampleapp/default/master/log4j2.xml
+log4j2.configurationUserName=guest
+log4j2.configurationPassword=guest
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/mvn.txt b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/mvn.txt
new file mode 100644
index 0000000..22fdad5
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/mvn.txt
@@ -0,0 +1,135 @@
+[INFO] Scanning for projects...
+[INFO]
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Log4j Sample Configuration Service 2.1.2.RELEASE
+[INFO] ------------------------------------------------------------------------
+Downloading: https://repo.spring.io/snapshot/org/apache/logging/log4j/log4j-spring-cloud-config-server/2.12.0-SNAPSHOT/maven-metadata.xml
+Downloading: http://repository.nextiva.xyz:8081/nexus/content/repositories/snapshots/org/apache/logging/log4j/log4j-spring-cloud-config-server/2.12.0-SNAPSHOT/maven-metadata.xml
+Downloading: http://repository.nextiva.xyz:8081/nexus/content/repositories/apache-snapshots/org/apache/logging/log4j/log4j-spring-cloud-config-server/2.12.0-SNAPSHOT/maven-metadata.xml
+
Downloading: https://repo.spring.io/snapshot/org/apache/logging/log4j/log4j-spring-cloud-config/2.12.0-SNAPSHOT/maven-metadata.xml
+
Downloading: https://repo.spring.io/snapshot/org/apache/logging/log4j/log4j/2.12.0-SNAPSHOT/maven-metadata.xml
+
Downloading: https://repo.spring.io/snapshot/org/apache/logging/log4j/log4j-api/2.12.0-SNAPSHOT/maven-metadata.xml
+
Downloading: https://repo.spring.io/snapshot/org/apache/logging/log4j/log4j-core/2.12.0-SNAPSHOT/maven-metadata.xml
+
Downloading: https://repo.spring.io/snapshot/org/apache/logging/log4j/log4j-slf4j-impl/2.12.0-SNAPSHOT/maven-metadata.xml
+
[INFO]
+[INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ log4j-spring-cloud-config-sample-server ---
+[INFO] org.apache.logging.log4j.samples:log4j-spring-cloud-config-sample-server:jar:2.1.2.RELEASE
+[INFO] +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.1.2.RELEASE:compile
+[INFO] | +- org.apache.logging.log4j:log4j-jul:jar:2.11.1:compile
+[INFO] | \- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
+[INFO] +- org.springframework.cloud:spring-cloud-starter-config:jar:2.1.0.RELEASE:compile
+[INFO] | +- org.springframework.cloud:spring-cloud-starter:jar:2.1.0.RELEASE:compile
+[INFO] | | +- org.springframework.cloud:spring-cloud-context:jar:2.1.0.RELEASE:compile
+[INFO] | | \- org.springframework.cloud:spring-cloud-commons:jar:2.1.0.RELEASE:compile
+[INFO] | +- org.springframework.cloud:spring-cloud-config-client:jar:2.1.0.RELEASE:compile
+[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.2.RELEASE:compile
+[INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
+[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.8:compile
+[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile
+[INFO] +- org.springframework.cloud:spring-cloud-config-server:jar:2.1.0.RELEASE:compile
+[INFO] | +- org.springframework.security:spring-security-crypto:jar:5.1.3.RELEASE:compile
+[INFO] | +- org.springframework.security:spring-security-rsa:jar:1.0.7.RELEASE:compile
+[INFO] | | \- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile
+[INFO] | | \- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile
+[INFO] | +- org.eclipse.jgit:org.eclipse.jgit:jar:5.1.3.201810200350-r:compile
+[INFO] | | +- com.jcraft:jsch:jar:0.1.54:compile
+[INFO] | | +- com.jcraft:jzlib:jar:1.1.1:compile
+[INFO] | | \- com.googlecode.javaewah:JavaEWAH:jar:1.1.6:compile
+[INFO] | +- org.eclipse.jgit:org.eclipse.jgit.http.apache:jar:5.1.3.201810200350-r:compile
+[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.6:compile
+[INFO] | | | \- commons-codec:commons-codec:jar:1.11:compile
+[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.10:compile
+[INFO] | \- org.yaml:snakeyaml:jar:1.23:compile
+[INFO] +- org.springframework.cloud:spring-cloud-config-monitor:jar:2.1.0.RELEASE:compile
+[INFO] | \- org.springframework.cloud:spring-cloud-bus:jar:2.1.0.RELEASE:compile
+[INFO] | +- org.springframework.cloud:spring-cloud-stream:jar:2.1.0.RELEASE:compile
+[INFO] | | +- org.springframework.boot:spring-boot-starter-validation:jar:2.1.2.RELEASE:compile
+[INFO] | | +- org.springframework:spring-messaging:jar:5.1.4.RELEASE:compile
+[INFO] | | +- org.springframework.integration:spring-integration-jmx:jar:5.1.2.RELEASE:compile
+[INFO] | | +- org.springframework:spring-tuple:jar:1.0.0.RELEASE:compile
+[INFO] | | | \- com.esotericsoftware:kryo-shaded:jar:3.0.3:compile
+[INFO] | | | \- com.esotericsoftware:minlog:jar:1.3.0:compile
+[INFO] | | +- org.springframework.integration:spring-integration-tuple:jar:1.0.0.RELEASE:compile
+[INFO] | | +- org.springframework.retry:spring-retry:jar:1.2.3.RELEASE:compile
+[INFO] | | \- org.springframework.cloud:spring-cloud-function-context:jar:2.0.0.RELEASE:compile
+[INFO] | | \- org.springframework.cloud:spring-cloud-function-core:jar:2.0.0.RELEASE:compile
+[INFO] | \- org.springframework.integration:spring-integration-core:jar:5.1.2.RELEASE:compile
+[INFO] | +- org.springframework:spring-tx:jar:5.1.4.RELEASE:compile
+[INFO] | \- io.projectreactor:reactor-core:jar:3.2.5.RELEASE:compile
+[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.2:compile
+[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.1.2.RELEASE:compile
+[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.2.RELEASE:compile
+[INFO] | | \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
+[INFO] | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.1.2.RELEASE:compile
+[INFO] | | +- org.springframework.boot:spring-boot-actuator:jar:2.1.2.RELEASE:compile
+[INFO] | | +- org.springframework:spring-context:jar:5.1.4.RELEASE:compile
+[INFO] | | \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.8:compile
+[INFO] | \- io.micrometer:micrometer-core:jar:1.1.2:compile
+[INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
+[INFO] | \- org.latencyutils:LatencyUtils:jar:2.0.3:compile
+[INFO] +- org.springframework.cloud:spring-cloud-starter-bus-amqp:jar:2.1.0.RELEASE:compile
+[INFO] | \- org.springframework.cloud:spring-cloud-starter-stream-rabbit:jar:2.1.0.RELEASE:compile
+[INFO] | \- org.springframework.cloud:spring-cloud-stream-binder-rabbit:jar:2.1.0.RELEASE:compile
+[INFO] | +- org.springframework.cloud:spring-cloud-stream-binder-rabbit-core:jar:2.1.0.RELEASE:compile
+[INFO] | | \- com.rabbitmq:http-client:jar:2.1.0.RELEASE:compile
+[INFO] | +- org.springframework.boot:spring-boot-starter-amqp:jar:2.1.2.RELEASE:compile
+[INFO] | | \- org.springframework.amqp:spring-rabbit:jar:2.1.3.RELEASE:compile
+[INFO] | | +- org.springframework.amqp:spring-amqp:jar:2.1.3.RELEASE:compile
+[INFO] | | \- com.rabbitmq:amqp-client:jar:5.4.3:compile
+[INFO] | \- org.springframework.integration:spring-integration-amqp:jar:5.1.2.RELEASE:compile
+[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.2.RELEASE:compile
+[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.2.RELEASE:compile
+[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.8:compile
+[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.8:compile
+[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.2.RELEASE:compile
+[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.14:compile
+[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.14:compile
+[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.14:compile
+[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.14.Final:compile
+[INFO] | | +- javax.validation:validation-api:jar:2.0.1.Final:compile
+[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
+[INFO] | | \- com.fasterxml:classmate:jar:1.4.0:compile
+[INFO] | +- org.springframework:spring-web:jar:5.1.4.RELEASE:compile
+[INFO] | | \- org.springframework:spring-beans:jar:5.1.4.RELEASE:compile
+[INFO] | \- org.springframework:spring-webmvc:jar:5.1.4.RELEASE:compile
+[INFO] | \- org.springframework:spring-expression:jar:5.1.4.RELEASE:compile
+[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.1.2.RELEASE:compile
+[INFO] | +- org.springframework:spring-aop:jar:5.1.4.RELEASE:compile
+[INFO] | +- org.springframework.security:spring-security-config:jar:5.1.3.RELEASE:compile
+[INFO] | | \- org.springframework.security:spring-security-core:jar:5.1.3.RELEASE:compile
+[INFO] | \- org.springframework.security:spring-security-web:jar:5.1.3.RELEASE:compile
+[INFO] +- org.apache.logging.log4j:log4j-spring-cloud-config-server:jar:2.12.0-SNAPSHOT:compile
+[INFO] | +- org.springframework.boot:spring-boot:jar:2.1.2.RELEASE:compile
+[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
+[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.12.0-SNAPSHOT:compile
+[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.12.0-SNAPSHOT:compile
+[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.12.0-SNAPSHOT:compile
+[INFO] | \- org.slf4j:slf4j-api:jar:1.7.25:compile
+[INFO] \- org.springframework.boot:spring-boot-starter-test:jar:2.1.2.RELEASE:test
+[INFO] +- org.springframework.boot:spring-boot-test:jar:2.1.2.RELEASE:test
+[INFO] +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.2.RELEASE:test
+[INFO] +- com.jayway.jsonpath:json-path:jar:2.4.0:test
+[INFO] | \- net.minidev:json-smart:jar:2.3:test
+[INFO] | \- net.minidev:accessors-smart:jar:1.2:test
+[INFO] | \- org.ow2.asm:asm:jar:5.0.4:test
+[INFO] +- junit:junit:jar:4.12:test
+[INFO] +- org.assertj:assertj-core:jar:3.11.1:test
+[INFO] +- org.mockito:mockito-core:jar:2.23.4:test
+[INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.7:test
+[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.9.7:test
+[INFO] | \- org.objenesis:objenesis:jar:2.6:compile
+[INFO] +- org.hamcrest:hamcrest-core:jar:1.3:test
+[INFO] +- org.hamcrest:hamcrest-library:jar:1.3:test
+[INFO] +- org.skyscreamer:jsonassert:jar:1.5.0:test
+[INFO] | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
+[INFO] +- org.springframework:spring-core:jar:5.1.4.RELEASE:compile
+[INFO] | \- org.springframework:spring-jcl:jar:5.1.4.RELEASE:compile
+[INFO] +- org.springframework:spring-test:jar:5.1.4.RELEASE:test
+[INFO] \- org.xmlunit:xmlunit-core:jar:2.6.2:test
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESS
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 4.180 s
+[INFO] Finished at: 2019-03-02T14:15:03-07:00
+[INFO] Final Memory: 39M/981M
+[INFO] ------------------------------------------------------------------------
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
new file mode 100644
index 0000000..8fdadeb
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.logging.log4j.samples</groupId>
+ <artifactId>log4j-spring-cloud-config-sample-server</artifactId>
+ <packaging>jar</packaging>
+
+ <name>Log4j Sample Configuration Service</name>
+ <description>Sample Cloud Config Server</description>
+
+ <parent>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-parent</artifactId>
+ <version>2.1.2.RELEASE</version>
+ <relativePath/> <!-- lookup parent from repository -->
+ </parent>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <java.version>1.8</java.version>
+ <spring-cloud-config.version>2.1.0.RELEASE</spring-cloud-config.version>
+ <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
+ <log4j.version>2.12.0-SNAPSHOT</log4j.version>
+
+
+ <!-- paths -->
+ <sonar.dependencyCheck.reportPath>${project.build.directory}/dependency-check-report.xml
+ </sonar.dependencyCheck.reportPath>
+
+ <!-- maven plugin versions -->
+ <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
+ <maven.findbugs.version>3.0.5</maven.findbugs.version>
+ <maven.google.code.findbugs.version>3.0.2</maven.google.code.findbugs.version>
+ <maven.google.code.findbugs.findbugs.version>3.0.1</maven.google.code.findbugs.findbugs.version>
+ <maven.jacoco.version>0.8.1</maven.jacoco.version>
+ <maven.pmd.version>3.9.0</maven.pmd.version>
+
+ <!-- maven plugin config -->
+ <pmd.failurePriority>2</pmd.failurePriority>
+
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-dependencies</artifactId>
+ <version>${spring-cloud.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- log dependencies -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-log4j2</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-config</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-server</artifactId>
+ <version>${spring-cloud-config.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-monitor</artifactId>
+ <version>${spring-cloud-config.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-bus-amqp</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-web</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-security</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config-server</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-test</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <!-- here the phase you need -->
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target/config-repo</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/config-repo</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${maven.jacoco.version}</version>
+ <configuration>
+ <excludes>
+ <exclude>com/oracle/brm/**/*.class</exclude>
+ <exclude>org/w3/**/*.class</exclude>
+ <exclude>org/xmlsoap/**/*.class</exclude>
+ <exclude>oracle/security/pki/*.class</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <repository>
+ <id>spring-snapshots</id>
+ <name>Spring Snapshots</name>
+ <url>https://repo.spring.io/snapshot</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>spring-milestones</id>
+ <name>Spring Milestones</name>
+ <url>https://repo.spring.io/libs-milestone</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+
+</project>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/readme.txt b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/readme.txt
new file mode 100644
index 0000000..e69de29
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/config-repo/log4j2.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/config-repo/log4j2.xml
new file mode 100644
index 0000000..badf122
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/config-repo/log4j2.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<Configuration status="DEBUG" monitorInterval="0">
+ <properties>
+ <property name="LOG_DIR">\${sys:user.dir}/logs/sample-app</property>
+ </properties>
+ <Appenders>
+
+ <RollingFile name="log4j" fileName="${LOG_DIR}/log4j.txt" filePattern="${LOG_DIR}/archive/log4j.txt.%d{yyyyMMdd_HH}-%i">
+ <PatternLayout pattern="%d [%t] %-5p %C{1.}.%M:%L - %m%n"/>
+ <Policies>
+ <SizeBasedTriggeringPolicy size="30 KB"/>
+ </Policies>
+ </RollingFile>
+
+ </Appenders>
+ <Loggers>
+ <Root level="DEBUG">
+ <AppenderRef ref="log4j"/>
+ </Root>
+ </Loggers>
+</Configuration>
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/service/ConfigServiceApplication.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/service/ConfigServiceApplication.java
new file mode 100644
index 0000000..7fdbb99
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/service/ConfigServiceApplication.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.service;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.config.server.EnableConfigServer;
+
+@EnableConfigServer
+@SpringBootApplication
+public class ConfigServiceApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(ConfigServiceApplication.class, args);
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/service/config/SecurityConfiguration.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/service/config/SecurityConfiguration.java
new file mode 100644
index 0000000..1abf6d7
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/java/org/apache/logging/log4j/spring/cloud/config/service/config/SecurityConfiguration.java
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.service.config;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.security.config.annotation.web.builders.WebSecurity;
+import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
+import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
+
+/**
+ *
+ */
+@Configuration
+@EnableWebSecurity
+public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
+ @Override
+ public void configure(WebSecurity web) throws Exception {
+ web.ignoring().antMatchers("/health")
+ .antMatchers("/metrics")
+ .antMatchers("/info");
+ getHttp().csrf().disable();
+ }
+}
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/application.yaml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/application.yaml
new file mode 100644
index 0000000..b559127
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/application.yaml
@@ -0,0 +1,38 @@
+spring:
+ cloud:
+ bus:
+ enabled: true
+ config:
+ server:
+# git:
+# uri:
+# searchPaths: "{application},{application}/{profile}"
+ native:
+ searchLocations: file:///${user.dir}/config-repo,file:///${user.dir}/config-repo/{application},file:///${user.dir}/config-repo/{application}/{profile}
+
+ security:
+ user:
+ name: guest
+ password: guest
+
+ rabbitmq:
+ addresses: localhost
+ port: 5672
+ username: guest
+ password: guest
+
+ profiles:
+ active: native
+
+server:
+ port: 8888
+
+ servlet:
+ context-path: /ConfigService
+
+management:
+ endpoints:
+ web:
+ base-path: /
+ exposure:
+ include: health, info, refresh
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml
new file mode 100644
index 0000000..ff66652
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<Configuration status="ERROR" name="ConfigService">
+ <Appenders>
+ <Console name="STDOUT">
+ <PatternLayout pattern="%d %-5level [%t][%logger]%notEmpty{[%markerSimpleName]} %msg%n%xThrowable" />
+ </Console>
+ </Appenders>
+ <Loggers>
+ <Root level="debug">
+ <AppenderRef ref="STDOUT" />
+ </Root>
+ </Loggers>
+</Configuration>
\ No newline at end of file
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/test/java/org/apache/logging/log4j/spring/cloud/config/service/ConfigServiceApplicationTest.java b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/test/java/org/apache/logging/log4j/spring/cloud/config/service/ConfigServiceApplicationTest.java
new file mode 100644
index 0000000..011366f
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/test/java/org/apache/logging/log4j/spring/cloud/config/service/ConfigServiceApplicationTest.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.spring.cloud.config.service;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@SpringBootTest
+public class ConfigServiceApplicationTest {
+
+ @Test
+ public void contextLoads() {
+ }
+
+}
diff --git a/log4j-spring-cloud-config/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml
similarity index 64%
copy from log4j-spring-cloud-config/pom.xml
copy to log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml
index 37282c9..21dedd6 100644
--- a/log4j-spring-cloud-config/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml
@@ -19,57 +19,43 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>2.11.2-SNAPSHOT</version>
+ <artifactId>log4j-spring-cloud-config</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-spring-cloud-config</artifactId>
+ <groupId>org.apache.logging.log4j.samples</groupId>
+ <artifactId>log4j-spring-cloud-config-samples</artifactId>
<packaging>pom</packaging>
- <name>Apache Log4j Spring Cloud Config Support</name>
+ <name>Apache Log4j Spring Cloud Config Samples</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revapi.skip>true</revapi.skip>
- <spring-cloud-config.version>2.0.3.BUILD-SNAPSHOT</spring-cloud-config.version>
- <spring-boot.version>2.1.1.RELEASE</spring-boot.version>
- <spring.version>5.0.5.RELEASE</spring.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-config-dependencies</artifactId>
- <version>${spring-cloud-config.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot</artifactId>
- <version>${spring-boot.version}</version>
- <type>pom</type>
- <scope>import</scope>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>${spring.version}</version>
+ <artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>${spring.version}</version>
+ <artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>${spring.version}</version>
+ <groupId>org.springframework.ws</groupId>
+ <artifactId>spring-ws-core</artifactId>
+ <version>2.1.4.RELEASE</version>
</dependency>
<dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${spring.version}</version>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -80,11 +66,20 @@
</dependencies>
</dependencyManagement>
<modules>
- <module>log4j-spring-cloud-config-server</module>
- <module>log4j-spring-cloud-config-client</module>
+ <module>log4j-spring-cloud-config-sample-server</module>
+ <module>log4j-spring-cloud-config-sample-application</module>
</modules>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>${site.plugin.version}</version>
+ <configuration>
+ <skip>true</skip>
+ <skipDeploy>true</skipDeploy>
+ </configuration>
+ </plugin>
<!-- Include the standard NOTICE and LICENSE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -100,6 +95,14 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>${deploy.plugin.version}</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.txt b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.txt
new file mode 100644
index 0000000..797f3af
--- /dev/null
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.txt
@@ -0,0 +1,7048 @@
+[INFO] Scanning for projects...
+[INFO]
+[INFO] ------------------------------------------------------------------------
+[INFO] Building Apache Log4j Spring Cloud Config Server Support 2.12.0-SNAPSHOT
+[INFO] ------------------------------------------------------------------------
+[INFO]
+[INFO] --- maven-help-plugin:3.1.0:effective-pom (default-cli) @ log4j-spring-cloud-config-server ---
+[INFO]
+Effective POMs, after inheritance, interpolation, and profiles are applied:
+
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Generated by Maven Help Plugin on 2019-03-01T16:18:01-07:00 -->
+<!-- See: http://maven.apache.org/plugins/maven-help-plugin/ -->
+<!-- -->
+<!-- ====================================================================== -->
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Effective POM for project -->
+<!-- 'org.apache.logging.log4j:log4j-spring-cloud-config-server:jar:2.12.0-SNAPSHOT' -->
+<!-- -->
+<!-- ====================================================================== -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-spring-cloud-config-server</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <name>Apache Log4j Spring Cloud Config Server Support</name>
+ <description />
+ <url>http://maven.apache.org/log4j-spring-cloud-config-server</url>
+ <inceptionYear>1999</inceptionYear>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>https://www.apache.org/</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <developers>
+ <developer>
+ <id>rgoers</id>
+ <name>Ralph Goers</name>
+ <email>rgoers@apache.org</email>
+ <organization>Nextiva</organization>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>America/Phoenix</timezone>
+ </developer>
+ <developer>
+ <id>ggregory</id>
+ <name>Gary Gregory</name>
+ <email>ggregory@apache.org</email>
+ <organization>Rocket Software</organization>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>America/Denver</timezone>
+ </developer>
+ <developer>
+ <id>sdeboy</id>
+ <name>Scott Deboy</name>
+ <email>sdeboy@apache.org</email>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>America/Los_Angeles</timezone>
+ </developer>
+ <developer>
+ <id>rpopma</id>
+ <name>Remko Popma</name>
+ <email>rpopma@apache.org</email>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>Asia/Tokyo</timezone>
+ <properties>
+ <picUrl>http://people.apache.org/~rpopma/img/profilepic.jpg</picUrl>
+ </properties>
+ </developer>
+ <developer>
+ <id>nickwilliams</id>
+ <name>Nick Williams</name>
+ <email>nickwilliams@apache.org</email>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>America/Chicago</timezone>
+ </developer>
+ <developer>
+ <id>mattsicker</id>
+ <name>Matt Sicker</name>
+ <email>mattsicker@apache.org</email>
+ <organization>CloudBees</organization>
+ <roles>
+ <role>PMC Chair</role>
+ </roles>
+ <timezone>America/Chicago</timezone>
+ </developer>
+ <developer>
+ <id>bbrouwer</id>
+ <name>Bruce Brouwer</name>
+ <email>bruce.brouwer@gmail.com</email>
+ <roles>
+ <role>Committer</role>
+ </roles>
+ <timezone>America/Detroit</timezone>
+ </developer>
+ <developer>
+ <id>mikes</id>
+ <name>Mikael Ståldal</name>
+ <email>mikes@apache.org</email>
+ <organization>Spotify</organization>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>Europe/Stockholm</timezone>
+ </developer>
+ <developer>
+ <id>ckozak</id>
+ <name>Carter Kozak</name>
+ <email>ckozak@apache.org</email>
+ <roles>
+ <role>PMC Member</role>
+ </roles>
+ <timezone>America/New York</timezone>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Murad Ersoy</name>
+ <email>muradersoy@gmail.com</email>
+ <url>https://www.behance.net/muradersoy</url>
+ <roles>
+ <role>Illustrator and Designer</role>
+ <role>created the new Log4j 2 logo.</role>
+ </roles>
+ <timezone>Europe/Istanbul</timezone>
+ <properties>
+ <picUrl>https://mir-s3-cdn-cf.behance.net/user/138/403dcf1521581.54d67f8fb01f7.jpg</picUrl>
+ </properties>
+ </contributor>
+ </contributors>
+ <mailingLists>
+ <mailingList>
+ <name>log4j-user</name>
+ <subscribe>log4j-user-subscribe@logging.apache.org</subscribe>
+ <unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe>
+ <post>log4j-user@logging.apache.org</post>
+ <archive>https://lists.apache.org/list.html?log4j-user@logging.apache.org</archive>
+ <otherArchives>
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/logging-log4j-user/</otherArchive>
+ <otherArchive>http://marc.info/?l=log4j-user</otherArchive>
+ <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive>
+ </otherArchives>
+ </mailingList>
+ <mailingList>
+ <name>dev</name>
+ <subscribe>dev-subscribe@logging.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@logging.apache.org</unsubscribe>
+ <post>dev@logging.apache.org</post>
+ <archive>https://lists.apache.org/list.html?dev@logging.apache.org</archive>
+ <otherArchives>
+ <otherArchive>http://mail-archives.apache.org/mod_mbox/logging-dev/</otherArchive>
+ <otherArchive>http://marc.info/?l=dev</otherArchive>
+ <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive>
+ </otherArchives>
+ </mailingList>
+ </mailingLists>
+ <scm>
+ <connection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</connection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <tag>log4j-2.11.2</tag>
+ <url>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</url>
+ </scm>
+ <issueManagement>
+ <system>JIRA</system>
+ <url>https://issues.apache.org/jira/browse/LOG4J2</url>
+ </issueManagement>
+ <ciManagement>
+ <system>Jenkins</system>
+ <url>https://builds.apache.org/job/Log4j%202.x/</url>
+ </ciManagement>
+ <distributionManagement>
+ <repository>
+ <id>apache.releases.https</id>
+ <name>Apache Release Distribution Repository</name>
+ <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+ </repository>
+ <snapshotRepository>
+ <id>apache.snapshots.https</id>
+ <name>Apache Development Snapshot Repository</name>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ </snapshotRepository>
+ <site>
+ <id>www.example.com</id>
+ <url>scp://www.example.com/www/docs/project/log4j-spring-cloud-config/log4j-spring-cloud-config-server/</url>
+ </site>
+ <downloadUrl>https://logging.apache.org/log4j/2.x/download.html</downloadUrl>
+ </distributionManagement>
+ <properties>
+ <Log4jReleaseKey>B3D8E1BA</Log4jReleaseKey>
+ <Log4jReleaseManager>Ralph Goers</Log4jReleaseManager>
+ <Log4jReleaseVersion>2.11.2</Log4jReleaseVersion>
+ <activemq.version>5.14.5</activemq.version>
+ <argLine>-Xms256m -Xmx1024m</argLine>
+ <arguments />
+ <assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
+ <changes.plugin.version>2.12.1</changes.plugin.version>
+ <checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
+ <clirr.plugin.version>2.8</clirr.plugin.version>
+ <cobertura.plugin.version>2.7</cobertura.plugin.version>
+ <commonsLoggingVersion>1.2</commonsLoggingVersion>
+ <compiler.plugin.version>3.8.0</compiler.plugin.version>
+ <conversantDisruptorVersion>1.2.10</conversantDisruptorVersion>
+ <deploy.plugin.version>2.8.2</deploy.plugin.version>
+ <disruptorVersion>3.4.2</disruptorVersion>
+ <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
+ <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
+ <docLabel>Log4j Spring Cloud Config Server Documentation</docLabel>
+ <failsafe.plugin.version>2.21.0</failsafe.plugin.version>
+ <findbugs.plugin.version>3.0.5</findbugs.plugin.version>
+ <flumeVersion>1.7.0</flumeVersion>
+ <gpg.useagent>true</gpg.useagent>
+ <jackson1Version>1.9.13</jackson1Version>
+ <jackson2Version>2.9.7</jackson2Version>
+ <jacoco.plugin.version>0.8.1</jacoco.plugin.version>
+ <javaTargetVersion>1.7</javaTargetVersion>
+ <javadoc.opts>-Xdoclint:none</javadoc.opts>
+ <javadoc.plugin.version>3.0.1</javadoc.plugin.version>
+ <javax.persistence>2.1.1</javax.persistence>
+ <jctoolsVersion>1.2.1</jctoolsVersion>
+ <jxr.plugin.version>2.5</jxr.plugin.version>
+ <log4j.version>2.11.2-SNAPSHOT</log4j.version>
+ <log4jParentDir>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/..</log4jParentDir>
+ <logbackVersion>1.2.3</logbackVersion>
+ <manifestfile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/classes/META-INF/MANIFEST.MF</manifestfile>
+ <maven.compiler.source>1.7</maven.compiler.source>
+ <maven.compiler.target>1.7</maven.compiler.target>
+ <minSeverity>info</minSeverity>
+ <mockitoVersion>2.23.4</mockitoVersion>
+ <module.name>org.apache.logging.log4j.spring.cloud.config.controller</module.name>
+ <mongodb2.version>2.14.3</mongodb2.version>
+ <mongodb3.version>3.9.0</mongodb3.version>
+ <organization.logo>https://www.apache.org/images/asf_logo_wide.gif</organization.logo>
+ <osgi.api.version>4.3.1</osgi.api.version>
+ <pdf.plugin.version>1.2</pdf.plugin.version>
+ <pmd.plugin.version>3.10.0</pmd.plugin.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <projectDir>/log4j-spring-cloud-config-server</projectDir>
+ <rat.plugin.version>0.12</rat.plugin.version>
+ <release.plugin.version>2.5.3</release.plugin.version>
+ <remote.resources.plugin.version>1.5</remote.resources.plugin.version>
+ <revapi.plugin.version>0.10.5</revapi.plugin.version>
+ <revapi.skip>true</revapi.skip>
+ <scm.plugin.version>1.9.5</scm.plugin.version>
+ <site.plugin.version>3.4</site.plugin.version>
+ <slf4jVersion>1.7.25</slf4jVersion>
+ <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor>
+ <spring-boot.version>2.1.1.RELEASE</spring-boot.version>
+ <spring-cloud-bus.version>2.1.0.RELEASE</spring-cloud-bus.version>
+ <spring-cloud-config.version>2.0.2.RELEASE</spring-cloud-config.version>
+ <springVersion>5.0.12.RELEASE</springVersion>
+ <surefire.plugin.version>2.21.0</surefire.plugin.version>
+ <surefire.version>2.22.0</surefire.version>
+ <velocity.plugin.version>1.5</velocity.plugin.version>
+ </properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.12</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-ext</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>1.2.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>1.2.3</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>org.eclipse.osgi</artifactId>
+ <version>3.12.1.v20170821-1548</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.framework</artifactId>
+ <version>5.6.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>3.6.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.11</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.7</version>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.2.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.2.3</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api-java9</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core-java9</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j18-impl</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-jcl</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-1.2-api</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-flume-ng</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-iostreams</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-jul</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-taglib</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-web</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sleepycat</groupId>
+ <artifactId>je</artifactId>
+ <version>5.0.73</version>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>4.3.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.fusesource.jansi</groupId>
+ <artifactId>jansi</artifactId>
+ <version>1.17.1</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flume</groupId>
+ <artifactId>flume-ng-sdk</artifactId>
+ <version>1.7.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jackson-core-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flume</groupId>
+ <artifactId>flume-ng-core</artifactId>
+ <version>1.7.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>slf4j-log4j12</artifactId>
+ <groupId>org.slf4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j</artifactId>
+ <groupId>log4j</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flume</groupId>
+ <artifactId>flume-ng-embedded-agent</artifactId>
+ <version>1.7.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>slf4j-log4j12</artifactId>
+ <groupId>org.slf4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j</artifactId>
+ <groupId>log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jackson-core-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flume</groupId>
+ <artifactId>flume-ng-node</artifactId>
+ <version>1.7.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>slf4j-log4j12</artifactId>
+ <groupId>org.slf4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j</artifactId>
+ <groupId>log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jackson-core-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flume.flume-ng-channels</groupId>
+ <artifactId>flume-file-channel</artifactId>
+ <version>1.7.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>slf4j-log4j12</artifactId>
+ <groupId>org.slf4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j</artifactId>
+ <groupId>log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>servlet-api</artifactId>
+ <groupId>org.mortbay.jetty</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>servlet-api-2.5</artifactId>
+ <groupId>org.mortbay.jetty</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-core</artifactId>
+ <version>1.2.1</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jackson-core-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <groupId>org.codehaus.jackson</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>servlet-api</artifactId>
+ <groupId>org.mortbay.jetty</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-core-asl</artifactId>
+ <version>1.9.13</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <version>1.9.13</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ <version>2.9.7</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ <version>2.9.7</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <version>2.9.7</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-yaml</artifactId>
+ <version>2.9.7</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-xml</artifactId>
+ <version>2.9.7</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-jaxb-annotations</artifactId>
+ <version>2.9.7</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.mail</groupId>
+ <artifactId>javax.mail</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.jms</groupId>
+ <artifactId>jboss-jms-api_1.1_spec</artifactId>
+ <version>1.0.1.Final</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-broker</artifactId>
+ <version>5.14.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-clients</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.zeromq</groupId>
+ <artifactId>jeromq</artifactId>
+ <version>0.4.3</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.lmax</groupId>
+ <artifactId>disruptor</artifactId>
+ <version>3.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.conversantmedia</groupId>
+ <artifactId>disruptor</artifactId>
+ <version>1.2.10</version>
+ <classifier>jdk7</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.jctools</groupId>
+ <artifactId>jctools-core</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <version>1.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>3.1.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>2.23.4</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-expression</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-oxm</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>2.3.5</version>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.4.197</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>org.eclipse.persistence.jpa</artifactId>
+ <version>2.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>javax.persistence</artifactId>
+ <version>2.1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongo-java-driver</artifactId>
+ <version>2.14.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongodb-driver</artifactId>
+ <version>3.9.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>bson</artifactId>
+ <version>3.9.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.lightcouch</groupId>
+ <artifactId>lightcouch</artifactId>
+ <version>0.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>com.datastax.cassandra</groupId>
+ <artifactId>cassandra-driver-core</artifactId>
+ <version>3.1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.liquibase</groupId>
+ <artifactId>liquibase-core</artifactId>
+ <version>3.5.3</version>
+ </dependency>
+ <dependency>
+ <groupId>net.javacrumbs.json-unit</groupId>
+ <artifactId>json-unit</artifactId>
+ <version>1.31.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-core</artifactId>
+ <version>2.5.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-matchers</artifactId>
+ <version>2.5.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.6</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.github.tomakehurst</groupId>
+ <artifactId>wiremock</artifactId>
+ <version>2.19.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-compress</artifactId>
+ <version>1.18</version>
+ </dependency>
+ <dependency>
+ <groupId>org.tukaani</groupId>
+ <artifactId>xz</artifactId>
+ <version>1.8</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-csv</artifactId>
+ <version>1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.java-allocation-instrumenter</groupId>
+ <artifactId>java-allocation-instrumenter</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hdrhistogram</groupId>
+ <artifactId>HdrHistogram</artifactId>
+ <version>2.1.9</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache-extras.beanshell</groupId>
+ <artifactId>bsh</artifactId>
+ <version>2.0b6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-jsr223</artifactId>
+ <version>2.5.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-dateutil</artifactId>
+ <version>2.5.3</version>
+ </dependency>
+ <dependency>
+ <groupId>de.flapdoodle.embed</groupId>
+ <artifactId>de.flapdoodle.embed.mongo</artifactId>
+ <version>2.1.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aspects</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context-indexer</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context-support</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-instrument</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jcl</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jms</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-messaging</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-orm</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-tx</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webflux</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-websocket</artifactId>
+ <version>5.0.12.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-test</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-test-autoconfigure</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-actuator</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-actuator-autoconfigure</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-autoconfigure</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-autoconfigure-processor</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-configuration-metadata</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-configuration-processor</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-devtools</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-loader</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-loader-tools</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-properties-migrator</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-activemq</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-amqp</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-aop</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-artemis</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-batch</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-cache</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-cloud-connectors</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-cassandra</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-cassandra-reactive</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-couchbase</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-couchbase-reactive</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-jdbc</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-ldap</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-mongodb</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-redis</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-neo4j</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-rest</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-solr</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-freemarker</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-groovy-templates</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-hateoas</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-integration</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-jdbc</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-jersey</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-jetty</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-jooq</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-json</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-jta-atomikos</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-jta-bitronix</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-log4j2</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-logging</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-mail</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-mustache</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-oauth2-client</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-reactor-netty</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-quartz</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-security</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-test</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-tomcat</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-undertow</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-validation</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-web</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-webflux</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-websocket</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-web-services</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>2.7.7</version>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-access</artifactId>
+ <version>1.2.3</version>
+ </dependency>
+ <dependency>
+ <groupId>com.atomikos</groupId>
+ <artifactId>transactions-jdbc</artifactId>
+ <version>4.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>com.atomikos</groupId>
+ <artifactId>transactions-jms</artifactId>
+ <version>4.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>com.atomikos</groupId>
+ <artifactId>transactions-jta</artifactId>
+ <version>4.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>com.couchbase.client</groupId>
+ <artifactId>java-client</artifactId>
+ <version>2.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.couchbase.client</groupId>
+ <artifactId>couchbase-spring-cache</artifactId>
+ <version>2.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.datastax.cassandra</groupId>
+ <artifactId>cassandra-driver-mapping</artifactId>
+ <version>3.6.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml</groupId>
+ <artifactId>classmate</artifactId>
+ <version>1.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.ben-manes.caffeine</groupId>
+ <artifactId>caffeine</artifactId>
+ <version>2.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.ben-manes.caffeine</groupId>
+ <artifactId>guava</artifactId>
+ <version>2.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.ben-manes.caffeine</groupId>
+ <artifactId>jcache</artifactId>
+ <version>2.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.ben-manes.caffeine</groupId>
+ <artifactId>simulator</artifactId>
+ <version>2.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.mxab.thymeleaf.extras</groupId>
+ <artifactId>thymeleaf-extras-data-attribute</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.appengine</groupId>
+ <artifactId>appengine-api-1.0-sdk</artifactId>
+ <version>1.9.68</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>2.8.5</version>
+ </dependency>
+ <dependency>
+ <groupId>com.hazelcast</groupId>
+ <artifactId>hazelcast</artifactId>
+ <version>3.11</version>
+ </dependency>
+ <dependency>
+ <groupId>com.hazelcast</groupId>
+ <artifactId>hazelcast-client</artifactId>
+ <version>3.11</version>
+ </dependency>
+ <dependency>
+ <groupId>com.hazelcast</groupId>
+ <artifactId>hazelcast-hibernate52</artifactId>
+ <version>1.2.3</version>
+ </dependency>
+ <dependency>
+ <groupId>com.hazelcast</groupId>
+ <artifactId>hazelcast-spring</artifactId>
+ <version>3.11</version>
+ </dependency>
+ <dependency>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path</artifactId>
+ <version>2.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path-assert</artifactId>
+ <version>2.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>mssql-jdbc</artifactId>
+ <version>6.4.0.jre8</version>
+ </dependency>
+ <dependency>
+ <groupId>com.querydsl</groupId>
+ <artifactId>querydsl-apt</artifactId>
+ <version>4.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.querydsl</groupId>
+ <artifactId>querydsl-collections</artifactId>
+ <version>4.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.querydsl</groupId>
+ <artifactId>querydsl-core</artifactId>
+ <version>4.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.querydsl</groupId>
+ <artifactId>querydsl-jpa</artifactId>
+ <version>4.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.querydsl</groupId>
+ <artifactId>querydsl-mongodb</artifactId>
+ <version>4.2.1</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>mongo-java-driver</artifactId>
+ <groupId>org.mongodb</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.rabbitmq</groupId>
+ <artifactId>amqp-client</artifactId>
+ <version>5.4.3</version>
+ </dependency>
+ <dependency>
+ <groupId>com.samskivert</groupId>
+ <artifactId>jmustache</artifactId>
+ <version>1.14</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sendgrid</groupId>
+ <artifactId>sendgrid-java</artifactId>
+ <version>4.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.messaging.saaj</groupId>
+ <artifactId>saaj-impl</artifactId>
+ <version>1.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.timgroup</groupId>
+ <artifactId>java-statsd-client</artifactId>
+ <version>3.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.unboundid</groupId>
+ <artifactId>unboundid-ldapsdk</artifactId>
+ <version>4.0.9</version>
+ </dependency>
+ <dependency>
+ <groupId>com.zaxxer</groupId>
+ <artifactId>HikariCP</artifactId>
+ <version>3.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ <version>1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-annotation</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-core</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-ehcache</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-graphite</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-healthchecks</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-httpasyncclient</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jdbi</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jersey</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jersey2</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jetty8</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jetty9</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jetty9-legacy</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jmx</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-json</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-jvm</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-log4j</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-log4j2</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-logback</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-servlet</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-servlets</artifactId>
+ <version>4.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.lettuce</groupId>
+ <artifactId>lettuce-core</artifactId>
+ <version>5.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-jersey2</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-appoptics</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-atlas</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-azure-monitor</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-cloudwatch</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-datadog</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-dynatrace</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-elastic</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-ganglia</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-graphite</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-humio</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-influx</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-jmx</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-kairos</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-new-relic</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-signalfx</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-statsd</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-wavefront</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-test</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-tcnative-boringssl-static</artifactId>
+ <version>2.0.20.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.prometheus</groupId>
+ <artifactId>simpleclient_pushgateway</artifactId>
+ <version>0.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>io.reactivex</groupId>
+ <artifactId>rxjava</artifactId>
+ <version>1.3.8</version>
+ </dependency>
+ <dependency>
+ <groupId>io.reactivex</groupId>
+ <artifactId>rxjava-reactive-streams</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.reactivex.rxjava2</groupId>
+ <artifactId>rxjava</artifactId>
+ <version>2.2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>json-path</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>json-schema-validator</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>rest-assured</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>scala-support</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>spring-mock-mvc</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>xml-path</artifactId>
+ <version>3.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.searchbox</groupId>
+ <artifactId>jest</artifactId>
+ <version>6.3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>io.undertow</groupId>
+ <artifactId>undertow-core</artifactId>
+ <version>2.0.16.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.undertow</groupId>
+ <artifactId>undertow-servlet</artifactId>
+ <version>2.0.16.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.undertow</groupId>
+ <artifactId>undertow-websockets-jsr</artifactId>
+ <version>2.0.16.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>javax.activation-api</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.cache</groupId>
+ <artifactId>cache-api</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>javax.jms-api</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.json</groupId>
+ <artifactId>javax.json-api</artifactId>
+ <version>1.1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.json.bind</groupId>
+ <artifactId>javax.json.bind-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>javax.mail-api</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.money</groupId>
+ <artifactId>money-api</artifactId>
+ <version>1.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>javax.persistence-api</artifactId>
+ <version>2.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>4.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>javax.transaction-api</artifactId>
+ <version>1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <version>2.0.1.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.websocket</groupId>
+ <artifactId>javax.websocket-api</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.ws</groupId>
+ <artifactId>jaxws-api</artifactId>
+ <version>2.3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>1.1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time</artifactId>
+ <version>2.10.1</version>
+ </dependency>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>8.0.13</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>protobuf-java</artifactId>
+ <groupId>com.google.protobuf</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy</artifactId>
+ <version>1.9.5</version>
+ </dependency>
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy-agent</artifactId>
+ <version>1.9.5</version>
+ </dependency>
+ <dependency>
+ <groupId>net.java.dev.jna</groupId>
+ <artifactId>jna</artifactId>
+ <version>4.5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>net.java.dev.jna</groupId>
+ <artifactId>jna-platform</artifactId>
+ <version>4.5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ <version>2.10.6</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.htmlunit</groupId>
+ <artifactId>htmlunit</artifactId>
+ <version>2.33</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jtds</groupId>
+ <artifactId>jtds</artifactId>
+ <version>1.3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.nekohtml</groupId>
+ <artifactId>nekohtml</artifactId>
+ <version>1.9.22</version>
+ </dependency>
+ <dependency>
+ <groupId>nz.net.ultraq.thymeleaf</groupId>
+ <artifactId>thymeleaf-layout-dialect</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-amqp</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-blueprint</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-camel</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-client</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-console</artifactId>
+ <version>5.15.8</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-http</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-jaas</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-jdbc-store</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-jms-pool</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-kahadb-store</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-karaf</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-leveldb-store</artifactId>
+ <version>5.15.8</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-log4j-appender</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-mqtt</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-openwire-generator</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-openwire-legacy</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-osgi</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-partition</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-pool</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-ra</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-run</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-runtime-config</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-shiro</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-spring</artifactId>
+ <version>5.15.8</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-stomp</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-web</artifactId>
+ <version>5.15.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-amqp-protocol</artifactId>
+ <version>2.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-commons</artifactId>
+ <version>2.6.3</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-core-client</artifactId>
+ <version>2.6.3</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>geronimo-json_1.0_spec</artifactId>
+ <groupId>org.apache.geronimo.specs</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-jms-client</artifactId>
+ <version>2.6.3</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>geronimo-json_1.0_spec</artifactId>
+ <groupId>org.apache.geronimo.specs</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-jms-server</artifactId>
+ <version>2.6.3</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>geronimo-json_1.0_spec</artifactId>
+ <groupId>org.apache.geronimo.specs</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-journal</artifactId>
+ <version>2.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-native</artifactId>
+ <version>2.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-selector</artifactId>
+ <version>2.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-server</artifactId>
+ <version>2.6.3</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>geronimo-json_1.0_spec</artifactId>
+ <groupId>org.apache.geronimo.specs</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-service-extensions</artifactId>
+ <version>2.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-dbcp2</artifactId>
+ <version>2.5.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-pool2</artifactId>
+ <version>2.6.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.14.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpasyncclient</artifactId>
+ <version>4.1.4</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>fluent-hc</artifactId>
+ <version>4.5.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>4.5.6</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient-cache</artifactId>
+ <version>4.5.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient-osgi</artifactId>
+ <version>4.5.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient-win</artifactId>
+ <version>4.5.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <version>4.4.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore-nio</artifactId>
+ <version>4.4.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpmime</artifactId>
+ <version>4.5.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-core</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-jaxrs</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-jsonb</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-jsonb-extras</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-jsonschema</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-mapper</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.johnzon</groupId>
+ <artifactId>johnzon-websocket</artifactId>
+ <version>1.1.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>connect-api</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>connect-file</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>connect-json</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>connect-runtime</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>connect-transforms</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-log4j-appender</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-streams</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-tools</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka_2.11</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka_2.12</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-to-slf4j</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-analysis-extras</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-analytics</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-cell</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-clustering</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-core</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-dataimporthandler</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-dataimporthandler-extras</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-langid</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-ltr</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-solrj</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-test-framework</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-uima</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-velocity</artifactId>
+ <version>7.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-catalina-jmx-remote</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-annotations-api</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-jdbc</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-jsp-api</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-core</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-el</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-jasper</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-websocket</artifactId>
+ <version>9.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ <version>1.9.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjtools</artifactId>
+ <version>1.9.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjweaver</artifactId>
+ <version>1.9.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <version>3.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.btm</groupId>
+ <artifactId>btm</artifactId>
+ <version>2.1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-ant</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-bsf</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-console</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-docgenerator</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-groovydoc</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-groovysh</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-jmx</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-json</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-nio</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-servlet</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-sql</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-swing</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-templates</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-test</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-testng</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-xml</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>janino</artifactId>
+ <version>3.0.11</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-reactive-httpclient</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.orbit</groupId>
+ <artifactId>javax.servlet.jsp</artifactId>
+ <version>2.2.0.v201112011158</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ <version>3.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ehcache</groupId>
+ <artifactId>ehcache-clustered</artifactId>
+ <version>3.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ehcache</groupId>
+ <artifactId>ehcache-transactions</artifactId>
+ <version>3.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch</groupId>
+ <artifactId>elasticsearch</artifactId>
+ <version>6.4.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.client</groupId>
+ <artifactId>transport</artifactId>
+ <version>6.4.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.distribution.integ-test-zip</groupId>
+ <artifactId>elasticsearch</artifactId>
+ <version>6.4.3</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.plugin</groupId>
+ <artifactId>transport-netty4-client</artifactId>
+ <version>6.4.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.client</groupId>
+ <artifactId>elasticsearch-rest-client</artifactId>
+ <version>6.4.3</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch.client</groupId>
+ <artifactId>elasticsearch-rest-high-level-client</artifactId>
+ <version>6.4.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.firebirdsql.jdbc</groupId>
+ <artifactId>jaybird-jdk17</artifactId>
+ <version>3.0.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.firebirdsql.jdbc</groupId>
+ <artifactId>jaybird-jdk18</artifactId>
+ <version>3.0.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.flywaydb</groupId>
+ <artifactId>flyway-core</artifactId>
+ <version>5.2.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.freemarker</groupId>
+ <artifactId>freemarker</artifactId>
+ <version>2.3.28</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish</groupId>
+ <artifactId>javax.el</artifactId>
+ <version>3.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jaxb</groupId>
+ <artifactId>jaxb-runtime</artifactId>
+ <version>2.3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <version>1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-c3p0</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>5.3.7.Final</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>xml-apis</artifactId>
+ <groupId>xml-apis</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <version>5.3.7.Final</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>xml-apis</artifactId>
+ <groupId>xml-apis</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-envers</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-hikaricp</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-java8</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jcache</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jpamodelgen</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-proxool</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-spatial</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-testing</artifactId>
+ <version>5.3.7.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate.validator</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>6.0.13.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate.validator</groupId>
+ <artifactId>hibernate-validator-annotation-processor</artifactId>
+ <version>6.0.13.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-jdbc</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-jpa</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-leveldb</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-remote</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-rest</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cachestore-rocksdb</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cdi-common</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cdi-embedded</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cdi-remote</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-client-hotrod</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-cloud</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-clustered-counter</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-clustered-lock</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-commons</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-core</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-directory-provider</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-hibernate-cache-v53</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-jcache</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-jcache-commons</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-jcache-remote</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-lucene-directory</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-objectfilter</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-osgi</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-persistence-cli</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-persistence-soft-index</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-query</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-query-dsl</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-remote-query-client</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-remote-query-server</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-scripting</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-server-core</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-server-hotrod</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-server-memcached</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-server-router</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-spring4-common</artifactId>
+ <version>9.4.3.Final</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-core</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-jcl</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-spring4-embedded</artifactId>
+ <version>9.4.3.Final</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-core</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>log4j-jcl</artifactId>
+ <groupId>org.apache.logging.log4j</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-spring4-remote</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-tasks</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-tasks-api</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-tools</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-tree</artifactId>
+ <version>9.4.3.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.influxdb</groupId>
+ <artifactId>influxdb-java</artifactId>
+ <version>2.14</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-transaction-spi</artifactId>
+ <version>7.6.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging</artifactId>
+ <version>3.3.2.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jdom</groupId>
+ <artifactId>jdom2</artifactId>
+ <version>2.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-reflect</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-runtime</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-jdk7</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-jdk8</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-jre7</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-jre8</artifactId>
+ <version>1.2.71</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jolokia</groupId>
+ <artifactId>jolokia-core</artifactId>
+ <version>1.6.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jooq</groupId>
+ <artifactId>jooq</artifactId>
+ <version>3.11.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jooq</groupId>
+ <artifactId>jooq-meta</artifactId>
+ <version>3.11.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jooq</groupId>
+ <artifactId>jooq-codegen</artifactId>
+ <version>3.11.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jvnet.mimepull</groupId>
+ <artifactId>mimepull</artifactId>
+ <version>1.9.10</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mariadb.jdbc</groupId>
+ <artifactId>mariadb-java-client</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.messaginghub</groupId>
+ <artifactId>pooled-jms</artifactId>
+ <version>1.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-inline</artifactId>
+ <version>2.23.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <version>2.23.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongodb-driver-async</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongodb-driver-core</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongodb-driver-reactivestreams</artifactId>
+ <version>1.9.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jasper</groupId>
+ <artifactId>apache-el</artifactId>
+ <version>8.5.33.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.neo4j</groupId>
+ <artifactId>neo4j-ogm-api</artifactId>
+ <version>3.1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.neo4j</groupId>
+ <artifactId>neo4j-ogm-bolt-driver</artifactId>
+ <version>3.1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.neo4j</groupId>
+ <artifactId>neo4j-ogm-core</artifactId>
+ <version>3.1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.neo4j</groupId>
+ <artifactId>neo4j-ogm-embedded-driver</artifactId>
+ <version>3.1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.neo4j</groupId>
+ <artifactId>neo4j-ogm-http-driver</artifactId>
+ <version>3.1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>42.2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ <version>1.18.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.quartz-scheduler</groupId>
+ <artifactId>quartz</artifactId>
+ <version>2.3.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>c3p0</artifactId>
+ <groupId>com.mchange</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>HikariCP-java6</artifactId>
+ <groupId>com.zaxxer</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.quartz-scheduler</groupId>
+ <artifactId>quartz-jobs</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.reactivestreams</groupId>
+ <artifactId>reactive-streams</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>htmlunit-driver</artifactId>
+ <version>2.33.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-api</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-chrome-driver</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-edge-driver</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-firefox-driver</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-ie-driver</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-java</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-opera-driver</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-remote-driver</artifactId>
+ <version>3.14.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-safari-driver</artifactId>
+ <version>3.14.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium</groupId>
+ <artifactId>selenium-support</artifactId>
+ <version>3.14.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.skyscreamer</groupId>
+ <artifactId>jsonassert</artifactId>
+ <version>1.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jul-to-slf4j</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>log4j-over-slf4j</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jcl</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-nop</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.7.25</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.amqp</groupId>
+ <artifactId>spring-amqp</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.amqp</groupId>
+ <artifactId>spring-rabbit</artifactId>
+ <version>2.1.2.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>http-client</artifactId>
+ <groupId>com.rabbitmq</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.amqp</groupId>
+ <artifactId>spring-rabbit-junit</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.amqp</groupId>
+ <artifactId>spring-rabbit-test</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.batch</groupId>
+ <artifactId>spring-batch-core</artifactId>
+ <version>4.1.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.batch</groupId>
+ <artifactId>spring-batch-infrastructure</artifactId>
+ <version>4.1.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.batch</groupId>
+ <artifactId>spring-batch-integration</artifactId>
+ <version>4.1.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.batch</groupId>
+ <artifactId>spring-batch-test</artifactId>
+ <version>4.1.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-cloudfoundry-connector</artifactId>
+ <version>2.0.4.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-connectors-core</artifactId>
+ <version>2.0.4.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-heroku-connector</artifactId>
+ <version>2.0.4.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-localconfig-connector</artifactId>
+ <version>2.0.4.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-spring-service-connector</artifactId>
+ <version>2.0.4.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>log4j</artifactId>
+ <groupId>log4j</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.hateoas</groupId>
+ <artifactId>spring-hateoas</artifactId>
+ <version>0.25.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-http</artifactId>
+ <version>5.1.1.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>commons-logging-api</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.kafka</groupId>
+ <artifactId>spring-kafka</artifactId>
+ <version>2.2.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.kafka</groupId>
+ <artifactId>spring-kafka-test</artifactId>
+ <version>2.2.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ldap</groupId>
+ <artifactId>spring-ldap-core</artifactId>
+ <version>2.3.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ldap</groupId>
+ <artifactId>spring-ldap-core-tiger</artifactId>
+ <version>2.3.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ldap</groupId>
+ <artifactId>spring-ldap-ldif-batch</artifactId>
+ <version>2.3.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ldap</groupId>
+ <artifactId>spring-ldap-ldif-core</artifactId>
+ <version>2.3.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ldap</groupId>
+ <artifactId>spring-ldap-odm</artifactId>
+ <version>2.3.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ldap</groupId>
+ <artifactId>spring-ldap-test</artifactId>
+ <version>2.3.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.plugin</groupId>
+ <artifactId>spring-plugin-core</artifactId>
+ <version>1.2.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.plugin</groupId>
+ <artifactId>spring-plugin-metadata</artifactId>
+ <version>1.2.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.restdocs</groupId>
+ <artifactId>spring-restdocs-asciidoctor</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.restdocs</groupId>
+ <artifactId>spring-restdocs-core</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.restdocs</groupId>
+ <artifactId>spring-restdocs-mockmvc</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.restdocs</groupId>
+ <artifactId>spring-restdocs-restassured</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.restdocs</groupId>
+ <artifactId>spring-restdocs-webtestclient</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.retry</groupId>
+ <artifactId>spring-retry</artifactId>
+ <version>1.2.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ws</groupId>
+ <artifactId>spring-ws-core</artifactId>
+ <version>3.0.4.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ws</groupId>
+ <artifactId>spring-ws-security</artifactId>
+ <version>3.0.4.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ws</groupId>
+ <artifactId>spring-ws-support</artifactId>
+ <version>3.0.4.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ws</groupId>
+ <artifactId>spring-ws-test</artifactId>
+ <version>3.0.4.RELEASE</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.ws</groupId>
+ <artifactId>spring-xml</artifactId>
+ <version>3.0.4.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.synchronoss.cloud</groupId>
+ <artifactId>nio-multipart-parser</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.thymeleaf</groupId>
+ <artifactId>thymeleaf</artifactId>
+ <version>3.0.11.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.thymeleaf</groupId>
+ <artifactId>thymeleaf-spring5</artifactId>
+ <version>3.0.11.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.thymeleaf.extras</groupId>
+ <artifactId>thymeleaf-extras-java8time</artifactId>
+ <version>3.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.thymeleaf.extras</groupId>
+ <artifactId>thymeleaf-extras-springsecurity5</artifactId>
+ <version>3.0.4.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.webjars</groupId>
+ <artifactId>hal-browser</artifactId>
+ <version>3325375</version>
+ </dependency>
+ <dependency>
+ <groupId>org.webjars</groupId>
+ <artifactId>webjars-locator-core</artifactId>
+ <version>0.35</version>
+ </dependency>
+ <dependency>
+ <groupId>org.xerial</groupId>
+ <artifactId>sqlite-jdbc</artifactId>
+ <version>3.25.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-legacy</artifactId>
+ <version>2.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.yaml</groupId>
+ <artifactId>snakeyaml</artifactId>
+ <version>1.23</version>
+ </dependency>
+ <dependency>
+ <groupId>redis.clients</groupId>
+ <artifactId>jedis</artifactId>
+ <version>2.9.0</version>
+ </dependency>
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ <version>1.6.3</version>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ <version>1.4.01</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-avro</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-cbor</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-csv</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-ion</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-properties</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-protobuf</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-smile</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-guava</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-hibernate3</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-hibernate4</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-hibernate5</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-hppc</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jaxrs</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-joda</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jdk8</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-json-org</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jsr310</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jsr353</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-pcollections</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-base</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-cbor-provider</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-json-provider</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-smile-provider</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-xml-provider</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-yaml-provider</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jr</groupId>
+ <artifactId>jackson-jr-all</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jr</groupId>
+ <artifactId>jackson-jr-objects</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jr</groupId>
+ <artifactId>jackson-jr-retrofit2</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jr</groupId>
+ <artifactId>jackson-jr-stree</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-afterburner</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-guice</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-jsonSchema</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-kotlin</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-mrbean</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-osgi</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-parameter-names</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-paranamer</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-scala_2.10</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-scala_2.11</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-scala_2.12</artifactId>
+ <version>2.9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-buffer</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-dns</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-haproxy</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-http</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-http2</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-memcache</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-mqtt</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-redis</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-smtp</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-socks</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-stomp</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-xml</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-common</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-dev-tools</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler-proxy</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-resolver</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-resolver-dns</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-rxtx</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-sctp</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-udt</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-example</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-unix-common</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-unix-common</artifactId>
+ <version>4.1.31.Final</version>
+ <classifier>linux-x86_64</classifier>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-unix-common</artifactId>
+ <version>4.1.31.Final</version>
+ <classifier>osx-x86_64</classifier>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-epoll</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-epoll</artifactId>
+ <version>4.1.31.Final</version>
+ <classifier>linux-x86_64</classifier>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-kqueue</artifactId>
+ <version>4.1.31.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-native-kqueue</artifactId>
+ <version>4.1.31.Final</version>
+ <classifier>osx-x86_64</classifier>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor</groupId>
+ <artifactId>reactor-core</artifactId>
+ <version>3.2.3.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor</groupId>
+ <artifactId>reactor-test</artifactId>
+ <version>3.2.3.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor.addons</groupId>
+ <artifactId>reactor-extra</artifactId>
+ <version>3.2.0.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor.addons</groupId>
+ <artifactId>reactor-adapter</artifactId>
+ <version>3.2.0.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor.addons</groupId>
+ <artifactId>reactor-logback</artifactId>
+ <version>3.2.0.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor.netty</groupId>
+ <artifactId>reactor-netty</artifactId>
+ <version>0.8.3.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor.kafka</groupId>
+ <artifactId>reactor-kafka</artifactId>
+ <version>1.1.0.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-jmx-gui</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-couchdb</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-mongodb2</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-mongodb3</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-cassandra</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-jpa</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-liquibase</artifactId>
+ <version>2.11.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>apache-jsp</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>apache-jstl</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-java-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-java-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-openjdk8-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-openjdk8-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-conscrypt-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-conscrypt-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-alpn-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-annotations</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-ant</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.cdi</groupId>
+ <artifactId>cdi-core</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.cdi</groupId>
+ <artifactId>cdi-servlet</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-continuation</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-deploy</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-distribution</artifactId>
+ <version>9.4.12.v20180830</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-distribution</artifactId>
+ <version>9.4.12.v20180830</version>
+ <type>tar.gz</type>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.fcgi</groupId>
+ <artifactId>fcgi-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.fcgi</groupId>
+ <artifactId>fcgi-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.gcloud</groupId>
+ <artifactId>jetty-gcloud-session-manager</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-home</artifactId>
+ <version>9.4.12.v20180830</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-home</artifactId>
+ <version>9.4.12.v20180830</version>
+ <type>tar.gz</type>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-http</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.http2</groupId>
+ <artifactId>http2-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.http2</groupId>
+ <artifactId>http2-common</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.http2</groupId>
+ <artifactId>http2-hpack</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.http2</groupId>
+ <artifactId>http2-http-client-transport</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.http2</groupId>
+ <artifactId>http2-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-http-spi</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-infinispan</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-hazelcast</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-io</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-jaas</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-jaspi</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-jmx</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-jndi</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.memcached</groupId>
+ <artifactId>jetty-memcached-sessions</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-nosql</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.osgi</groupId>
+ <artifactId>jetty-osgi-boot</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.osgi</groupId>
+ <artifactId>jetty-osgi-boot-jsp</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.osgi</groupId>
+ <artifactId>jetty-osgi-boot-warurl</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.osgi</groupId>
+ <artifactId>jetty-httpservice</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-plus</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-proxy</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-quickstart</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-rewrite</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-security</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlet</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlets</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-spring</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-unixsocket</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-util</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-util-ajax</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-webapp</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>javax-websocket-client-impl</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>javax-websocket-server-impl</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>websocket-api</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>websocket-client</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>websocket-common</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>websocket-server</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.websocket</groupId>
+ <artifactId>websocket-servlet</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-xml</artifactId>
+ <version>9.4.12.v20180830</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.core</groupId>
+ <artifactId>jersey-common</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.core</groupId>
+ <artifactId>jersey-client</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.core</groupId>
+ <artifactId>jersey-server</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.bundles</groupId>
+ <artifactId>jaxrs-ri</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.connectors</groupId>
+ <artifactId>jersey-apache-connector</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.connectors</groupId>
+ <artifactId>jersey-grizzly-connector</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.connectors</groupId>
+ <artifactId>jersey-jetty-connector</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.connectors</groupId>
+ <artifactId>jersey-jdk-connector</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.connectors</groupId>
+ <artifactId>jersey-netty-connector</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-jetty-http</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-grizzly2-http</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-grizzly2-servlet</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-jetty-servlet</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-jdk-http</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-netty-http</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-servlet</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-servlet-core</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers</groupId>
+ <artifactId>jersey-container-simple-http</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.containers.glassfish</groupId>
+ <artifactId>jersey-gf-ejb</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-bean-validation</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-entity-filtering</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-metainf-services</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-mvc</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-mvc-bean-validation</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-mvc-freemarker</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-mvc-jsp</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-mvc-mustache</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-proxy-client</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-servlet-portability</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-spring4</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-declarative-linking</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext</groupId>
+ <artifactId>jersey-wadl-doclet</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.cdi</groupId>
+ <artifactId>jersey-weld2-se</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.cdi</groupId>
+ <artifactId>jersey-cdi1x</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.cdi</groupId>
+ <artifactId>jersey-cdi1x-transaction</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.cdi</groupId>
+ <artifactId>jersey-cdi1x-validation</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.cdi</groupId>
+ <artifactId>jersey-cdi1x-servlet</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.cdi</groupId>
+ <artifactId>jersey-cdi1x-ban-custom-hk2-binding</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.rx</groupId>
+ <artifactId>jersey-rx-client-guava</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.rx</groupId>
+ <artifactId>jersey-rx-client-rxjava</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.ext.rx</groupId>
+ <artifactId>jersey-rx-client-rxjava2</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-jaxb</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-json-jackson</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-json-jackson1</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-json-jettison</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-json-processing</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-json-binding</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-kryo</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-moxy</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-multipart</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.media</groupId>
+ <artifactId>jersey-media-sse</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.security</groupId>
+ <artifactId>oauth1-client</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.security</groupId>
+ <artifactId>oauth1-server</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.security</groupId>
+ <artifactId>oauth1-signature</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.security</groupId>
+ <artifactId>oauth2-client</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.inject</groupId>
+ <artifactId>jersey-hk2</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.inject</groupId>
+ <artifactId>jersey-cdi2-se</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework</groupId>
+ <artifactId>jersey-test-framework-core</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-bundle</artifactId>
+ <version>2.27</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-external</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-inmemory</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-jdk-http</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-simple</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+ <artifactId>jersey-test-framework-provider-jetty</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.test-framework</groupId>
+ <artifactId>jersey-test-framework-util</artifactId>
+ <version>2.27</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-engine</artifactId>
+ <version>5.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-migrationsupport</artifactId>
+ <version>5.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-params</artifactId>
+ <version>5.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-commons</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-console</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-engine</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-launcher</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-runner</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-suite-api</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-surefire-provider</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ <version>5.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-cassandra</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-commons</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-couchbase</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-elasticsearch</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-gemfire</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-geode</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-jdbc</artifactId>
+ <version>1.0.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-jpa</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-mongodb</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-mongodb-cross-store</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-neo4j</artifactId>
+ <version>5.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-redis</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-rest-webmvc</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-rest-core</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-rest-hal-browser</artifactId>
+ <version>3.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-solr</artifactId>
+ <version>4.0.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-keyvalue</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-envers</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-ldap</artifactId>
+ <version>2.1.3.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-amqp</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-core</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-event</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-feed</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-file</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-ftp</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-gemfire</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-groovy</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-ip</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-jdbc</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-jms</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-jmx</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-jpa</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-mail</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-mongodb</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-mqtt</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-redis</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-rmi</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-scripting</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-security</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-sftp</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-stomp</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-stream</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-syslog</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-test</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-test-support</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-webflux</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-websocket</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-ws</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-xml</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-xmpp</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.integration</groupId>
+ <artifactId>spring-integration-zookeeper</artifactId>
+ <version>5.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-acl</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-aspects</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-cas</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-config</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-core</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-crypto</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-data</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-ldap</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-messaging</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-oauth2-client</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-oauth2-core</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-oauth2-jose</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-oauth2-resource-server</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-openid</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-remoting</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-taglibs</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-test</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-web</artifactId>
+ <version>5.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-data-gemfire</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-jdbc</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-data-geode</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-hazelcast</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-data-mongodb</artifactId>
+ <version>2.1.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-core</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session-data-redis</artifactId>
+ <version>2.1.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-config</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-client</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-server</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-monitor</artifactId>
+ <version>2.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jgit</groupId>
+ <artifactId>org.eclipse.jgit</artifactId>
+ <version>4.11.0.201803080745-r</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jgit</groupId>
+ <artifactId>org.eclipse.jgit.junit.http</artifactId>
+ <version>4.11.0.201803080745-r</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jgit</groupId>
+ <artifactId>org.eclipse.jgit.http.apache</artifactId>
+ <version>4.11.0.201803080745-r</version>
+ </dependency>
+ <dependency>
+ <groupId>com.jcraft</groupId>
+ <artifactId>jsch</artifactId>
+ <version>0.1.54</version>
+ </dependency>
+ <dependency>
+ <groupId>org.tmatesoft.svnkit</groupId>
+ <artifactId>svnkit</artifactId>
+ <version>1.8.12</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-bus-amqp</artifactId>
+ <version>2.1.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-bus-kafka</artifactId>
+ <version>2.1.0.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-bus</artifactId>
+ <version>2.1.0.RELEASE</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.12</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-config-server</artifactId>
+ <version>2.0.2.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot</artifactId>
+ <version>2.1.1.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>5.0.12.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>5.0.12.RELEASE</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <version>1.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.2</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>2.12.0-SNAPSHOT</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>central</id>
+ <name>nextiva-public</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/groups/public</url>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>thirdparty</id>
+ <name>ThirdParty</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/repositories/thirdparty</url>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>apache.snapshots.https</id>
+ <name>apache-snapshots</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/repositories/apache-snapshots/</url>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>releases</id>
+ <name>nextiva-releases</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/repositories/releases</url>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>snapshots</id>
+ <name>snapshots</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/repositories/snapshots</url>
+ </repository>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/snapshots</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>central</id>
+ <name>nextiva-public</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/groups/public</url>
+ </pluginRepository>
+ <pluginRepository>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>snapshots</id>
+ <name>nextiva-snapshots</name>
+ <url>http://repository.nextiva.xyz:8081/nexus/content/repositories/snapshots</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>apache</id>
+ <url>https://repository.apache.org/content/repositories/releases/</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <build>
+ <sourceDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/java</sourceDirectory>
+ <scriptSourceDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/scripts</scriptSourceDirectory>
+ <testSourceDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/test/java</testSourceDirectory>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/classes</outputDirectory>
+ <testOutputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/test-classes</testOutputDirectory>
+ <resources>
+ <resource>
+ <directory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/main/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/test/resources</directory>
+ </testResource>
+ </testResources>
+ <directory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target</directory>
+ <finalName>log4j-spring-cloud-config-server-2.12.0-SNAPSHOT</finalName>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.8</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.eluder.coveralls</groupId>
+ <artifactId>coveralls-maven-plugin</artifactId>
+ <version>4.3.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.8.1</version>
+ <executions>
+ <execution>
+ <id>prepare-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <encoding>UTF-8</encoding>
+ <fork>true</fork>
+ <meminitial>256</meminitial>
+ <maxmem>1024</maxmem>
+ <compilerArguments>
+ <Xmaxwarns>10000</Xmaxwarns>
+ <Xlint />
+ </compilerArguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.8.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-docck-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>3.0.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.4.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.21.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
+ <configuration>
+ <gpgArguments>
+ <arg>--digest-algo=SHA512</arg>
+ </gpgArguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-help-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.5.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>default-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifestFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/classes/META-INF/MANIFEST.MF</manifestFile>
+ <manifestEntries>
+ <Specification-Title>Apache Log4j Spring Cloud Config Server Support</Specification-Title>
+ <Specification-Version>2.12.0-SNAPSHOT</Specification-Version>
+ <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+ <Implementation-Title>Apache Log4j Spring Cloud Config Server Support</Implementation-Title>
+ <Implementation-Version>2.12.0-SNAPSHOT</Implementation-Version>
+ <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+ <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+ <X-Compile-Source-JDK>1.7</X-Compile-Source-JDK>
+ <X-Compile-Target-JDK>1.7</X-Compile-Target-JDK>
+ <Automatic-Module-Name>org.apache.logging.log4j.spring.cloud.config.controller</Automatic-Module-Name>
+ </manifestEntries>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <doclint>none</doclint>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>3.5.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>3.5.0</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.12.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5.3</version>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <goals>deploy</goals>
+ <arguments>-Papache-release</arguments>
+ <waitBeforeTagging>10</waitBeforeTagging>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.5</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>1.9.5</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.7.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.0.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ <goal>test-jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.21.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.22.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>3.2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>clirr-maven-plugin</artifactId>
+ <version>2.8</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.5</version>
+ <executions>
+ <execution>
+ <id>process-resource-bundles</id>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ </resourceBundles>
+ </configuration>
+ </execution>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ <resourceBundles />
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.4.1</version>
+ <executions>
+ <execution>
+ <id>enforce-maven-version</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.0.5</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>default-clean</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.0.2</version>
+ <executions>
+ <execution>
+ <id>default-testResources</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>testResources</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-resources</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>copy-sitecss</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ <resources>
+ <resource>
+ <directory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../src/site/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.21.0</version>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <systemPropertyVariables>
+ <java.awt.headless>true</java.awt.headless>
+ </systemPropertyVariables>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ <excludes>
+ <exclude>${log4j.skip.test1}</exclude>
+ <exclude>${log4j.skip.test2}</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <systemPropertyVariables>
+ <java.awt.headless>true</java.awt.headless>
+ </systemPropertyVariables>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ <excludes>
+ <exclude>${log4j.skip.test1}</exclude>
+ <exclude>${log4j.skip.test2}</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.21.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <systemPropertyVariables>
+ <java.awt.headless>true</java.awt.headless>
+ </systemPropertyVariables>
+ <argLine>-Xms256m -Xmx1024m</argLine>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <systemPropertyVariables>
+ <java.awt.headless>true</java.awt.headless>
+ </systemPropertyVariables>
+ <argLine>-Xms256m -Xmx1024m</argLine>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.4</version>
+ <executions>
+ <execution>
+ <id>default-site</id>
+ <phase>site</phase>
+ <goals>
+ <goal>site</goal>
+ </goals>
+ <configuration>
+ <locales>en</locales>
+ <moduleExcludes>
+ <xdoc>navigation.xml,changes.xml</xdoc>
+ </moduleExcludes>
+ <templateDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../src/site</templateDirectory>
+ <template>site.vm</template>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ <reportPlugins>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.12.1</version>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reports>
+ <report>changes-report</report>
+ <report>changes-report</report>
+ <report>jira-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.9</version>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reports>
+ <report>index</report>
+ <report>dependencies</report>
+ <report>dependency-info</report>
+ <report>dependency-convergence</report>
+ <report>dependency-management</report>
+ <report>project-team</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.21.0</version>
+ <reportSets>
+ <reportSet>
+ <id>integration-tests</id>
+ <reports>
+ <report>failsafe-report-only</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>src/main/resources/META-INF/services/**/*</exclude>
+ <exclude>.idea/**/*</exclude>
+ <exclude>src/test/resources/**/*</exclude>
+ <exclude>src/ide/**</exclude>
+ <exclude>**/*.asc</exclude>
+ <exclude>src/site/resources/js/jquery.js</exclude>
+ <exclude>src/site/resources/js/jquery.min.js</exclude>
+ <exclude>log4j-distribution/target/**/*</exclude>
+ <exclude>log4j-distribution/.project</exclude>
+ <exclude>log4j-distribution/.settings/**</exclude>
+ <exclude>velocity.log</exclude>
+ <exclude>felix-cache/**</exclude>
+ <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>**/revapi.json</exclude>
+ </excludes>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>0.10.5</version>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <reports>
+ <report>report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <configLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle.xml</configLocation>
+ <suppressionsLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server</propertyExpansion>
+ <propertyExpansion>licensedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.5</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ <configuration>
+ <targetJdk>1.7</targetJdk>
+ </configuration>
+ </reportPlugin>
+ </reportPlugins>
+ </configuration>
+ </execution>
+ <execution>
+ <id>default-deploy</id>
+ <phase>site-deploy</phase>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ <configuration>
+ <locales>en</locales>
+ <moduleExcludes>
+ <xdoc>navigation.xml,changes.xml</xdoc>
+ </moduleExcludes>
+ <templateDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../src/site</templateDirectory>
+ <template>site.vm</template>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ <reportPlugins>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.12.1</version>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reports>
+ <report>changes-report</report>
+ <report>changes-report</report>
+ <report>jira-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.9</version>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reports>
+ <report>index</report>
+ <report>dependencies</report>
+ <report>dependency-info</report>
+ <report>dependency-convergence</report>
+ <report>dependency-management</report>
+ <report>project-team</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.21.0</version>
+ <reportSets>
+ <reportSet>
+ <id>integration-tests</id>
+ <reports>
+ <report>failsafe-report-only</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>src/main/resources/META-INF/services/**/*</exclude>
+ <exclude>.idea/**/*</exclude>
+ <exclude>src/test/resources/**/*</exclude>
+ <exclude>src/ide/**</exclude>
+ <exclude>**/*.asc</exclude>
+ <exclude>src/site/resources/js/jquery.js</exclude>
+ <exclude>src/site/resources/js/jquery.min.js</exclude>
+ <exclude>log4j-distribution/target/**/*</exclude>
+ <exclude>log4j-distribution/.project</exclude>
+ <exclude>log4j-distribution/.settings/**</exclude>
+ <exclude>velocity.log</exclude>
+ <exclude>felix-cache/**</exclude>
+ <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>**/revapi.json</exclude>
+ </excludes>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>0.10.5</version>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <reports>
+ <report>report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <configLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle.xml</configLocation>
+ <suppressionsLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server</propertyExpansion>
+ <propertyExpansion>licensedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.5</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ <configuration>
+ <targetJdk>1.7</targetJdk>
+ </configuration>
+ </reportPlugin>
+ </reportPlugins>
+ </configuration>
+ </execution>
+ <execution>
+ <id>attach-descriptor</id>
+ <goals>
+ <goal>attach-descriptor</goal>
+ </goals>
+ <configuration>
+ <locales>en</locales>
+ <moduleExcludes>
+ <xdoc>navigation.xml,changes.xml</xdoc>
+ </moduleExcludes>
+ <templateDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../src/site</templateDirectory>
+ <template>site.vm</template>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ <reportPlugins>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.12.1</version>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reports>
+ <report>changes-report</report>
+ <report>changes-report</report>
+ <report>jira-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.9</version>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reports>
+ <report>index</report>
+ <report>dependencies</report>
+ <report>dependency-info</report>
+ <report>dependency-convergence</report>
+ <report>dependency-management</report>
+ <report>project-team</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.21.0</version>
+ <reportSets>
+ <reportSet>
+ <id>integration-tests</id>
+ <reports>
+ <report>failsafe-report-only</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>src/main/resources/META-INF/services/**/*</exclude>
+ <exclude>.idea/**/*</exclude>
+ <exclude>src/test/resources/**/*</exclude>
+ <exclude>src/ide/**</exclude>
+ <exclude>**/*.asc</exclude>
+ <exclude>src/site/resources/js/jquery.js</exclude>
+ <exclude>src/site/resources/js/jquery.min.js</exclude>
+ <exclude>log4j-distribution/target/**/*</exclude>
+ <exclude>log4j-distribution/.project</exclude>
+ <exclude>log4j-distribution/.settings/**</exclude>
+ <exclude>velocity.log</exclude>
+ <exclude>felix-cache/**</exclude>
+ <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>**/revapi.json</exclude>
+ </excludes>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>0.10.5</version>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <reports>
+ <report>report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <configLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle.xml</configLocation>
+ <suppressionsLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server</propertyExpansion>
+ <propertyExpansion>licensedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.5</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ <configuration>
+ <targetJdk>1.7</targetJdk>
+ </configuration>
+ </reportPlugin>
+ </reportPlugins>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>1.5</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh</artifactId>
+ <version>3.1.0</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <locales>en</locales>
+ <moduleExcludes>
+ <xdoc>navigation.xml,changes.xml</xdoc>
+ </moduleExcludes>
+ <templateDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../src/site</templateDirectory>
+ <template>site.vm</template>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ <reportPlugins>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.12.1</version>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ <reports>
+ <report>changes-report</report>
+ <report>changes-report</report>
+ <report>jira-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.9</version>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ <reports>
+ <report>index</report>
+ <report>dependencies</report>
+ <report>dependency-info</report>
+ <report>dependency-convergence</report>
+ <report>dependency-management</report>
+ <report>project-team</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.21.0</version>
+ <reportSets>
+ <reportSet>
+ <id>integration-tests</id>
+ <reports>
+ <report>failsafe-report-only</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>src/main/resources/META-INF/services/**/*</exclude>
+ <exclude>.idea/**/*</exclude>
+ <exclude>src/test/resources/**/*</exclude>
+ <exclude>src/ide/**</exclude>
+ <exclude>**/*.asc</exclude>
+ <exclude>src/site/resources/js/jquery.js</exclude>
+ <exclude>src/site/resources/js/jquery.min.js</exclude>
+ <exclude>log4j-distribution/target/**/*</exclude>
+ <exclude>log4j-distribution/.project</exclude>
+ <exclude>log4j-distribution/.settings/**</exclude>
+ <exclude>velocity.log</exclude>
+ <exclude>felix-cache/**</exclude>
+ <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>**/revapi.json</exclude>
+ </excludes>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>0.10.5</version>
+ <reportSets>
+ <reportSet>
+ <id>default</id>
+ <reports>
+ <report>report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <configLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle.xml</configLocation>
+ <suppressionsLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server</propertyExpansion>
+ <propertyExpansion>licensedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.5</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </reportPlugin>
+ <reportPlugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ <configuration>
+ <targetJdk>1.7</targetJdk>
+ </configuration>
+ </reportPlugin>
+ </reportPlugins>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pdf-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>pdf</id>
+ <phase>site</phase>
+ <goals>
+ <goal>pdf</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.0.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ <goal>test-jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>src/main/resources/META-INF/services/**/*</exclude>
+ <exclude>.idea/**/*</exclude>
+ <exclude>src/test/resources/**/*</exclude>
+ <exclude>src/ide/**</exclude>
+ <exclude>**/*.asc</exclude>
+ <exclude>src/site/resources/js/jquery.js</exclude>
+ <exclude>src/site/resources/js/jquery.min.js</exclude>
+ <exclude>log4j-distribution/target/**/*</exclude>
+ <exclude>log4j-distribution/.project</exclude>
+ <exclude>log4j-distribution/.settings/**</exclude>
+ <exclude>velocity.log</exclude>
+ <exclude>felix-cache/**</exclude>
+ <exclude>RELEASE-NOTES.md</exclude>
+ <exclude>**/revapi.json</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-doap-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>site</id>
+ <phase>site</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <doapOptions>
+ <programmingLanguage>Java</programmingLanguage>
+ <category>library</category>
+ </doapOptions>
+ <asfExtOptions>
+ <charter>The Apache Logging Services Project creates and maintains open-source software related to the logging of
+ application behavior and released at no charge to the public.</charter>
+ <pmc>https://logging.apache.org</pmc>
+ </asfExtOptions>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <doapOptions>
+ <programmingLanguage>Java</programmingLanguage>
+ <category>library</category>
+ </doapOptions>
+ <asfExtOptions>
+ <charter>The Apache Logging Services Project creates and maintains open-source software related to the logging of
+ application behavior and released at no charge to the public.</charter>
+ <pmc>https://logging.apache.org</pmc>
+ </asfExtOptions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>0.10.5</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <checkDependencies>false</checkDependencies>
+ <skip>true</skip>
+ <failOnMissingConfigurationFiles>false</failOnMissingConfigurationFiles>
+ <analysisConfigurationFiles>
+ <path>revapi.json</path>
+ </analysisConfigurationFiles>
+ <analysisConfiguration>[
+ {
+ "extension": "revapi.java",
+ "configuration": {
+ "missing-classes": {
+ "behavior": "report",
+ "ignoreMissingAnnotations": false
+ },
+ "reportUsesFor": [
+ "java.missing.newClass",
+ "java.class.nonPublicPartOfAPI"
+ ],
+ "filter": {
+ "classes": {
+ "regex": true,
+ "include": [
+ "org\\.apache\\.logging\\.log4j(\\..+)?"
+ ]
+ },
+ "packages": {
+ "regex": true,
+ "include": [
+ "org\\.apache\\.logging\\.log4j(\\..+)?"
+ ]
+ }
+ }
+ }
+ }
+]</analysisConfiguration>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-java</artifactId>
+ <version>0.18.2</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>3.5.0</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ <configuration>
+ <instructions>
+ <Export-Package>org.apache.logging.log4j.spring.cloud.config.controller</Export-Package>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ <inherited>true</inherited>
+ <configuration>
+ <instructions>
+ <Export-Package>org.apache.logging.log4j.spring.cloud.config.controller</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>default-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifestFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/classes/META-INF/MANIFEST.MF</manifestFile>
+ <manifestEntries>
+ <Specification-Title>Apache Log4j Spring Cloud Config Server Support</Specification-Title>
+ <Specification-Version>2.12.0-SNAPSHOT</Specification-Version>
+ <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+ <Implementation-Title>Apache Log4j Spring Cloud Config Server Support</Implementation-Title>
+ <Implementation-Version>2.12.0-SNAPSHOT</Implementation-Version>
+ <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+ <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+ <X-Compile-Source-JDK>1.7</X-Compile-Source-JDK>
+ <X-Compile-Target-JDK>1.7</X-Compile-Target-JDK>
+ <Automatic-Module-Name>org.apache.logging.log4j.spring.cloud.config.controller</Automatic-Module-Name>
+ </manifestEntries>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
+ <executions>
+ <execution>
+ <id>default-compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <encoding>UTF-8</encoding>
+ <fork>true</fork>
+ <meminitial>256</meminitial>
+ <maxmem>1024</maxmem>
+ <compilerArguments>
+ <Xmaxwarns>10000</Xmaxwarns>
+ <Xlint />
+ </compilerArguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>default-testCompile</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <encoding>UTF-8</encoding>
+ <fork>true</fork>
+ <meminitial>256</meminitial>
+ <maxmem>1024</maxmem>
+ <compilerArguments>
+ <Xmaxwarns>10000</Xmaxwarns>
+ <Xlint />
+ </compilerArguments>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <encoding>UTF-8</encoding>
+ <fork>true</fork>
+ <meminitial>256</meminitial>
+ <maxmem>1024</maxmem>
+ <compilerArguments>
+ <Xmaxwarns>10000</Xmaxwarns>
+ <Xlint />
+ </compilerArguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.5.2</version>
+ <executions>
+ <execution>
+ <id>default-install</id>
+ <phase>install</phase>
+ <goals>
+ <goal>install</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.8.2</version>
+ <executions>
+ <execution>
+ <id>default-deploy</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <outputDirectory>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/target/site</outputDirectory>
+ <plugins>
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>2.12.1</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ <report>changes-report</report>
+ <report>jira-report</report>
+ </reports>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ </reportSet>
+ </reportSets>
+ <configuration>
+ <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
+ <useJql>true</useJql>
+ <statusIds>Resolved, Closed</statusIds>
+ <columnNames>Type,Key,Summary,Assignee,Status,Resolution,Fix Version</columnNames>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.9</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>index</report>
+ <report>dependencies</report>
+ <report>dependency-info</report>
+ <report>dependency-convergence</report>
+ <report>dependency-management</report>
+ <report>project-team</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ </reportSet>
+ </reportSets>
+ <configuration>
+ <customBundle>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/src/site/custom/project-info-report.properties</customBundle>
+ <webAccessUrl>https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=summary/log4j-spring-cloud-config/log4j-spring-cloud-config-server</webAccessUrl>
+ <anonymousConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</anonymousConnection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j2.git/log4j-spring-cloud-config/log4j-spring-cloud-config-server</developerConnection>
+ <scmTag>log4j-2.11.2</scmTag>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.21.0</version>
+ <reportSets>
+ <reportSet>
+ <id>integration-tests</id>
+ <reports>
+ <report>failsafe-report-only</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ <configuration>
+ <excludes>
+ <exclude>src/main/resources/META-INF/services/**/*</exclude>
+ <exclude>.idea/**/*</exclude>
+ <exclude>src/test/resources/**/*</exclude>
+ <exclude>src/ide/**</exclude>
+ <exclude>**/*.asc</exclude>
+ <exclude>src/site/resources/js/jquery.js</exclude>
+ <exclude>src/site/resources/js/jquery.min.js</exclude>
+ <exclude>log4j-distribution/target/**/*</exclude>
+ <exclude>log4j-distribution/.project</exclude>
+ <exclude>log4j-distribution/.settings/**</exclude>
+ <exclude>velocity.log</exclude>
+ <exclude>felix-cache/**</exclude>
+ <exclude>RELEASE-NOTES.txt</exclude>
+ <exclude>**/revapi.json</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>0.10.5</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <configLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle.xml</configLocation>
+ <suppressionsLocation>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-suppressions.xml</suppressionsLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <propertyExpansion>basedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server</propertyExpansion>
+ <propertyExpansion>licensedir=/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../checkstyle-header.txt</propertyExpansion>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.1</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ </reportSet>
+ </reportSets>
+ <configuration>
+ <bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
+ and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></bottom>
+ <detectOfflineLinks>false</detectOfflineLinks>
+ <linksource>true</linksource>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.5</version>
+ <configuration>
+ <fork>true</fork>
+ <jvmArgs>-Duser.language=en</jvmArgs>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>/Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-spring-cloud-config/log4j-spring-cloud-config-server/../findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ <reportSets>
+ <reportSet>
+ <id>non-aggregate</id>
+ <reports>
+ <report>jxr</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.10.0</version>
+ <configuration>
+ <targetJdk>1.7</targetJdk>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
+
+
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESS
+[INFO] ------------------------------------------------------------------------
+[INFO] Total time: 3.315 s
+[INFO] Finished at: 2019-03-01T16:18:01-07:00
+[INFO] Final Memory: 26M/981M
+[INFO] ------------------------------------------------------------------------
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml
index 6a31ce6..eaf6767 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-server/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-spring-cloud-config</artifactId>
- <version>2.11.2-SNAPSHOT</version>
+ <version>2.12.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<artifactId>log4j-spring-cloud-config-server</artifactId>
diff --git a/log4j-spring-cloud-config/pom.xml b/log4j-spring-cloud-config/pom.xml
index 37282c9..fa64d72 100644
--- a/log4j-spring-cloud-config/pom.xml
+++ b/log4j-spring-cloud-config/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
- <version>2.11.2-SNAPSHOT</version>
+ <version>2.12.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>org.apache.logging.log4j</groupId>
@@ -31,16 +31,16 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revapi.skip>true</revapi.skip>
- <spring-cloud-config.version>2.0.3.BUILD-SNAPSHOT</spring-cloud-config.version>
... 56 lines suppressed ...
[logging-log4j2] 04/08: Prepare for release
Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch LOG4J2-913
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 74c7f29a5ddfa01c849d48fd71827c8f8d8cebdd
Author: rgoers <ra...@dslextreme.com>
AuthorDate: Sun Feb 3 11:53:34 2019 -0700
Prepare for release
---
src/changes/changes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index b889277..a24b6a1 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -29,6 +29,7 @@
- "update" - Change
- "remove" - Removed
-->
+
<release version="2.11.2" date="2019-02-04" description="GA Release 2.11.2">
<action issue="LOG4J2-2500" dev="rgoers" type="fix">
Document that Properties element must be the first configuration element.