diff --git a/acceptance/acceptance_test.go b/acceptance/acceptance_test.go index 8483c1229a0..3805300a8e7 100644 --- a/acceptance/acceptance_test.go +++ b/acceptance/acceptance_test.go @@ -953,8 +953,7 @@ func runTest(t *testing.T, cmd.Env = append(cmd.Env, "CLOUD_ENV_BASE="+envBase) // Must be added PrepareReplacementsUser, otherwise conflicts with [USERNAME] - // UniqueUUID defaults to false: number distinct UUIDs only when a test opts in. - testdiff.PrepareReplacementsUUID(t, &repls, isTruePtr(config.UniqueUUID)) + testdiff.PrepareReplacementsUUID(t, &repls) // User replacements: repls.Repls = append(repls.Repls, config.Repls...) diff --git a/acceptance/air/run-submit/output.txt b/acceptance/air/run-submit/output.txt index 83bb8c0dbee..1a88a210162 100644 --- a/acceptance/air/run-submit/output.txt +++ b/acceptance/air/run-submit/output.txt @@ -78,7 +78,7 @@ Stream logs after submission using: } } ], - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "run_name": "submit-smoke", "tasks": [ { @@ -129,7 +129,7 @@ Stream logs after submission using: } } ], - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "run_name": "b300-submit-smoke", "tasks": [ { @@ -178,7 +178,7 @@ Stream logs after submission using: } } ], - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][2]", "run_name": "rtx6000-submit-smoke", "tasks": [ { diff --git a/acceptance/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/output.txt b/acceptance/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/output.txt index 418af38d90c..e57cd5ae3d7 100644 --- a/acceptance/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/output.txt +++ b/acceptance/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/output.txt @@ -10,10 +10,10 @@ "created_by": "[USERNAME]", "enable_predictive_optimization": "INHERIT", "full_name": "main.schema-[UNIQUE_NAME]", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][0]", "name": "schema-[UNIQUE_NAME]", "owner": "[USERNAME]", - "schema_id": "[UUID]", + "schema_id": "[UUID][1]", "updated_at": [UNIX_TIME_MILLIS], "updated_by": "[USERNAME]" } diff --git a/acceptance/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/output.txt b/acceptance/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/output.txt index 3b4a0d17539..106be95def1 100644 --- a/acceptance/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/output.txt +++ b/acceptance/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/output.txt @@ -10,10 +10,10 @@ "created_by": "[USERNAME]", "enable_predictive_optimization": "INHERIT", "full_name": "main.schema-[UNIQUE_NAME]", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][0]", "name": "schema-[UNIQUE_NAME]", "owner": "[USERNAME]", - "schema_id": "[UUID]", + "schema_id": "[UUID][1]", "updated_at": [UNIX_TIME_MILLIS], "updated_by": "[USERNAME]" } diff --git a/acceptance/bundle/deploy/immutable/basic/output.txt b/acceptance/bundle/deploy/immutable/basic/output.txt index 0930c3d5e51..ce3338dc1ab 100644 --- a/acceptance/bundle/deploy/immutable/basic/output.txt +++ b/acceptance/bundle/deploy/immutable/basic/output.txt @@ -15,7 +15,7 @@ Building python_artifact... [ { "notebook_task": { - "notebook_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/notebook" + "notebook_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/notebook" }, "task_key": "notebook_task" }, @@ -30,7 +30,7 @@ Building python_artifact... { "environment_key": "env", "spark_python_task": { - "python_file": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py" + "python_file": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py" }, "task_key": "spark_python_task" } @@ -42,7 +42,7 @@ Building python_artifact... "environment_key": "env", "spec": { "dependencies": [ - "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/artifacts/.internal/immutable-0.0.1-py3-none-any.whl" + "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/artifacts/.internal/immutable-0.0.1-py3-none-any.whl" ], "environment_version": "4" } @@ -54,8 +54,8 @@ Building python_artifact... "action": "create", "new_state": { "value": { - "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "full_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot", + "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]", + "full_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot", "bundle_id": "[SNAPSHOT_HASH]", "acl": [ { @@ -68,7 +68,7 @@ Building python_artifact... "service_principal_name": "[USERNAME]" } ], - "zip_path": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip" + "zip_path": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][1].zip" } } } @@ -81,14 +81,14 @@ Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged >>> jq .settings.tasks job.json -"/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py" +"/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/main.py" >>> jq .settings.tasks job.json -"/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/notebook" +"/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/notebook" >>> jq .settings.environments[0].spec.dependencies job.json [ - "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/artifacts/.internal/immutable-0.0.1-py3-none-any.whl" + "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/artifacts/.internal/immutable-0.0.1-py3-none-any.whl" ] >>> title Check snapshot plan after deploy @@ -102,8 +102,8 @@ Building python_artifact... "action": "recreate", "new_state": { "value": { - "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "full_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot", + "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][3]", + "full_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][3]/snapshot", "bundle_id": "[SNAPSHOT_HASH]", "acl": [ { @@ -116,12 +116,12 @@ Building python_artifact... "service_principal_name": "[USERNAME]" } ], - "zip_path": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip" + "zip_path": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][3].zip" } }, "remote_state": { - "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "full_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot" + "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]", + "full_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot" }, "changes": { "acl": { @@ -165,22 +165,22 @@ Building python_artifact... "full_path": { "action": "recreate", "reason": "immutable", - "old": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot", - "new": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot", - "remote": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot" + "old": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot", + "new": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][3]/snapshot", + "remote": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot" }, "relative_path": { "action": "recreate", "reason": "immutable", - "old": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "new": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "remote": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]" + "old": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]", + "new": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][3]", + "remote": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]" }, "zip_path": { "action": "recreate", "reason": "immutable", - "old": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip", - "new": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip", + "old": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][2].zip", + "new": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][3].zip", "remote": "" } } diff --git a/acceptance/bundle/deploy/immutable/breakglass/output.txt b/acceptance/bundle/deploy/immutable/breakglass/output.txt index 39f62c3b457..1817666a6e4 100644 --- a/acceptance/bundle/deploy/immutable/breakglass/output.txt +++ b/acceptance/bundle/deploy/immutable/breakglass/output.txt @@ -5,10 +5,10 @@ Created internal_immutable_snapshots.immutable Created jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged -First snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +First snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py === Break the glass out of band ->>> [CLI] api post /api/2.0/snapshots:breakGlass --json {"snapshot_content_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot"} +>>> [CLI] api post /api/2.0/snapshots:breakGlass --json {"snapshot_content_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot"} true === Deploy without --force fails @@ -23,20 +23,20 @@ Recreated internal_immutable_snapshots.immutable Updated jobs.my_job Files: 0 uploaded, 0 deleted Resources: 1 created, 1 changed, 1 deleted, 0 unchanged -Second snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Second snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/main.py OK: --force created a new snapshot path === Redeploy reuses the new snapshot >>> [CLI] bundle deploy Files: 0 uploaded, 0 deleted Resources: 0 created, 0 changed, 0 deleted, 2 unchanged -Third snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Third snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/main.py OK: new snapshot reused on redeploy === Save a plan for a content change, then break the glass before deploying it >>> [CLI] bundle plan -o json ->>> [CLI] api post /api/2.0/snapshots:breakGlass --json {"snapshot_content_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot"} +>>> [CLI] api post /api/2.0/snapshots:breakGlass --json {"snapshot_content_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot"} true === Deploying the saved plan without --force fails @@ -51,7 +51,7 @@ Recreated internal_immutable_snapshots.immutable Updated jobs.my_job Files: 0 uploaded, 0 deleted Resources: 1 created, 1 changed, 1 deleted, 0 unchanged -Fourth snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Fourth snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][3]/snapshot/files/src/main.py OK: the saved plan moved the deployment to a new snapshot >>> [CLI] bundle destroy --auto-approve diff --git a/acceptance/bundle/deploy/immutable/destroy-redeploy/output.txt b/acceptance/bundle/deploy/immutable/destroy-redeploy/output.txt index cf05c9e7e33..fb693d48163 100644 --- a/acceptance/bundle/deploy/immutable/destroy-redeploy/output.txt +++ b/acceptance/bundle/deploy/immutable/destroy-redeploy/output.txt @@ -5,7 +5,7 @@ Created internal_immutable_snapshots.immutable Created jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged -First snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +First snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py === Destroy the bundle >>> [CLI] bundle destroy --auto-approve @@ -22,14 +22,14 @@ Created internal_immutable_snapshots.immutable Created jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged -Second snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Second snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/main.py OK: deployment moved to a new snapshot === Redeploy reuses the new snapshot >>> [CLI] bundle deploy Files: 0 uploaded, 0 deleted Resources: 0 created, 0 changed, 0 deleted, 2 unchanged -Third snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Third snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/main.py OK: new snapshot reused on redeploy === Destroy and deploy again moves to yet another snapshot @@ -46,7 +46,7 @@ Created internal_immutable_snapshots.immutable Created jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged -Fourth snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Fourth snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][3]/snapshot/files/src/main.py OK: deployment moved to a new snapshot >>> [CLI] bundle destroy --auto-approve diff --git a/acceptance/bundle/deploy/immutable/dev-mode/output.txt b/acceptance/bundle/deploy/immutable/dev-mode/output.txt index 51b14e79830..ff85fa97515 100644 --- a/acceptance/bundle/deploy/immutable/dev-mode/output.txt +++ b/acceptance/bundle/deploy/immutable/dev-mode/output.txt @@ -26,7 +26,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged >>> [CLI] jobs get [MY_JOB_ID] { "name": "[dev [USERNAME]] my job", - "python_file": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py" + "python_file": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py" } >>> [CLI] bundle destroy -t dev --auto-approve diff --git a/acceptance/bundle/deploy/immutable/legacy-state/output.txt b/acceptance/bundle/deploy/immutable/legacy-state/output.txt index b9858f2b3c0..84dc036f7b8 100644 --- a/acceptance/bundle/deploy/immutable/legacy-state/output.txt +++ b/acceptance/bundle/deploy/immutable/legacy-state/output.txt @@ -13,11 +13,11 @@ Recreated internal_immutable_snapshots.immutable Updated jobs.my_job Files: 0 uploaded, 0 deleted Resources: 1 created, 1 changed, 1 deleted, 0 unchanged -Snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py OK: deployed to the current snapshot layout === The check still applies to a deployment carried over from the older layout ->>> [CLI] api post /api/2.0/snapshots:breakGlass --json {"snapshot_content_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot"} +>>> [CLI] api post /api/2.0/snapshots:breakGlass --json {"snapshot_content_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot"} true >>> musterr [CLI] bundle deploy diff --git a/acceptance/bundle/deploy/immutable/no-artifacts/out.plan.txt b/acceptance/bundle/deploy/immutable/no-artifacts/out.plan.txt index 9bdc7957f1a..fa973abe195 100644 --- a/acceptance/bundle/deploy/immutable/no-artifacts/out.plan.txt +++ b/acceptance/bundle/deploy/immutable/no-artifacts/out.plan.txt @@ -6,16 +6,16 @@ { "notebook_task": { "base_parameters": { - "path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/some_path" + "path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/some_path" }, - "notebook_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/notebook" + "notebook_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/notebook" }, "task_key": "notebook_task" }, { "environment_key": "env", "spark_python_task": { - "python_file": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py" + "python_file": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py" }, "task_key": "spark_python_task" } @@ -26,8 +26,8 @@ "action": "create", "new_state": { "value": { - "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "full_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot", + "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]", + "full_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot", "bundle_id": "[SNAPSHOT_HASH]", "acl": [ { @@ -40,7 +40,7 @@ "service_principal_name": "[USERNAME]" } ], - "zip_path": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip" + "zip_path": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][1].zip" } } } diff --git a/acceptance/bundle/deploy/immutable/no-artifacts/output.txt b/acceptance/bundle/deploy/immutable/no-artifacts/output.txt index e18559b02a0..6efbe0de6e1 100644 --- a/acceptance/bundle/deploy/immutable/no-artifacts/output.txt +++ b/acceptance/bundle/deploy/immutable/no-artifacts/output.txt @@ -15,13 +15,13 @@ Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged >>> jq .settings.tasks job.json -"/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py" +"/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py" >>> jq .settings.tasks job.json -"/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/notebook" +"/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/notebook" >>> jq .settings.tasks job.json -"/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/some_path" +"/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/some_path" >>> title Check snapshot plan after deploy: @@ -32,8 +32,8 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged { "action": "skip", "remote_state": { - "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]", - "full_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot" + "relative_path": "[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]", + "full_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot" }, "changes": { "acl": { @@ -77,8 +77,8 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "zip_path": { "action": "skip", "reason": "missing_in_remote", - "old": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip", - "new": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID].zip", + "old": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][1].zip", + "new": "[TEST_TMP_DIR]/.databricks/bundle/default/snapshots/[SNAPSHOT_HASH]-[UUID][1].zip", "remote": "" } } diff --git a/acceptance/bundle/deploy/immutable/permissions-change/output.txt b/acceptance/bundle/deploy/immutable/permissions-change/output.txt index 41d23e84549..7017c7b28f6 100644 --- a/acceptance/bundle/deploy/immutable/permissions-change/output.txt +++ b/acceptance/bundle/deploy/immutable/permissions-change/output.txt @@ -5,7 +5,7 @@ Created internal_immutable_snapshots.immutable Created jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged -First snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +First snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/src/main.py === Add permissions and redeploy >>> [CLI] bundle deploy @@ -26,7 +26,7 @@ Recreated internal_immutable_snapshots.immutable Updated jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 1 changed, 1 deleted, 0 unchanged -Second snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/src/main.py +Second snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files/src/main.py === Verify snapshot path changed after permissions change OK: snapshot path changed as expected diff --git a/acceptance/bundle/deploy/immutable/select/output.txt b/acceptance/bundle/deploy/immutable/select/output.txt index bdd58571397..3b0e4543c60 100644 --- a/acceptance/bundle/deploy/immutable/select/output.txt +++ b/acceptance/bundle/deploy/immutable/select/output.txt @@ -14,14 +14,14 @@ Created internal_immutable_snapshots.immutable Created jobs.my_job Files: 0 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 1 unchanged -Metadata snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot +Metadata snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot OK: metadata points at the deployed snapshot === Deploying only that job after a content change keeps the deployed snapshot in the metadata >>> [CLI] bundle deploy --select jobs.other_job Files: 0 uploaded, 0 deleted Resources: 0 created, 0 changed, 0 deleted, 1 unchanged, 2 not selected -Metadata snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot +Metadata snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot OK: metadata still points at the deployed snapshot === A full deploy moves the metadata to the new snapshot @@ -30,7 +30,7 @@ Recreated internal_immutable_snapshots.immutable Updated jobs.my_job Files: 0 uploaded, 0 deleted Resources: 1 created, 1 changed, 1 deleted, 1 unchanged -Metadata snapshot path: /Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot +Metadata snapshot path: /Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot OK: metadata points at the new snapshot >>> [CLI] bundle destroy --auto-approve diff --git a/acceptance/bundle/dms/immutable-folder/output.txt b/acceptance/bundle/dms/immutable-folder/output.txt index 53ff59a9f4e..1e3d4e5c0e6 100644 --- a/acceptance/bundle/dms/immutable-folder/output.txt +++ b/acceptance/bundle/dms/immutable-folder/output.txt @@ -10,7 +10,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged { "workspace_info": { "root_path": "/Workspace/Users/[USERNAME]/.bundle/dms-immutable-folder-[UNIQUE_NAME]/default", - "file_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files" + "file_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files" } } @@ -25,7 +25,7 @@ Resources: 1 created, 1 changed, 1 deleted, 0 unchanged { "workspace_info": { "root_path": "/Workspace/Users/[USERNAME]/.bundle/dms-immutable-folder-[UNIQUE_NAME]/default", - "file_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files" + "file_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files" } } @@ -38,6 +38,6 @@ Resources: 0 created, 0 changed, 0 deleted, 2 unchanged { "workspace_info": { "root_path": "/Workspace/Users/[USERNAME]/.bundle/dms-immutable-folder-[UNIQUE_NAME]/default", - "file_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files" + "file_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][2]/snapshot/files" } } diff --git a/acceptance/bundle/migrate/command/basic/out.new_state.json b/acceptance/bundle/migrate/command/basic/out.new_state.json index 81f4123c8c3..e3945a2c940 100644 --- a/acceptance/bundle/migrate/command/basic/out.new_state.json +++ b/acceptance/bundle/migrate/command/basic/out.new_state.json @@ -1,7 +1,7 @@ { "state_version": 3, "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 6, "state": { "resources.jobs.test_job": { @@ -29,7 +29,7 @@ } }, "resources.pipelines.test_pipeline": { - "__id__": "[UUID]", + "__id__": "[UUID][1]", "state": { "channel": "CURRENT", "deployment": { @@ -51,7 +51,7 @@ "myjob_timeout": "0", "myvolume_id": "mycat.myschema.myvol", "volume_catalog_name": "mycat", - "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][2]/volumes/[UUID][3]" } }, "depends_on": [ diff --git a/acceptance/bundle/migrate/command/basic/out.original_state.json b/acceptance/bundle/migrate/command/basic/out.original_state.json index 89a3af519d6..d17bec88956 100644 --- a/acceptance/bundle/migrate/command/basic/out.original_state.json +++ b/acceptance/bundle/migrate/command/basic/out.original_state.json @@ -2,7 +2,7 @@ "version": 4, "terraform_version": "1.5.5", "serial": 4, - "lineage": "[UUID]", + "lineage": "[UUID][0]", "outputs": {}, "resources": [ { @@ -199,7 +199,7 @@ "filters": [], "gateway_definition": [], "health": null, - "id": "[UUID]", + "id": "[UUID][1]", "ingestion_definition": [], "last_modified": [UNIX_TIME_MILLIS], "latest_updates": null, @@ -233,19 +233,19 @@ "serverless": false, "serverless_compute_id": null, "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]", + "storage": "dbfs:/pipelines/[UUID][1]", "tags": { "myjob_id": "[TEST_JOB_ID]", "myjob_name": "Test Migration Job", "myjob_timeout": "0", "myvolume_id": "mycat.myschema.myvol", "volume_catalog_name": "mycat", - "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][2]/volumes/[UUID][3]" }, "target": null, "timeouts": null, "trigger": [], - "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID]", + "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID][1]", "usage_policy_id": null }, "sensitive_attributes": [], @@ -277,7 +277,7 @@ } ], "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][2]/volumes/[UUID][3]", "volume_path": "/Volumes/mycat/myschema/myvol", "volume_type": "MANAGED" }, diff --git a/acceptance/bundle/migrate/command/basic/out.plan_update.json b/acceptance/bundle/migrate/command/basic/out.plan_update.json index b873a52a785..dc06b6c6a3c 100644 --- a/acceptance/bundle/migrate/command/basic/out.plan_update.json +++ b/acceptance/bundle/migrate/command/basic/out.plan_update.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 6, "plan": { "resources.jobs.test_job": { @@ -155,7 +155,7 @@ "myjob_timeout": "${resources.jobs.test_job.timeout_seconds}", "myvolume_id": "mycat.myschema.myvol", "volume_catalog_name": "mycat", - "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]" } }, "vars": { @@ -171,7 +171,7 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][3]", "last_modified": [UNIX_TIME_MILLIS][1], "libraries": [ { @@ -181,17 +181,17 @@ } ], "name": "Test Migration Pipeline", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][3]", "run_as_user_name": "[USERNAME]", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]", + "storage": "dbfs:/pipelines/[UUID][3]", "tags": { "myjob_id": "[TEST_JOB_ID]", "myjob_name": "Test Migration Job", "myjob_timeout": "0", "myvolume_id": "mycat.myschema.myvol", "volume_catalog_name": "mycat", - "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "volume_storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]" } }, "changes": { @@ -204,7 +204,7 @@ "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][3]" }, "tags['myjob_name']": { "action": "update", @@ -230,16 +230,16 @@ "name": "myvol", "owner": "[USERNAME]", "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]", "updated_at": [UNIX_TIME_MILLIS][2], - "volume_id": "[UUID]", + "volume_id": "[UUID][2]", "volume_type": "MANAGED" }, "changes": { "storage_location": { "action": "skip", "reason": "immutable_backend_value", - "remote": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "remote": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]" } } } diff --git a/acceptance/bundle/migrate/command/basic/output.txt b/acceptance/bundle/migrate/command/basic/output.txt index b5cb0785560..0910eb6a274 100644 --- a/acceptance/bundle/migrate/command/basic/output.txt +++ b/acceptance/bundle/migrate/command/basic/output.txt @@ -19,12 +19,12 @@ To undo the migration, remove [TEST_TMP_DIR]/.databricks/bundle/dev/resources.js >>> diff out.original_state.json out.backup_state.json >>> jq .state."resources.pipelines.test_pipeline".state.tags.volume_storage_location out.new_state.json -"s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" +"s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]" === Should show that it's already migrated >>> musterr [CLI] bundle deployment migrate Error: already using direct engine -Details: [TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID]" +Details: [TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID][2]" >>> DATABRICKS_BUNDLE_ENGINE=direct [CLI] bundle plan Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged @@ -36,7 +36,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged { "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 engine/direct lineage/5MDu0ewFJPg auth/pat" + "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][3] interactive/none engine/direct lineage/5MDu0ewFJPg auth/pat" ] }, "method": "GET", @@ -48,7 +48,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged { "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 engine/direct lineage/5MDu0ewFJPg auth/pat" + "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][4] interactive/none engine/direct lineage/5MDu0ewFJPg auth/pat" ] }, "method": "GET", @@ -64,20 +64,20 @@ Files: 3 uploaded, 0 deleted Resources: 0 created, 0 changed, 0 deleted, 3 unchanged >>> print_requests.py --get //jobs/get -"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct lineage/5MDu0ewFJPg auth/pat" -"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct lineage/5MDu0ewFJPg auth/pat" +"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][5] interactive/none engine/direct lineage/5MDu0ewFJPg auth/pat" +"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][5] interactive/none engine/direct lineage/5MDu0ewFJPg auth/pat" === Should show that it's already migrated >>> musterr [CLI] bundle deployment migrate Error: already using direct engine -Details: [TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID]" +Details: [TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID][2]" >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle debug states -[TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID]" +[TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID][2]" >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle debug states --force-pull -resources.json: remote direct state serial=6 lineage="[UUID]" -[TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID]" +resources.json: remote direct state serial=6 lineage="[UUID][2]" +[TEST_TMP_DIR]/.databricks/bundle/dev/resources.json: local direct state serial=6 lineage="[UUID][2]" === Extra plan: should have no drift >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle plan @@ -105,8 +105,8 @@ Resources: 0 created, 2 changed, 0 deleted, 1 unchanged >>> replay_tfstate.py .databricks/terraform-prod-requests.json .databricks/terraform-prod.tfstate -t prod >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle debug states -t prod -[TEST_TMP_DIR]/.databricks/bundle/prod/terraform/terraform.tfstate: local terraform state serial=5 lineage="[UUID]" +[TEST_TMP_DIR]/.databricks/bundle/prod/terraform/terraform.tfstate: local terraform state serial=5 lineage="[UUID][6]" >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle debug states -t prod --force-pull -terraform.tfstate: remote terraform state serial=5 lineage="[UUID]" -[TEST_TMP_DIR]/.databricks/bundle/prod/terraform/terraform.tfstate: local terraform state serial=5 lineage="[UUID]" +terraform.tfstate: remote terraform state serial=5 lineage="[UUID][6]" +[TEST_TMP_DIR]/.databricks/bundle/prod/terraform/terraform.tfstate: local terraform state serial=5 lineage="[UUID][6]" diff --git a/acceptance/bundle/migrate/command/grants/out.original_state.json b/acceptance/bundle/migrate/command/grants/out.original_state.json index be1ff2b549a..4a518964795 100644 --- a/acceptance/bundle/migrate/command/grants/out.original_state.json +++ b/acceptance/bundle/migrate/command/grants/out.original_state.json @@ -2,7 +2,7 @@ "version": 4, "terraform_version": "1.5.5", "serial": 7, - "lineage": "[UUID]", + "lineage": "[UUID][0]", "outputs": {}, "resources": [ { @@ -176,7 +176,7 @@ "created_by": "[USERNAME]", "full_name": "main.schema_grants.mymodel", "id": "main.schema_grants.mymodel", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][1]", "name": "mymodel", "owner": "[USERNAME]", "provider_config": [ @@ -211,7 +211,7 @@ "enable_predictive_optimization": "INHERIT", "force_destroy": true, "id": "main.schema_grants", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][2]", "name": "schema_grants", "owner": "[USERNAME]", "properties": null, @@ -220,7 +220,7 @@ "workspace_id": "[WORKSPACE_ID]" } ], - "schema_id": "[UUID]", + "schema_id": "[UUID][3]", "storage_root": null }, "sensitive_attributes": [], @@ -248,7 +248,7 @@ } ], "schema_name": "schema_grants", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][2]/volumes/[UUID][4]", "volume_path": "/Volumes/main/schema_grants/volume_name", "volume_type": "MANAGED" }, diff --git a/acceptance/bundle/migrate/command/permissions/out.new_state.json b/acceptance/bundle/migrate/command/permissions/out.new_state.json index a2545a07093..21c2edac657 100644 --- a/acceptance/bundle/migrate/command/permissions/out.new_state.json +++ b/acceptance/bundle/migrate/command/permissions/out.new_state.json @@ -1,7 +1,7 @@ { "state_version": 3, "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 7, "state": { "resources.jobs.test_job": { @@ -51,7 +51,7 @@ ] }, "resources.pipelines.test_pipeline": { - "__id__": "[UUID]", + "__id__": "[UUID][1]", "state": { "channel": "CURRENT", "deployment": { @@ -70,9 +70,9 @@ } }, "resources.pipelines.test_pipeline.permissions": { - "__id__": "/pipelines/[UUID]", + "__id__": "/pipelines/[UUID][1]", "state": { - "object_id": "/pipelines/[UUID]", + "object_id": "/pipelines/[UUID][1]", "__embed__": [ { "level": "CAN_MANAGE", diff --git a/acceptance/bundle/migrate/command/permissions/out.original_state.json b/acceptance/bundle/migrate/command/permissions/out.original_state.json index e127e33e07b..9fdf9ab3a5f 100644 --- a/acceptance/bundle/migrate/command/permissions/out.original_state.json +++ b/acceptance/bundle/migrate/command/permissions/out.original_state.json @@ -2,7 +2,7 @@ "version": 4, "terraform_version": "1.5.5", "serial": 5, - "lineage": "[UUID]", + "lineage": "[UUID][0]", "outputs": {}, "resources": [ { @@ -266,14 +266,14 @@ "directory_id": null, "directory_path": null, "experiment_id": null, - "id": "/pipelines/[UUID]", + "id": "/pipelines/[UUID][1]", "instance_pool_id": null, "job_id": null, "knowledge_assistant_id": null, "notebook_id": null, "notebook_path": null, "object_type": "pipelines", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "provider_config": [ { "workspace_id": "[WORKSPACE_ID]" @@ -335,7 +335,7 @@ "filters": [], "gateway_definition": [], "health": null, - "id": "[UUID]", + "id": "[UUID][1]", "ingestion_definition": [], "last_modified": [UNIX_TIME_MILLIS], "latest_updates": null, @@ -369,12 +369,12 @@ "serverless": false, "serverless_compute_id": null, "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]", + "storage": "dbfs:/pipelines/[UUID][1]", "tags": null, "target": null, "timeouts": null, "trigger": [], - "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID]", + "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID][1]", "usage_policy_id": null }, "sensitive_attributes": [], diff --git a/acceptance/bundle/migrate/command/permissions/output.txt b/acceptance/bundle/migrate/command/permissions/output.txt index 9ce27830d1b..5f75d716158 100644 --- a/acceptance/bundle/migrate/command/permissions/output.txt +++ b/acceptance/bundle/migrate/command/permissions/output.txt @@ -21,7 +21,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 4 unchanged { "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 engine/direct lineage/DIsgyJN5V5G 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/DIsgyJN5V5G auth/pat" ] }, "method": "GET", @@ -33,7 +33,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 4 unchanged { "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 engine/direct lineage/DIsgyJN5V5G auth/pat" + "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID][1] interactive/none engine/direct lineage/DIsgyJN5V5G auth/pat" ] }, "method": "GET", @@ -49,17 +49,17 @@ Files: 3 uploaded, 0 deleted Resources: 0 created, 0 changed, 0 deleted, 4 unchanged >>> print_requests.py --get //jobs/get -"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct lineage/DIsgyJN5V5G auth/pat" -"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct lineage/DIsgyJN5V5G auth/pat" +"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][2] interactive/none engine/direct lineage/DIsgyJN5V5G auth/pat" +"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][2] interactive/none engine/direct lineage/DIsgyJN5V5G auth/pat" === Should show that it's already migrated >>> musterr [CLI] bundle deployment migrate Error: already using direct engine -Details: [TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=7 lineage="[UUID]" +Details: [TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=7 lineage="[UUID][3]" >>> [CLI] bundle debug states -[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=7 lineage="[UUID]" +[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=7 lineage="[UUID][3]" >>> [CLI] bundle debug states --force-pull -resources.json: remote direct state serial=7 lineage="[UUID]" -[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=7 lineage="[UUID]" +resources.json: remote direct state serial=7 lineage="[UUID][3]" +[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=7 lineage="[UUID][3]" diff --git a/acceptance/bundle/migrate/command/runas/out.create_requests.json b/acceptance/bundle/migrate/command/runas/out.create_requests.json index abeb78d7d35..45cb2b8ac93 100644 --- a/acceptance/bundle/migrate/command/runas/out.create_requests.json +++ b/acceptance/bundle/migrate/command/runas/out.create_requests.json @@ -23,7 +23,7 @@ ], "name": "DABs Revenue Pipeline", "run_as": { - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][0]" }, "serverless": true, "target": "team_eng_deco" @@ -36,7 +36,7 @@ ] }, "method": "PUT", - "path": "/api/2.0/permissions/pipelines/[UUID]", + "path": "/api/2.0/permissions/pipelines/[UUID][1]", "body": { "access_control_list": [ { diff --git a/acceptance/bundle/migrate/command/runas/out.new_state.json b/acceptance/bundle/migrate/command/runas/out.new_state.json index 134f7aff689..af6d8cb2db0 100644 --- a/acceptance/bundle/migrate/command/runas/out.new_state.json +++ b/acceptance/bundle/migrate/command/runas/out.new_state.json @@ -1,11 +1,11 @@ { "state_version": 3, "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 5, "state": { "resources.pipelines.foo": { - "__id__": "[UUID]", + "__id__": "[UUID][1]", "state": { "catalog": "main", "channel": "CURRENT", @@ -23,16 +23,16 @@ ], "name": "DABs Revenue Pipeline", "run_as": { - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][2]" }, "serverless": true, "target": "team_eng_deco" } }, "resources.pipelines.foo.permissions": { - "__id__": "/pipelines/[UUID]", + "__id__": "/pipelines/[UUID][1]", "state": { - "object_id": "/pipelines/[UUID]", + "object_id": "/pipelines/[UUID][1]", "__embed__": [ { "level": "CAN_VIEW", diff --git a/acceptance/bundle/migrate/command/runas/out.old_state.json b/acceptance/bundle/migrate/command/runas/out.old_state.json index ffc6dcc50da..047387609ef 100644 --- a/acceptance/bundle/migrate/command/runas/out.old_state.json +++ b/acceptance/bundle/migrate/command/runas/out.old_state.json @@ -2,7 +2,7 @@ "version": 4, "terraform_version": "1.5.5", "serial": 3, - "lineage": "[UUID]", + "lineage": "[UUID][0]", "outputs": {}, "resources": [ { @@ -39,14 +39,14 @@ "directory_id": null, "directory_path": null, "experiment_id": null, - "id": "/pipelines/[UUID]", + "id": "/pipelines/[UUID][1]", "instance_pool_id": null, "job_id": null, "knowledge_assistant_id": null, "notebook_id": null, "notebook_path": null, "object_type": "pipelines", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "provider_config": [ { "workspace_id": "[WORKSPACE_ID]" @@ -108,7 +108,7 @@ "filters": [], "gateway_definition": [], "health": null, - "id": "[UUID]", + "id": "[UUID][1]", "ingestion_definition": [], "last_modified": [UNIX_TIME_MILLIS], "latest_updates": null, @@ -139,7 +139,7 @@ "run_as": [ { "group_name": "", - "service_principal_name": "[UUID]", + "service_principal_name": "[UUID][2]", "user_name": "" } ], @@ -153,7 +153,7 @@ "target": "team_eng_deco", "timeouts": null, "trigger": [], - "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID]", + "url": "[DATABRICKS_URL]/#joblist/pipelines/[UUID][1]", "usage_policy_id": null }, "sensitive_attributes": [], diff --git a/acceptance/bundle/migrate/command/runas/out.pipelines_get.json b/acceptance/bundle/migrate/command/runas/out.pipelines_get.json index fb06fd6bdb6..78c3a5afa6f 100644 --- a/acceptance/bundle/migrate/command/runas/out.pipelines_get.json +++ b/acceptance/bundle/migrate/command/runas/out.pipelines_get.json @@ -3,9 +3,9 @@ "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", "last_modified": [UNIX_TIME_MILLIS], "name": "DABs Revenue Pipeline", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][0]", "run_as": { - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][1]" }, "run_as_user_name": "[USERNAME]", "spec": { @@ -16,7 +16,7 @@ "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/dabs_revenue-[UNIQUE_NAME]/production/state/metadata.json" }, "edition": "ADVANCED", - "id": "[UUID]", + "id": "[UUID][0]", "libraries": [ { "notebook": { diff --git a/acceptance/bundle/migrate/command/runas/out.plan.json b/acceptance/bundle/migrate/command/runas/out.plan.json index 3c6a3717007..cd7a66e31f3 100644 --- a/acceptance/bundle/migrate/command/runas/out.plan.json +++ b/acceptance/bundle/migrate/command/runas/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 5, "plan": { "resources.pipelines.foo": { @@ -16,7 +16,7 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][1]", "last_modified": [UNIX_TIME_MILLIS], "libraries": [ { @@ -26,9 +26,9 @@ } ], "name": "DABs Revenue Pipeline", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "run_as": { - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][2]" }, "run_as_user_name": "[USERNAME]", "serverless": true, @@ -45,7 +45,7 @@ ], "action": "skip", "remote_state": { - "object_id": "/pipelines/[UUID]", + "object_id": "/pipelines/[UUID][1]", "__embed__": [ { "level": "CAN_VIEW", diff --git a/acceptance/bundle/python/data_quality_monitors-support/output.txt b/acceptance/bundle/python/data_quality_monitors-support/output.txt index ff8be57ef71..99b29fe4cb5 100644 --- a/acceptance/bundle/python/data_quality_monitors-support/output.txt +++ b/acceptance/bundle/python/data_quality_monitors-support/output.txt @@ -19,15 +19,15 @@ "main.default.excluded" ] }, - "object_id": "[UUID] (updated)", + "object_id": "[UUID][0] (updated)", "object_type": "schema" }, "my_data_quality_monitor_2": { "data_profiling_config": { "assets_dir": "/Workspace/Users/user@example.com/assets", - "output_schema_id": "[UUID]" + "output_schema_id": "[UUID][0]" }, - "object_id": "[UUID] (updated)", + "object_id": "[UUID][1] (updated)", "object_type": "table" } } diff --git a/acceptance/bundle/python/pipeline-development-mutator/output.txt b/acceptance/bundle/python/pipeline-development-mutator/output.txt index c281946ba91..ba2610dfe7c 100644 --- a/acceptance/bundle/python/pipeline-development-mutator/output.txt +++ b/acceptance/bundle/python/pipeline-development-mutator/output.txt @@ -41,14 +41,14 @@ Warning: The "development: false" set by a Python mutator is ignored when runnin To run this pipeline in production, set "presets.pipelines_development: false" on the target. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "development": true } diff --git a/acceptance/bundle/resource_deps/remote_field_storage_location/out.deploy.requests.json b/acceptance/bundle/resource_deps/remote_field_storage_location/out.deploy.requests.json index 5ce661fb129..6b92aaa2af7 100644 --- a/acceptance/bundle/resource_deps/remote_field_storage_location/out.deploy.requests.json +++ b/acceptance/bundle/resource_deps/remote_field_storage_location/out.deploy.requests.json @@ -21,7 +21,7 @@ "path": "/api/2.1/unity-catalog/volumes", "body": { "catalog_name": "main", - "comment": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "comment": "s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]", "name": "volumefoo-[UNIQUE_NAME]", "schema_name": "myschema-[UNIQUE_NAME]", "volume_type": "MANAGED" diff --git a/acceptance/bundle/resource_deps/remote_pipeline/out.plan_skip.json b/acceptance/bundle/resource_deps/remote_pipeline/out.plan_skip.json index 37e2b7f7193..11c57380b78 100644 --- a/acceptance/bundle/resource_deps/remote_pipeline/out.plan_skip.json +++ b/acceptance/bundle/resource_deps/remote_pipeline/out.plan_skip.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.pipelines.foo1": { @@ -15,19 +15,19 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][1]", "last_modified": [UNIX_TIME_MILLIS], "name": "foo1 name", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "run_as_user_name": "[USERNAME]", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]" + "storage": "dbfs:/pipelines/[UUID][1]" }, "changes": { "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][1]" } } }, @@ -48,19 +48,19 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][2]", "last_modified": [UNIX_TIME_MILLIS], "name": "foo2 foo1.creator_user_name=[USERNAME]", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][2]", "run_as_user_name": "[USERNAME]", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]" + "storage": "dbfs:/pipelines/[UUID][2]" }, "changes": { "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][2]" } } }, @@ -81,19 +81,19 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][3]", "last_modified": [UNIX_TIME_MILLIS], "name": "foo3 foo2.state=IDLE", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][3]", "run_as_user_name": "[USERNAME]", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]" + "storage": "dbfs:/pipelines/[UUID][3]" }, "changes": { "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][3]" } } }, @@ -114,19 +114,19 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][4]", "last_modified": [UNIX_TIME_MILLIS], "name": "foo4 foo3.last_modified=[UNIX_TIME_MILLIS]", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][4]", "run_as_user_name": "[USERNAME]", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]" + "storage": "dbfs:/pipelines/[UUID][4]" }, "changes": { "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][4]" } } } diff --git a/acceptance/bundle/resource_deps/run_state_resolution/pipelines/output.txt b/acceptance/bundle/resource_deps/run_state_resolution/pipelines/output.txt index d1458911a15..2588e1236cc 100644 --- a/acceptance/bundle/resource_deps/run_state_resolution/pipelines/output.txt +++ b/acceptance/bundle/resource_deps/run_state_resolution/pipelines/output.txt @@ -6,6 +6,6 @@ Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 2 not selected >>> [CLI] bundle run foo -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] diff --git a/acceptance/bundle/resources/apps/immutable/output.txt b/acceptance/bundle/resources/apps/immutable/output.txt index 356636ef6f5..ef18eb0b92f 100644 --- a/acceptance/bundle/resources/apps/immutable/output.txt +++ b/acceptance/bundle/resources/apps/immutable/output.txt @@ -37,6 +37,6 @@ You can access the app at my-immutable-app-123.cloud.databricksapps.com "path": "/api/2.0/apps/my-immutable-app/deployments", "body": { "mode": "SNAPSHOT", - "source_code_path": "/Workspace/Users/[UUID]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID]/snapshot/files/app" + "source_code_path": "/Workspace/Users/[UUID][0]/.snapshots/[SNAPSHOT_HASH]/[SNAPSHOT_HASH]-[UUID][1]/snapshot/files/app" } } diff --git a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.plan.json b/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.plan.json index fa0567e471e..f7c2f5cb09c 100644 --- a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.plan.json +++ b/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.dashboards.dashboard1": { @@ -9,12 +9,12 @@ "remote_state": { "create_time": "[TIMESTAMP]", "dashboard_id": "[DASHBOARD_ID]", - "display_name": "test bundle-deploy-dashboard-dataset [UUID]", + "display_name": "test bundle-deploy-dashboard-dataset [UUID][1]", "embed_credentials": true, "etag": "[ETAG]", "lifecycle_state": "ACTIVE", "parent_path": "/Workspace/Users/[USERNAME]", - "path": "/Users/[USERNAME]/test bundle-deploy-dashboard-dataset [UUID].lvdash.json", + "path": "/Users/[USERNAME]/test bundle-deploy-dashboard-dataset [UUID][1].lvdash.json", "published": true, "serialized_dashboard": "[SERIALIZED_FIXTURE]", "update_time": "[TIMESTAMP]", @@ -57,7 +57,7 @@ "path": { "action": "skip", "reason": "spec:output_only", - "remote": "/Users/[USERNAME]/test bundle-deploy-dashboard-dataset [UUID].lvdash.json" + "remote": "/Users/[USERNAME]/test bundle-deploy-dashboard-dataset [UUID][1].lvdash.json" }, "serialized_dashboard": { "action": "skip", diff --git a/acceptance/bundle/resources/dashboards/simple/out.plan.json b/acceptance/bundle/resources/dashboards/simple/out.plan.json index 1f3d8674749..e3dbde10f71 100644 --- a/acceptance/bundle/resources/dashboards/simple/out.plan.json +++ b/acceptance/bundle/resources/dashboards/simple/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.dashboards.dashboard1": { @@ -9,12 +9,12 @@ "remote_state": { "create_time": "[TIMESTAMP]", "dashboard_id": "[DASHBOARD_ID]", - "display_name": "test bundle-deploy-dashboard [UUID]", + "display_name": "test bundle-deploy-dashboard [UUID][1]", "embed_credentials": true, "etag": "[ETAG]", "lifecycle_state": "ACTIVE", "parent_path": "/Workspace/Users/[USERNAME]", - "path": "/Users/[USERNAME]/test bundle-deploy-dashboard [UUID].lvdash.json", + "path": "/Users/[USERNAME]/test bundle-deploy-dashboard [UUID][1].lvdash.json", "published": true, "serialized_dashboard": "{}\n", "update_time": "[TIMESTAMP]", @@ -45,7 +45,7 @@ "path": { "action": "skip", "reason": "spec:output_only", - "remote": "/Users/[USERNAME]/test bundle-deploy-dashboard [UUID].lvdash.json" + "remote": "/Users/[USERNAME]/test bundle-deploy-dashboard [UUID][1].lvdash.json" }, "serialized_dashboard": { "action": "skip", diff --git a/acceptance/bundle/resources/data_quality_monitors/basic/output.txt b/acceptance/bundle/resources/data_quality_monitors/basic/output.txt index 302d86ba848..2e3e7c287ad 100644 --- a/acceptance/bundle/resources/data_quality_monitors/basic/output.txt +++ b/acceptance/bundle/resources/data_quality_monitors/basic/output.txt @@ -16,7 +16,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "main.myschema.table1" ] }, - "object_id": "[UUID]", + "object_id": "[UUID][0]", "object_type": "schema" } } @@ -24,12 +24,12 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged === Summary shows the composite id >>> [CLI] bundle summary -o json { - "id": "schema,[UUID]", + "id": "schema,[UUID][0]", "object_type": "schema" } === Verify deployment ->>> [CLI] data-quality get-monitor schema [UUID] +>>> [CLI] data-quality get-monitor schema [UUID][0] { "excluded_table_full_names": [ "main.myschema.table1" @@ -52,7 +52,7 @@ Resources: 0 created, 1 changed, 0 deleted, 1 unchanged >>> print_requests.py //data-quality { "method": "PATCH", - "path": "/api/data-quality/v1/monitors/schema/[UUID]", + "path": "/api/data-quality/v1/monitors/schema/[UUID][0]", "q": { "update_mask": "*" }, @@ -62,12 +62,12 @@ Resources: 0 created, 1 changed, 0 deleted, 1 unchanged "main.myschema.table2" ] }, - "object_id": "[UUID]", + "object_id": "[UUID][0]", "object_type": "schema" } } ->>> [CLI] data-quality get-monitor schema [UUID] +>>> [CLI] data-quality get-monitor schema [UUID][0] { "excluded_table_full_names": [ "main.myschema.table2" @@ -75,7 +75,7 @@ Resources: 0 created, 1 changed, 0 deleted, 1 unchanged } === Change an identity field (should plan a recreate) ->>> update_file.py databricks.yml ${resources.schemas.myschema.schema_id} [UUID] +>>> update_file.py databricks.yml ${resources.schemas.myschema.schema_id} [UUID][1] >>> [CLI] bundle plan recreate data_quality_monitors.schema_monitor @@ -97,5 +97,5 @@ Destroy: 2 deleted >>> print_requests.py //data-quality { "method": "DELETE", - "path": "/api/data-quality/v1/monitors/schema/[UUID]" + "path": "/api/data-quality/v1/monitors/schema/[UUID][0]" } diff --git a/acceptance/bundle/resources/data_quality_monitors/data_profiling/output.txt b/acceptance/bundle/resources/data_quality_monitors/data_profiling/output.txt index 3f7eb4a5fb7..3a6449d38f5 100644 --- a/acceptance/bundle/resources/data_quality_monitors/data_profiling/output.txt +++ b/acceptance/bundle/resources/data_quality_monitors/data_profiling/output.txt @@ -16,20 +16,20 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged "body": { "data_profiling_config": { "assets_dir": "/Workspace/Users/user@example.com/assets1", - "output_schema_id": "[UUID]", + "output_schema_id": "[UUID][0]", "schedule": { "quartz_cron_expression": "0 0 12 * * ?", "timezone_id": "UTC" }, "snapshot": {} }, - "object_id": "[UUID]", + "object_id": "[UUID][1]", "object_type": "table" } } === Verify deployment, including server-computed fields ->>> [CLI] data-quality get-monitor table [UUID] +>>> [CLI] data-quality get-monitor table [UUID][1] { "assets_dir": "/Workspace/Users/user@example.com/assets1", "schedule": { @@ -56,21 +56,21 @@ Resources: 0 created, 1 changed, 0 deleted, 0 unchanged >>> print_requests.py //data-quality { "method": "PATCH", - "path": "/api/data-quality/v1/monitors/table/[UUID]", + "path": "/api/data-quality/v1/monitors/table/[UUID][1]", "q": { "update_mask": "*" }, "body": { "data_profiling_config": { "assets_dir": "/Workspace/Users/user@example.com/assets1", - "output_schema_id": "[UUID]", + "output_schema_id": "[UUID][0]", "schedule": { "quartz_cron_expression": "0 0 6 * * ?", "timezone_id": "UTC" }, "snapshot": {} }, - "object_id": "[UUID]", + "object_id": "[UUID][1]", "object_type": "table" } } diff --git a/acceptance/bundle/resources/grants/schemas/duplicate_principals/out.plan.json b/acceptance/bundle/resources/grants/schemas/duplicate_principals/out.plan.json index 4586c6ab570..885884210a3 100644 --- a/acceptance/bundle/resources/grants/schemas/duplicate_principals/out.plan.json +++ b/acceptance/bundle/resources/grants/schemas/duplicate_principals/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.schemas.apps_schema": { @@ -14,10 +14,10 @@ "created_by": "[USERNAME]", "enable_predictive_optimization": "INHERIT", "full_name": "main.schema_dup_grants_[UNIQUE_NAME]", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][1]", "name": "schema_dup_grants_[UNIQUE_NAME]", "owner": "[USERNAME]", - "schema_id": "[UUID]" + "schema_id": "[UUID][2]" } }, "resources.schemas.apps_schema.grants": { diff --git a/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan.json b/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan.json index 038a187a8ed..dfb10ea9b05 100644 --- a/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan.json +++ b/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.schemas.grants_schema": { @@ -14,10 +14,10 @@ "created_by": "[USERNAME]", "enable_predictive_optimization": "INHERIT", "full_name": "main.schema_out_of_band_principal_[UNIQUE_NAME]", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][1]", "name": "schema_out_of_band_principal_[UNIQUE_NAME]", "owner": "[USERNAME]", - "schema_id": "[UUID]" + "schema_id": "[UUID][2]" } }, "resources.schemas.grants_schema.grants": { diff --git a/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan2.json b/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan2.json index 3b9720936dc..78b0aa501c0 100644 --- a/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan2.json +++ b/acceptance/bundle/resources/grants/schemas/out_of_band_principal/out.plan2.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 2, "plan": { "resources.schemas.grants_schema": { @@ -14,10 +14,10 @@ "created_by": "[USERNAME]", "enable_predictive_optimization": "INHERIT", "full_name": "main.schema_out_of_band_principal_[UNIQUE_NAME]", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][1]", "name": "schema_out_of_band_principal_[UNIQUE_NAME]", "owner": "[USERNAME]", - "schema_id": "[UUID]" + "schema_id": "[UUID][2]" } }, "resources.schemas.grants_schema.grants": { diff --git a/acceptance/bundle/resources/grants/volumes/out.plan2.json b/acceptance/bundle/resources/grants/volumes/out.plan2.json index 198c6851573..c59443cb28f 100644 --- a/acceptance/bundle/resources/grants/volumes/out.plan2.json +++ b/acceptance/bundle/resources/grants/volumes/out.plan2.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.schemas.grants_schema": { @@ -33,14 +33,14 @@ "name": "volume_name", "owner": "[USERNAME]", "schema_name": "schema_grants_[UNIQUE_NAME]", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]", "volume_type": "MANAGED" }, "changes": { "storage_location": { "action": "skip", "reason": "immutable_backend_value", - "remote": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "remote": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]" } } }, diff --git a/acceptance/bundle/resources/job_runs/failed_run/output.txt b/acceptance/bundle/resources/job_runs/failed_run/output.txt index 44d3b17412a..89861c025a4 100644 --- a/acceptance/bundle/resources/job_runs/failed_run/output.txt +++ b/acceptance/bundle/resources/job_runs/failed_run/output.txt @@ -72,7 +72,7 @@ Files: 0 uploaded, 0 deleted "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID] } } @@ -80,7 +80,7 @@ Files: 0 uploaded, 0 deleted "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "job_id": [MY_JOB_ID] } } diff --git a/acceptance/bundle/resources/job_runs/on_bundle_deploy/output.txt b/acceptance/bundle/resources/job_runs/on_bundle_deploy/output.txt index f910dffcc05..50e7e4a46d7 100644 --- a/acceptance/bundle/resources/job_runs/on_bundle_deploy/output.txt +++ b/acceptance/bundle/resources/job_runs/on_bundle_deploy/output.txt @@ -17,7 +17,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID] } } @@ -33,8 +33,8 @@ Plan: 1 to add, 0 to change, 1 to delete, 1 unchanged "lifecycle.triggers_state.on_bundle_deploy": { "action": "recreate", "reason": "immutable", - "old": "[UUID]", - "new": "[UUID]" + "old": "[UUID][1]", + "new": "[UUID][2]" }, "result_state": { "action": "skip", @@ -76,7 +76,7 @@ Resources: "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][3]", "job_id": [MY_JOB_ID] } } diff --git a/acceptance/bundle/resources/job_runs/on_file_change/output.txt b/acceptance/bundle/resources/job_runs/on_file_change/output.txt index cd580a8efa4..529c8ed962a 100644 --- a/acceptance/bundle/resources/job_runs/on_file_change/output.txt +++ b/acceptance/bundle/resources/job_runs/on_file_change/output.txt @@ -17,7 +17,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID] } } @@ -104,7 +104,7 @@ Resources: 1 created, 0 changed, 1 deleted, 1 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "job_id": [MY_JOB_ID] } } @@ -182,7 +182,7 @@ Resources: 1 created, 0 changed, 1 deleted, 1 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][2]", "job_id": [MY_JOB_ID] } } @@ -207,7 +207,7 @@ Resources: 1 created, 0 changed, 1 deleted, 1 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][3]", "job_id": [MY_JOB_ID] } } diff --git a/acceptance/bundle/resources/job_runs/on_file_change_build/output.txt b/acceptance/bundle/resources/job_runs/on_file_change_build/output.txt index 8cde92e29b9..e36e49bfa63 100644 --- a/acceptance/bundle/resources/job_runs/on_file_change_build/output.txt +++ b/acceptance/bundle/resources/job_runs/on_file_change_build/output.txt @@ -18,7 +18,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID] } } @@ -38,7 +38,7 @@ Resources: 1 created, 0 changed, 1 deleted, 1 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "job_id": [MY_JOB_ID] } } diff --git a/acceptance/bundle/resources/job_runs/on_file_change_glob/output.txt b/acceptance/bundle/resources/job_runs/on_file_change_glob/output.txt index ed04ecb79d3..3f189586db7 100644 --- a/acceptance/bundle/resources/job_runs/on_file_change_glob/output.txt +++ b/acceptance/bundle/resources/job_runs/on_file_change_glob/output.txt @@ -17,7 +17,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID] } } @@ -55,7 +55,7 @@ Resources: 1 created, 0 changed, 1 deleted, 1 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "job_id": [MY_JOB_ID] } } diff --git a/acceptance/bundle/resources/job_runs/on_file_change_predeploy/output.txt b/acceptance/bundle/resources/job_runs/on_file_change_predeploy/output.txt index bbf77481367..5e4224e2469 100644 --- a/acceptance/bundle/resources/job_runs/on_file_change_predeploy/output.txt +++ b/acceptance/bundle/resources/job_runs/on_file_change_predeploy/output.txt @@ -18,7 +18,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID] } } @@ -38,7 +38,7 @@ Resources: 1 created, 0 changed, 1 deleted, 1 unchanged "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "job_id": [MY_JOB_ID] } } diff --git a/acceptance/bundle/resources/job_runs/redeploy/output.txt b/acceptance/bundle/resources/job_runs/redeploy/output.txt index 577db05fae9..c88a8a5d1b6 100644 --- a/acceptance/bundle/resources/job_runs/redeploy/output.txt +++ b/acceptance/bundle/resources/job_runs/redeploy/output.txt @@ -33,7 +33,7 @@ Resources: "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][0]", "job_id": [MY_JOB_ID], "job_parameters": { "env": "dev" @@ -126,7 +126,7 @@ Resources: "method": "POST", "path": "/api/2.2/jobs/run-now", "body": { - "idempotency_token": "[UUID]", + "idempotency_token": "[UUID][1]", "job_id": [MY_JOB_ID], "job_parameters": { "env": "prod" diff --git a/acceptance/bundle/resources/materialization_sets/basic/output.txt b/acceptance/bundle/resources/materialization_sets/basic/output.txt index 325dd405d81..8a8c22f38f5 100644 --- a/acceptance/bundle/resources/materialization_sets/basic/output.txt +++ b/acceptance/bundle/resources/materialization_sets/basic/output.txt @@ -28,7 +28,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "method": "POST", "path": "/api/2.0/feature-engineering/materialization-sets", "q": { - "request_id": "[UUID]" + "request_id": "[UUID][0]" }, "body": { "materialized_features": [ @@ -64,7 +64,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged >>> print_requests.py --get //feature-engineering/operations { "method": "GET", - "path": "/api/2.0/feature-engineering/operations/[UUID]" + "path": "/api/2.0/feature-engineering/operations/[UUID][1]" } === The server assigned a set id and a member id per member @@ -108,12 +108,12 @@ Destroy: 2 deleted "method": "DELETE", "path": "/api/2.0/feature-engineering/materialization-sets/[SET1_ID]", "q": { - "request_id": "[UUID]" + "request_id": "[UUID][2]" } } >>> print_requests.py --get //feature-engineering/operations { "method": "GET", - "path": "/api/2.0/feature-engineering/operations/[UUID]" + "path": "/api/2.0/feature-engineering/operations/[UUID][3]" } diff --git a/acceptance/bundle/resources/materialization_sets/batch/output.txt b/acceptance/bundle/resources/materialization_sets/batch/output.txt index 246055a3aa3..03227246062 100644 --- a/acceptance/bundle/resources/materialization_sets/batch/output.txt +++ b/acceptance/bundle/resources/materialization_sets/batch/output.txt @@ -35,12 +35,12 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-batch-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Updating materialization set '[UUID]' with no materialized features is not supported. Delete the set instead. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][0]: Updating materialization set '[UUID][0]' with no materialized features is not supported. Delete the set instead. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][0]?request_id=[UUID][1]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Updating materialization set '[UUID]' with no materialized features is not supported. Delete the set instead. +API message: Updating materialization set '[UUID][0]' with no materialized features is not supported. Delete the set instead. Files: 2 uploaded, 0 deleted @@ -56,12 +56,12 @@ Files: 2 uploaded, 0 deleted >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-batch-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Updating materialization set '[UUID]' with no materialized features is not supported. Delete the set instead. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][0]: Updating materialization set '[UUID][0]' with no materialized features is not supported. Delete the set instead. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][0]?request_id=[UUID][2]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Updating materialization set '[UUID]' with no materialized features is not supported. Delete the set instead. +API message: Updating materialization set '[UUID][0]' with no materialized features is not supported. Delete the set instead. Files: 2 uploaded, 0 deleted diff --git a/acceptance/bundle/resources/materialization_sets/membership/output.txt b/acceptance/bundle/resources/materialization_sets/membership/output.txt index b294d388c2e..23a42f20522 100644 --- a/acceptance/bundle/resources/materialization_sets/membership/output.txt +++ b/acceptance/bundle/resources/materialization_sets/membership/output.txt @@ -21,12 +21,12 @@ Resources: 3 created, 0 changed, 0 deleted, 0 unchanged === refused, because the delete also reaches the offline member the config still declares >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-membership-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Materialized features '[UUID]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID]', which the request does not supply. Remove those as well. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][0]: Materialized features '[UUID][1]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID][2]', which the request does not supply. Remove those as well. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][0]?request_id=[UUID][3]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Materialized features '[UUID]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID]', which the request does not supply. Remove those as well. +API message: Materialized features '[UUID][1]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID][2]', which the request does not supply. Remove those as well. Files: 1 uploaded, 0 deleted @@ -34,12 +34,12 @@ Files: 1 uploaded, 0 deleted === direction >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-membership-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Deleting materialized features '[UUID]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' also deletes materialized features '[UUID]', which the request does not delete. Delete the unrequested materialized features as well. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][0]: Deleting materialized features '[UUID][2]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' also deletes materialized features '[UUID][1]', which the request does not delete. Delete the unrequested materialized features as well. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][0]?request_id=[UUID][4]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Deleting materialized features '[UUID]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' also deletes materialized features '[UUID]', which the request does not delete. Delete the unrequested materialized features as well. +API message: Deleting materialized features '[UUID][2]' of feature 'main.matset_[UNIQUE_NAME].feata_[UNIQUE_NAME]' also deletes materialized features '[UUID][1]', which the request does not delete. Delete the unrequested materialized features as well. Files: 1 uploaded, 0 deleted diff --git a/acceptance/bundle/resources/materialization_sets/removal_scope/output.txt b/acceptance/bundle/resources/materialization_sets/removal_scope/output.txt index 2942f8ed3b6..77db11ecb10 100644 --- a/acceptance/bundle/resources/materialization_sets/removal_scope/output.txt +++ b/acceptance/bundle/resources/materialization_sets/removal_scope/output.txt @@ -44,13 +44,13 @@ Resources: 0 created, 1 changed, 0 deleted, 2 unchanged >>> print_requests.py --keep //materialization-sets { "method": "PATCH", - "path": "/api/2.0/feature-engineering/materialization-sets/[UUID]", + "path": "/api/2.0/feature-engineering/materialization-sets/[UUID][0]", "q": { - "request_id": "[UUID]", + "request_id": "[UUID][1]", "update_mask": "*" }, "body": { - "materialization_set_id": "[UUID]", + "materialization_set_id": "[UUID][0]", "materialized_features": [ { "cron_schedule_trigger": { @@ -71,5 +71,5 @@ Resources: 0 created, 1 changed, 0 deleted, 2 unchanged >>> print_requests.py --get //feature-engineering/operations { "method": "GET", - "path": "/api/2.0/feature-engineering/operations/[UUID]" + "path": "/api/2.0/feature-engineering/operations/[UUID][2]" } diff --git a/acceptance/bundle/resources/materialization_sets/sawtooth/output.txt b/acceptance/bundle/resources/materialization_sets/sawtooth/output.txt index 7a3b99ce536..57b1b6fec7f 100644 --- a/acceptance/bundle/resources/materialization_sets/sawtooth/output.txt +++ b/acceptance/bundle/resources/materialization_sets/sawtooth/output.txt @@ -6,7 +6,7 @@ >>> musterr [CLI] bundle deploy Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-sawtooth-[UNIQUE_NAME]/default/files... Created features.sawfeat -Error: cannot create resources.materialization_sets.set1: materialization set [UUID]: operation failed: [BAD_REQUEST] Feature 'main.myschema.saw_[UNIQUE_NAME]' uses a sawtooth window, which requires an offline batch materialization, an online batch materialization and an online streaming materialization. Declare one materialize feature request for each. +Error: cannot create resources.materialization_sets.set1: materialization set [UUID][0]: operation failed: [BAD_REQUEST] Feature 'main.myschema.saw_[UNIQUE_NAME]' uses a sawtooth window, which requires an offline batch materialization, an online batch materialization and an online streaming materialization. Declare one materialize feature request for each. Files: 7 uploaded, 0 deleted @@ -44,12 +44,12 @@ update >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-sawtooth-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Deleting materialized features '[UUID]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID]', '[UUID]', which the request does not delete. Delete the unrequested materialized features as well. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][1]: Deleting materialized features '[UUID][2]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID][3]', '[UUID][4]', which the request does not delete. Delete the unrequested materialized features as well. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][1]?request_id=[UUID][5]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Deleting materialized features '[UUID]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID]', '[UUID]', which the request does not delete. Delete the unrequested materialized features as well. +API message: Deleting materialized features '[UUID][2]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID][3]', '[UUID][4]', which the request does not delete. Delete the unrequested materialized features as well. Files: 2 uploaded, 0 deleted @@ -61,12 +61,12 @@ update >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-sawtooth-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Materialized features '[UUID]' of feature 'main.myschema.saw_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID]', '[UUID]', which the request does not supply. Remove those as well. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][1]: Materialized features '[UUID][3]' of feature 'main.myschema.saw_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID][2]', '[UUID][4]', which the request does not supply. Remove those as well. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][1]?request_id=[UUID][6]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Materialized features '[UUID]' of feature 'main.myschema.saw_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID]', '[UUID]', which the request does not supply. Remove those as well. +API message: Materialized features '[UUID][3]' of feature 'main.myschema.saw_[UNIQUE_NAME]' are deleted only by deleting materialized features '[UUID][2]', '[UUID][4]', which the request does not supply. Remove those as well. Files: 2 uploaded, 0 deleted @@ -78,12 +78,12 @@ update >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-sawtooth-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Deleting materialized features '[UUID]', '[UUID]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID]', which the request does not delete. Delete the unrequested materialized features as well. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][1]: Deleting materialized features '[UUID][2]', '[UUID][3]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID][4]', which the request does not delete. Delete the unrequested materialized features as well. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][1]?request_id=[UUID][7]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Deleting materialized features '[UUID]', '[UUID]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID]', which the request does not delete. Delete the unrequested materialized features as well. +API message: Deleting materialized features '[UUID][2]', '[UUID][3]' of feature 'main.myschema.saw_[UNIQUE_NAME]' also deletes materialized features '[UUID][4]', which the request does not delete. Delete the unrequested materialized features as well. Files: 2 uploaded, 0 deleted @@ -97,12 +97,12 @@ update >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-sawtooth-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: Updating materialization set '[UUID]' with no materialized features is not supported. Delete the set instead. (400 INVALID_PARAMETER_VALUE) +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][1]: Updating materialization set '[UUID][1]' with no materialized features is not supported. Delete the set instead. (400 INVALID_PARAMETER_VALUE) -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID]?request_id=[UUID]&update_mask=%2A +Endpoint: PATCH [DATABRICKS_URL]/api/2.0/feature-engineering/materialization-sets/[UUID][1]?request_id=[UUID][8]&update_mask=%2A HTTP Status: 400 Bad Request API error_code: INVALID_PARAMETER_VALUE -API message: Updating materialization set '[UUID]' with no materialized features is not supported. Delete the set instead. +API message: Updating materialization set '[UUID][1]' with no materialized features is not supported. Delete the set instead. Files: 2 uploaded, 0 deleted diff --git a/acceptance/bundle/resources/materialization_sets/settled_failure/output.txt b/acceptance/bundle/resources/materialization_sets/settled_failure/output.txt index 7e66c411d89..abf8653d4d7 100644 --- a/acceptance/bundle/resources/materialization_sets/settled_failure/output.txt +++ b/acceptance/bundle/resources/materialization_sets/settled_failure/output.txt @@ -17,7 +17,7 @@ update >>> musterr [CLI] bundle deploy --auto-approve Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-matset-settled-[UNIQUE_NAME]/default/files... -Error: cannot update resources.materialization_sets.set1: updating id=[UUID]: materialization set [UUID]: operation failed: [INTERNAL_ERROR] Changed 0 of 2 materialized features in materialization set '[UUID]'. The operation's progress lists which update succeeded, which failed and why.; members left unchanged: [UUID] (INTERNAL_ERROR): Failed to delete materialized feature '[UUID]'. If the issue persists, please retry or contact support.; [UUID] (INTERNAL_ERROR): Failed to delete materialized feature '[UUID]'. If the issue persists, please retry or contact support. +Error: cannot update resources.materialization_sets.set1: updating id=[UUID][0]: materialization set [UUID][0]: operation failed: [INTERNAL_ERROR] Changed 0 of 2 materialized features in materialization set '[UUID][0]'. The operation's progress lists which update succeeded, which failed and why.; members left unchanged: [UUID][1] (INTERNAL_ERROR): Failed to delete materialized feature '[UUID][1]'. If the issue persists, please retry or contact support.; [UUID][2] (INTERNAL_ERROR): Failed to delete materialized feature '[UUID][2]'. If the issue persists, please retry or contact support. Files: 2 uploaded, 0 deleted diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/catalog-name/out.second-plan.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/catalog-name/out.second-plan.json index b799c7c0858..475588afef9 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/catalog-name/out.second-plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/recreate/catalog-name/out.second-plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -95,7 +95,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ORIGINAL_ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -105,7 +105,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ORIGINAL_ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/name-change/out.second-plan.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/name-change/out.second-plan.json index f653ffd8fe7..2ff282564ee 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/name-change/out.second-plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/recreate/name-change/out.second-plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -80,7 +80,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ORIGINAL_ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -90,7 +90,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ORIGINAL_ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.second-plan.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.second-plan.json index 5278563ba8a..ece201c92bd 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.second-plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.second-plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -69,7 +69,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ORIGINAL_ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -79,7 +79,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ORIGINAL_ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/schema-name/out.second-plan.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/schema-name/out.second-plan.json index 46ac4881da9..6eed2db733c 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/schema-name/out.second-plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/recreate/schema-name/out.second-plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -95,7 +95,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ORIGINAL_ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -105,7 +105,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ORIGINAL_ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/table-prefix/out.second-plan.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/table-prefix/out.second-plan.json index b96358e39ac..b0dcbb07303 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/table-prefix/out.second-plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/recreate/table-prefix/out.second-plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -95,7 +95,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ORIGINAL_ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -105,7 +105,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ORIGINAL_ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/update/ai-gateway/out.plan.json b/acceptance/bundle/resources/model_serving_endpoints/update/ai-gateway/out.plan.json index 9c9742032d5..67a85435776 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/update/ai-gateway/out.plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/update/ai-gateway/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -95,7 +95,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -105,7 +105,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/update/both_gateway_and_tags/out.plan.json b/acceptance/bundle/resources/model_serving_endpoints/update/both_gateway_and_tags/out.plan.json index 3f81ebd49eb..8a65245e800 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/update/both_gateway_and_tags/out.plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/update/both_gateway_and_tags/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -101,7 +101,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -117,7 +117,7 @@ } ] }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ENDPOINT_ID]", "route_optimized": false, "tags": [ diff --git a/acceptance/bundle/resources/model_serving_endpoints/update/config/out.plan.json b/acceptance/bundle/resources/model_serving_endpoints/update/config/out.plan.json index c63f48b6eaa..305867deb43 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/update/config/out.plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/update/config/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -86,7 +86,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -96,7 +96,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/update/email-notifications/out.plan.json b/acceptance/bundle/resources/model_serving_endpoints/update/email-notifications/out.plan.json index ee9b6cf4ff9..8792b7d7d1d 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/update/email-notifications/out.plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/update/email-notifications/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -95,7 +95,7 @@ "user1@example.com" ] }, - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -105,7 +105,7 @@ "ready": "NOT_READY" } }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ENDPOINT_ID]", "route_optimized": false }, diff --git a/acceptance/bundle/resources/model_serving_endpoints/update/tags/out.plan.json b/acceptance/bundle/resources/model_serving_endpoints/update/tags/out.plan.json index 431bfea1267..680d0b25997 100644 --- a/acceptance/bundle/resources/model_serving_endpoints/update/tags/out.plan.json +++ b/acceptance/bundle/resources/model_serving_endpoints/update/tags/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.model_serving_endpoints.test_endpoint": { @@ -86,7 +86,7 @@ "creation_timestamp": [UNIX_TIME_MILLIS], "creator": "[USERNAME]", "description": "", - "id": "[UUID]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "name": "[ENDPOINT_ID]", "permission_level": "CAN_MANAGE", @@ -102,7 +102,7 @@ } ] }, - "endpoint_id": "[UUID]", + "endpoint_id": "[UUID][1]", "name": "[ENDPOINT_ID]", "route_optimized": false, "tags": [ diff --git a/acceptance/bundle/resources/permissions/clusters/target/out.requests.json b/acceptance/bundle/resources/permissions/clusters/target/out.requests.json index 9a0adb10f0f..dec183677ae 100644 --- a/acceptance/bundle/resources/permissions/clusters/target/out.requests.json +++ b/acceptance/bundle/resources/permissions/clusters/target/out.requests.json @@ -14,20 +14,20 @@ } { "method": "PUT", - "path": "/api/2.0/permissions/clusters/[UUID]", + "path": "/api/2.0/permissions/clusters/[UUID][0]", "body": { "access_control_list": [ { "permission_level": "CAN_ATTACH_TO", - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][1]" }, { "permission_level": "CAN_RESTART", - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][2]" }, { "permission_level": "CAN_MANAGE", - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][3]" }, { "permission_level": "CAN_MANAGE", diff --git a/acceptance/bundle/resources/permissions/clusters/target/output.txt b/acceptance/bundle/resources/permissions/clusters/target/output.txt index 37ff60bd025..68a49427c3e 100644 --- a/acceptance/bundle/resources/permissions/clusters/target/output.txt +++ b/acceptance/bundle/resources/permissions/clusters/target/output.txt @@ -25,15 +25,15 @@ See https://docs.databricks.com/dev-tools/bundles/permissions.html to learn more "permissions": [ { "level": "CAN_ATTACH_TO", - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][0]" }, { "level": "CAN_RESTART", - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][1]" }, { "level": "CAN_MANAGE", - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][2]" }, { "level": "CAN_MANAGE", diff --git a/acceptance/bundle/resources/pipelines/recreate-add-whole-block/out.plan.json b/acceptance/bundle/resources/pipelines/recreate-add-whole-block/out.plan.json index 345c3fb80fd..71920640ac7 100644 --- a/acceptance/bundle/resources/pipelines/recreate-add-whole-block/out.plan.json +++ b/acceptance/bundle/resources/pipelines/recreate-add-whole-block/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.pipelines.my": { @@ -40,7 +40,7 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][1]", "last_modified": [UNIX_TIME_MILLIS], "libraries": [ { @@ -50,7 +50,7 @@ } ], "name": "test-pipeline-[UNIQUE_NAME]", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "run_as_user_name": "[USERNAME]", "state": "IDLE", "storage": "dbfs:/pipelines/custom" diff --git a/acceptance/bundle/resources/pipelines/recreate-remove-whole-block/out.plan.json b/acceptance/bundle/resources/pipelines/recreate-remove-whole-block/out.plan.json index e9d4cb5b6d8..08766e2f90c 100644 --- a/acceptance/bundle/resources/pipelines/recreate-remove-whole-block/out.plan.json +++ b/acceptance/bundle/resources/pipelines/recreate-remove-whole-block/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.pipelines.my": { @@ -34,7 +34,7 @@ }, "edition": "ADVANCED", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", - "id": "[UUID]", + "id": "[UUID][1]", "ingestion_definition": { "connection_name": "my_connection", "objects": [ @@ -50,7 +50,7 @@ } ], "name": "test-pipeline-[UNIQUE_NAME]", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "run_as_user_name": "[USERNAME]", "state": "IDLE", "storage": "dbfs:/pipelines/custom" diff --git a/acceptance/bundle/resources/postgres_projects/add_default_endpoint_settings/out.plan.json b/acceptance/bundle/resources/postgres_projects/add_default_endpoint_settings/out.plan.json index 90a8ddd5c91..39cc2aef2f3 100644 --- a/acceptance/bundle/resources/postgres_projects/add_default_endpoint_settings/out.plan.json +++ b/acceptance/bundle/resources/postgres_projects/add_default_endpoint_settings/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.postgres_projects.my_project": { @@ -38,7 +38,7 @@ "project_id": "test-pg-proj-[UNIQUE_NAME]", "synthetic_storage_size_bytes": 0 }, - "uid": "[UUID]", + "uid": "[UUID][1]", "update_time": "[TIMESTAMP]" }, "changes": { diff --git a/acceptance/bundle/resources/postgres_projects/purge_on_delete/output.txt b/acceptance/bundle/resources/postgres_projects/purge_on_delete/output.txt index d0a4f3b91b8..f910036be1e 100644 --- a/acceptance/bundle/resources/postgres_projects/purge_on_delete/output.txt +++ b/acceptance/bundle/resources/postgres_projects/purge_on_delete/output.txt @@ -35,7 +35,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "project_id": "test-pg-proj-hard-[UNIQUE_NAME]", "synthetic_storage_size_bytes": 0 }, - "uid": "[UUID]" + "uid": "[UUID][0]" } >>> [CLI] postgres get-project projects/test-pg-proj-soft-[UNIQUE_NAME] @@ -58,7 +58,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "project_id": "test-pg-proj-soft-[UNIQUE_NAME]", "synthetic_storage_size_bytes": 0 }, - "uid": "[UUID]" + "uid": "[UUID][1]" } >>> print_requests.py --del-body project_id,branch_id,endpoint_id,database_id,role_id,catalog_id,synced_table_id --sort --get //postgres ^//workspace-files/ ^//workspace/ ^//telemetry-ext ^//operations/ diff --git a/acceptance/bundle/resources/registered_models/aliases/output.txt b/acceptance/bundle/resources/registered_models/aliases/output.txt index 2fbc017e1f8..9fbb886d90a 100644 --- a/acceptance/bundle/resources/registered_models/aliases/output.txt +++ b/acceptance/bundle/resources/registered_models/aliases/output.txt @@ -37,7 +37,7 @@ { "alias_name": "champion", "catalog_name": "main", - "id": "[UUID]", + "id": "[UUID][0]", "model_name": "model-aliases-[UNIQUE_NAME]", "schema_name": "default", "version_num": 1 @@ -68,7 +68,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged { "alias_name": "champion", "catalog_name": "main", - "id": "[UUID]", + "id": "[UUID][0]", "model_name": "model-aliases-[UNIQUE_NAME]", "schema_name": "default", "version_num": 1 @@ -90,7 +90,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "aliases[alias_name='champion'].id": { "action": "skip", "reason": "output_only", - "remote": "[UUID]" + "remote": "[UUID][0]" }, "aliases[alias_name='champion'].model_name": { "action": "skip", @@ -158,7 +158,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "aliases[alias_name='challenger'].id": { "action": "skip", "reason": "output_only", - "remote": "[UUID]" + "remote": "[UUID][1]" }, "aliases[alias_name='challenger'].model_name": { "action": "skip", @@ -178,7 +178,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "aliases[alias_name='champion'].id": { "action": "skip", "reason": "output_only", - "remote": "[UUID]" + "remote": "[UUID][2]" }, "aliases[alias_name='champion'].model_name": { "action": "skip", @@ -230,7 +230,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "aliases[alias_name='champion'].id": { "action": "skip", "reason": "output_only", - "remote": "[UUID]" + "remote": "[UUID][3]" }, "aliases[alias_name='champion'].model_name": { "action": "skip", @@ -309,7 +309,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "remote": { "alias_name": "challenger", "catalog_name": "main", - "id": "[UUID]", + "id": "[UUID][4]", "model_name": "model-aliases-[UNIQUE_NAME]", "schema_name": "default", "version_num": 1 @@ -323,7 +323,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "aliases[alias_name='champion'].id": { "action": "skip", "reason": "output_only", - "remote": "[UUID]" + "remote": "[UUID][5]" }, "aliases[alias_name='champion'].model_name": { "action": "skip", @@ -340,7 +340,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "remote": { "alias_name": "staging", "catalog_name": "main", - "id": "[UUID]", + "id": "[UUID][6]", "model_name": "model-aliases-[UNIQUE_NAME]", "schema_name": "default", "version_num": 1 @@ -388,7 +388,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged "remote": { "alias_name": "champion", "catalog_name": "main", - "id": "[UUID]", + "id": "[UUID][5]", "model_name": "model-aliases-[UNIQUE_NAME]", "schema_name": "default", "version_num": 2 @@ -434,7 +434,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged { "alias_name": "champion", "catalog_name": "main", - "id": "[UUID]", + "id": "[UUID][7]", "model_name": "model-aliases-[UNIQUE_NAME]", "schema_name": "default", "version_num": 1 diff --git a/acceptance/bundle/resources/schemas/recreate/output.txt b/acceptance/bundle/resources/schemas/recreate/output.txt index 8cbfb7e6731..8c11c4e0fe4 100644 --- a/acceptance/bundle/resources/schemas/recreate/output.txt +++ b/acceptance/bundle/resources/schemas/recreate/output.txt @@ -80,8 +80,8 @@ Error: Schema 'main.myschema' does not exist. }, "enable_predictive_optimization": "INHERIT", "full_name": "newmain.myschema", - "metastore_id": "[UUID]", + "metastore_id": "[UUID][0]", "name": "myschema", "owner": "[USERNAME]", - "schema_id": "[UUID]" + "schema_id": "[UUID][1]" } diff --git a/acceptance/bundle/resources/vector_search_indexes/recreate/with_endpoint/output.txt b/acceptance/bundle/resources/vector_search_indexes/recreate/with_endpoint/output.txt index a45a77cee95..f704efd804d 100644 --- a/acceptance/bundle/resources/vector_search_indexes/recreate/with_endpoint/output.txt +++ b/acceptance/bundle/resources/vector_search_indexes/recreate/with_endpoint/output.txt @@ -19,7 +19,7 @@ Plan: 1 to add, 0 to change, 1 to delete, 1 unchanged { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.vector_search_endpoints.my_endpoint": { @@ -37,8 +37,8 @@ Plan: 1 to add, 0 to change, 1 to delete, 1 unchanged "state": "ONLINE" }, "endpoint_type": "STANDARD", - "endpoint_uuid": "[UUID]", - "id": "[UUID]", + "endpoint_uuid": "[UUID][1]", + "id": "[UUID][1]", "last_updated_timestamp": [UNIX_TIME_MILLIS], "last_updated_user": "[USERNAME]", "name": "vs-endpoint-[UNIQUE_NAME]", @@ -74,7 +74,7 @@ Plan: 1 to add, 0 to change, 1 to delete, 1 unchanged "schema_json": "{\"id\":\"int\",\"vector\":\"array\"}" }, "endpoint_name": "vs-endpoint-[UNIQUE_NAME]", - "endpoint_uuid": "[UUID]", + "endpoint_uuid": "[UUID][1]", "index_subtype": "HYBRID", "index_type": "DIRECT_ACCESS", "name": "main.default.vs_index_[UNIQUE_NAME]", @@ -94,8 +94,8 @@ Plan: 1 to add, 0 to change, 1 to delete, 1 unchanged "endpoint_uuid": { "action": "skip", "reason": "state-only field", - "old": "[UUID]", - "remote": "[UUID]" + "old": "[UUID][1]", + "remote": "[UUID][1]" }, "index_subtype": { "action": "skip", diff --git a/acceptance/bundle/resources/volumes/change-comment/output.txt b/acceptance/bundle/resources/volumes/change-comment/output.txt index 65f4afdeded..b045eb60df2 100644 --- a/acceptance/bundle/resources/volumes/change-comment/output.txt +++ b/acceptance/bundle/resources/volumes/change-comment/output.txt @@ -49,9 +49,9 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged "name": "myvolume", "owner": "[USERNAME]", "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]", "updated_at": [UNIX_TIME_MILLIS], - "volume_id": "[UUID]", + "volume_id": "[UUID][1]", "volume_type": "MANAGED" } diff --git a/acceptance/bundle/resources/volumes/change-name/out.plan.json b/acceptance/bundle/resources/volumes/change-name/out.plan.json index 118c5f66104..47d55af7ad3 100644 --- a/acceptance/bundle/resources/volumes/change-name/out.plan.json +++ b/acceptance/bundle/resources/volumes/change-name/out.plan.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.volumes.volume1": { @@ -24,9 +24,9 @@ "name": "myvolume", "owner": "[USERNAME]", "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]", "updated_at": [UNIX_TIME_MILLIS], - "volume_id": "[UUID]", + "volume_id": "[UUID][2]", "volume_type": "MANAGED" }, "changes": { @@ -40,7 +40,7 @@ "storage_location": { "action": "skip", "reason": "immutable_backend_value", - "remote": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "remote": "s3://[METASTORE_NAME]/metastore/[UUID][1]/volumes/[UUID][2]" } } } diff --git a/acceptance/bundle/resources/volumes/change-name/output.txt b/acceptance/bundle/resources/volumes/change-name/output.txt index 417cd36f6fd..81b57fcda65 100644 --- a/acceptance/bundle/resources/volumes/change-name/output.txt +++ b/acceptance/bundle/resources/volumes/change-name/output.txt @@ -68,10 +68,10 @@ Resources: 0 created, 1 changed, 0 deleted, 0 unchanged "name": "mynewvolume", "owner": "[USERNAME]", "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]", "updated_at": [UNIX_TIME_MILLIS][1], "updated_by": "[USERNAME]", - "volume_id": "[UUID]", + "volume_id": "[UUID][1]", "volume_type": "MANAGED" } diff --git a/acceptance/bundle/resources/volumes/comment_out_of_band/output.txt b/acceptance/bundle/resources/volumes/comment_out_of_band/output.txt index b6619370518..82af14b00a2 100644 --- a/acceptance/bundle/resources/volumes/comment_out_of_band/output.txt +++ b/acceptance/bundle/resources/volumes/comment_out_of_band/output.txt @@ -18,7 +18,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged "storage_location": { "action": "skip", "reason": "immutable_backend_value", - "remote": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]" + "remote": "s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]" } } diff --git a/acceptance/bundle/resources/volumes/remote-change-name/output.txt b/acceptance/bundle/resources/volumes/remote-change-name/output.txt index 3bdbb6d7fe5..9e6c6272954 100644 --- a/acceptance/bundle/resources/volumes/remote-change-name/output.txt +++ b/acceptance/bundle/resources/volumes/remote-change-name/output.txt @@ -14,10 +14,10 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged "name": "my_new_name", "owner": "[USERNAME]", "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]", "updated_at": [UNIX_TIME_MILLIS][1], "updated_by": "[USERNAME]", - "volume_id": "[UUID]", + "volume_id": "[UUID][1]", "volume_type": "MANAGED" } @@ -30,10 +30,10 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged "name": "my_new_name", "owner": "[USERNAME]", "schema_name": "myschema", - "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", + "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID][0]/volumes/[UUID][1]", "updated_at": [UNIX_TIME_MILLIS][1], "updated_by": "[USERNAME]", - "volume_id": "[UUID]", + "volume_id": "[UUID][1]", "volume_type": "MANAGED" } diff --git a/acceptance/bundle/run/development-mode-changes/output.txt b/acceptance/bundle/run/development-mode-changes/output.txt index c238681ff50..fbc0856911d 100644 --- a/acceptance/bundle/run/development-mode-changes/output.txt +++ b/acceptance/bundle/run/development-mode-changes/output.txt @@ -21,14 +21,14 @@ Warning: The "development" property of pipelines is deprecated. Use "mode: devel at resources.pipelines.my_pipeline.development in databricks.yml:18:24 -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "development": true } @@ -44,14 +44,14 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> update_file.py databricks.yml switch_to_dev: {} switch_to_dev: {mode: development} >>> [CLI] bundle run my_pipeline -t switch_to_dev -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][2]/updates/[UUID][3] -Update ID: [UUID] +Update ID: [UUID][3] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][2]/updates", "body": { "development": true } @@ -67,14 +67,14 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> update_file.py databricks.yml switch_from_dev: {mode: development} switch_from_dev: {} >>> [CLI] bundle run my_pipeline -t switch_from_dev -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][4]/updates/[UUID][5] -Update ID: [UUID] +Update ID: [UUID][5] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][4]/updates", "body": {} } @@ -91,9 +91,9 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged false >>> [CLI] bundle run my_pipeline -t ui_toggle -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[MY_PIPELINE_ID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[MY_PIPELINE_ID]/updates/[UUID][6] -Update ID: [UUID] +Update ID: [UUID][6] >>> print_requests.py //pipelines { diff --git a/acceptance/bundle/run/development-mode/output.txt b/acceptance/bundle/run/development-mode/output.txt index aae6f729a98..8abe1170d5c 100644 --- a/acceptance/bundle/run/development-mode/output.txt +++ b/acceptance/bundle/run/development-mode/output.txt @@ -7,14 +7,14 @@ Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> [CLI] bundle run my_pipeline -t prod -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": {} } @@ -26,14 +26,14 @@ Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> [CLI] bundle run my_pipeline -t dev -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][2]/updates/[UUID][3] -Update ID: [UUID] +Update ID: [UUID][3] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][2]/updates", "body": { "development": true } @@ -45,9 +45,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][2]/updates/[UUID][4] -Update ID: [UUID] +Update ID: [UUID][4] Update for pipeline completed successfully. @@ -57,7 +57,7 @@ Pipeline configurations for this update: >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][2]/updates", "body": { "development": true } @@ -71,13 +71,13 @@ Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> [CLI] bundle run my_pipeline -t dev_preset_off -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][5]/updates/[UUID][6] -Update ID: [UUID] +Update ID: [UUID][6] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][5]/updates", "body": {} } diff --git a/acceptance/bundle/run/development-override/output.txt b/acceptance/bundle/run/development-override/output.txt index 7110012790f..85ed152bb16 100644 --- a/acceptance/bundle/run/development-override/output.txt +++ b/acceptance/bundle/run/development-override/output.txt @@ -22,13 +22,13 @@ Warning: The "development" property of pipelines is deprecated. Use "mode: devel at resources.pipelines.my_pipeline.development in databricks.yml:8:20 -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": {} } diff --git a/acceptance/bundle/run/refresh-flags/output.txt b/acceptance/bundle/run/refresh-flags/output.txt index 694608a5810..78680ea662f 100644 --- a/acceptance/bundle/run/refresh-flags/output.txt +++ b/acceptance/bundle/run/refresh-flags/output.txt @@ -7,14 +7,14 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged === Running pipeline with --refresh flag and specific tables >>> [CLI] bundle run my_pipeline --refresh table1,table2 -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "refresh_selection": [ "table1", @@ -25,14 +25,14 @@ Update ID: [UUID] === Running pipeline with --full-refresh-all flag >>> [CLI] bundle run my_pipeline --full-refresh-all -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][2] -Update ID: [UUID] +Update ID: [UUID][2] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "full_refresh": true } @@ -40,14 +40,14 @@ Update ID: [UUID] === Running pipeline with --full-refresh flag and specific tables >>> [CLI] bundle run my_pipeline --full-refresh table1,table2 -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][3] -Update ID: [UUID] +Update ID: [UUID][3] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "full_refresh_selection": [ "table1", @@ -58,14 +58,14 @@ Update ID: [UUID] === Running pipeline with --full-refresh flag and --refresh flag >>> [CLI] bundle run my_pipeline --full-refresh table1,table2 --refresh table3,table4 -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][4] -Update ID: [UUID] +Update ID: [UUID][4] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "full_refresh_selection": [ "table1", diff --git a/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name.json b/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name.json index ed348b0244c..3ca1a86f731 100644 --- a/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name.json +++ b/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name.json @@ -15,7 +15,7 @@ ], "name": "nyc taxi loader", "run_as": { - "service_principal_name": "[UUID]" + "service_principal_name": "[UUID][0]" } }, "method": "POST", @@ -39,5 +39,5 @@ ] }, "method": "PUT", - "path": "/api/2.0/permissions/pipelines/[UUID]" + "path": "/api/2.0/permissions/pipelines/[UUID][1]" } diff --git a/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name_different.json b/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name_different.json index 31184316639..9d842f8ebe0 100644 --- a/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name_different.json +++ b/acceptance/bundle/run_as/pipelines/regular_user/out.requests_t_service_principal_name_different.json @@ -15,7 +15,7 @@ ], "name": "nyc taxi loader", "run_as": { - "user_name": "[UUID]" + "user_name": "[UUID][0]" } }, "method": "POST", @@ -39,5 +39,5 @@ ] }, "method": "PUT", - "path": "/api/2.0/permissions/pipelines/[UUID]" + "path": "/api/2.0/permissions/pipelines/[UUID][1]" } diff --git a/acceptance/bundle/run_as/pipelines/service_principal/out.requests_t_service_principal_name_different.json b/acceptance/bundle/run_as/pipelines/service_principal/out.requests_t_service_principal_name_different.json index 2748dd56670..52bda81609d 100644 --- a/acceptance/bundle/run_as/pipelines/service_principal/out.requests_t_service_principal_name_different.json +++ b/acceptance/bundle/run_as/pipelines/service_principal/out.requests_t_service_principal_name_different.json @@ -15,7 +15,7 @@ ], "name": "nyc taxi loader", "run_as": { - "user_name": "[UUID]" + "user_name": "[UUID][0]" } }, "method": "POST", @@ -39,5 +39,5 @@ ] }, "method": "PUT", - "path": "/api/2.0/permissions/pipelines/[UUID]" + "path": "/api/2.0/permissions/pipelines/[UUID][1]" } diff --git a/acceptance/bundle/state/state_present/output.txt b/acceptance/bundle/state/state_present/output.txt index 4a9e949378c..a2e6d0b618a 100644 --- a/acceptance/bundle/state/state_present/output.txt +++ b/acceptance/bundle/state/state_present/output.txt @@ -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] 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] 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 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" === A resources.json with a lower serial does not win: the terraform state still migrates >>> [CLI] bundle plan @@ -31,7 +31,7 @@ Files: 1 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> print_requests.py //api/2.1/unity-catalog/schemas -"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct lineage/ARgQbIVroS5 auth/pat" +"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][1] interactive/none engine/direct lineage/ARgQbIVroS5 auth/pat" >>> [CLI] bundle destroy --auto-approve The following resources will be deleted: @@ -51,14 +51,14 @@ Files: 1 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged >>> print_requests.py //api/2.1/unity-catalog/schemas -"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat" +"cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID][2] interactive/none engine/direct auth/pat" >>> print_state.py 1 >>> [CLI] bundle debug states -[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=1 lineage="[UUID]" +[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=1 lineage="[UUID][3]" >>> [CLI] bundle debug states --force-pull -resources.json: remote direct state serial=1 lineage="[UUID]" -[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=1 lineage="[UUID]" +resources.json: remote direct state serial=1 lineage="[UUID][3]" +[TEST_TMP_DIR]/.databricks/bundle/default/resources.json: local direct state serial=1 lineage="[UUID][3]" diff --git a/acceptance/bundle/summary/modified_status/output.txt b/acceptance/bundle/summary/modified_status/output.txt index 59d922c8b85..b64c1a66aaa 100644 --- a/acceptance/bundle/summary/modified_status/output.txt +++ b/acceptance/bundle/summary/modified_status/output.txt @@ -93,14 +93,14 @@ Resources: 4 created, 0 changed, 0 deleted, 0 unchanged } } }, - "id": "[UUID]", + "id": "[UUID][0]", "parent_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/resources", "query_text": "select 2", "schedule": { "quartz_cron_schedule": "44 19 */1 * * ?", "timezone_id": "Europe/Amsterdam" }, - "url": "[DATABRICKS_URL]/sql/alerts-v2/[UUID]?w=[WORKSPACE_ID]", + "url": "[DATABRICKS_URL]/sql/alerts-v2/[UUID][0]?w=[WORKSPACE_ID]", "warehouse_id": "aaaaaaaaaaaaaaaa" } }, @@ -112,7 +112,7 @@ Resources: 4 created, 0 changed, 0 deleted, 0 unchanged "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/metadata.json" }, "edition": "ADVANCED", - "id": "[UUID]", + "id": "[UUID][1]", "libraries": [ { "file": { @@ -121,7 +121,7 @@ Resources: 4 created, 0 changed, 0 deleted, 0 unchanged } ], "name": "test-pipeline", - "url": "[DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID]" + "url": "[DATABRICKS_URL]/pipelines/[UUID][1]?w=[WORKSPACE_ID]" } }, "schemas": { @@ -139,11 +139,11 @@ Resources: 4 created, 0 changed, 0 deleted, 0 unchanged "cluster_size": "X-Large", "enable_photon": true, "enable_serverless_compute": true, - "id": "[UUID]", + "id": "[UUID][2]", "max_num_clusters": 1, "name": "test-sql-warehouse", "spot_instance_policy": "COST_OPTIMIZED", - "url": "[DATABRICKS_URL]/sql/warehouses/[UUID]?w=[WORKSPACE_ID]" + "url": "[DATABRICKS_URL]/sql/warehouses/[UUID][2]?w=[WORKSPACE_ID]" } } } @@ -153,16 +153,16 @@ Resources: 4 created, 0 changed, 0 deleted, 0 unchanged { "alerts": { "my_alert": { - "id": "[UUID]", + "id": "[UUID][0]", "modified_status": "deleted", - "url": "[DATABRICKS_URL]/sql/alerts-v2/[UUID]?w=[WORKSPACE_ID]" + "url": "[DATABRICKS_URL]/sql/alerts-v2/[UUID][0]?w=[WORKSPACE_ID]" } }, "pipelines": { "my_pipeline": { - "id": "[UUID]", + "id": "[UUID][1]", "modified_status": "deleted", - "url": "[DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID]" + "url": "[DATABRICKS_URL]/pipelines/[UUID][1]?w=[WORKSPACE_ID]" } }, "schemas": { @@ -174,9 +174,9 @@ Resources: 4 created, 0 changed, 0 deleted, 0 unchanged }, "sql_warehouses": { "my_sql_warehouse": { - "id": "[UUID]", + "id": "[UUID][2]", "modified_status": "deleted", - "url": "[DATABRICKS_URL]/sql/warehouses/[UUID]?w=[WORKSPACE_ID]" + "url": "[DATABRICKS_URL]/sql/warehouses/[UUID][2]?w=[WORKSPACE_ID]" } } } diff --git a/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_dev.json b/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_dev.json index b83830d569f..3f7bcdca220 100644 --- a/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_dev.json +++ b/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_dev.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.jobs.sample_job": { @@ -96,7 +96,7 @@ } ], "pipeline_task": { - "pipeline_id": "[UUID]" + "pipeline_id": "[UUID][1]" }, "task_key": "refresh_pipeline" } @@ -206,7 +206,7 @@ ], "email_notifications": {}, "pipeline_task": { - "pipeline_id": "[UUID]" + "pipeline_id": "[UUID][1]" }, "run_if": "ALL_SUCCESS", "task_key": "refresh_pipeline", @@ -320,7 +320,7 @@ "--editable /Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/files" ] }, - "id": "[UUID]", + "id": "[UUID][1]", "last_modified": [UNIX_TIME_MILLIS][1], "libraries": [ { @@ -330,12 +330,12 @@ } ], "name": "[dev [USERNAME]] my_default_python_etl", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "root_path": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/files/src/my_default_python_etl", "run_as_user_name": "[USERNAME]", "schema": "[USERNAME]", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]", + "storage": "dbfs:/pipelines/[UUID][1]", "tags": { "dev": "[USERNAME]" } @@ -344,7 +344,7 @@ "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][1]" } } } diff --git a/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_prod.json b/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_prod.json index e781152f464..81f48bcc6b9 100644 --- a/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_prod.json +++ b/acceptance/bundle/templates/default-python/classic/out.plan_after_deploy_prod.json @@ -1,7 +1,7 @@ { "plan_version": [PLAN_VERSION], "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][0]", "serial": 1, "plan": { "resources.jobs.sample_job": { @@ -105,7 +105,7 @@ ], "email_notifications": {}, "pipeline_task": { - "pipeline_id": "[UUID]" + "pipeline_id": "[UUID][1]" }, "run_if": "ALL_SUCCESS", "task_key": "refresh_pipeline", @@ -224,7 +224,7 @@ "--editable /Workspace/Users/[USERNAME]/.bundle/my_default_python/prod/files" ] }, - "id": "[UUID]", + "id": "[UUID][1]", "last_modified": [UNIX_TIME_MILLIS][1], "libraries": [ { @@ -234,18 +234,18 @@ } ], "name": "my_default_python_etl", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][1]", "root_path": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/prod/files/src/my_default_python_etl", "run_as_user_name": "[USERNAME]", "schema": "prod", "state": "IDLE", - "storage": "dbfs:/pipelines/[UUID]" + "storage": "dbfs:/pipelines/[UUID][1]" }, "changes": { "storage": { "action": "skip", "reason": "immutable_backend_value", - "remote": "dbfs:/pipelines/[UUID]" + "remote": "dbfs:/pipelines/[UUID][1]" } } }, @@ -258,7 +258,7 @@ ], "action": "skip", "remote_state": { - "object_id": "/pipelines/[UUID]", + "object_id": "/pipelines/[UUID][1]", "__embed__": [ { "level": "IS_OWNER", diff --git a/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb b/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb index e326a351690..2f65fc2eb31 100644 --- a/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb +++ b/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/sample_notebook.ipynb b/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/sample_notebook.ipynb index ea9c0a8404a..6f52b25d184 100644 --- a/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/sample_notebook.ipynb +++ b/acceptance/bundle/templates/default-python/classic/output/my_default_python/src/sample_notebook.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "title": "" } @@ -24,7 +24,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "title": "" } @@ -48,7 +48,7 @@ "rowLimit": 10000 }, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][2]", "showTitle": false, "title": "" } diff --git a/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb b/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb index e326a351690..2f65fc2eb31 100644 --- a/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb +++ b/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/my_default_python_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/sample_notebook.ipynb b/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/sample_notebook.ipynb index ea9c0a8404a..6f52b25d184 100644 --- a/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/sample_notebook.ipynb +++ b/acceptance/bundle/templates/default-python/serverless/output/my_default_python/src/sample_notebook.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "title": "" } @@ -24,7 +24,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "title": "" } @@ -48,7 +48,7 @@ "rowLimit": 10000 }, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][2]", "showTitle": false, "title": "" } diff --git a/acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb b/acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb index 31eabaf0918..fa0a152d433 100644 --- a/acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb +++ b/acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb b/acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb index 31eabaf0918..fa0a152d433 100644 --- a/acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb +++ b/acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/src/my_lakeflow_pipelines_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/bundle/user_agent/output.txt b/acceptance/bundle/user_agent/output.txt index 458fcaa9638..bb7b5c94d3d 100644 --- a/acceptance/bundle/user_agent/output.txt +++ b/acceptance/bundle/user_agent/output.txt @@ -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] 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] 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] interactive/none auth/pat' +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/workspace/export engine/direct OK deploy /api/2.0/workspace/export engine/direct OK deploy /api/2.0/workspace/export engine/direct @@ -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] 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] 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] interactive/none auth/pat' +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.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 diff --git a/acceptance/bundle/user_agent/simple/out.requests.deploy.json b/acceptance/bundle/user_agent/simple/out.requests.deploy.json index 31bc7b0724a..8479974039e 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.deploy.json +++ b/acceptance/bundle/user_agent/simple/out.requests.deploy.json @@ -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] 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 auth/pat" ] }, "method": "GET", @@ -10,7 +10,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] 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 auth/pat" ] }, "method": "GET", @@ -23,7 +23,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] 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 auth/pat" ] }, "method": "GET", @@ -36,7 +36,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -49,7 +49,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -62,7 +62,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -75,7 +75,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -87,7 +87,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -100,7 +100,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -113,7 +113,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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", @@ -126,7 +126,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -138,7 +138,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -147,7 +147,7 @@ "overwrite": "false" }, "body": { - "ID": "[UUID]", + "ID": "[UUID][1]", "AcquisitionTime": "[TIMESTAMP]", "IsForced": false, "User": "[USERNAME]" @@ -156,7 +156,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -165,7 +165,7 @@ "overwrite": "false" }, "body": { - "ID": "[UUID]", + "ID": "[UUID][1]", "AcquisitionTime": "[TIMESTAMP]", "IsForced": false, "User": "[USERNAME]" @@ -174,7 +174,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -193,13 +193,13 @@ "is_notebook": false } ], - "id": "[UUID]" + "id": "[UUID][2]" } } { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -231,7 +231,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -242,7 +242,7 @@ "body": { "state_version": 3, "cli_version": "[CLI_VERSION]", - "lineage": "[UUID]", + "lineage": "[UUID][3]", "serial": 1, "state": { "resources.schemas.foo": { @@ -258,7 +258,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -271,7 +271,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -283,7 +283,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -295,7 +295,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", @@ -307,7 +307,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct 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": "POST", diff --git a/acceptance/bundle/user_agent/simple/out.requests.destroy.json b/acceptance/bundle/user_agent/simple/out.requests.destroy.json index 87006c49f30..a77a7a20300 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.destroy.json +++ b/acceptance/bundle/user_agent/simple/out.requests.destroy.json @@ -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] 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 auth/pat" ] }, "method": "GET", @@ -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] 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 auth/pat" ] }, "method": "GET", @@ -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] 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 auth/pat" ] }, "method": "GET", @@ -36,7 +36,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "DELETE", @@ -48,7 +48,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "GET", @@ -61,7 +61,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "GET", @@ -73,7 +73,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "GET", @@ -86,7 +86,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "GET", @@ -99,7 +99,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "GET", @@ -108,7 +108,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "POST", @@ -117,7 +117,7 @@ "overwrite": "false" }, "body": { - "ID": "[UUID]", + "ID": "[UUID][1]", "AcquisitionTime": "[TIMESTAMP]", "IsForced": false, "User": "[USERNAME]" @@ -126,7 +126,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "POST", @@ -138,7 +138,7 @@ { "headers": { "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none engine/direct lineage/[LINEAGE_HASH] 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 lineage/[LINEAGE_HASH] auth/pat" ] }, "method": "POST", diff --git a/acceptance/cmd/api/profile-overrides-env/output.txt b/acceptance/cmd/api/profile-overrides-env/output.txt index bba9952d34d..1e49ba5c9ad 100644 --- a/acceptance/cmd/api/profile-overrides-env/output.txt +++ b/acceptance/cmd/api/profile-overrides-env/output.txt @@ -11,7 +11,7 @@ "Bearer [DATABRICKS_TOKEN]" ], "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/api_get cmd-exec-id/[UUID] interactive/none auth/pat" + "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/api_get cmd-exec-id/[UUID][0] interactive/none auth/pat" ], "X-Databricks-Workspace-Id": [ "[WORKSPACE_ID]" @@ -33,7 +33,7 @@ "Bearer [DATABRICKS_TOKEN]" ], "User-Agent": [ - "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/api_get cmd-exec-id/[UUID] interactive/none auth/pat" + "cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/api_get cmd-exec-id/[UUID][1] interactive/none auth/pat" ], "X-Databricks-Workspace-Id": [ "[WORKSPACE_ID]" diff --git a/acceptance/cmd/workspace/apps/output.txt b/acceptance/cmd/workspace/apps/output.txt index 3fe9bf974c0..f4ea28d062a 100644 --- a/acceptance/cmd/workspace/apps/output.txt +++ b/acceptance/cmd/workspace/apps/output.txt @@ -35,7 +35,7 @@ } } ], - "service_principal_client_id": "[UUID]", + "service_principal_client_id": "[UUID][0]", "service_principal_id": [SERVICE_PRINCIPAL_ID], "service_principal_name": "app-test-name", "url": "test-name-123.cloud.databricksapps.com" @@ -77,7 +77,7 @@ } } ], - "service_principal_client_id": "[UUID]", + "service_principal_client_id": "[UUID][1]", "service_principal_id": [SERVICE_PRINCIPAL_ID], "service_principal_name": "app-test-name", "url": "test-name-123.cloud.databricksapps.com" diff --git a/acceptance/cmd/workspace/queries/output.txt b/acceptance/cmd/workspace/queries/output.txt index 20b6395e6b3..91e65bbe98a 100644 --- a/acceptance/cmd/workspace/queries/output.txt +++ b/acceptance/cmd/workspace/queries/output.txt @@ -1,5 +1,5 @@ >>> [CLI] queries list ID Name Author -[UUID] Example query 1 user@acme.com -[UUID] Example query 2 user@acme.com +[UUID][0] Example query 1 user@acme.com +[UUID][1] Example query 2 user@acme.com diff --git a/acceptance/internal/config.go b/acceptance/internal/config.go index 48f5995ee08..6ea79a9578a 100644 --- a/acceptance/internal/config.go +++ b/acceptance/internal/config.go @@ -63,13 +63,6 @@ type TestConfig struct { // Old is a regexp, New is a replacement expression. Repls []testdiff.Replacement - // If true, distinct UUIDs in an output are numbered ([UUID][0], [UUID][1], ...) so - // the golden pins which value appears where. If absent, defaults to false and every - // UUID collapses to [UUID]. Enable it for tests that need to tell distinct UUIDs - // apart; leave it off when they appear in a non-deterministic order (the index - // assignment would be unstable). - UniqueUUID *bool - // List of server stubs to load. Example configuration: // // [[Server]] diff --git a/acceptance/pipelines/dry-run/dry-run-pipeline/output.txt b/acceptance/pipelines/dry-run/dry-run-pipeline/output.txt index a4e2c1eb7a4..6470c25b206 100644 --- a/acceptance/pipelines/dry-run/dry-run-pipeline/output.txt +++ b/acceptance/pipelines/dry-run/dry-run-pipeline/output.txt @@ -4,7 +4,7 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-run/ Created pipelines.my_pipeline Files: 1 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === Dry running pipeline, should have validate_only set to true >>> [CLI] pipelines dry-run @@ -12,12 +12,12 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "validate_only": true } @@ -29,12 +29,12 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][2] -Update ID: [UUID] +Update ID: [UUID][2] { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "validate_only": true } diff --git a/acceptance/pipelines/dry-run/no-wait/output.txt b/acceptance/pipelines/dry-run/no-wait/output.txt index 50e609a6814..e26d2ff1787 100644 --- a/acceptance/pipelines/dry-run/no-wait/output.txt +++ b/acceptance/pipelines/dry-run/no-wait/output.txt @@ -4,7 +4,7 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-run- Created pipelines.my_pipeline Files: 1 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === Dry running pipeline with --no-wait flag >>> [CLI] pipelines dry-run --no-wait @@ -12,6 +12,6 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] diff --git a/acceptance/pipelines/dry-run/restart/output.txt b/acceptance/pipelines/dry-run/restart/output.txt index cf77b26a8e3..ef0456bd478 100644 --- a/acceptance/pipelines/dry-run/restart/output.txt +++ b/acceptance/pipelines/dry-run/restart/output.txt @@ -4,7 +4,7 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-run- Created pipelines.my_pipeline Files: 1 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === Dry running pipeline with --restart flag, should stop the current pipeline and start a new run >>> [CLI] pipelines dry-run --restart @@ -12,18 +12,18 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/stop" + "path": "/api/2.0/pipelines/[UUID][0]/stop" } { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "validate_only": true } diff --git a/acceptance/pipelines/e2e/output.txt b/acceptance/pipelines/e2e/output.txt index a699e7b7143..56ac7b696b3 100644 --- a/acceptance/pipelines/e2e/output.txt +++ b/acceptance/pipelines/e2e/output.txt @@ -22,7 +22,7 @@ Created pipelines.lakeflow_project_etl Files: 13 uploaded, 0 deleted Resources: 2 created, 0 changed, 0 deleted, 0 unchanged View your job sample_job here: [DATABRICKS_URL]/jobs/[SAMPLE_JOB_ID]?w=[WORKSPACE_ID] -View your pipeline lakeflow_project_etl here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline lakeflow_project_etl here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === Run pipeline >>> [CLI] pipelines run @@ -30,9 +30,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] Update for pipeline completed successfully. @@ -46,17 +46,17 @@ Created pipelines.lakeflow_project_etl_2 Files: 1 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 2 unchanged View your job sample_job here: [DATABRICKS_URL]/jobs/[SAMPLE_JOB_ID]?w=[WORKSPACE_ID] -View your pipeline lakeflow_project_etl here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] -View your pipeline lakeflow_project_etl_2 here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline lakeflow_project_etl here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] +View your pipeline lakeflow_project_etl_2 here: [DATABRICKS_URL]/pipelines/[UUID][2]?w=[WORKSPACE_ID] === Assert the second pipeline is created ->>> [CLI] pipelines get [UUID] +>>> [CLI] pipelines get [UUID][2] { "creator_user_name": "[USERNAME]", "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE", "last_modified": [UNIX_TIME_MILLIS], "name": "[dev [USERNAME]] lakeflow_project_etl_2", - "pipeline_id": "[UUID]", + "pipeline_id": "[UUID][2]", "run_as_user_name": "[USERNAME]", "spec": { "channel": "CURRENT", @@ -66,9 +66,9 @@ View your pipeline lakeflow_project_etl_2 here: [DATABRICKS_URL]/pipelines/[UUID }, "development": true, "edition": "ADVANCED", - "id": "[UUID]", + "id": "[UUID][2]", "name": "[dev [USERNAME]] lakeflow_project_etl_2", - "storage": "dbfs:/pipelines/[UUID]", + "storage": "dbfs:/pipelines/[UUID][2]", "tags": { "dev": "[USERNAME]" } @@ -81,9 +81,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][2]/updates/[UUID][3] -Update ID: [UUID] +Update ID: [UUID][3] Update for pipeline completed successfully. diff --git a/acceptance/pipelines/e2e/output/lakeflow_project/src/lakeflow_project_etl/explorations/sample_exploration.ipynb b/acceptance/pipelines/e2e/output/lakeflow_project/src/lakeflow_project_etl/explorations/sample_exploration.ipynb index b83ee2a9abe..1734a4d4c84 100644 --- a/acceptance/pipelines/e2e/output/lakeflow_project/src/lakeflow_project_etl/explorations/sample_exploration.ipynb +++ b/acceptance/pipelines/e2e/output/lakeflow_project/src/lakeflow_project_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/pipelines/init/python/output/my_python_project/src/my_python_project_etl/explorations/sample_exploration.ipynb b/acceptance/pipelines/init/python/output/my_python_project/src/my_python_project_etl/explorations/sample_exploration.ipynb index 4135310a57f..9489efa656c 100644 --- a/acceptance/pipelines/init/python/output/my_python_project/src/my_python_project_etl/explorations/sample_exploration.ipynb +++ b/acceptance/pipelines/init/python/output/my_python_project/src/my_python_project_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/pipelines/init/sql/output/my_sql_project/src/my_sql_project_etl/explorations/sample_exploration.ipynb b/acceptance/pipelines/init/sql/output/my_sql_project/src/my_sql_project_etl/explorations/sample_exploration.ipynb index 6c0c2f1f4e7..9c8c265cfc7 100644 --- a/acceptance/pipelines/init/sql/output/my_sql_project/src/my_sql_project_etl/explorations/sample_exploration.ipynb +++ b/acceptance/pipelines/init/sql/output/my_sql_project/src/my_sql_project_etl/explorations/sample_exploration.ipynb @@ -6,7 +6,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][0]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" @@ -27,7 +27,7 @@ "application/vnd.databricks.v1+cell": { "cellMetadata": {}, "inputWidgets": {}, - "nuid": "[UUID]", + "nuid": "[UUID][1]", "showTitle": false, "tableResultSettingsMap": {}, "title": "" diff --git a/acceptance/pipelines/run/no-wait/output.txt b/acceptance/pipelines/run/no-wait/output.txt index ff1d3d832b2..0378c4cfbcc 100644 --- a/acceptance/pipelines/run/no-wait/output.txt +++ b/acceptance/pipelines/run/no-wait/output.txt @@ -4,7 +4,7 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-run- Created pipelines.my_pipeline Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === test --no-wait flag >>> [CLI] pipelines run --no-wait @@ -12,9 +12,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] Update for pipeline completed successfully. diff --git a/acceptance/pipelines/run/refresh-flags/output.txt b/acceptance/pipelines/run/refresh-flags/output.txt index 68dcd0c9a23..9887b899820 100644 --- a/acceptance/pipelines/run/refresh-flags/output.txt +++ b/acceptance/pipelines/run/refresh-flags/output.txt @@ -4,7 +4,7 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-run- Created pipelines.my_pipeline Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === Running pipeline with --refresh flag and specific tables >>> [CLI] pipelines run --refresh table1,table2 @@ -12,9 +12,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] Update for pipeline completed successfully. @@ -24,7 +24,7 @@ Pipeline configurations for this update: >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "refresh_selection": [ "table1", @@ -39,9 +39,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][2] -Update ID: [UUID] +Update ID: [UUID][2] Update for pipeline completed successfully. @@ -51,7 +51,7 @@ Pipeline configurations for this update: >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "full_refresh": true } @@ -63,9 +63,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][3] -Update ID: [UUID] +Update ID: [UUID][3] Update for pipeline completed successfully. @@ -75,7 +75,7 @@ Pipeline configurations for this update: >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "full_refresh_selection": [ "table1", @@ -90,9 +90,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][4] -Update ID: [UUID] +Update ID: [UUID][4] Update for pipeline completed successfully. @@ -102,7 +102,7 @@ Pipeline configurations for this update: >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": { "full_refresh_selection": [ "table1", diff --git a/acceptance/pipelines/run/restart/output.txt b/acceptance/pipelines/run/restart/output.txt index 07a3215d5dd..f1098f0af08 100644 --- a/acceptance/pipelines/run/restart/output.txt +++ b/acceptance/pipelines/run/restart/output.txt @@ -4,7 +4,7 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-run- Created pipelines.my_pipeline Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] === Running pipeline with --restart flag >>> [CLI] pipelines run --restart @@ -12,9 +12,9 @@ Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] Update for pipeline completed successfully. @@ -24,10 +24,10 @@ Pipeline configurations for this update: >>> print_requests.py //pipelines { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/stop" + "path": "/api/2.0/pipelines/[UUID][0]/stop" } { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/updates", + "path": "/api/2.0/pipelines/[UUID][0]/updates", "body": {} } diff --git a/acceptance/pipelines/stop/output.txt b/acceptance/pipelines/stop/output.txt index 76587739aed..1f14be93164 100644 --- a/acceptance/pipelines/stop/output.txt +++ b/acceptance/pipelines/stop/output.txt @@ -4,16 +4,16 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-pipeline-stop Created pipelines.my_pipeline Files: 2 uploaded, 0 deleted Resources: 1 created, 0 changed, 0 deleted, 0 unchanged -View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID]?w=[WORKSPACE_ID] +View your pipeline my_pipeline here: [DATABRICKS_URL]/pipelines/[UUID][0]?w=[WORKSPACE_ID] >>> [CLI] pipelines run Recommendation: This command runs the last deployed version of the code If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included. -Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID]/updates/[UUID] +Update URL: [DATABRICKS_URL]/#joblist/pipelines/[UUID][0]/updates/[UUID][1] -Update ID: [UUID] +Update ID: [UUID][1] Update for pipeline completed successfully. @@ -26,7 +26,7 @@ Stopping my_pipeline... my_pipeline has been stopped. { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/stop" + "path": "/api/2.0/pipelines/[UUID][0]/stop" } === Stopping pipeline with KEY, expect same output as without KEY @@ -35,5 +35,5 @@ Stopping my_pipeline... my_pipeline has been stopped. { "method": "POST", - "path": "/api/2.0/pipelines/[UUID]/stop" + "path": "/api/2.0/pipelines/[UUID][0]/stop" } diff --git a/acceptance/selftest/uuid/test.toml b/acceptance/selftest/uuid/test.toml deleted file mode 100644 index 23a178a1b99..00000000000 --- a/acceptance/selftest/uuid/test.toml +++ /dev/null @@ -1,2 +0,0 @@ -# Opt in to UUID numbering so distinct UUIDs in the output can be told apart. -UniqueUUID = true diff --git a/acceptance/selftest/uuid_not_unique/out.test.toml b/acceptance/selftest/uuid_not_unique/out.test.toml deleted file mode 100644 index 18b1a88417e..00000000000 --- a/acceptance/selftest/uuid_not_unique/out.test.toml +++ /dev/null @@ -1 +0,0 @@ -Cloud = false diff --git a/acceptance/selftest/uuid_not_unique/output.txt b/acceptance/selftest/uuid_not_unique/output.txt deleted file mode 100644 index 864022e8059..00000000000 --- a/acceptance/selftest/uuid_not_unique/output.txt +++ /dev/null @@ -1,4 +0,0 @@ - -=== UniqueUUID = false collapses every UUID to [UUID] -first: [UUID] -second: [UUID] diff --git a/acceptance/selftest/uuid_not_unique/script b/acceptance/selftest/uuid_not_unique/script deleted file mode 100644 index 4778cf7c88a..00000000000 --- a/acceptance/selftest/uuid_not_unique/script +++ /dev/null @@ -1,3 +0,0 @@ -title "UniqueUUID = false collapses every UUID to [UUID]\n" -echo "first: 11111111-1111-1111-1111-111111111111" -echo "second: 22222222-2222-2222-2222-222222222222" diff --git a/acceptance/selftest/uuid_not_unique/test.toml b/acceptance/selftest/uuid_not_unique/test.toml deleted file mode 100644 index 6f0c2d4c2ec..00000000000 --- a/acceptance/selftest/uuid_not_unique/test.toml +++ /dev/null @@ -1,5 +0,0 @@ -# Opt out of UUID numbering: every UUID collapses to [UUID], regardless of value. -# Use this for tests that emit multiple distinct UUIDs in a non-deterministic order -# (the [N] assignment would be unstable), or where the distinction is not worth the -# extra tokens. -UniqueUUID = false diff --git a/acceptance/telemetry/failure/output.txt b/acceptance/telemetry/failure/output.txt index a4a56f92e22..ef78fed75a8 100644 --- a/acceptance/telemetry/failure/output.txt +++ b/acceptance/telemetry/failure/output.txt @@ -18,8 +18,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS][0] > } @@ -34,8 +34,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS][1] > } @@ -50,8 +50,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS][2] > } @@ -66,11 +66,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th >>> cat [OUTPUT_DIR]/out.requests.txt { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -84,11 +84,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -102,11 +102,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -120,11 +120,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -138,11 +138,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -156,11 +156,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", diff --git a/acceptance/telemetry/partial-success/output.txt b/acceptance/telemetry/partial-success/output.txt index cfcda42e67d..c0f13e759bd 100644 --- a/acceptance/telemetry/partial-success/output.txt +++ b/acceptance/telemetry/partial-success/output.txt @@ -18,8 +18,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS][0] > } @@ -33,8 +33,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS][1] > } @@ -48,8 +48,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS][2] > } @@ -63,11 +63,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th >>> cat [OUTPUT_DIR]/out.requests.txt { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -81,11 +81,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -99,11 +99,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -117,11 +117,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -135,11 +135,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -153,11 +153,11 @@ HH:MM:SS Info: telemetry upload failed: failed to upload telemetry logs after th } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", diff --git a/acceptance/telemetry/success/output.txt b/acceptance/telemetry/success/output.txt index 67a3874fe77..1b8e528deed 100644 --- a/acceptance/telemetry/success/output.txt +++ b/acceptance/telemetry/success/output.txt @@ -18,8 +18,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS] > } @@ -32,7 +32,7 @@ HH:MM:SS Debug: All 2 logs uploaded successfully pid=PID >>> cat [OUTPUT_DIR]/out.requests.txt { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { @@ -50,7 +50,7 @@ HH:MM:SS Debug: All 2 logs uploaded successfully pid=PID } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { diff --git a/acceptance/telemetry/timeout/output.txt b/acceptance/telemetry/timeout/output.txt index 550fe861652..53d3135f17a 100644 --- a/acceptance/telemetry/timeout/output.txt +++ b/acceptance/telemetry/timeout/output.txt @@ -18,8 +18,8 @@ HH:MM:SS Debug: POST /telemetry-ext > { > "items": null, > "protoLogs": [ -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", -> "{\"frontend_log_event_id\":\"[UUID]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" +> "{\"frontend_log_event_id\":\"[UUID][0]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)", +> "{\"frontend_log_event_id\":\"[UUID][1]\",\"entry\":{\"databricks_cli_log\":{\"... (N more bytes)" > ], > "uploadTime": [UNIX_TIME_MILLIS] > } @@ -30,11 +30,11 @@ HH:MM:SS Info: telemetry upload failed: uploading telemetry logs timed out: Post >>> cat [OUTPUT_DIR]/out.requests.txt { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][0]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", @@ -48,11 +48,11 @@ HH:MM:SS Info: telemetry upload failed: uploading telemetry logs timed out: Post } } { - "frontend_log_event_id": "[UUID]", + "frontend_log_event_id": "[UUID][1]", "entry": { "databricks_cli_log": { "execution_context": { - "cmd_exec_id": "[UUID]", + "cmd_exec_id": "[UUID][2]", "version": "[CLI_VERSION]", "command": "selftest_send-telemetry", "operating_system": "[OS]", diff --git a/libs/testdiff/replacement.go b/libs/testdiff/replacement.go index 26ea0669862..6df2ade8434 100644 --- a/libs/testdiff/replacement.go +++ b/libs/testdiff/replacement.go @@ -227,13 +227,12 @@ func PrepareReplacementsUser(t testutil.TestingT, r *ReplacementsContext, u iam. } } -// PrepareReplacementsUUID registers the UUID replacement. When unique is true, -// distinct UUIDs in a single output are numbered ([UUID][0], [UUID][1], ...) so the -// golden pins which value appears where; a single distinct UUID stays [UUID], even -// if repeated. When false, every UUID collapses to [UUID] regardless of value. -func PrepareReplacementsUUID(t testutil.TestingT, r *ReplacementsContext, unique bool) { +// PrepareReplacementsUUID registers the UUID replacement. Distinct UUIDs in a single +// output are numbered ([UUID][0], [UUID][1], ...) so the golden pins which value +// appears where; a single distinct UUID stays [UUID], even if repeated. +func PrepareReplacementsUUID(t testutil.TestingT, r *ReplacementsContext) { t.Helper() - r.Repls = append(r.Repls, Replacement{Old: uuidRegex, New: "[UUID]", Distinct: unique}) + r.Repls = append(r.Repls, Replacement{Old: uuidRegex, New: "[UUID]", Distinct: true}) } func PrepareReplacementSdkVersion(t testutil.TestingT, r *ReplacementsContext) { diff --git a/libs/testdiff/replacement_test.go b/libs/testdiff/replacement_test.go index 910d004c871..53e025b4ff5 100644 --- a/libs/testdiff/replacement_test.go +++ b/libs/testdiff/replacement_test.go @@ -24,7 +24,7 @@ func TestReplacement_Encoded(t *testing.T) { func TestReplacement_UUID(t *testing.T) { var repls ReplacementsContext - PrepareReplacementsUUID(t, &repls, true) + PrepareReplacementsUUID(t, &repls) // A lone UUID stays unsuffixed. assert.Equal(t, "[UUID]", repls.Replace("123e4567-e89b-12d3-a456-426614174000")) @@ -33,7 +33,7 @@ func TestReplacement_UUID(t *testing.T) { func TestReplacement_UUIDUnique(t *testing.T) { var repls ReplacementsContext - PrepareReplacementsUUID(t, &repls, true) + PrepareReplacementsUUID(t, &repls) input := "a: 123e4567-e89b-12d3-a456-426614174000\n" + "b: 00000000-0000-0000-0000-000000000001\n" + @@ -44,18 +44,6 @@ func TestReplacement_UUIDUnique(t *testing.T) { assert.Equal(t, expected, repls.Replace(input)) } -func TestReplacement_UUIDNotUnique(t *testing.T) { - var repls ReplacementsContext - - PrepareReplacementsUUID(t, &repls, false) - - input := "a: 123e4567-e89b-12d3-a456-426614174000\n" + - "b: 00000000-0000-0000-0000-000000000001" - expected := "a: [UUID]\n" + - "b: [UUID]" - assert.Equal(t, expected, repls.Replace(input)) -} - func TestReplacement_Distinct(t *testing.T) { rc := ReplacementsContext{Repls: []Replacement{ {Old: regexp.MustCompile(`\d+`), New: "[NUMBER]", Distinct: true},