@Service @Configuration public class VcapProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor
Note that this class gets invoked before Spring creates the logging subsystem, so we just use System.out.println instead.
| Modifier and Type | Field and Description |
|---|---|
private static String |
AZURE |
private static String |
AZURE_SERVICE_BROKER_NAME |
private static String |
AZURE_SERVICE_PLAN |
private static String |
CREDENTIALS |
static String |
LOG_VARIABLE |
private boolean |
logFlag |
private static org.slf4j.Logger |
LOGGER |
private static String |
USER_PROVIDED |
static String |
VCAP_SERVICES |
| Constructor and Description |
|---|
VcapProcessor() |
| Modifier and Type | Method and Description |
|---|---|
private VcapServiceConfig |
getVcapServiceConfig(Map<String,Object> configMap) |
private List<VcapServiceConfig> |
getVcapServiceConfigList(Object value) |
private void |
log(String msg) |
VcapResult |
parse(String vcapServices) |
private VcapPojo |
parseService(String serviceBrokerName,
VcapServiceConfig serviceConfig,
String vCapServices) |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment confEnv,
org.springframework.boot.SpringApplication app) |
private static final org.slf4j.Logger LOGGER
public static final String VCAP_SERVICES
public static final String LOG_VARIABLE
private static final String AZURE
private static final String USER_PROVIDED
private static final String AZURE_SERVICE_BROKER_NAME
private static final String AZURE_SERVICE_PLAN
private static final String CREDENTIALS
private boolean logFlag
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment confEnv,
org.springframework.boot.SpringApplication app)
postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessorprivate VcapServiceConfig getVcapServiceConfig(@NonNull Map<String,Object> configMap)
private List<VcapServiceConfig> getVcapServiceConfigList(@NonNull Object value)
public VcapResult parse(String vcapServices)
private VcapPojo parseService(String serviceBrokerName, VcapServiceConfig serviceConfig, String vCapServices)
private void log(String msg)
Copyright © 2019 Microsoft. All rights reserved.