-
Notifications
You must be signed in to change notification settings - Fork 92
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 Parameter support in transformer infra for REST GET operation #102
Query Parameter support in transformer infra for REST GET operation #102
Conversation
-Changes in DbSpec creation, inherit db-name from sonic table, use cvl db-name annotation for sonic yang, utility function changes -Support exclusion of sonic yangs xfmr support from models list
…ang table containing a singleton container and UT cases exercising this mapping using table-name and key-name annotations
…ranslib fills ygot in request iteslf and when there is onctent mismatch one cannot return that ygot and has to return empty.2)Handle singleton container case for fields query-parameter processing.
…ate/key-leaf allowing application annotation to be skipped and also avoiding translating into db key-attribute in value hash
…m:amrutasali/sonic-mgmt-common into transformerinfra_query_parameter_support
…side keyCreate function
… as an optimized way to fill list-key leaves inside the config and state containers instead of extracting from the URI string
…:amrutasali/sonic-mgmt-common into transformerinfra_query_parameter_support
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.
This is a pre-requisite for sonic-net/sonic-mgmt-framework#119
There is a dependency on the pruning PR for subtree transformers, to be opened subsequently.
@amrutasali , PR didn't merged in to sonic-buildimage. |
@liushilongbuaa This PR in sonic-mgmt-common - #102 |
Transformer infra initial support for following standard REST query-parameters for GET operation(https://datatracker.ietf.org/doc/html/rfc8040#section-4.8) :
Transformer infra enahancement to support :
Verification done using unit tests on transformer test yang and added new cases for above.
Unit test run results are part of pipeline test run.