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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions acceptance/bundle/dms/declined-deploy/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_CREATE"
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_key": "schemas.foo"
}
]
],
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -46,7 +46,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "main.dms_declined_deploy_schema_[UNIQUE_NAME]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"catalog_name\":\"main\",\"name\":\"dms_declined_deploy_schema_[UNIQUE_NAME]\"}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down Expand Up @@ -174,14 +174,14 @@ false
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DESTROY",
"previous_version_id": "1",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_DELETE"
"action_type": "OPERATION_ACTION_TYPE_DELETE",
"resource_key": "schemas.foo"
}
]
],
"previous_version_id": "1",
"version_type": "VERSION_TYPE_DESTROY"
}
}
{
Expand All @@ -192,7 +192,7 @@ false
},
"body": {
"error_message": "",
"sequence_id": "0",
"sequence_id": 0,
"status": "OPERATION_STATUS_SUCCEEDED"
}
}
Expand Down
4 changes: 2 additions & 2 deletions acceptance/bundle/dms/depends-on/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "[NUMID]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"deployment\":{\"deployment_id\":\"[NUMID]\",\"kind\":\"BUNDLE\",\"metadata_file_path\":\"/Workspace/Users/[USERNAME]/.bundle/dms-depends-on-[UNIQUE_NAME]/default/state/metadata.json\",\"version_id\":\"1\"},\"edit_mode\":\"UI_LOCKED\",\"format\":\"MULTI_TASK\",\"max_concurrent_runs\":1,\"name\":\"parent\",\"queue\":{\"enabled\":true}}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand All @@ -47,7 +47,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "[NUMID]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"deployment\":{\"deployment_id\":\"[NUMID]\",\"kind\":\"BUNDLE\",\"metadata_file_path\":\"/Workspace/Users/[USERNAME]/.bundle/dms-depends-on-[UNIQUE_NAME]/default/state/metadata.json\",\"version_id\":\"1\"},\"description\":\"depends on [NUMID]\",\"edit_mode\":\"UI_LOCKED\",\"format\":\"MULTI_TASK\",\"max_concurrent_runs\":1,\"name\":\"child\",\"queue\":{\"enabled\":true}},\"depends_on\":[{\"node\":\"resources.jobs.parent\",\"label\":\"${resources.jobs.parent.id}\"}]}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down
10 changes: 5 additions & 5 deletions acceptance/bundle/dms/deployment-metadata-change/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_CREATE"
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_key": "schemas.foo"
}
]
],
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -46,7 +46,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "main.dms_metadata_schema_[UNIQUE_NAME]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"catalog_name\":\"main\",\"name\":\"dms_metadata_schema_[UNIQUE_NAME]\"}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down
28 changes: 14 additions & 14 deletions acceptance/bundle/dms/empty-grants/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_CREATE"
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_key": "schemas.foo"
},
{
"resource_key": "schemas.foo.grants",
"action_type": "OPERATION_ACTION_TYPE_CREATE"
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_key": "schemas.foo.grants"
}
]
],
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -51,7 +51,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "main.dms_empty_grants_[UNIQUE_NAME]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"catalog_name\":\"main\",\"name\":\"dms_empty_grants_[UNIQUE_NAME]\"}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand All @@ -65,7 +65,7 @@ Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "schema/main.dms_empty_grants_[UNIQUE_NAME]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"securable_type\":\"schema\",\"full_name\":\"main.dms_empty_grants_[UNIQUE_NAME]\",\"__embed__\":[{\"principal\":\"deco-test-user@databricks.com\",\"privileges\":[\"USE_SCHEMA\"]}]},\"depends_on\":[{\"node\":\"resources.schemas.foo\",\"label\":\"${resources.schemas.foo.id}\"}]}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down Expand Up @@ -96,14 +96,14 @@ Resources: 0 created, 1 changed, 0 deleted, 1 unchanged
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"previous_version_id": "1",
"operations": [
{
"resource_key": "schemas.foo.grants",
"action_type": "OPERATION_ACTION_TYPE_UPDATE"
"action_type": "OPERATION_ACTION_TYPE_UPDATE",
"resource_key": "schemas.foo.grants"
}
]
],
"previous_version_id": "1",
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -114,7 +114,7 @@ Resources: 0 created, 1 changed, 0 deleted, 1 unchanged
},
"body": {
"error_message": "",
"sequence_id": "0",
"sequence_id": 0,
"status": "OPERATION_STATUS_SUCCEEDED"
}
}
Expand Down
4 changes: 2 additions & 2 deletions acceptance/bundle/dms/existing-state/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged

