Class ConfigMapPropertySource

java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<Map<String,Object>>
org.springframework.core.env.MapPropertySource
org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySource

public abstract class ConfigMapPropertySource extends org.springframework.core.env.MapPropertySource
A MapPropertySource that uses Kubernetes config maps.
Author:
Ioannis Canellos, Ali Shahbour, Michael Moudatsos
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Field Summary

    Fields inherited from class org.springframework.core.env.PropertySource

    logger, name, source
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 applicationName, String namespace)
     
    protected static Map<String,Object>
    processAllEntries(Map<String,String> input, org.springframework.core.env.Environment environment)
     

    Methods inherited from class org.springframework.core.env.MapPropertySource

    containsProperty, getProperty, getPropertyNames

    Methods inherited from class org.springframework.core.env.PropertySource

    equals, getName, getSource, hashCode, named, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getName

      protected static String getName(String applicationName, String namespace)
    • processAllEntries

      protected static Map<String,Object> processAllEntries(Map<String,String> input, org.springframework.core.env.Environment environment)
    • defaultProcessAllEntries

      protected static Map<String,Object> defaultProcessAllEntries(Map<String,String> input, org.springframework.core.env.Environment environment)
    • extractProperties

      protected static Map<String,Object> extractProperties(String resourceName, String content, org.springframework.core.env.Environment environment)