Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions acceptance/bundle/migrate/auto/plan-failure/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ The Terraform deployment engine was removed in Databricks CLI v1.20.0. Auto-migr
>>> print_migration_telemetry
direct_migrate_plan_error true

>>> print_engines
2 engine/direct GET /api/2.0/workspace/export
1 engine/direct GET /api/2.2/jobs/get
1 engine/direct POST /telemetry-ext

=== Local state was NOT rewritten (still terraform)

>>> find.py \.databricks/.*(\.tfstate|resources.*\.json|\.wal)
Expand Down
6 changes: 5 additions & 1 deletion acceptance/bundle/migrate/auto/plan-failure/script
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ title "Inject GET failure so the migration plan check fails: migration hard-erro
fault.py "GET /api/2.2/jobs/get*" 403 0 1
trace DATABRICKS_BUNDLE_ENGINE=direct musterr $CLI bundle deploy
trace print_migration_telemetry
rm -f "$OUT_REQUESTS"
# A failed migration is fatal, so the deploy could only have run on the direct engine: every
# request it made, including those before the failure and the telemetry upload, is tagged
# engine/direct. An untagged request would show up as MISSING. print_engines also clears
# the recorded requests for the next step.
trace print_engines

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[AI Generated] nit: The process.go comment says a failed migration's deploy telemetry still reports state_engine: terraform, but no golden prints it. Can this script print resources_metadata.state_engine before print_engines clears the request log?


title "Local state was NOT rewritten (still terraform)"
trace find.py '\.databricks/.*(\.tfstate|resources.*\.json|\.wal)'
Expand Down
2 changes: 1 addition & 1 deletion acceptance/bundle/migrate/auto/run-no-commit/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Run URL: [DATABRICKS_URL]/jobs/[TEST_JOB_ID]/runs/[RUN_ID]?o=[WORKSPACE_ID]
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none lineage/AlC62qhncMO engine/direct auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none engine/direct lineage/AlC62qhncMO auth/pat"
]
},
"method": "POST",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Unset the DATABRICKS_BUNDLE_ENGINE environment variable (or set it to "direct")
See https://docs.databricks.com/dev-tools/bundles/direct for details

>>> print_engines
1 MISSING POST /telemetry-ext
1 engine/direct POST /telemetry-ext

=== deploy with bundle.engine: terraform

Expand All @@ -25,7 +25,7 @@ See https://docs.databricks.com/dev-tools/bundles/direct for details


>>> print_engines
1 MISSING POST /telemetry-ext
1 engine/direct POST /telemetry-ext

=== summary with bundle.engine: terraform

Expand All @@ -39,5 +39,5 @@ See https://docs.databricks.com/dev-tools/bundles/direct for details
Notice: migrating your bundle to direct deployment engine (https://github.com/databricks/cli/issues/6765).

>>> print_engines
1 MISSING GET /api/2.2/jobs/get
1 engine/direct GET /api/2.0/preview/scim/v2/Me
1 engine/direct GET /api/2.2/jobs/get
4 changes: 2 additions & 2 deletions acceptance/bundle/migrate/user-agent/race/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Error: migrating Terraform state to the direct engine: terraform state [TEST_TMP
direct_migrate_state_missing true

>>> print_engines
2 MISSING GET /api/2.0/workspace/export
1 MISSING POST /telemetry-ext
2 engine/direct GET /api/2.0/workspace/export
1 engine/direct POST /telemetry-ext
4 changes: 2 additions & 2 deletions acceptance/bundle/state/state_present/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged

>>> print_requests.py --get //api/2.1/unity-catalog/schemas
"replay_tfstate.py"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][0] interactive/none lineage/ARgQbIVroS5 auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][0] interactive/none lineage/ARgQbIVroS5 engine/direct auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][0] interactive/none engine/direct lineage/ARgQbIVroS5 auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][0] interactive/none engine/direct lineage/ARgQbIVroS5 auth/pat"

=== A resources.json with a lower serial does not win: the terraform state still migrates