>>> print_requests.py --dms //api/2.0/bundle --oneline
{"method": "POST", "path": "/api/2.0/bundle/deployments", "body": {"display_name": "dms-existing-state-[UNIQUE_NAME]", "initial_parent_path": "/Workspace/Users/[USERNAME]/.bundle/dms-existing-state-[UNIQUE_NAME]/default/state", "target_name": "default", "workspace_info": {"file_path": "/Workspace/Users/[USERNAME]/.bundle/dms-existing-state-[UNIQUE_NAME]/default/files", "root_path": "/Workspace/Users/[USERNAME]/.bundle/dms-existing-state-[UNIQUE_NAME]/default"}}}
{"method": "POST", "path": "/api/2.0/bundle/deployments/[NUMID]/versions", "q": {"version_id": "1"}, "body": {"cli_version": "[CLI_VERSION]", "version_type": "VERSION_TYPE_DEPLOY", "operations": [{"resource_key": "jobs.one", "action_type": "OPERATION_ACTION_TYPE_CREATE"}]}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.one", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": "0", "state": "{\"state\":{\"deployment\":{\"deployment_id\":\"[NUMID]\",\"kind\":\"BUNDLE\",\"metadata_file_path\":\"/Workspace/Users/[USERNAME]/.bundle/dms-existing-state-[UNIQUE_NAME]/default/state/metadata.json\",\"version_id\":\"1\"},\"edit_mode\":\"UI_LOCKED\",\"format\":\"MULTI_TASK\",\"max_concurrent_runs\":1,\"name\":\"one\",\"queue\":{\"enabled\":true}}}", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "POST", "path": "/api/2.0/bundle/deployments/[NUMID]/versions", "q": {"version_id": "1"}, "body": {"cli_version": "[CLI_VERSION]", "operations": [{"action_type": "OPERATION_ACTION_TYPE_CREATE", "resource_key": "jobs.one"}], "version_type": "VERSION_TYPE_DEPLOY"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.one", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": 0, "state": "{\"state\":{\"deployment\":{\"deployment_id\":\"[NUMID]\",\"kind\":\"BUNDLE\",\"metadata_file_path\":\"/Workspace/Users/[USERNAME]/.bundle/dms-existing-state-[UNIQUE_NAME]/default/state/metadata.json\",\"version_id\":\"1\"},\"edit_mode\":\"UI_LOCKED\",\"format\":\"MULTI_TASK\",\"max_concurrent_runs\":1,\"name\":\"one\",\"queue\":{\"enabled\":true}}}", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "POST", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/complete", "body": {"completion_reason": "VERSION_COMPLETE_SUCCESS"}}

>>> find.py resources[.]json[.]wal --expect 0
Expand Down
22 changes: 11 additions & 11 deletions acceptance/bundle/dms/failed-delete/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"operations": [
{
"resource_key": "jobs.stuck",
"action_type": "OPERATION_ACTION_TYPE_CREATE"
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_key": "jobs.stuck"
}
]
],
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -46,7 +46,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "[NUMID]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"deployment\":{\"deployment_id\":\"[NUMID]\",\"kind\":\"BUNDLE\",\"metadata_file_path\":\"/Workspace/Users/[USERNAME]/.bundle/dms-failed-delete-[UNIQUE_NAME]/default/state/metadata.json\",\"version_id\":\"1\"},\"edit_mode\":\"UI_LOCKED\",\"format\":\"MULTI_TASK\",\"max_concurrent_runs\":1,\"name\":\"stuck\",\"queue\":{\"enabled\":true}}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down Expand Up @@ -122,14 +122,14 @@ API message: Fault injected by test.
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DESTROY",
"previous_version_id": "1",
"operations": [
{
"resource_key": "jobs.stuck",
"action_type": "OPERATION_ACTION_TYPE_DELETE"
"action_type": "OPERATION_ACTION_TYPE_DELETE",
"resource_key": "jobs.stuck"
}
]
],
"previous_version_id": "1",
"version_type": "VERSION_TYPE_DESTROY"
}
}
{
Expand All @@ -141,7 +141,7 @@ API message: Fault injected by test.
"body": {
"error_message": "deleting id=[NUMID]: Fault injected by test. (400 INVALID_PARAMETER_VALUE)",
"resource_id": "[NUMID]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"deployment\":{\"deployment_id\":\"[NUMID]\",\"kind\":\"BUNDLE\",\"metadata_file_path\":\"/Workspace/Users/[USERNAME]/.bundle/dms-failed-delete-[UNIQUE_NAME]/default/state/metadata.json\",\"version_id\":\"1\"},\"edit_mode\":\"UI_LOCKED\",\"format\":\"MULTI_TASK\",\"max_concurrent_runs\":1,\"name\":\"stuck\",\"queue\":{\"enabled\":true}}}",
"status": "OPERATION_STATUS_FAILED"
}
Expand Down
24 changes: 12 additions & 12 deletions acceptance/bundle/dms/failed-recreate/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_CREATE"
"action_type": "OPERATION_ACTION_TYPE_CREATE",
"resource_key": "schemas.foo"
}
]
],
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -46,7 +46,7 @@ Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
"body": {
"error_message": "",
"resource_id": "main.dms_failed_recreate_schema_[UNIQUE_NAME]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"catalog_name\":\"main\",\"comment\":\"v1\",\"name\":\"dms_failed_recreate_schema_[UNIQUE_NAME]\"}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down Expand Up @@ -124,14 +124,14 @@ Files: 4 uploaded, 0 deleted
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"previous_version_id": "1",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_RECREATE"
"action_type": "OPERATION_ACTION_TYPE_RECREATE",
"resource_key": "schemas.foo"
}
]
],
"previous_version_id": "1",
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -142,7 +142,7 @@ Files: 4 uploaded, 0 deleted
},
"body": {
"error_message": "",
"sequence_id": "0",
"sequence_id": 0,
"status": "OPERATION_STATUS_PENDING"
}
}
Expand All @@ -154,7 +154,7 @@ Files: 4 uploaded, 0 deleted
},
"body": {
"error_message": "Fault injected by test. (400 INVALID_PARAMETER_VALUE)",
"sequence_id": "1",
"sequence_id": 1,
"status": "OPERATION_STATUS_FAILED"
}
}
Expand Down
4 changes: 2 additions & 2 deletions acceptance/bundle/dms/failed-update-permissions/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ Files: 3 uploaded, 0 deleted
}

