[ 
https://issues.apache.org/jira/browse/KNOX-2395?focusedWorklogId=456653&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-456653
 ]

ASF GitHub Bot logged work on KNOX-2395:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jul/20 14:30
            Start Date: 09/Jul/20 14:30
    Worklog Time Spent: 10m 
      Work Description: pzampino commented on a change in pull request #358:
URL: https://github.com/apache/knox/pull/358#discussion_r452261472



##########
File path: 
gateway-server/src/main/java/org/apache/knox/gateway/services/factory/RemoteRegistryClientServiceFactory.java
##########
@@ -26,20 +26,26 @@
 import org.apache.knox.gateway.services.ServiceLifecycleException;
 import org.apache.knox.gateway.services.ServiceType;
 import 
org.apache.knox.gateway.services.config.client.RemoteConfigurationRegistryClientService;
+import org.apache.knox.gateway.services.security.AliasService;
 
 // There are two implementations of 'RemoteConfigurationRegistryClientService':
 // - LocalFileSystemRemoteConfigurationRegistryClientService
 // - CuratorClientService
 // However, the first one - local - is for test-only purposes
 public class RemoteRegistryClientServiceFactory extends AbstractServiceFactory 
{
 
+  private final AliasServiceFactory aliasServiceFactory = new 
AliasServiceFactory();
+
   @Override
   public Service create(GatewayServices gatewayServices, ServiceType 
serviceType, GatewayConfig gatewayConfig, Map<String, String> options, String 
implementation)

Review comment:
       This is related to my most recent comment, I guess. Since there isn't 
another known implementation, it currently cannot be overridden. So, the heart 
of the matter is the ability to plug-in an arbitrary gateway service 
implementation.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 456653)
    Time Spent: 2h  (was: 1h 50m)

> Make Gateway Services Pluggable
> -------------------------------
>
>                 Key: KNOX-2395
>                 URL: https://issues.apache.org/jira/browse/KNOX-2395
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Philip Zampino
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> For at least some gateway services, it would be useful to provide the ability 
> to choose an implementation without requiring a code change (as it is today).
> Either DefaultGatewayServices should reference gateway-site configuration for 
> default implementation overrides, OR the default implementations of the 
> affected services should do the same.
> Being able to effect behavior through config in this way will make Knox more 
> pluggable, not merely extensible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to