Skip to content

Allow for programatic access to new ConfigDataEnvironment processing #22601

@spencergibb

Description

@spencergibb

Spring Cloud uses SpringApplication as an api in a few different ways to get at boots configuration processing.

  1. bootstrap
  2. re-fetching remote config and re-applying to environment
  3. config server for loading config files (from git, filesystem, etc...)

For the 1st, hopefully, we can eliminate bootstrap all together.

To test the 2nd, I made ConfigDataEnvironment, its constructor, and processAndApply() public and made a change here spring-cloud/spring-cloud-commons@24f444b and it was successful.

For the 3rd, I still need to do a POC on config server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions