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

chore(*) improve DP insights API filtering #1104

Merged
merged 7 commits into from
Nov 3, 2020

Conversation

nickolaev
Copy link
Contributor

Summary

Improve the API to have better filtering for dataplane insights, such that this request will now work ->
curl http://localhost:5681/dataplanes+insights?gateway=false&ingress=false

Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev requested a review from a team as a code owner October 23, 2020 05:47
@tharun208
Copy link
Contributor

@nickolaev, Also we need to add the filter option for ingress data planes in the cli.

@nickolaev
Copy link
Contributor Author

@nickolaev, Also we need to add the filter option for ingress data planes in the cli.

Please give an example of the CLI command.

@tharun208
Copy link
Contributor

@nickolaev, Also we need to add the filter option for ingress data planes in the cli.

Please give an example of the CLI command.

we are already having an option in CLI to filter gateway dataplanes - kumactl inspect dataplanes --gateway.

Nikolay Nikolaev added 3 commits October 26, 2020 12:13
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
return isnil(a)
}
default:
return func(a interface{}) bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a query has ?gateway=some_garbage_value does it mean it returns gateways? Can we somehow validate this?

Nikolay Nikolaev added 2 commits November 3, 2020 14:53
Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
@nickolaev nickolaev merged commit cf9ba4a into master Nov 3, 2020
@nickolaev nickolaev deleted the chore/dp_overview_improvements branch November 3, 2020 17:50
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.

None yet

3 participants