-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor config loading and add error handling in autoscaler API
- Replace `io.Reader` with `os` package for file handling - Introduce error variables for config file reading and missing server config - Change `PublicApiServer` struct field to `Server` - Add `defaultConfig` function for initializing default config values - Implement `loadYamlFile` and `loadPublicApiServerConfig` for config loading - Modify `LoadConfig` to use new helper functions and handle VCAP configuration - Update tests to reflect changes and use `testhelpers.BytesToFile` for file operations - Add new default JSON files for catalog, config, and info - Update build-extension-file.sh to include `skip_ssl_validation` in parameters
- Loading branch information
1 parent
26afce8
commit e871698
Showing
8 changed files
with
679 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.