This commit is contained in:
Shreyas Goenka 2025-02-03 19:33:02 +01:00
parent 9c0efb6212
commit 5e9d63280a
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
9 changed files with 13 additions and 5 deletions

View File

@ -158,6 +158,7 @@ func testAccept(t *testing.T, InprocessMode bool, singleTest string) int {
testdiff.PrepareReplacementsUUID(t, &repls)
testdiff.PrepareReplacementsDevVersion(t, &repls)
testdiff.PrepareReplacementSdkVersion(t, &repls)
testdiff.PrepareReplacementsGoVersion(t, &repls)
testdiff.PrepareReplaceOS(t, &repls)
testDirs := getTests(t)

View File

@ -1 +1 @@
{"method":"GET","path":"/api/2.0/preview/scim/v2/Me","headers":{"Authorization":"Basic dXNlcm5hbWU6cGFzc3dvcmQ=","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.23.4 os/[OS] cmd/current-user_me cmd-exec-id/[UUID] auth/basic"},"body":""}
{"method":"GET","path":"/api/2.0/preview/scim/v2/Me","headers":{"Authorization":"Basic dXNlcm5hbWU6cGFzc3dvcmQ=","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] auth/basic"},"body":""}

View File

@ -1,2 +1,4 @@
LocalOnly = true
RecordRequests = true
IncludeReqHeaders = ["Authorization", "User-Agent"]

View File

@ -1,3 +1,3 @@
{"method":"GET","path":"/oidc/.well-known/oauth-authorization-server","headers":{"User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.23.4 os/[OS]"},"body":""}
{"method":"POST","path":"/oidc/v1/token","headers":{"Authorization":"Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.23.4 os/[OS]"},"body":"grant_type=client_credentials\u0026scope=all-apis"}
{"method":"GET","path":"/api/2.0/preview/scim/v2/Me","headers":{"Authorization":"Bearer oauth-token","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.23.4 os/[OS] cmd/current-user_me cmd-exec-id/[UUID] auth/oauth-m2m"},"body":""}
{"method":"GET","path":"/oidc/.well-known/oauth-authorization-server","headers":{"User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]"},"body":""}
{"method":"POST","path":"/oidc/v1/token","headers":{"Authorization":"Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]"},"body":"grant_type=client_credentials\u0026scope=all-apis"}
{"method":"GET","path":"/api/2.0/preview/scim/v2/Me","headers":{"Authorization":"Bearer oauth-token","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] auth/oauth-m2m"},"body":""}

View File

@ -1,2 +1,4 @@
LocalOnly = true
RecordRequests = true
IncludeReqHeaders = ["Authorization", "User-Agent"]

View File

@ -1 +1 @@
{"method":"GET","path":"/api/2.0/preview/scim/v2/Me","headers":{"Authorization":"Bearer dapi1234","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.23.4 os/[OS] cmd/current-user_me cmd-exec-id/[UUID] auth/pat"},"body":""}
{"method":"GET","path":"/api/2.0/preview/scim/v2/Me","headers":{"Authorization":"Bearer dapi1234","User-Agent":"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] auth/pat"},"body":""}

View File

@ -1,2 +1,4 @@
LocalOnly = true
RecordRequests = true
IncludeReqHeaders = ["Authorization", "User-Agent"]

View File

@ -1 +1,2 @@
LocalOnly = true # Deployment currently fails when run locally; once that is fixed, remove this setting

0
acceptance/server.go Normal file
View File