-
Notifications
You must be signed in to change notification settings - Fork 401
add filtering by gateway id #1416
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
Conversation
|
Attaching the test result: Tools response filtered based on gateway_id passed as part of input queryparam. |
kevalmahajan
left a comment
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.
Works as expected.
MohanLaksh
left a comment
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.
Works as intended.
Lists only tools corresponding to the associated gateway in the URL
mohanlaksh@IBM-PF3PFAJ7:~$ curl -X 'GET' 'http://localhost:4444/tools?include_inactive=false&gateway_id=2dc2464a812a467cbead3a09b454e77e' -H 'accept: application/json' -H 'Cookie: jwt_token=ey**********************************RQs' -H 'Content-Type: application/json' | jq
d169a6e to
d9f78bc
Compare
Co-authored-by: ramcysiddique <ramcy.siddique@ibm.com>
Co-authored-by: ramcysiddique <ramcy.siddique@ibm.com> Signed-off-by: p4yl04d3r <cvogan@gmail.com>
Closes #1409
This PR includes code changes to support filtering toolkits based on gateway_id.