public abstract class ConfigMapPropertySource
extends org.springframework.core.env.MapPropertySource
MapPropertySource
that uses Kubernetes config maps.Modifier and Type | Field and Description |
---|---|
protected static String |
APPLICATION_PROPERTIES |
protected static String |
APPLICATION_YAML |
protected static String |
APPLICATION_YML |
protected static String |
PREFIX |
Constructor and Description |
---|
ConfigMapPropertySource(String name,
Map<String,Object> source) |
Modifier and Type | Method and Description |
---|---|
protected static Map<String,Object> |
asObjectMap(Map<String,Object> source) |
protected static org.springframework.core.env.Environment |
createEnvironmentWithActiveProfiles(String[] activeProfiles) |
protected static Map<String,Object> |
defaultProcessAllEntries(Map<String,String> input,
org.springframework.core.env.Environment environment) |
protected static Map<String,Object> |
extractProperties(String resourceName,
String content,
org.springframework.core.env.Environment environment) |
protected static String |
getName(String name,
String namespace) |
protected static Map<String,Object> |
processAllEntries(Map<String,String> input,
org.springframework.core.env.Environment environment) |
containsProperty, getProperty, getPropertyNames
protected static final String APPLICATION_YML
protected static final String APPLICATION_YAML
protected static final String APPLICATION_PROPERTIES
protected static final String PREFIX
protected static org.springframework.core.env.Environment createEnvironmentWithActiveProfiles(String[] activeProfiles)
protected static Map<String,Object> processAllEntries(Map<String,String> input, org.springframework.core.env.Environment environment)
protected static Map<String,Object> defaultProcessAllEntries(Map<String,String> input, org.springframework.core.env.Environment environment)
protected static Map<String,Object> extractProperties(String resourceName, String content, org.springframework.core.env.Environment environment)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.