@Bean @ConditionalOnMissingBean public IClientConfig ribbonClientConfig() { DefaultClientConfigImpl config = new DefaultClientConfigImpl(); config.loadProperties(this.name); return config; }
private LoadBalancingHttpClient<ByteBuf, ByteBuf> createEddaClient() { final IClientConfig config = DefaultClientConfigImpl.getClientConfigWithDefaultValues(EDDA_CLIENT_NAME); return RibbonTransport.newHttpClient(config); }
public static DefaultClientConfigImpl getClientConfigWithDefaultValues( String clientName, String nameSpace) { DefaultClientConfigImpl config = new DefaultClientConfigImpl(nameSpace); config.loadProperties(clientName); return config; }
public DiscoveryEnabledNIWSServerList(String vipAddresses) { IClientConfig clientConfig = DefaultClientConfigImpl.getClientConfigWithDefaultValues(); clientConfig.set(Keys.DeploymentContextBasedVipAddresses, vipAddresses); initWithNiwsConfig(clientConfig); }