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

acc: Include "id" into /api/2.0/preview/scim/v2/Me response #2266

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

denik
Copy link
Contributor

@denik denik commented Jan 29, 2025

This is something terraform provider expects.

Related to #2242

This is something terraform provider expects.
@denik denik temporarily deployed to test-trigger-is January 29, 2025 16:22 — with GitHub Actions Inactive
@denik denik changed the title acc: Include "Id" into /api/2.0/preview/scim/v2/Me response acc: Include "id" into /api/2.0/preview/scim/v2/Me response Jan 29, 2025
@denik
Copy link
Contributor Author

denik commented Jan 29, 2025

Integration test failure is unrelated.

@denik denik temporarily deployed to test-trigger-is January 29, 2025 17:13 — with GitHub Actions Inactive
@@ -54,6 +54,7 @@ func AddHandlers(server *testserver.Server) {

server.Handle("GET /api/2.0/preview/scim/v2/Me", func(r *http.Request) (any, error) {
return iam.User{
Id: "[email protected]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though it's a string, for correctness it should still represent the number (int64)
https://docs.databricks.com/api/workspace/currentuser/me#id

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, fixed here 4b6211c

@denik denik enabled auto-merge January 29, 2025 17:24
@denik denik added this pull request to the merge queue Jan 29, 2025
Merged via the queue into main with commit 58ef34f Jan 29, 2025
9 checks passed
@denik denik deleted the denik/user-id branch January 29, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants