This is an automated email from the ASF dual-hosted git repository.
more pushed a change to branch webshell
in repository https://gitbox.apache.org/repos/asf/knox.git.
from c75e0d9 Merge branch 'master' into luliu8/master
add 4073660 KNOX-2704 - Honor request id (correlation id) set by upstream
loadbalancer (#534)
add a29223a KNOX-2680 - Introducing a central repository for CM service
discovery configs (#533)
add fcaf700 KNOX-2705 - Add correlattion id to logs as trace_id (#536)
add 197e92a KNOX-2708 - HeaderPreAuthFederationDispatch should extend
ConfigurableDispatch (#538)
add db03ec3 KNOX-2531 Kill Application button in YARN does not work
through KNOX (#399)
new 70b646d Merge branch 'master' into webshell
The 1 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.
Summary of changes:
.../discovery/ambari/AmbariServiceDiscovery.java | 6 +
.../ambari/AmbariServiceDiscoveryType.java | 3 +-
.../cm/ClouderaManagerServiceDiscovery.java | 210 ++++++++++++++-------
.../ClouderaManagerServiceDiscoveryMessages.java | 44 ++++-
.../ClouderaManagerServiceDiscoveryRepository.java | 209 ++++++++++++++++++++
.../cm/ClouderaManagerServiceDiscoveryType.java | 5 +-
.../topology/discovery/cm/DiscoveryApiClient.java | 4 +
...uderaManagerServiceDiscoveryRepositoryTest.java | 191 +++++++++++++++++++
.../cm/ClouderaManagerServiceDiscoveryTest.java | 18 +-
gateway-release/home/conf/gateway-log4j2.xml | 2 +-
.../org/apache/knox/gateway/GatewayFilter.java | 16 +-
.../gateway/config/impl/GatewayConfigImpl.java | 6 +
.../knox/gateway/filter/CorrelationHandler.java | 15 +-
.../org/apache/knox/gateway/GatewayFilterTest.java | 71 +++++++
.../test/extension/DummyServiceDiscovery.java | 6 +
.../test/extension/DummyServiceDiscoveryType.java | 3 +-
.../extension/PropertiesFileServiceDiscovery.java | 6 +
.../PropertiesFileServiceDiscoveryType.java | 3 +-
.../test/extension/SneakyServiceDiscoveryImpl.java | 7 +
.../test/extension/SneakyServiceDiscoveryType.java | 3 +-
.../resources/services/yarnui/2.7.0/rewrite.xml | 2 +-
gateway-spi/pom.xml | 5 +
.../apache/knox/gateway/config/GatewayConfig.java | 7 +
.../gateway/dispatch/AbstractGatewayDispatch.java | 17 ++
.../dispatch/HeaderPreAuthFederationDispatch.java | 4 +-
.../topology/discovery/ServiceDiscovery.java | 13 ++
.../discovery/ServiceDiscoveryFactory.java | 17 +-
.../topology/discovery/ServiceDiscoveryType.java | 4 +-
.../gateway/dispatch/ConfigurableDispatchTest.java | 132 +++++++++++++
.../org/apache/knox/gateway/GatewayTestConfig.java | 5 +
.../gateway/SimpleDescriptorHandlerFuncTest.java | 8 +-
.../topology/simple/SimpleDescriptorHandler.java | 8 +-
32 files changed, 951 insertions(+), 99 deletions(-)
create mode 100644
gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryRepository.java
create mode 100644
gateway-discovery-cm/src/test/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryRepositoryTest.java