Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev df http config #270

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Dev df http config #270

wants to merge 4 commits into from

Conversation

fils
Copy link
Member

@fils fils commented Nov 15, 2024

@valentinedwv here is the pull request for Gleaner for adding in --cfgURL

 gleaner -cfgURL https://provisium.io/data/gleanerconfig.yaml --source iodenodc

I see I didn't propergate these changes into glcon, just the gleaner binary.

I will do that now but wanted to get this in in case working with the gleaner binary was enough. Also lets you vet the changes. Will do another PR when the code is worked into glcon too.

Updated gleanerConfig.go to fetch config via HTTP and added a new flag in main.go to specify configuration URLs. This enhancement allows flexibility in supplying configuration either from a local file or a remote URL.
Introducing a new cfgURL flag to specify configuration URLs. Additionally, sensitive fields in localConfig.yaml such as accessKey and secretKey have been cleared for better security practices. This update improves configuration flexibility and enhances security.
Renamed flags from `cfgurl` to `cfgURL` for consistency in `main.go`. Added multiple new indirect dependencies in `go.mod` for enhanced functionality.
@fils fils requested a review from valentinedwv November 15, 2024 18:48
Enhanced the gleaner configuration loading logic to support fetching the config file from a URL. This update provides an alternative to local file configuration, improving flexibility and usability.
@fils
Copy link
Member Author

fils commented Nov 15, 2024

@valentinedwv I think the update to glcon is in..

a9ffbdd

I think that is all that is needed, but wanted to check with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants