Package io.apicurio.registry.services
Class RegistryConfigSource
- java.lang.Object
-
- io.apicurio.registry.services.RegistryConfigSource
-
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource
public class RegistryConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
ConfigSource that turns env vars into plain properties. e.g. REGISTRY_STREAMS_TOPOLOGY_SECURITY_PROTOCOL=SSL --> %dev.registry.streams.topology.security.protocol=SSLdocker run -it -p 8080:8080 -e REGISTRY_PROPERTIES_PREFIX=REGISTRY_ -e REGISTRY_STREAMS_TOPOLOGY_SECURITY_PROTOCOL=SSL apicurio/apicurio-registry-streams
- Author:
- Ales Justin
-
-
Constructor Summary
Constructors Constructor Description RegistryConfigSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Map<String,String>
getProperties()
String
getValue(String key)
-
-
-
Method Detail
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String key)
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
-