-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[vtadmin] Add authz tests for remaining non-schema related actions #10481
Merged
ajm188
merged 9 commits into
vitessio:main
from
planetscale:andrew/vtadmin-authz-tests-misc
Jun 9, 2022
Merged
[vtadmin] Add authz tests for remaining non-schema related actions #10481
ajm188
merged 9 commits into
vitessio:main
from
planetscale:andrew/vtadmin-authz-tests-misc
Jun 9, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Andrew Mason <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
ajm188
changed the title
[vtadmin] authz tests misc
[vtadmin] Add authz tests for remaining non-schema related actions
Jun 9, 2022
3 tasks
deepthi
approved these changes
Jun 9, 2022
ajm188
pushed a commit
to planetscale/vitess
that referenced
this pull request
Jun 9, 2022
…itessio#10481) * Add authz tests for EmergencyFailoverShard Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for PlannedFailoverShard Signed-off-by: Andrew Mason <[email protected]> * Add ValidateKeyspace to mock vtctld Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ValidateKeyspace Signed-off-by: Andrew Mason <[email protected]> * Add ValidateSchemaKeyspace to mock vtctld Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ValidateSchemaKeyspace Signed-off-by: Andrew Mason <[email protected]> * Add ValidateVersionKeyspace to mock vtctld Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ValidateVersionKeyspace Signed-off-by: Andrew Mason <[email protected]> * fixup mock data sorting Signed-off-by: Andrew Mason <[email protected]>
3 tasks
deepthi
pushed a commit
that referenced
this pull request
Jun 13, 2022
* [vtadmin] Add authz tests for remaining non-schema related actions (#10481) * Add authz tests for EmergencyFailoverShard Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for PlannedFailoverShard Signed-off-by: Andrew Mason <[email protected]> * Add ValidateKeyspace to mock vtctld Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ValidateKeyspace Signed-off-by: Andrew Mason <[email protected]> * Add ValidateSchemaKeyspace to mock vtctld Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ValidateSchemaKeyspace Signed-off-by: Andrew Mason <[email protected]> * Add ValidateVersionKeyspace to mock vtctld Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ValidateVersionKeyspace Signed-off-by: Andrew Mason <[email protected]> * fixup mock data sorting Signed-off-by: Andrew Mason <[email protected]> * [vtadmin] Add schema-related authz tests (#10486) * Update template to support more tablet fields Signed-off-by: Andrew Mason <[email protected]> * Update template, add full srvvschema payload, add schema payload, add authz tests for VTExplain Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for GetSchema Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for GetSchemas Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for FindSchema Signed-off-by: Andrew Mason <[email protected]> * Add authz tests for ReloadSchemas Signed-off-by: Andrew Mason <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Everything except
(Find|Get)Schema
,GetSchemas
, andVTExplain
(which are coming next).Related Issue(s)
#10397
Checklist
Deployment Notes