Skip to content

Commit

Permalink
Support dynamic client providers
Browse files Browse the repository at this point in the history
  • Loading branch information
isururanawaka committed Feb 26, 2021
1 parent eb15805 commit 127ab06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public class CustosClientsFactory {

private int custosPort;

private Map<String, CustosClientProvider> custosClientProviderMap = new ConcurrentHashMap<>();

public CustosClientsFactory(String custosHost, int custosPort, String custosId, String custosSecret) {
this.custosHost = custosHost;
this.custosPort = custosPort;
Expand All @@ -23,8 +25,6 @@ public CustosClientsFactory(String custosHost, int custosPort, String custosId,

}

private Map<String, CustosClientProvider> custosClientProviderMap = new ConcurrentHashMap<>();


public CustosClientProvider getCustosClientProvider(String custosId, String custosSecret) {

Expand Down

0 comments on commit 127ab06

Please sign in to comment.