Expand Down
36 changes: 18 additions & 18 deletions acceptance/bundle/user_agent/output.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MISS deploy /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none auth/pat'
MISS deploy /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none auth/pat'
MISS deploy /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none auth/pat'
OK deploy /api/2.0/preview/scim/v2/Me engine/direct
OK deploy /api/2.0/workspace/export engine/direct
OK deploy /api/2.0/workspace/export engine/direct
OK deploy /api/2.0/workspace/export engine/direct
OK deploy /api/2.0/workspace/export engine/direct
OK deploy /api/2.0/workspace/export engine/direct
Expand All @@ -20,9 +20,9 @@ OK deploy /api/2.0/workspace/mkdirs engine/direct
OK deploy /api/2.0/workspace/mkdirs engine/direct
OK deploy /api/2.1/unity-catalog/schemas engine/direct
MISS deploy /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]'
MISS destroy /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none auth/pat'
MISS destroy /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none auth/pat'
MISS destroy /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none auth/pat'
OK destroy /api/2.0/preview/scim/v2/Me engine/direct
OK destroy /api/2.0/workspace/export engine/direct
OK destroy /api/2.0/workspace/export engine/direct
OK destroy /api/2.1/unity-catalog/schemas/mycatalog.myschema engine/direct
OK destroy /api/2.0/workspace/export engine/direct
OK destroy /api/2.0/workspace/get-status engine/direct
Expand All @@ -33,25 +33,25 @@ OK destroy /api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bu
OK destroy /api/2.0/workspace/delete engine/direct
OK destroy /api/2.0/workspace/delete engine/direct
MISS destroy /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]'
MISS plan /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat'
MISS plan /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat'
MISS plan /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat'
OK plan /api/2.0/preview/scim/v2/Me engine/direct
OK plan /api/2.0/workspace/export engine/direct
OK plan /api/2.0/workspace/export engine/direct
OK plan /api/2.0/workspace/export engine/direct
MISS plan /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]'
MISS plan2 /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat'
MISS plan2 /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat'
MISS plan2 /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat'
OK plan2 /api/2.0/preview/scim/v2/Me engine/direct
OK plan2 /api/2.0/workspace/export engine/direct
OK plan2 /api/2.0/workspace/export engine/direct
OK plan2 /api/2.0/workspace/export engine/direct
OK plan2 /api/2.1/unity-catalog/schemas/mycatalog.myschema engine/direct
MISS plan2 /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]'
MISS run /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat'
MISS run /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat'
MISS run /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat'
OK run /api/2.0/preview/scim/v2/Me engine/direct
OK run /api/2.0/workspace/export engine/direct
OK run /api/2.0/workspace/export engine/direct
MISS run /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]'
MISS summary /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none auth/pat'
MISS summary /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none auth/pat'
MISS summary /api/2.0/workspace/export 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none auth/pat'
OK summary /api/2.0/preview/scim/v2/Me engine/direct
OK summary /api/2.0/preview/scim/v2/Me engine/direct
OK summary /api/2.0/workspace/export engine/direct
OK summary /api/2.0/workspace/export engine/direct
MISS summary /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]'
MISS validate /api/2.0/preview/scim/v2/Me 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_validate cmd-exec-id/[UUID] interactive/none auth/pat'
MISS validate /api/2.0/workspace/get-status 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_validate cmd-exec-id/[UUID] interactive/none auth/pat'
Expand Down
16 changes: 8 additions & 8 deletions acceptance/bundle/user_agent/simple/out.requests.deploy.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -10,27 +10,27 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock"
}
}
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][0] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/terraform.tfstate"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock"
}
}
{
Expand All @@ -43,7 +43,7 @@
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json"
}
}
{
Expand All @@ -56,7 +56,7 @@
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json"
}
}
{
Expand All @@ -69,7 +69,7 @@
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/terraform.tfstate"
}
}
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -10,7 +10,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -23,7 +23,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID][0] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand Down
12 changes: 6 additions & 6 deletions acceptance/bundle/user_agent/simple/out.requests.plan.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -10,27 +10,27 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json"
}
}
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/terraform.tfstate"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json"
}
}
{
Expand All @@ -43,7 +43,7 @@
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/terraform.tfstate"
}
}
{
Expand Down
6 changes: 3 additions & 3 deletions acceptance/bundle/user_agent/simple/out.requests.plan2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -10,7 +10,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -23,7 +23,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand Down
6 changes: 3 additions & 3 deletions acceptance/bundle/user_agent/simple/out.requests.run.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -10,7 +10,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand All @@ -23,7 +23,7 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
Expand Down
24 changes: 12 additions & 12 deletions acceptance/bundle/user_agent/simple/out.requests.summary.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/preview/scim/v2/Me"
"path": "/api/2.0/preview/scim/v2/Me",
"q": {
"excludedAttributes": "entitlements"
}
}
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json"
}
"path": "/api/2.0/preview/scim/v2/Me"
}
{
"headers": {
"User-Agent": [
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none auth/pat"
"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_summary cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
]
},
"method": "GET",
"path": "/api/2.0/workspace/export",
"q": {
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/terraform.tfstate"
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json"
}
}
{
Expand All @@ -40,9 +39,10 @@
]
},
"method": "GET",
"path": "/api/2.0/preview/scim/v2/Me",
"path": "/api/2.0/workspace/export",
"q": {
"excludedAttributes": "entitlements"
"direct_download": "true",
"path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/terraform.tfstate"
}
}
{
Expand Down
Loading
Loading