-
Notifications
You must be signed in to change notification settings - Fork 71
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
Reworking the datasource format #84
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
08832e2
rework the datasource model
Nexucis 2a60472
fix generating dao
Nexucis 3207c64
define datasource and globalDatasource
Nexucis 358ad6d
override unmarshall for HTTPWhiteListConfig
Nexucis c03d191
define default whitelist for prometheus
Nexucis 620b6e3
review how the proxy is working to match the new datasource model
Nexucis 3074155
add test on unmarshal datasource and fix bugs
Nexucis 20ddd07
update datasources for the dev environment
Nexucis 942bbb9
simplify catchDatasource method
Nexucis 289006c
fix e2e datasource test
Nexucis 9a4d6e2
rename httpConfiguration with httpConfig and add more unit test
Nexucis 85ef82d
fix datasource route in e2e test
Nexucis 81d6edb
rename WhiteList by AllowedEndpoint
Nexucis b2b1035
re wording based on the PR review
Nexucis 87fe0d8
missing apiPrefix in the route for e2e test
Nexucis c9ee227
fix typo in unmarshal
Nexucis b326e93
fix review
Nexucis da9dabd
fix license check
Nexucis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix review
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
- Loading branch information
commit b326e93ad7df237cc1fec47dad3a91c6692f133a
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm this seems to clobber the definition proxyErr assignment on line 158?
Perhaps use a different variable if you want to retain the error, i.e.
or just