Skip to content

Conversation

@rmvangun
Copy link
Contributor

@rmvangun rmvangun commented Oct 20, 2025

This is a significant refactor of config handler. The config handler now:

  1. Loads both windsor.yaml and values.yaml synchronously
  2. Stores values in a common "data" map
  3. Performs schema validation on values.yaml only
  4. Consolidates in to common methods, LoadContextConfig, SetContextValue => LoadConfig, Set, IsContextConfigLoaded => IsLoaded only
  5. Removes unused methods SetSecretsProvider GetSchemaDefaults, getValuesByPath, assignValue, convertValue

Signed-off-by: Ryan VanGundy 85766511+rmvangun@users.noreply.github.com

…and values.yaml

This is a significant refactor of config handler. The config handler now:

1. Loads both `windsor.yaml` and `values.yaml` synchronously
2. Stores values in a common "data" map
3. Performs schema validation on values.yaml only
4. Consolidates in to common methods, `LoadContextConfig`, `SetContextValue` => `LoadConfig`, `Set`, `IsContextConfigLoaded` => `IsLoaded` only
5. Removes unused methods `SetSecretsProvider` `GetSchemaDefaults`, `getValuesByPath`, `assignValue`, `convertValue`

Signed-off-by: Ryan VanGundy <ryan.vangundy+rmvangun@gmail.com>
@rmvangun rmvangun added the chore label Oct 20, 2025
Signed-off-by: Ryan VanGundy <ryan.vangundy+rmvangun@gmail.com>
Signed-off-by: Ryan VanGundy <ryan.vangundy+rmvangun@gmail.com>
@rmvangun rmvangun merged commit 43f580e into main Oct 20, 2025
12 checks passed
@rmvangun rmvangun deleted the refactor/consolidated-config-handler branch October 20, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants