public class DiscoveryClientVaultServiceInstanceProvider extends Object implements VaultServiceInstanceProvider
ServiceInstance to look up the Vault service.| Constructor and Description |
|---|
DiscoveryClientVaultServiceInstanceProvider(org.springframework.cloud.client.discovery.DiscoveryClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.client.ServiceInstance |
getVaultServerInstance(String serviceId)
Lookup
ServiceInstance by serviceId. |
public DiscoveryClientVaultServiceInstanceProvider(org.springframework.cloud.client.discovery.DiscoveryClient client)
public org.springframework.cloud.client.ServiceInstance getVaultServerInstance(String serviceId)
VaultServiceInstanceProviderServiceInstance by serviceId.getVaultServerInstance in interface VaultServiceInstanceProviderserviceId - the service Id.ServiceInstance for the given serviceId.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.