This is an automated email from the ASF dual-hosted git repository.
krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new 06a37c0 KNOX-1792 - AliasService start should only be called once in
DefaultGatewayServices
06a37c0 is described below
commit 06a37c012909b6fa8326fc9f4f1160a4577610af
Author: Kevin Risden <[email protected]>
AuthorDate: Fri Feb 22 11:00:06 2019 -0500
KNOX-1792 - AliasService start should only be called once in
DefaultGatewayServices
Signed-off-by: Kevin Risden <[email protected]>
---
.../java/org/apache/knox/gateway/services/DefaultGatewayServices.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/gateway-server/src/main/java/org/apache/knox/gateway/services/DefaultGatewayServices.java
b/gateway-server/src/main/java/org/apache/knox/gateway/services/DefaultGatewayServices.java
index a09f2f3..52ff41b 100644
---
a/gateway-server/src/main/java/org/apache/knox/gateway/services/DefaultGatewayServices.java
+++
b/gateway-server/src/main/java/org/apache/knox/gateway/services/DefaultGatewayServices.java
@@ -93,10 +93,8 @@ public class DefaultGatewayServices implements
GatewayServices {
alias.setMasterService(ms);
alias.setRegistryClientService(registryClientService);
alias.init(config, options);
- alias.start();
services.put(ALIAS_SERVICE, alias);
-
DefaultCryptoService crypto = new DefaultCryptoService();
crypto.setKeystoreService(ks);
crypto.setAliasService(alias);