Skip to content
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

[DMS]: users management implementation #530

Merged
merged 1 commit into from
May 18, 2023
Merged

[DMS]: users management implementation #530

merged 1 commit into from
May 18, 2023

Conversation

artem-lifshits
Copy link
Member

@artem-lifshits artem-lifshits commented May 18, 2023

What this PR does / why we need it

Implement DMS user management.

Acceptance tests

instances_test.go:72: Attempting to create DMSv2 instance
instances_test.go:111: DMSv2 instance successfully created: aa0692bb-3af6-47b4-8436-b04e1d5b7221
tools.go:72: {
      "user_name": "root",
      "role": "admin",
      "default_app": false,
      "created_time": 1684415318692
    }
instances_test.go:117: Attempting to delete DMSv2 instance: aa0692bb-3af6-47b4-8436-b04e1d5b7221
instances_test.go:124: DMSv1 instance deleted successfully: aa0692bb-3af6-47b4-8436-b04e1d5b7221

--- 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

@artem-lifshits artem-lifshits added the gate Merge PR label May 18, 2023
@otc-zuul
Copy link
Contributor

otc-zuul bot commented May 18, 2023

Build succeeded.
https://zuul.otc-service.com/t/eco/buildset/43adcca58bdc4990b0b7b3174a70d852

✔️ otc-golangci-lint SUCCESS in 2m 19s
✔️ golang-make-vet SUCCESS in 1m 53s
✔️ golang-make-test SUCCESS in 2m 22s
✔️ golang-make-functional SUCCESS in 6m 20s

@otc-zuul otc-zuul bot merged commit a9d5cf0 into devel May 18, 2023
2 checks passed
@otc-zuul otc-zuul bot deleted the dms_user branch May 18, 2023 14:38
artem-lifshits added a commit that referenced this pull request Jun 30, 2023
[DMS]: users management implementation

What this PR does / why we need it
Implement DMS user management.
Acceptance tests
instances_test.go:72: Attempting to create DMSv2 instance
instances_test.go:111: DMSv2 instance successfully created: aa0692bb-3af6-47b4-8436-b04e1d5b7221
tools.go:72: {
      "user_name": "root",
      "role": "admin",
      "default_app": false,
      "created_time": 1684415318692
    }
instances_test.go:117: Attempting to delete DMSv2 instance: aa0692bb-3af6-47b4-8436-b04e1d5b7221
instances_test.go:124: DMSv1 instance deleted successfully: aa0692bb-3af6-47b4-8436-b04e1d5b7221

--- 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

Reviewed-by: Anton Sidelnikov
Reviewed-by: Aloento
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gate Merge PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants