-
Notifications
You must be signed in to change notification settings - Fork 94
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
Query parameters enhancements in rest-server. #119
Query parameters enhancements in rest-server. #119
Conversation
Has build dependency on the below PR |
Closing PR and reopening PR to trigger new build |
fe19fb3
to
226e79a
Compare
f94583e
to
226e79a
Compare
@anand-kumar-subramanian @tomek-US -- please review/approve/merge this PR |
@ranjinidn , submodule update PR failed. |
This PR in sonic-mgmt-common - sonic-net/sonic-mgmt-common#102 |
Can you create a PR to update both submodules? |
PR has been raised. Please review. sonic-net/sonic-buildimage#17054 |
Add support for following standard REST query-parameters for GET operation(https://datatracker.ietf.org/doc/html/rfc8040#section-4.8) :
depth : used to limit the depth of subtrees retrieved for a given GET request.
content : used to retrieve config and/or non-config descendant nodes of requested target in a GET request.
fields : used to retrieve specific subset of data nodes within the target for a GET request.
Verification done using unit tests and added new cases for above.
Unit test run results are part of pipeline test run.
Has build dependency on the below PR
sonic-net/sonic-mgmt-common#102
Both the PRs needs to be merged together to support the query parameters enhancement