[DMS]: users management implementation #530
Merged
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.
What this PR does / why we need it
Implement DMS user management.
Acceptance tests
--- PASS: TestUsersList (521.02s)
=== RUN TestUsersLifecycle
instances_test.go:72: Attempting to create DMSv2 instance
instances_test.go:111: DMSv2 instance successfully created: df94c570-4015-4559-9887-f682123304f8
instances_test.go:215: Attempting to create DMSv2 Topic
instances_test.go:228: DMSv2 Topic successfully created: dms-topic-1JOdag6o
tools.go:72: {
"name": "dms-topic-1JOdag6o",
"topic_type": 0,
"policies": [
{
"owner": false,
"user_name": "usery4tc9",
"access_policy": "all"
}
]
}
instances_test.go:250: Attempting to delete DMSv2 Topic
instances_test.go:256: DMSv2 Topic successfully deleted
instances_test.go:117: Attempting to delete DMSv2 instance: df94c570-4015-4559-9887-f682123304f8
instances_test.go:124: DMSv1 instance deleted successfully: df94c570-4015-4559-9887-f682123304f8
--- PASS: TestUsersLifecycle (656.34s)
PASS
Process finished with the exit code 0