>>> print_requests.py --dms //api/2.0/bundle --oneline
{"method": "POST", "path": "/api/2.0/bundle/deployments/[NUMID]/versions", "q": {"version_id": "2"}, "body": {"cli_version": "[CLI_VERSION]", "version_type": "VERSION_TYPE_DEPLOY", "previous_version_id": "1", "operations": [{"resource_key": "jobs.foo.permissions", "action_type": "OPERATION_ACTION_TYPE_UPDATE"}]}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/2/operations/jobs.foo.permissions", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "updating id=/jobs/[NUMID]: Fault injected by test. (403 PERMISSION_DENIED)", "resource_id": "/jobs/[NUMID]", "sequence_id": "0", "state": "{\"state\":{\"object_id\":\"/jobs/[NUMID]\",\"__embed__\":[{\"level\":\"CAN_VIEW\",\"user_name\":\"viewer@example.com\"},{\"level\":\"IS_OWNER\",\"user_name\":\"[USERNAME]\"}]},\"depends_on\":[{\"node\":\"resources.jobs.foo\",\"label\":\"${resources.jobs.foo.id}\"}]}", "status": "OPERATION_STATUS_FAILED"}}
{"method": "POST", "path": "/api/2.0/bundle/deployments/[NUMID]/versions", "q": {"version_id": "2"}, "body": {"cli_version": "[CLI_VERSION]", "operations": [{"action_type": "OPERATION_ACTION_TYPE_UPDATE", "resource_key": "jobs.foo.permissions"}], "previous_version_id": "1", "version_type": "VERSION_TYPE_DEPLOY"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/2/operations/jobs.foo.permissions", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "updating id=/jobs/[NUMID]: Fault injected by test. (403 PERMISSION_DENIED)", "resource_id": "/jobs/[NUMID]", "sequence_id": 0, "state": "{\"state\":{\"object_id\":\"/jobs/[NUMID]\",\"__embed__\":[{\"level\":\"CAN_VIEW\",\"user_name\":\"viewer@example.com\"},{\"level\":\"IS_OWNER\",\"user_name\":\"[USERNAME]\"}]},\"depends_on\":[{\"node\":\"resources.jobs.foo\",\"label\":\"${resources.jobs.foo.id}\"}]}", "status": "OPERATION_STATUS_FAILED"}}
{"method": "POST", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/2/complete", "body": {"completion_reason": "VERSION_COMPLETE_FAILURE"}}
10 changes: 5 additions & 5 deletions acceptance/bundle/dms/multiple-resources/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Files: 5 uploaded, 0 deleted
Resources: 5 created, 0 changed, 0 deleted, 0 unchanged

>>> print_requests.py --dms //versions/1/operations --sort --del-body state --oneline
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.five", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": "0", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.four", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": "0", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.one", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": "0", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.three", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": "0", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.two", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": "0", "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.five", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": 0, "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.four", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": 0, "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.one", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": 0, "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.three", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": 0, "status": "OPERATION_STATUS_SUCCEEDED"}}
{"method": "PATCH", "path": "/api/2.0/bundle/deployments/[NUMID]/versions/1/operations/jobs.two", "q": {"update_mask": "state,error_message,resource_id,status"}, "body": {"error_message": "", "resource_id": "[NUMID]", "sequence_id": 0, "status": "OPERATION_STATUS_SUCCEEDED"}}

