Application-Gateway icon indicating copy to clipboard operation
Application-Gateway copied to clipboard

Load Configuration File via HTTPS

Open gianlucafrei opened this issue 5 years ago • 3 comments

Currently we Nelly only supports to load a config file from the local filesystem. We should add the option to load a configuration file via HTTPS.

-> Add a new class that implements NellyConfigLoader that load the file via https from remote -> Implement the HTTP loading if the file path begins with https:// -> Add error handling

gianlucafrei avatar Dec 06 '20 14:12 gianlucafrei

Maybe integrate with Spring Cloud Config server? (https://cloud.spring.io/spring-cloud-config/reference/html/)

nbaars avatar Sep 04 '21 09:09 nbaars

@nbaars Seems like a good idea, however, only HTTPS is way simpler. Can Spring Cloud Config host our custom YAML file?

gianlucafrei avatar Sep 10 '21 10:09 gianlucafrei

Yes, by default it will use a Git repo it will checkout but you can also define a different backend, for example: Vault, file, JDBC etc etc, see: https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html#_file_system_backend

nbaars avatar Sep 24 '21 10:09 nbaars