Class CfEurekaClientProcessor

java.lang.Object
io.pivotal.cfenv.boot.scs.CfEurekaClientProcessor
All Implemented Interfaces:
io.pivotal.cfenv.spring.boot.CfEnvProcessor

public class CfEurekaClientProcessor extends Object implements io.pivotal.cfenv.spring.boot.CfEnvProcessor
Sets eureka-client properties with values found in service bindings of a spring-cloud-services service-registry service instance.
Author:
Will Tran, Dylan Roberts
  • Constructor Details

    • CfEurekaClientProcessor

      public CfEurekaClientProcessor()
  • Method Details

    • accept

      public boolean accept(io.pivotal.cfenv.core.CfService service)
      Specified by:
      accept in interface io.pivotal.cfenv.spring.boot.CfEnvProcessor
    • process

      public void process(io.pivotal.cfenv.core.CfCredentials cfCredentials, Map<String,Object> properties)
      Specified by:
      process in interface io.pivotal.cfenv.spring.boot.CfEnvProcessor
    • getProperties

      public io.pivotal.cfenv.spring.boot.CfEnvProcessorProperties getProperties()
      Specified by:
      getProperties in interface io.pivotal.cfenv.spring.boot.CfEnvProcessor