=== The plan records the deployment_history feature
>>> [CLI] bundle plan -o json
Expand Down
14 changes: 7 additions & 7 deletions acceptance/bundle/dms/operation-upload-fails-once/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ Files: 4 uploaded, 0 deleted
},
"body": {
"cli_version": "[CLI_VERSION]",
"version_type": "VERSION_TYPE_DEPLOY",
"previous_version_id": "1",
"operations": [
{
"resource_key": "schemas.foo",
"action_type": "OPERATION_ACTION_TYPE_RECREATE"
"action_type": "OPERATION_ACTION_TYPE_RECREATE",
"resource_key": "schemas.foo"
}
]
],
"previous_version_id": "1",
"version_type": "VERSION_TYPE_DEPLOY"
}
}
{
Expand All @@ -111,7 +111,7 @@ Files: 4 uploaded, 0 deleted
},
"body": {
"error_message": "",
"sequence_id": "0",
"sequence_id": 0,
"status": "OPERATION_STATUS_PENDING"
}
}
Expand All @@ -124,7 +124,7 @@ Files: 4 uploaded, 0 deleted
"body": {
"error_message": "",
"resource_id": "dms_other_[UNIQUE_NAME].dms_upload_fails_once_schema_[UNIQUE_NAME]",
"sequence_id": "0",
"sequence_id": 0,
"state": "{\"state\":{\"catalog_name\":\"dms_other_[UNIQUE_NAME]\",\"comment\":\"v1\",\"name\":\"dms_upload_fails_once_schema_[UNIQUE_NAME]\"}}",
"status": "OPERATION_STATUS_SUCCEEDED"
}
Expand Down
Loading
Loading