Skip to content

Commit

Permalink
Query Parameters Pruning API and Tests (sonic-net#105)
Browse files Browse the repository at this point in the history
* Query Parameters Pruning API and Tests

- Pruning API used by subtree transformers for Query Parameters.
- Tests. ( Only ACL is enabled currently, since the others need
  support from the corresponding feature teams )
- Updated the hooks to invoke the pruning API.
- The GET request cancelling context parameter is passed to some
  of the pruning functions, but is not implemented since that is appearing
  in a separate PR

* Query Parameters Pruning API and Tests.
    Fix for missing pruneDone check.
  • Loading branch information
a-barboza authored Oct 11, 2023
1 parent 2dadfdc commit a16b59b
Show file tree
Hide file tree
Showing 9 changed files with 9,499 additions and 9 deletions.
1 change: 1 addition & 0 deletions translib/transformer/xfmr_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type XfmrParams struct {
pCascadeDelTbl *[]string //used to populate list of tables needed cascade delete by subtree overloaded methods
yangDefValMap map[string]map[string]db.Value
queryParams QueryParams
pruneDone *bool
invokeCRUSubtreeOnce *bool
}

Expand Down
Loading

0 comments on commit a16b59b

Please sign in to comment.