java.lang.Object
com.azure.spring.cloud.autoconfigure.cloudfoundry.environment.VcapProcessor
All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor

@Service @Configuration public class VcapProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor
Parses VCAP_SERVICES environment variable and sets corresponding property values.

Note that this class gets invoked before Spring creates the logging subsystem, so we just use System.out.println instead.

  • Constructor Details

    • VcapProcessor

      public VcapProcessor()
  • Method Details

    • postProcessEnvironment

      public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment confEnv, org.springframework.boot.SpringApplication app)
      Specified by:
      postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor