public interface SpringCloudConfigOperations
Modifier and Type | Method and Description |
---|---|
Publisher<ConfigServerResponse> |
readValues(String applicationName,
String profiles)
Reads a Key from Consul.
|
@Get(value="/{applicationName}/{profiles}") @Produces(single=true) @Retryable(attempts="${spring.cloud.config.config.retry-count:3}", delay="${spring.cloud.config.config.retry-delay:1s}") @Nonnull Publisher<ConfigServerResponse> readValues(@Nonnull String applicationName, @Nullable String profiles)
applicationName
- The keyprofiles
- The data centerPublisher
that emits a list of ConfigServerResponse