If the user sets a --categories flag, Sync will look for APIs that match those categories
If the user sets a --tags flag, Sync will look for APIs and Policies that match those tags
Also, the readability of the Dump function has been improved, by separating code into blocks of functions.
Description
If the user sets a
--categories
flag, Sync will look for APIs that match those categories If the user sets a--tags
flag, Sync will look for APIs and Policies that match those tags Also, the readability of theDump
function has been improved, by separating code into blocks of functions.Related Issue
Jira ticket: https://tyktech.atlassian.net/browse/TT-227
Motivation and Context
Now users can look for APIs and Policies based on tags and categories, not only on IDs.
How This Has Been Tested
Unit tests were created.
Screenshots (if appropriate)
Types of changes
Checklist
master
!master
branch (left side). Also, you should start your branch off our latestmaster
.go mod tidy && go mod vendor
go fmt -s
go vet