From fd914252c282a4ebf66464af82df6547b0e91daa Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Thu, 29 Jan 2026 06:31:21 +0000 Subject: [PATCH 1/4] Records new tests for import --- .../test_import/class_setup.yaml | 64 +- ...mport_create_new_item_fail[Dashboard].yaml | 221 +++ ...import_create_new_item_fail[Datamart].yaml | 221 +++ ...mport_create_new_item_fail[Lakehouse].yaml | 221 +++ ...rt_create_new_item_fail[MLExperiment].yaml | 221 +++ ..._import_create_new_item_fail[MLModel].yaml | 221 +++ ...eate_new_item_fail[MirroredWarehouse].yaml | 221 +++ ...create_new_item_fail[PaginatedReport].yaml | 221 +++ ...ort_create_new_item_fail[SQLEndpoint].yaml | 221 +++ ...mport_create_new_item_fail[Warehouse].yaml | 221 +++ ...create_new_item_success[DataPipeline].yaml | 796 ++++++++++ ...t_create_new_item_success[Eventhouse].yaml | 1099 +++++++++++++ ...create_new_item_success[KQLDashboard].yaml | 946 +++++++++++ ..._create_new_item_success[KQLDatabase].yaml | 1220 +++++++++++++++ ..._create_new_item_success[KQLQueryset].yaml | 879 +++++++++++ ...te_new_item_success[MirroredDatabase].yaml | 911 +++++++++++ ...ort_create_new_item_success[Notebook].yaml | 1074 +++++++++++++ ...mport_create_new_item_success[Reflex].yaml | 929 +++++++++++ ...mport_create_new_item_success[Report].yaml | 1303 ++++++++++++++++ ..._create_new_item_success[SQLDatabase].yaml | 1378 +++++++++++++++++ ...reate_new_item_success[SemanticModel].yaml | 1144 ++++++++++++++ ..._new_item_success[SparkJobDefinition].yaml | 786 ++++++++++ ...e_existing_item_success[DataPipeline].yaml | 715 +++++++++ ...te_existing_item_success[Environment].yaml | 1017 ++++++++++++ ...te_existing_item_success[Eventstream].yaml | 817 ++++++++++ ...e_existing_item_success[KQLDashboard].yaml | 713 +++++++++ ...te_existing_item_success[KQLQueryset].yaml | 713 +++++++++ ...isting_item_success[MirroredDatabase].yaml | 715 +++++++++ ...pdate_existing_item_success[Notebook].yaml | 1019 ++++++++++++ ..._update_existing_item_success[Reflex].yaml | 711 +++++++++ ...ting_item_success[SparkJobDefinition].yaml | 716 +++++++++ 31 files changed, 21622 insertions(+), 32 deletions(-) create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Dashboard].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Datamart].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Lakehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLExperiment].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLModel].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MirroredWarehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[PaginatedReport].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[SQLEndpoint].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Warehouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[DataPipeline].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Eventhouse].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDashboard].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLQueryset].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[MirroredDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Notebook].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Reflex].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Report].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SQLDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SemanticModel].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SparkJobDefinition].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DataPipeline].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Environment].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Eventstream].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLDashboard].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLQueryset].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[MirroredDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Notebook].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Reflex].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[SparkJobDefinition].yaml diff --git a/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml index 5db0ccba..f24c8406 100644 --- a/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml @@ -11,7 +11,7 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (None; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: @@ -26,15 +26,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1152' + - '2271' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:10 GMT + - Thu, 29 Jan 2026 06:27:01 GMT Pragma: - no-cache RequestId: - - 5fb857bb-dad0-4d59-8e95-af454d3c1e13 + - ef2f8ef9-b319-4e05-a789-796a06681ce3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -60,7 +60,7 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (None; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: @@ -75,15 +75,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1152' + - '2271' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:10 GMT + - Thu, 29 Jan 2026 06:27:01 GMT Pragma: - no-cache RequestId: - - 278050fb-f499-462d-a172-a53340d33673 + - e23da189-1140-4ab7-b132-8dd3d64a21ea Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -109,13 +109,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (None; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/capacities response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F2", "region": "Central US", "state": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '873' + - '426' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:15 GMT + - Thu, 29 Jan 2026 06:27:08 GMT Pragma: - no-cache RequestId: - - fe25c410-1bd6-43dc-9d50-76631d2cf4e6 + - cff67e2e-79eb-4e46-aa8e-09d229679d73 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -162,12 +162,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (None; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: POST uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "7c496136-3bd9-4ab1-87de-ca254cb8bb5b", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '190' + - '187' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:24 GMT + - Thu, 29 Jan 2026 06:27:17 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/7c496136-3bd9-4ab1-87de-ca254cb8bb5b + - https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531 Pragma: - no-cache RequestId: - - db93580e-a242-4252-867f-e17a62c441f4 + - 5b4af428-d950-4953-828e-29d282e29841 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -213,13 +213,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (import; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "7c496136-3bd9-4ab1-87de-ca254cb8bb5b", + "My workspace", "description": "", "type": "Personal"}, {"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1187' + - '2303' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:48 GMT + - Thu, 29 Jan 2026 06:27:58 GMT Pragma: - no-cache RequestId: - - 411459f1-70f4-45b8-9b2a-40b505190b40 + - 02c19783-9749-416e-a037-a68904df2931 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -264,9 +264,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (import; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/7c496136-3bd9-4ab1-87de-ca254cb8bb5b/items + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items response: body: string: '{"value": []}' @@ -282,11 +282,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:49 GMT + - Thu, 29 Jan 2026 06:27:58 GMT Pragma: - no-cache RequestId: - - 0e2c4aa3-640e-4fea-94d6-739f1904563c + - abd2c60a-4694-4a3d-a0b6-e72ee173ca68 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -314,9 +314,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.2.0 (import; Linux; aarch64; 6.10.14-linuxkit) + - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/7c496136-3bd9-4ab1-87de-ca254cb8bb5b + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531 response: body: string: '' @@ -332,11 +332,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Mon, 15 Dec 2025 08:47:50 GMT + - Thu, 29 Jan 2026 06:28:00 GMT Pragma: - no-cache RequestId: - - cf0e88ef-5222-46f8-9fe7-cd06b42fe6ae + - 4d466c46-d9e4-414b-a859-ad77a8fa59d0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Dashboard].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Dashboard].yaml new file mode 100644 index 00000000..40955eb6 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Dashboard].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:21 GMT + Pragma: + - no-cache + RequestId: + - dfbbc57e-229e-4cc7-8bf8-fba26333c091 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:22 GMT + Pragma: + - no-cache + RequestId: + - 7135ef6d-40c0-4697-9666-a94f70665955 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:23 GMT + Pragma: + - no-cache + RequestId: + - 4ace4961-a42e-425a-afe1-a753924c9c50 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Datamart].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Datamart].yaml new file mode 100644 index 00000000..62d9a04d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Datamart].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:23 GMT + Pragma: + - no-cache + RequestId: + - 5491bb81-a16f-4951-9ac6-eecfd342be4a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:25 GMT + Pragma: + - no-cache + RequestId: + - 658b249a-d6ab-4c9a-a9f9-8ac82aa4a7a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:25 GMT + Pragma: + - no-cache + RequestId: + - 8152ea44-a7bf-4590-9266-f739e2ee26aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Lakehouse].yaml new file mode 100644 index 00000000..ddaf54a2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Lakehouse].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:26 GMT + Pragma: + - no-cache + RequestId: + - 5096f09f-4068-4131-96d3-5cf07dfebed4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:27 GMT + Pragma: + - no-cache + RequestId: + - b333f851-182a-476d-b1c8-b4f9fedd7fe6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:27 GMT + Pragma: + - no-cache + RequestId: + - cee8f7fe-a9bd-450c-a9dc-7c8df7824e6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLExperiment].yaml new file mode 100644 index 00000000..0b72f0ae --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLExperiment].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:32 GMT + Pragma: + - no-cache + RequestId: + - 97cff075-880f-4656-9b12-a60ede9f2999 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:32 GMT + Pragma: + - no-cache + RequestId: + - 0fd2ba13-1912-478e-80e4-e78aa053e830 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:33 GMT + Pragma: + - no-cache + RequestId: + - ba883fdb-b8e0-455c-8794-3fddef953d30 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLModel].yaml new file mode 100644 index 00000000..c6fa0414 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLModel].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:34 GMT + Pragma: + - no-cache + RequestId: + - 1137c964-f91e-4bb9-8da8-1635b8a33be4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:34 GMT + Pragma: + - no-cache + RequestId: + - 0a1073fd-48f0-4e92-9d35-f97e252bd2cb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:35 GMT + Pragma: + - no-cache + RequestId: + - c551b5d0-65e1-49e9-b5b2-3e3d71bc5f13 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MirroredWarehouse].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MirroredWarehouse].yaml new file mode 100644 index 00000000..dc0f9ba8 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MirroredWarehouse].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:29 GMT + Pragma: + - no-cache + RequestId: + - 2acc3d77-7813-4055-abb2-beba1408166d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:30 GMT + Pragma: + - no-cache + RequestId: + - cb61a01f-f40c-4599-b1b7-71ede177be34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:31 GMT + Pragma: + - no-cache + RequestId: + - 6bb62b4e-cd6e-4de6-8ee3-535ed0b9c1b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[PaginatedReport].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[PaginatedReport].yaml new file mode 100644 index 00000000..89e0ffd9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[PaginatedReport].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:36 GMT + Pragma: + - no-cache + RequestId: + - 86b8b40b-c344-4a13-bba8-523971847365 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:37 GMT + Pragma: + - no-cache + RequestId: + - ff8c98dd-cfa7-4197-b50b-1228757c6a05 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:38 GMT + Pragma: + - no-cache + RequestId: + - 5aca85c7-0bac-44d8-b3f0-a65e0aff78f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[SQLEndpoint].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[SQLEndpoint].yaml new file mode 100644 index 00000000..96489b29 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[SQLEndpoint].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:39 GMT + Pragma: + - no-cache + RequestId: + - 957c50ff-60d2-4017-b876-6c537ac1f894 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:39 GMT + Pragma: + - no-cache + RequestId: + - 6b8e6255-becd-4d3d-8384-9af3a930be48 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:41 GMT + Pragma: + - no-cache + RequestId: + - aa226384-eabd-4cd5-a03d-d63fa5bfa5c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Warehouse].yaml new file mode 100644 index 00000000..d1685b69 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Warehouse].yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:41 GMT + Pragma: + - no-cache + RequestId: + - 1a62ce3b-0a64-468d-a38d-f03afabea621 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:42 GMT + Pragma: + - no-cache + RequestId: + - c6ae6682-ee07-4bf7-a0f2-e02c6a4f4e0d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:42 GMT + Pragma: + - no-cache + RequestId: + - fc79264f-a4d0-467a-a1ec-e60f562c543f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[DataPipeline].yaml new file mode 100644 index 00000000..041f8267 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[DataPipeline].yaml @@ -0,0 +1,796 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:17 GMT + Pragma: + - no-cache + RequestId: + - 929276e0-86ec-4d98-a973-9b866943fb37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:18 GMT + Pragma: + - no-cache + RequestId: + - 5adc3200-4181-4de0-b43b-5ffb676199a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:18 GMT + Pragma: + - no-cache + RequestId: + - f87ae8f6-b0b4-4de0-ba2b-0d6609a324ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/dataPipelines + response: + body: + string: '{"id": "58e6ae56-8631-4009-87ed-6bc21bf07e73", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:23 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5ba8d743-aea8-47e8-b061-bfd13fa98efa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:23 GMT + Pragma: + - no-cache + RequestId: + - b583c2f7-7cf3-4ea9-98d1-49386a8ca2f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "58e6ae56-8631-4009-87ed-6bc21bf07e73", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:23 GMT + Pragma: + - no-cache + RequestId: + - 56eb4219-4beb-4d6a-9183-a598ab965e71 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/58e6ae56-8631-4009-87ed-6bc21bf07e73 + response: + body: + string: '{"id": "58e6ae56-8631-4009-87ed-6bc21bf07e73", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:24 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7329d8b1-29b3-4951-a3df-d94902821a14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/58e6ae56-8631-4009-87ed-6bc21bf07e73/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "pipeline-content.json", "payload": + "ewogICJwcm9wZXJ0aWVzIjogewogICAgImFjdGl2aXRpZXMiOiBbXQogIH0KfQ==", "payloadType": + "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRhdGFQaXBlbGluZSIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:25 GMT + Pragma: + - no-cache + RequestId: + - 10effaee-a34c-4add-80bb-5c16000c5d72 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:26 GMT + Pragma: + - no-cache + RequestId: + - 0a5f26f9-8900-464e-af55-e5e2aed8d087 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "58e6ae56-8631-4009-87ed-6bc21bf07e73", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:25 GMT + Pragma: + - no-cache + RequestId: + - 725ddf81-8a5e-4ef6-a9e0-98167fc49dc3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "58e6ae56-8631-4009-87ed-6bc21bf07e73", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:26 GMT + Pragma: + - no-cache + RequestId: + - 49839eb0-5093-49d6-af61-7317124ade54 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "DataPipeline", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_4", "definition": {"parts": [{"path": + "pipeline-content.json", "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgImFjdGl2aXRpZXMiOiBbXQogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiRGF0YVBpcGVsaW5lIiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '868' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", + "displayName": "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:29 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0914d7c4-bee8-41ea-b4b6-5a436bf89145 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:30 GMT + Pragma: + - no-cache + RequestId: + - 7aedc589-f440-442e-bc2d-43abfc2c84e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "58e6ae56-8631-4009-87ed-6bc21bf07e73", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '336' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:31 GMT + Pragma: + - no-cache + RequestId: + - 3f6c3cf6-efa0-4650-b85c-b3dfaafc5f86 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/58e6ae56-8631-4009-87ed-6bc21bf07e73 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:01:32 GMT + Pragma: + - no-cache + RequestId: + - 12fef797-2efc-4ccc-942f-4223fb8668de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Eventhouse].yaml new file mode 100644 index 00000000..ed85e28c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Eventhouse].yaml @@ -0,0 +1,1099 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:27 GMT + Pragma: + - no-cache + RequestId: + - b1b6c859-11e1-425e-bdff-1bfb5acf6b5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '592' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:27 GMT + Pragma: + - no-cache + RequestId: + - 7c4bddfb-0a1a-461c-b08a-ae084afdcabe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '592' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:28 GMT + Pragma: + - no-cache + RequestId: + - da894f64-ded8-4e38-8102-a14f3a3507a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/eventhouses + response: + body: + string: '{"id": "d37f3d24-b262-45f3-88a0-e58e7ac5c826", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:32 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c68c8f36-fc4d-4f31-96f8-ef3b665e2d49 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:32 GMT + Pragma: + - no-cache + RequestId: + - e1f19fc2-20cd-49d7-81f2-5296bb30ca1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "d37f3d24-b262-45f3-88a0-e58e7ac5c826", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "0baddc32-0041-4101-a25c-fe3b507016ab", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:33 GMT + Pragma: + - no-cache + RequestId: + - 4887a632-a957-468a-a25d-a61ac2b62af9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/d37f3d24-b262-45f3-88a0-e58e7ac5c826 + response: + body: + string: '{"id": "d37f3d24-b262-45f3-88a0-e58e7ac5c826", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ccbef13f-096a-4ee9-9dbb-3e944c6448e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/d37f3d24-b262-45f3-88a0-e58e7ac5c826/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e24dc430-2405-4c8b-bf46-6b395ec485ef + Pragma: + - no-cache + RequestId: + - 95082cf2-1767-4eb7-b2b7-781848811623 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - e24dc430-2405-4c8b-bf46-6b395ec485ef + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e24dc430-2405-4c8b-bf46-6b395ec485ef + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:06:35.1662354", + "lastUpdatedTimeUtc": "2026-01-29T06:06:45.3868638", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e24dc430-2405-4c8b-bf46-6b395ec485ef/result + Pragma: + - no-cache + RequestId: + - 93b4c6c2-a5c5-4ff4-8656-acc11b666de6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e24dc430-2405-4c8b-bf46-6b395ec485ef + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e24dc430-2405-4c8b-bf46-6b395ec485ef/result + response: + body: + string: '{"definition": {"parts": [{"path": "EventhouseProperties.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkV2ZW50aG91c2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:06:58 GMT + Pragma: + - no-cache + RequestId: + - 85df1c89-c53e-4415-a5da-824bcdebf2a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:59 GMT + Pragma: + - no-cache + RequestId: + - 5efc76de-7f4f-42c7-aceb-702cfa7798b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "d37f3d24-b262-45f3-88a0-e58e7ac5c826", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "0baddc32-0041-4101-a25c-fe3b507016ab", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:59 GMT + Pragma: + - no-cache + RequestId: + - c5f511cc-f7c6-4260-a565-befedd41ca8c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "d37f3d24-b262-45f3-88a0-e58e7ac5c826", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "0baddc32-0041-4101-a25c-fe3b507016ab", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:00 GMT + Pragma: + - no-cache + RequestId: + - d22351e0-1aa2-450f-a2f7-c30287869848 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "Eventhouse", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_9", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiRXZlbnRob3VzZSIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "EventhouseProperties.json", "payload": + "e30=", "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '798' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:01 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d938bbf7-dd2a-4ece-8e20-39a3365db7cc + Pragma: + - no-cache + RequestId: + - e76632c7-9702-4923-b693-1fdbe2173cda + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - d938bbf7-dd2a-4ece-8e20-39a3365db7cc + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d938bbf7-dd2a-4ece-8e20-39a3365db7cc + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:07:01.9578641", + "lastUpdatedTimeUtc": "2026-01-29T06:07:21.3367552", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d938bbf7-dd2a-4ece-8e20-39a3365db7cc/result + Pragma: + - no-cache + RequestId: + - a41f83f4-f35c-4f1a-8ce2-0027da00107f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - d938bbf7-dd2a-4ece-8e20-39a3365db7cc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d938bbf7-dd2a-4ece-8e20-39a3365db7cc/result + response: + body: + string: '{"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", + "displayName": "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:07:24 GMT + Pragma: + - no-cache + RequestId: + - d72ef6cf-570c-4cf7-b090-a7f5d0673689 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:26 GMT + Pragma: + - no-cache + RequestId: + - c6fa5b64-cc1d-4b63-8435-012ed0362635 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "d37f3d24-b262-45f3-88a0-e58e7ac5c826", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "0baddc32-0041-4101-a25c-fe3b507016ab", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '692' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:27 GMT + Pragma: + - no-cache + RequestId: + - 1ec0f3dc-471d-4366-886a-63aa770b4708 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/d37f3d24-b262-45f3-88a0-e58e7ac5c826 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:07:28 GMT + Pragma: + - no-cache + RequestId: + - 560b9dc7-1e15-4677-a58e-54e3ec0ec0a4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDashboard].yaml new file mode 100644 index 00000000..6b3545d7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDashboard].yaml @@ -0,0 +1,946 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:02 GMT + Pragma: + - no-cache + RequestId: + - e1a99024-4466-4bf6-88cc-d47727560b55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '761' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:02 GMT + Pragma: + - no-cache + RequestId: + - 50f6deea-99a2-441c-9a81-028ffa4fafda + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '761' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:03 GMT + Pragma: + - no-cache + RequestId: + - 49b8aab7-8c5b-4541-a4f9-a08504b91bdc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDashboard", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/kqlDashboards + response: + body: + string: '{"id": "275e0d60-a810-4031-aeca-1cbd963804ea", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3cd95be2-1a70-4843-b989-80106d0f9b1c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:05 GMT + Pragma: + - no-cache + RequestId: + - cc0eb945-61cb-4dbb-adae-f711bdd681e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "275e0d60-a810-4031-aeca-1cbd963804ea", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '806' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:06 GMT + Pragma: + - no-cache + RequestId: + - 2592678f-ffd3-4c19-92b1-d89527cb47fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/275e0d60-a810-4031-aeca-1cbd963804ea + response: + body: + string: '{"id": "275e0d60-a810-4031-aeca-1cbd963804ea", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:07 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f25cdcd3-b7fd-469f-bae5-6709baff4424 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/275e0d60-a810-4031-aeca-1cbd963804ea/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "RealTimeDashboard.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTERhc2hib2FyZCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '434' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:08 GMT + Pragma: + - no-cache + RequestId: + - e0e96631-668c-4e39-aae0-853436b68fa2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:09 GMT + Pragma: + - no-cache + RequestId: + - 157e3e32-5c51-40b2-9f78-9cead630360f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "275e0d60-a810-4031-aeca-1cbd963804ea", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '806' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:10 GMT + Pragma: + - no-cache + RequestId: + - 428b073b-d00c-44bf-b92d-ed5dbc52578d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "275e0d60-a810-4031-aeca-1cbd963804ea", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '806' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:10 GMT + Pragma: + - no-cache + RequestId: + - 9d45bfc5-0017-4f4c-9787-c41f52560262 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "KQLDashboard", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_12", "definition": {"parts": [{"path": + "RealTimeDashboard.json", "payload": "e30=", "payloadType": "InlineBase64"}, + {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiS1FMRGFzaGJvYXJkIiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '802' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"id": "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", + "displayName": "fabcli000001_new_12", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:12 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 342ee4c0-7ff9-4b7f-82da-b7a776dae665 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:13 GMT + Pragma: + - no-cache + RequestId: + - eff3815a-afdf-4132-a6b8-4c31b446750e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "275e0d60-a810-4031-aeca-1cbd963804ea", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '841' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:13 GMT + Pragma: + - no-cache + RequestId: + - e79c242b-14b9-4a36-9e7e-6d6a576f96e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/275e0d60-a810-4031-aeca-1cbd963804ea + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:08:14 GMT + Pragma: + - no-cache + RequestId: + - 48bc86f3-6537-44a3-9dc3-503e4f329af6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDatabase].yaml new file mode 100644 index 00000000..95546bbb --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLDatabase].yaml @@ -0,0 +1,1220 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:46 GMT + Pragma: + - no-cache + RequestId: + - 62b5f381-7f57-4021-ab84-c55f1a4d5852 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '423' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:46 GMT + Pragma: + - no-cache + RequestId: + - b153ac23-2a30-42fc-ba55-ca4aa289f013 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '423' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:47 GMT + Pragma: + - no-cache + RequestId: + - 32eeedf2-d027-422c-b32e-dd57babd0e98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001_auto", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/eventhouses + response: + body: + string: '{"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", + "displayName": "fabcli000001_auto", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3e8dd56d-1585-4fae-b73e-69c97420bf81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDatabase", "folderId": null, "creationPayload": {"databaseType": "ReadWrite", + "parentEventhouseItemId": "f07a30f5-3039-4984-a928-dd75fa7ddb7c"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '225' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/kqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:52 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d23d2fe7-ee9e-464f-8376-a6b7962c8eb5 + Pragma: + - no-cache + RequestId: + - 637f14cf-adae-46ad-9f15-bd419079df57 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - d23d2fe7-ee9e-464f-8376-a6b7962c8eb5 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d23d2fe7-ee9e-464f-8376-a6b7962c8eb5 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:04:52.279943", + "lastUpdatedTimeUtc": "2026-01-29T06:04:58.8126334", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:14 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d23d2fe7-ee9e-464f-8376-a6b7962c8eb5/result + Pragma: + - no-cache + RequestId: + - cd184e28-7070-43ff-a417-3655b26a2503 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - d23d2fe7-ee9e-464f-8376-a6b7962c8eb5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d23d2fe7-ee9e-464f-8376-a6b7962c8eb5/result + response: + body: + string: '{"id": "26662dc0-b5f2-4565-9b52-008dba6c0141", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:05:15 GMT + Pragma: + - no-cache + RequestId: + - 740c328a-add0-4ff9-8ca5-98594f89c7d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:15 GMT + Pragma: + - no-cache + RequestId: + - 73ceddf5-3b96-431b-80bf-a73ebe3134a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "26662dc0-b5f2-4565-9b52-008dba6c0141", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '543' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:17 GMT + Pragma: + - no-cache + RequestId: + - ed1d64aa-07bd-43d4-92d8-9f8aa010db6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/26662dc0-b5f2-4565-9b52-008dba6c0141 + response: + body: + string: '{"id": "26662dc0-b5f2-4565-9b52-008dba6c0141", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:17 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6ab61194-b085-4713-adec-7896b2954e27 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/26662dc0-b5f2-4565-9b52-008dba6c0141/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:18 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/45813075-611a-47d6-8e5c-b3454377fa8d + Pragma: + - no-cache + RequestId: + - 6d22592d-7680-4fdc-9298-bacd3c013a45 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 45813075-611a-47d6-8e5c-b3454377fa8d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/45813075-611a-47d6-8e5c-b3454377fa8d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:05:18.8322671", + "lastUpdatedTimeUtc": "2026-01-29T06:05:37.7104779", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:39 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/45813075-611a-47d6-8e5c-b3454377fa8d/result + Pragma: + - no-cache + RequestId: + - ff529161-6d4f-42ef-aa82-3f825320443e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 45813075-611a-47d6-8e5c-b3454377fa8d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/45813075-611a-47d6-8e5c-b3454377fa8d/result + response: + body: + string: '{"definition": {"parts": [{"path": "DatabaseProperties.json", "payload": + "ew0KICAiZGF0YWJhc2VUeXBlIjogIlJlYWRXcml0ZSIsDQogICJwYXJlbnRFdmVudGhvdXNlSXRlbUlkIjogImYwN2EzMGY1LTMwMzktNDk4NC1hOTI4LWRkNzVmYTdkZGI3YyIsDQogICJvbmVMYWtlQ2FjaGluZ1BlcmlvZCI6ICJQMzY1MDAwRCIsDQogICJvbmVMYWtlU3RhbmRhcmRTdG9yYWdlUGVyaW9kIjogIlAzNjUwMDBEIg0KfQ==", + "payloadType": "InlineBase64"}, {"path": "DatabaseSchema.kql", "payload": + "Ly8gS1FMIHNjcmlwdA0KLy8gVXNlIG1hbmFnZW1lbnQgY29tbWFuZHMgaW4gdGhpcyBzY3JpcHQgdG8gY29uZmlndXJlIHlvdXIgZGF0YWJhc2UgaXRlbXMsIHN1Y2ggYXMgdGFibGVzLCBmdW5jdGlvbnMsIG1hdGVyaWFsaXplZCB2aWV3cywgYW5kIG1vcmUuDQoNCg0K", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTERhdGFiYXNlIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:05:41 GMT + Pragma: + - no-cache + RequestId: + - aabcf7a1-7974-4a2a-ba99-3c6a81a9bba5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:41 GMT + Pragma: + - no-cache + RequestId: + - 334e2324-804a-4936-a4f6-3ea615b6302a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "26662dc0-b5f2-4565-9b52-008dba6c0141", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '543' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:43 GMT + Pragma: + - no-cache + RequestId: + - 89deb0a7-0c30-4219-99e5-4bee21ec2254 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "26662dc0-b5f2-4565-9b52-008dba6c0141", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '543' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:43 GMT + Pragma: + - no-cache + RequestId: + - 05784d6c-d6d5-45e7-9a1d-d7cc5ba25af4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "KQLDatabase", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_7", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiS1FMRGF0YWJhc2UiLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "DatabaseSchema.kql", "payload": "Ly8gS1FMIHNjcmlwdA0KLy8gVXNlIG1hbmFnZW1lbnQgY29tbWFuZHMgaW4gdGhpcyBzY3JpcHQgdG8gY29uZmlndXJlIHlvdXIgZGF0YWJhc2UgaXRlbXMsIHN1Y2ggYXMgdGFibGVzLCBmdW5jdGlvbnMsIG1hdGVyaWFsaXplZCB2aWV3cywgYW5kIG1vcmUuDQoNCg0K", + "payloadType": "InlineBase64"}, {"path": "DatabaseProperties.json", "payload": + "ewogICAgImRhdGFiYXNlVHlwZSI6ICJSZWFkV3JpdGUiLAogICAgInBhcmVudEV2ZW50aG91c2VJdGVtSWQiOiAiZjA3YTMwZjUtMzAzOS00OTg0LWE5MjgtZGQ3NWZhN2RkYjdjIiwKICAgICJvbmVMYWtlQ2FjaGluZ1BlcmlvZCI6ICJQMzY1MDAwRCIsCiAgICAib25lTGFrZVN0YW5kYXJkU3RvcmFnZVBlcmlvZCI6ICJQMzY1MDAwRCIKfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1335' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:05:45 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e790957d-2524-40c8-9004-bd13377fd8e7 + Pragma: + - no-cache + RequestId: + - 7d7db12b-d8d8-419d-b6f6-2d474c5782f2 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - e790957d-2524-40c8-9004-bd13377fd8e7 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e790957d-2524-40c8-9004-bd13377fd8e7 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:05:45.274804", + "lastUpdatedTimeUtc": "2026-01-29T06:06:04.9211327", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:07 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e790957d-2524-40c8-9004-bd13377fd8e7/result + Pragma: + - no-cache + RequestId: + - b5d7a7b7-52d2-4c4a-b6c5-94bee0ac4664 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e790957d-2524-40c8-9004-bd13377fd8e7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e790957d-2524-40c8-9004-bd13377fd8e7/result + response: + body: + string: '{"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", + "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:06:08 GMT + Pragma: + - no-cache + RequestId: + - 1ade376b-8b5d-44b8-9a21-e6d336535f73 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:09 GMT + Pragma: + - no-cache + RequestId: + - c9611021-5c83-485e-a902-ea2a9db4d6db + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "26662dc0-b5f2-4565-9b52-008dba6c0141", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '575' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:10 GMT + Pragma: + - no-cache + RequestId: + - 7cd97f33-2188-440e-9630-546218b675fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/26662dc0-b5f2-4565-9b52-008dba6c0141 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:06:10 GMT + Pragma: + - no-cache + RequestId: + - 6f993e0d-25ba-461c-805f-ed98b0f8f1da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLQueryset].yaml new file mode 100644 index 00000000..c1e2734e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[KQLQueryset].yaml @@ -0,0 +1,879 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:11 GMT + Pragma: + - no-cache + RequestId: + - c582a676-eb61-4fa9-a4a1-a0fb402c32d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '546' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:12 GMT + Pragma: + - no-cache + RequestId: + - 28ab2e10-b3b9-479b-b11d-cc6b6541a4f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '546' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:13 GMT + Pragma: + - no-cache + RequestId: + - 724399fe-3efd-49ae-a652-54e247e7b7d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLQueryset", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/kqlQuerysets + response: + body: + string: '{"id": "6256f1a9-5536-45fa-b6c7-1e2dbcc28c86", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:15 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 61463c5a-8da5-49c6-b351-040cfc9781ff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:15 GMT + Pragma: + - no-cache + RequestId: + - 960b7fa6-7e98-448a-9da0-30a9bcd6f185 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "6256f1a9-5536-45fa-b6c7-1e2dbcc28c86", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '591' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:16 GMT + Pragma: + - no-cache + RequestId: + - a18aea28-14b6-4cb2-97a8-f43aae51fb0e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/6256f1a9-5536-45fa-b6c7-1e2dbcc28c86 + response: + body: + string: '{"id": "6256f1a9-5536-45fa-b6c7-1e2dbcc28c86", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:17 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f03d25ed-bf21-4af1-8183-6a41912ee7e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/6256f1a9-5536-45fa-b6c7-1e2dbcc28c86/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "RealTimeQueryset.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTFF1ZXJ5c2V0IiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '428' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:18 GMT + Pragma: + - no-cache + RequestId: + - 285cd962-36f0-4709-b30d-d43930c9197a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:19 GMT + Pragma: + - no-cache + RequestId: + - 32e90da5-ee69-480d-ae3e-6737753ca925 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "6256f1a9-5536-45fa-b6c7-1e2dbcc28c86", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '591' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:20 GMT + Pragma: + - no-cache + RequestId: + - c8e40d01-c7a5-428f-8377-51ebf2242c3c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "6256f1a9-5536-45fa-b6c7-1e2dbcc28c86", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '591' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:21 GMT + Pragma: + - no-cache + RequestId: + - 6bfcb6ff-e938-49ed-a79c-a8ecd114cb68 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "KQLQueryset", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_8", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiS1FMUXVlcnlzZXQiLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "RealTimeQueryset.json", "payload": + "e30=", "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '795' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", + "displayName": "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:22 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 783f7d25-51ae-44f2-b914-4b25527daaa5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:24 GMT + Pragma: + - no-cache + RequestId: + - 13be394f-d9d7-4146-bc36-6798c2b39b7d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "6256f1a9-5536-45fa-b6c7-1e2dbcc28c86", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '622' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:06:24 GMT + Pragma: + - no-cache + RequestId: + - d556063c-83dd-46b6-a746-7f21d62a2618 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/6256f1a9-5536-45fa-b6c7-1e2dbcc28c86 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:06:25 GMT + Pragma: + - no-cache + RequestId: + - 972d7caf-54c6-4e74-b1d8-459d9fc8ec5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[MirroredDatabase].yaml new file mode 100644 index 00000000..2b5c67e1 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[MirroredDatabase].yaml @@ -0,0 +1,911 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:29 GMT + Pragma: + - no-cache + RequestId: + - eff6c2d9-f95d-4a01-8067-bd2abf0be4aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '630' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:30 GMT + Pragma: + - no-cache + RequestId: + - abbb0a9a-1b60-467f-990b-e9ed90c73383 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '630' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:31 GMT + Pragma: + - no-cache + RequestId: + - 37272381-705f-4d5f-86e7-e0e72aae7e82 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/mirroredDatabases + response: + body: + string: '{"id": "5479321f-57c1-42ce-8310-7236a7a323b4", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 64cd097b-a9ff-47cb-bc5b-67c97a980108 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:33 GMT + Pragma: + - no-cache + RequestId: + - 4542e2b8-cf68-42e9-be7d-94983d56e9fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5479321f-57c1-42ce-8310-7236a7a323b4", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '673' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:35 GMT + Pragma: + - no-cache + RequestId: + - 6a1defdd-8665-4c74-bdec-ec90b47ff69a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/5479321f-57c1-42ce-8310-7236a7a323b4 + response: + body: + string: '{"id": "5479321f-57c1-42ce-8310-7236a7a323b4", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - cb24c364-dd89-4212-966f-5ec017f4a947 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/5479321f-57c1-42ce-8310-7236a7a323b4/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "mirroring.json", "payload": "ew0KICAicHJvcGVydGllcyI6IHsNCiAgICAic291cmNlIjogew0KICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsDQogICAgICAidHlwZVByb3BlcnRpZXMiOiB7fQ0KICAgIH0sDQogICAgInRhcmdldCI6IHsNCiAgICAgICJ0eXBlIjogIk1vdW50ZWRSZWxhdGlvbmFsRGF0YWJhc2UiLA0KICAgICAgInR5cGVQcm9wZXJ0aWVzIjogew0KICAgICAgICAiZm9ybWF0IjogIkRlbHRhIg0KICAgICAgfQ0KICAgIH0NCiAgfQ0KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk1pcnJvcmVkRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '562' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:37 GMT + Pragma: + - no-cache + RequestId: + - ab7117ab-197d-4bd7-b11d-289b3301d030 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:37 GMT + Pragma: + - no-cache + RequestId: + - af3d77e3-a440-420a-a172-c54b6e181101 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5479321f-57c1-42ce-8310-7236a7a323b4", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '673' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:38 GMT + Pragma: + - no-cache + RequestId: + - c1d366c7-9d6c-48b1-8f71-75e2aabb07b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5479321f-57c1-42ce-8310-7236a7a323b4", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '673' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:39 GMT + Pragma: + - no-cache + RequestId: + - eb92ec70-fbdf-473d-9864-09ef5b159702 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "MirroredDatabase", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_10", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiTWlycm9yZWREYXRhYmFzZSIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "mirroring.json", "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1186' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 800c0ef1-fed0-400d-a02b-ea439c0465e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:42 GMT + Pragma: + - no-cache + RequestId: + - 909a7d2f-871a-4f02-91f1-63ae95cf42f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "47b7a1ae-72c8-4248-aa50-1090011b2187", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5479321f-57c1-42ce-8310-7236a7a323b4", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", + "type": "MirroredDatabase", "displayName": "fabcli000001_new_10", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '748' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:42 GMT + Pragma: + - no-cache + RequestId: + - a052e762-4f22-457d-b4c0-5261070f7418 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/5479321f-57c1-42ce-8310-7236a7a323b4 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:07:43 GMT + Pragma: + - no-cache + RequestId: + - 73b8ce84-b0c7-4ca4-ac50-c682f7317b11 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Notebook].yaml new file mode 100644 index 00000000..d860e64e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Notebook].yaml @@ -0,0 +1,1074 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:41 GMT + Pragma: + - no-cache + RequestId: + - 344f9d6c-909d-403f-b6d1-c0a04108cd32 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:41 GMT + Pragma: + - no-cache + RequestId: + - c66a1e29-a5f0-4c6b-be6e-7d7ed94f55fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:42 GMT + Pragma: + - no-cache + RequestId: + - 34f785db-b600-4963-9bb8-35e3d57298a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:43 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b643767b-d3ec-4058-ab27-a3b03d797998 + Pragma: + - no-cache + RequestId: + - aee4af2f-0bbd-438b-b92c-097c1872a24b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - b643767b-d3ec-4058-ab27-a3b03d797998 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b643767b-d3ec-4058-ab27-a3b03d797998 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T05:59:43.6417613", + "lastUpdatedTimeUtc": "2026-01-29T05:59:44.9857797", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b643767b-d3ec-4058-ab27-a3b03d797998/result + Pragma: + - no-cache + RequestId: + - 8a1508c6-79e1-48cf-bffa-a0a935a5a26b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b643767b-d3ec-4058-ab27-a3b03d797998 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b643767b-d3ec-4058-ab27-a3b03d797998/result + response: + body: + string: '{"id": "076899ee-c3ef-480d-8b6a-651a3874062f", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:00:06 GMT + Pragma: + - no-cache + RequestId: + - 3f2b947f-2145-46f7-8e11-20c1e07774a4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:07 GMT + Pragma: + - no-cache + RequestId: + - 72c0f137-bd96-43cb-8410-1709b2274e29 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "076899ee-c3ef-480d-8b6a-651a3874062f", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:07 GMT + Pragma: + - no-cache + RequestId: + - a434eb54-e1b4-466b-b6a1-98dafea07a04 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/076899ee-c3ef-480d-8b6a-651a3874062f + response: + body: + string: '{"id": "076899ee-c3ef-480d-8b6a-651a3874062f", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:08 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - aa591615-50d1-45de-ab1a-ef7a3274587d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/076899ee-c3ef-480d-8b6a-651a3874062f/getDefinition?format=ipynb + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:08 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1c244f50-08d4-4432-a718-3af5caf61132 + Pragma: + - no-cache + RequestId: + - 4a8cf7a7-b3ad-48ac-8148-1710797d115b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 1c244f50-08d4-4432-a718-3af5caf61132 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1c244f50-08d4-4432-a718-3af5caf61132 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:00:09.3321209", + "lastUpdatedTimeUtc": "2026-01-29T06:00:09.6133727", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '128' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:31 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1c244f50-08d4-4432-a718-3af5caf61132/result + Pragma: + - no-cache + RequestId: + - aed0bbec-d106-4b80-a006-6783b3d94451 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 1c244f50-08d4-4432-a718-3af5caf61132 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/1c244f50-08d4-4432-a718-3af5caf61132/result + response: + body: + string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": + "eyJuYmZvcm1hdCI6NCwibmJmb3JtYXRfbWlub3IiOjUsIm1ldGFkYXRhIjp7Imxhbmd1YWdlX2luZm8iOnsibmFtZSI6InB5dGhvbiJ9LCJrZXJuZWxfaW5mbyI6eyJuYW1lIjoic3luYXBzZV9weXNwYXJrIiwianVweXRlcl9rZXJuZWxfbmFtZSI6bnVsbH0sImEzNjVDb21wdXRlT3B0aW9ucyI6bnVsbCwic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOjAsImRlcGVuZGVuY2llcyI6eyJsYWtlaG91c2UiOm51bGx9fSwiY2VsbHMiOlt7ImNlbGxfdHlwZSI6ImNvZGUiLCJtZXRhZGF0YSI6eyJtaWNyb3NvZnQiOnsibGFuZ3VhZ2UiOiJweXRob24iLCJsYW5ndWFnZV9ncm91cCI6InN5bmFwc2VfcHlzcGFyayJ9fSwic291cmNlIjpbIiMgV2VsY29tZSB0byB5b3VyIG5ldyBub3RlYm9va1xuIiwiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIl0sIm91dHB1dHMiOltdfV19", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk5vdGVib29rIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:00:31 GMT + Pragma: + - no-cache + RequestId: + - 1fb10586-3e62-4eea-9e15-908b4402e900 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:32 GMT + Pragma: + - no-cache + RequestId: + - 43691291-5f08-434a-a440-c84abfe7a972 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "076899ee-c3ef-480d-8b6a-651a3874062f", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:33 GMT + Pragma: + - no-cache + RequestId: + - 9e9a0f86-266d-4860-b443-543e99f6335d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "076899ee-c3ef-480d-8b6a-651a3874062f", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:34 GMT + Pragma: + - no-cache + RequestId: + - 0ec1633b-9f74-47f7-9baf-d7bca9e6d4d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "Notebook", "description": "Imported from fab", "folderId": null, + "displayName": "fabcli000001_new_2", "definition": {"format": "ipynb", "parts": + [{"path": "notebook-content.ipynb", "payload": "ewogICAgIm5iZm9ybWF0IjogNCwKICAgICJuYmZvcm1hdF9taW5vciI6IDUsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgImxhbmd1YWdlX2luZm8iOiB7CiAgICAgICAgICAgICJuYW1lIjogInB5dGhvbiIKICAgICAgICB9LAogICAgICAgICJrZXJuZWxfaW5mbyI6IHsKICAgICAgICAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIiwKICAgICAgICAgICAgImp1cHl0ZXJfa2VybmVsX25hbWUiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAiYTM2NUNvbXB1dGVPcHRpb25zIjogbnVsbCwKICAgICAgICAic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOiAwLAogICAgICAgICJkZXBlbmRlbmNpZXMiOiB7CiAgICAgICAgICAgICJsYWtlaG91c2UiOiBudWxsCiAgICAgICAgfQogICAgfSwKICAgICJjZWxscyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJjZWxsX3R5cGUiOiAiY29kZSIsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgICAgICJtaWNyb3NvZnQiOiB7CiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlIjogInB5dGhvbiIsCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInNvdXJjZSI6IFsKICAgICAgICAgICAgICAgICIjIFdlbGNvbWUgdG8geW91ciBuZXcgbm90ZWJvb2tcbiIsCiAgICAgICAgICAgICAgICAiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIgogICAgICAgICAgICBdLAogICAgICAgICAgICAib3V0cHV0cyI6IFtdCiAgICAgICAgfQogICAgXQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiTm90ZWJvb2siLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1920' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:36 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f7731e3f-0bf5-4457-b73f-e4cc7013f97b + Pragma: + - no-cache + RequestId: + - c878f5d8-c55a-4a81-a253-0cef7a926c97 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - f7731e3f-0bf5-4457-b73f-e4cc7013f97b + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f7731e3f-0bf5-4457-b73f-e4cc7013f97b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:00:35.9946986", + "lastUpdatedTimeUtc": "2026-01-29T06:00:37.3072044", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f7731e3f-0bf5-4457-b73f-e4cc7013f97b/result + Pragma: + - no-cache + RequestId: + - 47db32b8-f601-4515-bce1-9030a7dacb98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f7731e3f-0bf5-4457-b73f-e4cc7013f97b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f7731e3f-0bf5-4457-b73f-e4cc7013f97b/result + response: + body: + string: '{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:00:58 GMT + Pragma: + - no-cache + RequestId: + - e17e7165-4ed3-4fb5-9487-3f9442eaa253 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:00:59 GMT + Pragma: + - no-cache + RequestId: + - 6232604c-d692-446d-8462-eab8504e89de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "076899ee-c3ef-480d-8b6a-651a3874062f", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '228' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:00 GMT + Pragma: + - no-cache + RequestId: + - 74350719-89e7-4a51-91bc-7908dd21dbb7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/076899ee-c3ef-480d-8b6a-651a3874062f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:01:00 GMT + Pragma: + - no-cache + RequestId: + - 9818933f-7fe3-45f1-bea8-57b6a8fad787 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Reflex].yaml new file mode 100644 index 00000000..675cc7f6 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Reflex].yaml @@ -0,0 +1,929 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:44 GMT + Pragma: + - no-cache + RequestId: + - 3189ab14-cd8d-4cf5-bd7a-098660eb17de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '676' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:45 GMT + Pragma: + - no-cache + RequestId: + - 3d840f48-a3f4-44be-b7ed-74922a99a4b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '720' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:46 GMT + Pragma: + - no-cache + RequestId: + - 1954b2b6-6991-4769-814c-4c4a288c8d14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Reflex", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/reflexes + response: + body: + string: '{"id": "5593f949-9e75-4321-a628-d2798d151e27", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:48 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e2169ebe-e2ba-487d-81e4-60c08d7c9533 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:49 GMT + Pragma: + - no-cache + RequestId: + - 710865b1-dfc1-4186-a7d3-b5c0ef13564e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5593f949-9e75-4321-a628-d2798d151e27", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '760' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:49 GMT + Pragma: + - no-cache + RequestId: + - 2f8b1436-5719-4ee4-9864-f45dd5fcf760 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/5593f949-9e75-4321-a628-d2798d151e27 + response: + body: + string: '{"id": "5593f949-9e75-4321-a628-d2798d151e27", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e90b8e43-200c-43a6-b516-56a8fa4f8a65 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/5593f949-9e75-4321-a628-d2798d151e27/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "ReflexEntities.json", "payload": + "W10=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlZmxleCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '426' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:53 GMT + Pragma: + - no-cache + RequestId: + - ad7947dc-e536-4d3f-a3d8-f8c7de9b8e3d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:54 GMT + Pragma: + - no-cache + RequestId: + - 266dbede-4cf1-40e1-b5fd-87531bc1f36c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5593f949-9e75-4321-a628-d2798d151e27", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '760' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:55 GMT + Pragma: + - no-cache + RequestId: + - 80f390c8-265c-4051-89a4-c6c387bb9845 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5593f949-9e75-4321-a628-d2798d151e27", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '760' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:07:55 GMT + Pragma: + - no-cache + RequestId: + - 646c7bfb-f4cc-495b-b929-d9056891f2d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "Reflex", "description": "Imported from fab", "folderId": null, + "displayName": "fabcli000001_new_11", "definition": {"parts": [{"path": "ReflexEntities.json", + "payload": "W10=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": + "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiUmVmbGV4IiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '785' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", "type": "Reflex", "displayName": + "fabcli000001_new_11", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:00 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - da52e9c8-9b89-4a5f-bb7d-a54d81c492a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:00 GMT + Pragma: + - no-cache + RequestId: + - f4bcfbb0-dbd6-465f-88f3-b5019d962a4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5593f949-9e75-4321-a628-d2798d151e27", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '790' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:01 GMT + Pragma: + - no-cache + RequestId: + - 6af0fafd-6b88-4190-8be6-d807380e1159 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/5593f949-9e75-4321-a628-d2798d151e27 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:08:01 GMT + Pragma: + - no-cache + RequestId: + - 0fae6c10-4854-4c9f-b952-fab377fd9d6e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Report].yaml new file mode 100644 index 00000000..0789fc1b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[Report].yaml @@ -0,0 +1,1303 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:33 GMT + Pragma: + - no-cache + RequestId: + - f3ce9bd0-6107-4f2d-8d5f-da0e0a9bb6e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '296' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:33 GMT + Pragma: + - no-cache + RequestId: + - 4f3e76ac-8c0f-4d94-8f7a-01f572d0f00d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '296' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:33 GMT + Pragma: + - no-cache + RequestId: + - af0b241c-829f-4b0b-9f3a-2b327cf9e90b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001_auto", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2673' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:35 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/89848954-f58a-4b7a-8441-6b691d30538f + Pragma: + - no-cache + RequestId: + - 3498db53-0fe1-44f1-b009-31663ea95112 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 89848954-f58a-4b7a-8441-6b691d30538f + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/89848954-f58a-4b7a-8441-6b691d30538f + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:01:35.561074", + "lastUpdatedTimeUtc": "2026-01-29T06:01:46.2345538", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/89848954-f58a-4b7a-8441-6b691d30538f/result + Pragma: + - no-cache + RequestId: + - cfd1e6ce-4e7b-4a2a-ab79-3a1daa5d76bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 89848954-f58a-4b7a-8441-6b691d30538f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/89848954-f58a-4b7a-8441-6b691d30538f/result + response: + body: + string: '{"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:01:58 GMT + Pragma: + - no-cache + RequestId: + - eec83b08-6998-4df7-a4ea-1c2d2f783b0e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Report", "folderId": null, "definition": {"parts": [{"path": ".platform", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiQmxhbmsiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICJkMjE0ZWVmYS05YzNjLTQ3ZDYtOGNmNi05MmI3ZmNhNmE1NzEiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3ZlcnNpb25NZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiMi4wLjAiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2VzTWV0YWRhdGEvMS4wLjAvc2NoZW1hLmpzb24iLAogICJwYWdlT3JkZXIiOiBbCiAgICAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCiAgXSwKICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2UvMS4zLjAvc2NoZW1hLmpzb24iLAogICJuYW1lIjogImI4YzVmYjhkNjM1Zjg5ODMyNmM2IiwKICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAiZGlzcGxheU9wdGlvbiI6ICJGaXRUb1BhZ2UiLAogICJoZWlnaHQiOiA3MjAsCiAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICJuYW1lIjogIkNZMjRTVTEwIiwKICAiZGF0YUNvbG9ycyI6IFsKICAgICIjMTE4REZGIiwKICAgICIjMTIyMzlFIiwKICAgICIjRTY2QzM3IiwKICAgICIjNkIwMDdCIiwKICAgICIjRTA0NEE3IiwKICAgICIjNzQ0RUMyIiwKICAgICIjRDlCMzAwIiwKICAgICIjRDY0NTUwIiwKICAgICIjMTk3Mjc4IiwKICAgICIjMUFBQjQwIiwKICAgICIjMTVDNkY0IiwKICAgICIjNDA5MkZGIiwKICAgICIjRkZBMDU4IiwKICAgICIjQkU1REM5IiwKICAgICIjRjQ3MkQwIiwKICAgICIjQjVBMUZGIiwKICAgICIjQzRBMjAwIiwKICAgICIjRkY4MDgwIiwKICAgICIjMDBEQkJDIiwKICAgICIjNUJENjY3IiwKICAgICIjMDA5MUQ1IiwKICAgICIjNDY2OEM1IiwKICAgICIjRkY2MzAwIiwKICAgICIjOTkwMDhBIiwKICAgICIjRUMwMDhDIiwKICAgICIjNTMzMjg1IiwKICAgICIjOTk3MDBBIiwKICAgICIjRkY0MTQxIiwKICAgICIjMUY5QTg1IiwKICAgICIjMjU4OTFDIiwKICAgICIjMDA1N0EyIiwKICAgICIjMDAyMDUwIiwKICAgICIjQzk0RjBGIiwKICAgICIjNDUwRjU0IiwKICAgICIjQjYwMDY0IiwKICAgICIjMzQxMjRGIiwKICAgICIjNkE1QTI5IiwKICAgICIjMUFBQjQwIiwKICAgICIjQkExNDFBIiwKICAgICIjMEMzRDM3IiwKICAgICIjMEI1MTFGIgogIF0sCiAgImZvcmVncm91bmQiOiAiIzI1MjQyMyIsCiAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICJmb3JlZ3JvdW5kTmV1dHJhbFRlcnRpYXJ5IjogIiNCM0IwQUQiLAogICJiYWNrZ3JvdW5kIjogIiNGRkZGRkYiLAogICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgImJhY2tncm91bmROZXV0cmFsIjogIiNDOEM2QzQiLAogICJ0YWJsZUFjY2VudCI6ICIjMTE4REZGIiwKICAiZ29vZCI6ICIjMUFBQjQwIiwKICAibmV1dHJhbCI6ICIjRDlCMzAwIiwKICAiYmFkIjogIiNENjQ1NTQiLAogICJtYXhpbXVtIjogIiMxMThERkYiLAogICJjZW50ZXIiOiAiI0Q5QjMwMCIsCiAgIm1pbmltdW0iOiAiI0RFRUZGRiIsCiAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgImh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidmlzaXRlZEh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidGV4dENsYXNzZXMiOiB7CiAgICAiY2FsbG91dCI6IHsKICAgICAgImZvbnRTaXplIjogNDUsCiAgICAgICJmb250RmFjZSI6ICJESU4iLAogICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgIH0sCiAgICAidGl0bGUiOiB7CiAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICB9LAogICAgImhlYWRlciI6IHsKICAgICAgImZvbnRTaXplIjogMTIsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSBTZW1pYm9sZCIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfSwKICAgICJsYWJlbCI6IHsKICAgICAgImZvbnRTaXplIjogMTAsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfQogIH0sCiAgInZpc3VhbFN0eWxlcyI6IHsKICAgICIqIjogewogICAgICAiKiI6IHsKICAgICAgICAiKiI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIndvcmRXcmFwIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIiwKICAgICAgICAgICAgImNvbmNhdGVuYXRlTGFiZWxzIjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0aXRsZVdyYXAiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInN0cm9rZVdpZHRoIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAid2lkdGgiOiAxCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZENvbG9yIjogewogICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICJjb2xvciI6ICIjZmZmZmZmIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsdGVyQ2FyZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBcHBsaWVkIiwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJmb3JlZ3JvdW5kQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICAiYm9yZGVyIjogdHJ1ZQogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNjYXR0ZXJDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZm9yZWNhc3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIm1hcCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImF6dXJlTWFwIjogewogICAgICAiKiI6IHsKICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVSYWRpdXMiOiA4LAogICAgICAgICAgICAibWluQnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgIm1heFJhZGl1cyI6IDQwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYXJIZWlnaHQiOiAzLAogICAgICAgICAgICAidGhpY2tuZXNzIjogMwogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwaWVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgewogICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJkb251dENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJwb3NpdGlvbiI6ICJSaWdodENlbnRlciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJsYWJlbFN0eWxlIjogIkRhdGEgdmFsdWUsIHBlcmNlbnQgb2YgdG90YWwiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBpdm90VGFibGUiOiB7CiAgICAgICIqIjogewogICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0V4cGFuZENvbGxhcHNlQnV0dG9ucyI6IHRydWUsCiAgICAgICAgICAgICJsZWdhY3lTdHlsZURpc2FibGVkIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICIqIjogewogICAgICAgICJjYXJkIjogWwogICAgICAgICAgewogICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAia3BpIjogewogICAgICAiKiI6IHsKICAgICAgICAidHJlbmRsaW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMjAKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiY2FyZFZpc3VhbCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIm1heFRpbGVzIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgewogICAgICAgICAgICAidHlwZSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImZpeGVkU2l6ZSI6IGZhbHNlCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFkdmFuY2VkU2xpY2VyVmlzdWFsIjogewogICAgICAiKiI6IHsKICAgICAgICAibGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAibWF4VGlsZXMiOiAzCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNsaWNlciI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJoaWRlRGF0ZVBpY2tlckJ1dHRvbiI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJwYWRkaW5nIjogNCwKICAgICAgICAgICAgImFjY2Vzc2liaWxpdHlDb250cmFzdFByb3BlcnRpZXMiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFyZWFDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVTdGFja2VkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInJpYmJvbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJncm91cCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiYmFzaWNTaGFwZSI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNoYXBlIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiaW1hZ2UiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxvY2tBc3BlY3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJhY3Rpb25CdXR0b24iOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJvb2ttYXJrTmF2aWdhdG9yIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJ0ZXh0Ym94IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwYWdlIjogewogICAgICAiKiI6IHsKICAgICAgICAib3V0c3BhY2UiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMTAwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9CiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '21794' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/reports + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:00 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a7a0ff6-838a-4712-bcb6-ebd25cf245cf + Pragma: + - no-cache + RequestId: + - 3a8de19d-6300-48ec-aec9-0110aa772508 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 6a7a0ff6-838a-4712-bcb6-ebd25cf245cf + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a7a0ff6-838a-4712-bcb6-ebd25cf245cf + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:02:00.5505049", + "lastUpdatedTimeUtc": "2026-01-29T06:02:01.2692581", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:22 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a7a0ff6-838a-4712-bcb6-ebd25cf245cf/result + Pragma: + - no-cache + RequestId: + - 37edc169-0103-490d-921a-c8c0f3958d5d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 6a7a0ff6-838a-4712-bcb6-ebd25cf245cf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a7a0ff6-838a-4712-bcb6-ebd25cf245cf/result + response: + body: + string: '{"id": "adbc12ba-2d82-495a-a52c-0b5173b2b51b", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:02:23 GMT + Pragma: + - no-cache + RequestId: + - 8a93b94d-9837-450e-8e0a-23f0960f9caa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:24 GMT + Pragma: + - no-cache + RequestId: + - 1ffe4ccc-554f-49e1-9a77-3219e306ba74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "adbc12ba-2d82-495a-a52c-0b5173b2b51b", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:25 GMT + Pragma: + - no-cache + RequestId: + - 82dde291-c436-40ca-aed0-4eaa95aebd64 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/adbc12ba-2d82-495a-a52c-0b5173b2b51b + response: + body: + string: '{"id": "adbc12ba-2d82-495a-a52c-0b5173b2b51b", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:26 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a349416a-9128-4c5e-9593-108e98353e85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/adbc12ba-2d82-495a-a52c-0b5173b2b51b/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:26 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/796fa837-9083-41e3-a77c-4f040b403559 + Pragma: + - no-cache + RequestId: + - c1d00946-dd20-4433-b800-80fcc5770d07 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 796fa837-9083-41e3-a77c-4f040b403559 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/796fa837-9083-41e3-a77c-4f040b403559 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:02:27.6315419", + "lastUpdatedTimeUtc": "2026-01-29T06:02:27.8815431", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/796fa837-9083-41e3-a77c-4f040b403559/result + Pragma: + - no-cache + RequestId: + - 60e6b28c-5cd1-4000-a6f1-df82420da6d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 796fa837-9083-41e3-a77c-4f040b403559 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/796fa837-9083-41e3-a77c-4f040b403559/result + response: + body: + string: '{"definition": {"format": "PBIR", "parts": [{"path": "definition.pbir", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiNC4wIiwKICAiZGF0YXNldFJlZmVyZW5jZSI6IHsKICAgICJieUNvbm5lY3Rpb24iOiB7CiAgICAgICJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9mYWJyaWNjbGlfV29ya3NwYWNlUGVyVGVzdGNsYXNzXzAwMDAwMTtpbml0aWFsIGNhdGFsb2c9ZmFiY2xpMDAwMDAxX2F1dG87aW50ZWdyYXRlZCBzZWN1cml0eT1DbGFpbXNUb2tlbjtzZW1hbnRpY21vZGVsaWQ9ZDIxNGVlZmEtOWMzYy00N2Q2LThjZjYtOTJiN2ZjYTZhNTcxIgogICAgfQogIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICJuYW1lIjogIkNZMjRTVTEwIiwKICAiZGF0YUNvbG9ycyI6IFsKICAgICIjMTE4REZGIiwKICAgICIjMTIyMzlFIiwKICAgICIjRTY2QzM3IiwKICAgICIjNkIwMDdCIiwKICAgICIjRTA0NEE3IiwKICAgICIjNzQ0RUMyIiwKICAgICIjRDlCMzAwIiwKICAgICIjRDY0NTUwIiwKICAgICIjMTk3Mjc4IiwKICAgICIjMUFBQjQwIiwKICAgICIjMTVDNkY0IiwKICAgICIjNDA5MkZGIiwKICAgICIjRkZBMDU4IiwKICAgICIjQkU1REM5IiwKICAgICIjRjQ3MkQwIiwKICAgICIjQjVBMUZGIiwKICAgICIjQzRBMjAwIiwKICAgICIjRkY4MDgwIiwKICAgICIjMDBEQkJDIiwKICAgICIjNUJENjY3IiwKICAgICIjMDA5MUQ1IiwKICAgICIjNDY2OEM1IiwKICAgICIjRkY2MzAwIiwKICAgICIjOTkwMDhBIiwKICAgICIjRUMwMDhDIiwKICAgICIjNTMzMjg1IiwKICAgICIjOTk3MDBBIiwKICAgICIjRkY0MTQxIiwKICAgICIjMUY5QTg1IiwKICAgICIjMjU4OTFDIiwKICAgICIjMDA1N0EyIiwKICAgICIjMDAyMDUwIiwKICAgICIjQzk0RjBGIiwKICAgICIjNDUwRjU0IiwKICAgICIjQjYwMDY0IiwKICAgICIjMzQxMjRGIiwKICAgICIjNkE1QTI5IiwKICAgICIjMUFBQjQwIiwKICAgICIjQkExNDFBIiwKICAgICIjMEMzRDM3IiwKICAgICIjMEI1MTFGIgogIF0sCiAgImZvcmVncm91bmQiOiAiIzI1MjQyMyIsCiAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICJmb3JlZ3JvdW5kTmV1dHJhbFRlcnRpYXJ5IjogIiNCM0IwQUQiLAogICJiYWNrZ3JvdW5kIjogIiNGRkZGRkYiLAogICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgImJhY2tncm91bmROZXV0cmFsIjogIiNDOEM2QzQiLAogICJ0YWJsZUFjY2VudCI6ICIjMTE4REZGIiwKICAiZ29vZCI6ICIjMUFBQjQwIiwKICAibmV1dHJhbCI6ICIjRDlCMzAwIiwKICAiYmFkIjogIiNENjQ1NTQiLAogICJtYXhpbXVtIjogIiMxMThERkYiLAogICJjZW50ZXIiOiAiI0Q5QjMwMCIsCiAgIm1pbmltdW0iOiAiI0RFRUZGRiIsCiAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgImh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidmlzaXRlZEh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidGV4dENsYXNzZXMiOiB7CiAgICAiY2FsbG91dCI6IHsKICAgICAgImZvbnRTaXplIjogNDUsCiAgICAgICJmb250RmFjZSI6ICJESU4iLAogICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgIH0sCiAgICAidGl0bGUiOiB7CiAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICB9LAogICAgImhlYWRlciI6IHsKICAgICAgImZvbnRTaXplIjogMTIsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSBTZW1pYm9sZCIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfSwKICAgICJsYWJlbCI6IHsKICAgICAgImZvbnRTaXplIjogMTAsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfQogIH0sCiAgInZpc3VhbFN0eWxlcyI6IHsKICAgICIqIjogewogICAgICAiKiI6IHsKICAgICAgICAiKiI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIndvcmRXcmFwIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIiwKICAgICAgICAgICAgImNvbmNhdGVuYXRlTGFiZWxzIjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0aXRsZVdyYXAiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInN0cm9rZVdpZHRoIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAid2lkdGgiOiAxCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZENvbG9yIjogewogICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICJjb2xvciI6ICIjZmZmZmZmIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsdGVyQ2FyZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBcHBsaWVkIiwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJmb3JlZ3JvdW5kQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICAiYm9yZGVyIjogdHJ1ZQogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNjYXR0ZXJDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZm9yZWNhc3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIm1hcCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImF6dXJlTWFwIjogewogICAgICAiKiI6IHsKICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVSYWRpdXMiOiA4LAogICAgICAgICAgICAibWluQnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgIm1heFJhZGl1cyI6IDQwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYXJIZWlnaHQiOiAzLAogICAgICAgICAgICAidGhpY2tuZXNzIjogMwogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwaWVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgewogICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJkb251dENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJwb3NpdGlvbiI6ICJSaWdodENlbnRlciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJsYWJlbFN0eWxlIjogIkRhdGEgdmFsdWUsIHBlcmNlbnQgb2YgdG90YWwiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBpdm90VGFibGUiOiB7CiAgICAgICIqIjogewogICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0V4cGFuZENvbGxhcHNlQnV0dG9ucyI6IHRydWUsCiAgICAgICAgICAgICJsZWdhY3lTdHlsZURpc2FibGVkIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICIqIjogewogICAgICAgICJjYXJkIjogWwogICAgICAgICAgewogICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAia3BpIjogewogICAgICAiKiI6IHsKICAgICAgICAidHJlbmRsaW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMjAKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiY2FyZFZpc3VhbCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIm1heFRpbGVzIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgewogICAgICAgICAgICAidHlwZSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImZpeGVkU2l6ZSI6IGZhbHNlCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFkdmFuY2VkU2xpY2VyVmlzdWFsIjogewogICAgICAiKiI6IHsKICAgICAgICAibGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAibWF4VGlsZXMiOiAzCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNsaWNlciI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJoaWRlRGF0ZVBpY2tlckJ1dHRvbiI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJwYWRkaW5nIjogNCwKICAgICAgICAgICAgImFjY2Vzc2liaWxpdHlDb250cmFzdFByb3BlcnRpZXMiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFyZWFDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVTdGFja2VkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInJpYmJvbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJncm91cCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiYmFzaWNTaGFwZSI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNoYXBlIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiaW1hZ2UiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxvY2tBc3BlY3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJhY3Rpb25CdXR0b24iOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJvb2ttYXJrTmF2aWdhdG9yIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJ0ZXh0Ym94IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwYWdlIjogewogICAgICAiKiI6IHsKICAgICAgICAib3V0c3BhY2UiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMTAwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9CiAgfQp9", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3ZlcnNpb25NZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiMi4wLjAiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2VzTWV0YWRhdGEvMS4wLjAvc2NoZW1hLmpzb24iLAogICJwYWdlT3JkZXIiOiBbCiAgICAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCiAgXSwKICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2UvMS4zLjAvc2NoZW1hLmpzb24iLAogICJuYW1lIjogImI4YzVmYjhkNjM1Zjg5ODMyNmM2IiwKICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAiZGlzcGxheU9wdGlvbiI6ICJGaXRUb1BhZ2UiLAogICJoZWlnaHQiOiA3MjAsCiAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:02:50 GMT + Pragma: + - no-cache + RequestId: + - 5ec654e3-a939-4539-8aaf-95efd7593caf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:52 GMT + Pragma: + - no-cache + RequestId: + - e4790680-a843-4733-8441-e928712b6ccb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "adbc12ba-2d82-495a-a52c-0b5173b2b51b", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:52 GMT + Pragma: + - no-cache + RequestId: + - 2579b787-5757-4c37-b428-f3524dfd0257 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "adbc12ba-2d82-495a-a52c-0b5173b2b51b", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '397' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:53 GMT + Pragma: + - no-cache + RequestId: + - 790f8ac1-fba0-487d-80b3-7a13e5bf28ac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "Report", "description": "Imported from fab", "folderId": null, + "displayName": "fabcli000001_new_5", "definition": {"parts": [{"path": "definition.pbir", + "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcmVwb3J0L2RlZmluaXRpb25Qcm9wZXJ0aWVzLzIuMC4wL3NjaGVtYS5qc29uIiwKICAgICJ2ZXJzaW9uIjogIjQuMCIsCiAgICAiZGF0YXNldFJlZmVyZW5jZSI6IHsKICAgICAgICAiYnlDb25uZWN0aW9uIjogewogICAgICAgICAgICAiY29ubmVjdGlvblN0cmluZyI6ICJEYXRhIFNvdXJjZT1wb3dlcmJpOi8vYXBpLnBvd2VyYmkuY29tL3YxLjAvbXlvcmcvZmFicmljY2xpX1dvcmtzcGFjZVBlclRlc3RjbGFzc18wMDAwMDE7aW5pdGlhbCBjYXRhbG9nPWZhYmNsaTAwMDAwMV9hdXRvO2ludGVncmF0ZWQgc2VjdXJpdHk9Q2xhaW1zVG9rZW47c2VtYW50aWNtb2RlbGlkPWQyMTRlZWZhLTljM2MtNDdkNi04Y2Y2LTkyYjdmY2E2YTU3MSIKICAgICAgICB9CiAgICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiUmVwb3J0IiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcmVwb3J0L2RlZmluaXRpb24vdmVyc2lvbk1ldGFkYXRhLzEuMC4wL3NjaGVtYS5qc29uIiwKICAgICJ2ZXJzaW9uIjogIjIuMC4wIgp9", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcmVwb3J0L2RlZmluaXRpb24vcmVwb3J0LzEuMi4wL3NjaGVtYS5qc29uIiwKICAgICJ0aGVtZUNvbGxlY3Rpb24iOiB7CiAgICAgICAgImJhc2VUaGVtZSI6IHsKICAgICAgICAgICAgIm5hbWUiOiAiQ1kyNFNVMTAiLAogICAgICAgICAgICAicmVwb3J0VmVyc2lvbkF0SW1wb3J0IjogIjUuNjEiLAogICAgICAgICAgICAidHlwZSI6ICJTaGFyZWRSZXNvdXJjZXMiCiAgICAgICAgfQogICAgfSwKICAgICJsYXlvdXRPcHRpbWl6YXRpb24iOiAiTm9uZSIsCiAgICAib2JqZWN0cyI6IHsKICAgICAgICAic2VjdGlvbiI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAgICAgICAgICAgInZlcnRpY2FsQWxpZ25tZW50IjogewogICAgICAgICAgICAgICAgICAgICAgICAiZXhwciI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJWYWx1ZSI6ICInVG9wJyIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgIF0KICAgIH0sCiAgICAicmVzb3VyY2VQYWNrYWdlcyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICAgICAgICJpdGVtcyI6IFsKICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAgICAgICAgICAgInBhdGgiOiAiQmFzZVRoZW1lcy9DWTI0U1UxMC5qc29uIiwKICAgICAgICAgICAgICAgICAgICAidHlwZSI6ICJCYXNlVGhlbWUiCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIF0KICAgICAgICB9CiAgICBdLAogICAgInNldHRpbmdzIjogewogICAgICAgICJ1c2VTdHlsYWJsZVZpc3VhbENvbnRhaW5lckhlYWRlciI6IHRydWUsCiAgICAgICAgImRlZmF1bHREcmlsbEZpbHRlck90aGVyVmlzdWFscyI6IHRydWUsCiAgICAgICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgICAgICJ1c2VFbmhhbmNlZFRvb2x0aXBzIjogdHJ1ZSwKICAgICAgICAidXNlRGVmYXVsdEFnZ3JlZ2F0ZURpc3BsYXlOYW1lIjogdHJ1ZQogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcmVwb3J0L2RlZmluaXRpb24vcGFnZXNNZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgICAicGFnZU9yZGVyIjogWwogICAgICAgICJiOGM1ZmI4ZDYzNWY4OTgzMjZjNiIKICAgIF0sCiAgICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcmVwb3J0L2RlZmluaXRpb24vcGFnZS8xLjMuMC9zY2hlbWEuanNvbiIsCiAgICAibmFtZSI6ICJiOGM1ZmI4ZDYzNWY4OTgzMjZjNiIsCiAgICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAgICJkaXNwbGF5T3B0aW9uIjogIkZpdFRvUGFnZSIsCiAgICAiaGVpZ2h0IjogNzIwLAogICAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICAgIm5hbWUiOiAiQ1kyNFNVMTAiLAogICAgImRhdGFDb2xvcnMiOiBbCiAgICAgICAgIiMxMThERkYiLAogICAgICAgICIjMTIyMzlFIiwKICAgICAgICAiI0U2NkMzNyIsCiAgICAgICAgIiM2QjAwN0IiLAogICAgICAgICIjRTA0NEE3IiwKICAgICAgICAiIzc0NEVDMiIsCiAgICAgICAgIiNEOUIzMDAiLAogICAgICAgICIjRDY0NTUwIiwKICAgICAgICAiIzE5NzI3OCIsCiAgICAgICAgIiMxQUFCNDAiLAogICAgICAgICIjMTVDNkY0IiwKICAgICAgICAiIzQwOTJGRiIsCiAgICAgICAgIiNGRkEwNTgiLAogICAgICAgICIjQkU1REM5IiwKICAgICAgICAiI0Y0NzJEMCIsCiAgICAgICAgIiNCNUExRkYiLAogICAgICAgICIjQzRBMjAwIiwKICAgICAgICAiI0ZGODA4MCIsCiAgICAgICAgIiMwMERCQkMiLAogICAgICAgICIjNUJENjY3IiwKICAgICAgICAiIzAwOTFENSIsCiAgICAgICAgIiM0NjY4QzUiLAogICAgICAgICIjRkY2MzAwIiwKICAgICAgICAiIzk5MDA4QSIsCiAgICAgICAgIiNFQzAwOEMiLAogICAgICAgICIjNTMzMjg1IiwKICAgICAgICAiIzk5NzAwQSIsCiAgICAgICAgIiNGRjQxNDEiLAogICAgICAgICIjMUY5QTg1IiwKICAgICAgICAiIzI1ODkxQyIsCiAgICAgICAgIiMwMDU3QTIiLAogICAgICAgICIjMDAyMDUwIiwKICAgICAgICAiI0M5NEYwRiIsCiAgICAgICAgIiM0NTBGNTQiLAogICAgICAgICIjQjYwMDY0IiwKICAgICAgICAiIzM0MTI0RiIsCiAgICAgICAgIiM2QTVBMjkiLAogICAgICAgICIjMUFBQjQwIiwKICAgICAgICAiI0JBMTQxQSIsCiAgICAgICAgIiMwQzNEMzciLAogICAgICAgICIjMEI1MTFGIgogICAgXSwKICAgICJmb3JlZ3JvdW5kIjogIiMyNTI0MjMiLAogICAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICAgImZvcmVncm91bmROZXV0cmFsVGVydGlhcnkiOiAiI0IzQjBBRCIsCiAgICAiYmFja2dyb3VuZCI6ICIjRkZGRkZGIiwKICAgICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgICAiYmFja2dyb3VuZE5ldXRyYWwiOiAiI0M4QzZDNCIsCiAgICAidGFibGVBY2NlbnQiOiAiIzExOERGRiIsCiAgICAiZ29vZCI6ICIjMUFBQjQwIiwKICAgICJuZXV0cmFsIjogIiNEOUIzMDAiLAogICAgImJhZCI6ICIjRDY0NTU0IiwKICAgICJtYXhpbXVtIjogIiMxMThERkYiLAogICAgImNlbnRlciI6ICIjRDlCMzAwIiwKICAgICJtaW5pbXVtIjogIiNERUVGRkYiLAogICAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgICAiaHlwZXJsaW5rIjogIiMwMDc4ZDQiLAogICAgInZpc2l0ZWRIeXBlcmxpbmsiOiAiIzAwNzhkNCIsCiAgICAidGV4dENsYXNzZXMiOiB7CiAgICAgICAgImNhbGxvdXQiOiB7CiAgICAgICAgICAgICJmb250U2l6ZSI6IDQ1LAogICAgICAgICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgfSwKICAgICAgICAidGl0bGUiOiB7CiAgICAgICAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAgICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgfSwKICAgICAgICAiaGVhZGVyIjogewogICAgICAgICAgICAiZm9udFNpemUiOiAxMiwKICAgICAgICAgICAgImZvbnRGYWNlIjogIlNlZ29lIFVJIFNlbWlib2xkIiwKICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgfSwKICAgICAgICAibGFiZWwiOiB7CiAgICAgICAgICAgICJmb250U2l6ZSI6IDEwLAogICAgICAgICAgICAiZm9udEZhY2UiOiAiU2Vnb2UgVUkiLAogICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICB9CiAgICB9LAogICAgInZpc3VhbFN0eWxlcyI6IHsKICAgICAgICAiKiI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiKiI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJ3b3JkV3JhcCI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMAogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvd0F4aXNUaXRsZSI6IHRydWUsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkbGluZVN0eWxlIjogImRvdHRlZCIsCiAgICAgICAgICAgICAgICAgICAgICAgICJjb25jYXRlbmF0ZUxhYmVscyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvd0F4aXNUaXRsZSI6IHRydWUsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkbGluZVN0eWxlIjogImRvdHRlZCIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAidGl0bGVXcmFwIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzdHJva2VXaWR0aCI6IDMKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAgICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMAogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgIndpZHRoIjogMQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImJhY2tncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiY29sb3IiOiAiI2ZmZmZmZiIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAgICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgImZpbHRlckNhcmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiJGlkIjogIkFwcGxpZWQiLAogICAgICAgICAgICAgICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAgICAgImJvcmRlciI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAgICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgICAgICAgImJvcmRlciI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJzY2F0dGVyQ2hhcnQiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYnViYmxlU2l6ZSI6IC0xMCwKICAgICAgICAgICAgICAgICAgICAgICAgIm1hcmtlclJhbmdlVHlwZSI6ICJhdXRvIgogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImxpbmVDaGFydCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJmb3JlY2FzdCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAibWFwIjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJidWJibGVzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImJ1YmJsZVNpemUiOiAtMTAsCiAgICAgICAgICAgICAgICAgICAgICAgICJtYXJrZXJSYW5nZVR5cGUiOiAiYXV0byIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJhenVyZU1hcCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgICAgICAgICAgICAgIm1pbkJ1YmJsZVJhZGl1cyI6IDgsCiAgICAgICAgICAgICAgICAgICAgICAgICJtYXhSYWRpdXMiOiA0MAogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYmFySGVpZ2h0IjogMywKICAgICAgICAgICAgICAgICAgICAgICAgInRoaWNrbmVzcyI6IDMKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJwaWVDaGFydCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAgICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImRvbnV0Q2hhcnQiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93IjogdHJ1ZSwKICAgICAgICAgICAgICAgICAgICAgICAgInBvc2l0aW9uIjogIlJpZ2h0Q2VudGVyIgogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImxhYmVsU3R5bGUiOiAiRGF0YSB2YWx1ZSwgcGVyY2VudCBvZiB0b3RhbCIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJwaXZvdFRhYmxlIjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3dFeHBhbmRDb2xsYXBzZUJ1dHRvbnMiOiB0cnVlLAogICAgICAgICAgICAgICAgICAgICAgICAibGVnYWN5U3R5bGVEaXNhYmxlZCI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImNhcmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJrcGkiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgInRyZW5kbGluZSI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAyMAogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImNhcmRWaXN1YWwiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJtYXhUaWxlcyI6IDMKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInR5cGUiOiAwCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJmaXhlZFNpemUiOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAiYWR2YW5jZWRTbGljZXJWaXN1YWwiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJtYXhUaWxlcyI6IDMKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJzbGljZXIiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiaGlkZURhdGVQaWNrZXJCdXR0b24iOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAicGFkZGluZyI6IDQsCiAgICAgICAgICAgICAgICAgICAgICAgICJhY2Nlc3NpYmlsaXR5Q29udHJhc3RQcm9wZXJ0aWVzIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAiY29sdW1uQ2hhcnQiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJjbHVzdGVyZWRDb2x1bW5DaGFydCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3dHcmFkaWVudExlZ2VuZCI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAgICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAiYmFyQ2hhcnQiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJjbHVzdGVyZWRCYXJDaGFydCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3dHcmFkaWVudExlZ2VuZCI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAgICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAiYXJlYUNoYXJ0IjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJzdGFja2VkQXJlYUNoYXJ0IjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAibGluZVN0YWNrZWRDb2x1bW5Db21ib0NoYXJ0IjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJyaWJib25DaGFydCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAgICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImdyb3VwIjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgImJhc2ljU2hhcGUiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgInNoYXBlIjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJpbWFnZSI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJsb2NrQXNwZWN0IjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAiYWN0aW9uQnV0dG9uIjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0KICAgICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAiYm9va21hcmtOYXZpZ2F0b3IiOiB7CiAgICAgICAgICAgICIqIjogewogICAgICAgICAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgXQogICAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICAidGV4dGJveCI6IHsKICAgICAgICAgICAgIioiOiB7CiAgICAgICAgICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJwYWdlIjogewogICAgICAgICAgICAiKiI6IHsKICAgICAgICAgICAgICAgICJvdXRzcGFjZSI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIF0sCiAgICAgICAgICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAxMDAKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBdCiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '30595' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:02:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4257ba6e-6fb5-411b-82f6-517b5f9bc320 + Pragma: + - no-cache + RequestId: + - 76374c7b-21b7-41d1-be65-0be055f56618 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 4257ba6e-6fb5-411b-82f6-517b5f9bc320 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4257ba6e-6fb5-411b-82f6-517b5f9bc320 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:02:56.4838417", + "lastUpdatedTimeUtc": "2026-01-29T06:02:56.7963441", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4257ba6e-6fb5-411b-82f6-517b5f9bc320/result + Pragma: + - no-cache + RequestId: + - b1e79966-8797-4294-b928-f159909131f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 4257ba6e-6fb5-411b-82f6-517b5f9bc320 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4257ba6e-6fb5-411b-82f6-517b5f9bc320/result + response: + body: + string: '{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", "displayName": + "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:03:19 GMT + Pragma: + - no-cache + RequestId: + - 74159ae8-a15b-427d-8fa0-efb8187648c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:20 GMT + Pragma: + - no-cache + RequestId: + - 6adfba13-71e2-48b0-9ec5-6372989752b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "adbc12ba-2d82-495a-a52c-0b5173b2b51b", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", + "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", "displayName": + "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", + "type": "DataPipeline", "displayName": "fabcli000001_new_4", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:21 GMT + Pragma: + - no-cache + RequestId: + - 5fa159f3-01d0-4e9d-b0ef-8274aafe7028 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/adbc12ba-2d82-495a-a52c-0b5173b2b51b + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:03:22 GMT + Pragma: + - no-cache + RequestId: + - a81280dc-4e66-49ba-a76a-317f0a5a7334 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SQLDatabase].yaml new file mode 100644 index 00000000..bc2c4422 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SQLDatabase].yaml @@ -0,0 +1,1378 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:14 GMT + Pragma: + - no-cache + RequestId: + - fa7f31e5-696b-4277-bbeb-3a08252d994c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '808' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:15 GMT + Pragma: + - no-cache + RequestId: + - 92268546-8881-4a02-b65d-b6584a197636 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '808' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:16 GMT + Pragma: + - no-cache + RequestId: + - 29b38223-b829-49c5-8941-57b1f709ef96 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SQLDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/sqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:17 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8e58ea46-c6ad-454d-875d-14d4ade8a22b + Pragma: + - no-cache + RequestId: + - 52e71637-0905-43f0-84c7-2be662835f54 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 8e58ea46-c6ad-454d-875d-14d4ade8a22b + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8e58ea46-c6ad-454d-875d-14d4ade8a22b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:08:17.0661644", + "lastUpdatedTimeUtc": "2026-01-29T06:08:33.9145263", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:40 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8e58ea46-c6ad-454d-875d-14d4ade8a22b/result + Pragma: + - no-cache + RequestId: + - 31dc1534-78f0-415e-ad91-a25e7436a388 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 8e58ea46-c6ad-454d-875d-14d4ade8a22b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8e58ea46-c6ad-454d-875d-14d4ade8a22b/result + response: + body: + string: '{"id": "2c5ab325-0115-4d25-9ef5-ef7cf2410c28", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:08:41 GMT + Pragma: + - no-cache + RequestId: + - 99d84e35-9975-475e-8c6d-5e005f15c1b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:41 GMT + Pragma: + - no-cache + RequestId: + - cf815bf1-3c05-430a-b3f0-4a97ad20476e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "92b7b4c0-3bd3-4c90-92bf-c2ea1b5a8afc", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "2c5ab325-0115-4d25-9ef5-ef7cf2410c28", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '875' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:41 GMT + Pragma: + - no-cache + RequestId: + - 15a05dff-1108-4f79-908b-f2d082e03a81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/2c5ab325-0115-4d25-9ef5-ef7cf2410c28 + response: + body: + string: '{"id": "2c5ab325-0115-4d25-9ef5-ef7cf2410c28", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:42 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - aadbd392-a592-413e-b6ad-4f7e6a0bb575 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/2c5ab325-0115-4d25-9ef5-ef7cf2410c28/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:08:43 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + Pragma: + - no-cache + RequestId: + - 84f33cd2-aada-425f-851e-e48352c88049 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-29T06:08:44.4942616", + "lastUpdatedTimeUtc": "2026-01-29T06:08:44.4942616", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '120' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + Pragma: + - no-cache + RequestId: + - 215fb0b7-6adc-435b-9d82-e908f445fdad + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:08:44.4942616", + "lastUpdatedTimeUtc": "2026-01-29T06:09:13.3619637", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:28 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/112997c0-c6ad-4ba2-92a1-00ff6ad51b1a/result + Pragma: + - no-cache + RequestId: + - 209f797f-5ddc-43d9-aed4-c8c02b9305c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 112997c0-c6ad-4ba2-92a1-00ff6ad51b1a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/112997c0-c6ad-4ba2-92a1-00ff6ad51b1a/result + response: + body: + string: '{"definition": {"format": "dacpac", "parts": [{"path": "fabcli000001.dacpac", + "payload": "UEsDBBQAAAAIACMxPVzG6qC/qQIAALwHAAAJAAAAbW9kZWwueG1spVVdb9pAEHxOpf4Hy++1+VCbqjKJIgNNJEhIbKWqqgot9gInne+cu3ME+fXdw2ATCCm0D0jmvDOz7M4cweUi484zKs2k6LhNr+E6KBKZMjHruIWZfvrqXl58/BB0wUCUzDGDoUyRO33GsS9VBuaxBrdcp6ypztreZ9fp6vwWMuy4Q5YoqeXUeJbOi6Xk2isRXvTE7ac76cNEscQWTEBj+Xak5DNLUblOKDkHQ9yDhKWk2Wi3tw5Di0ChmWHPpNcHrtF16CcK3XHnxuTffF+vGLWXVc0kMvP1E5UqGoSfQuJHqBhw9rIi9VuNZstvtFyaw1lwjUCN2MezICy0kZlt1QnB4EyqZce9IvnbgnO9qqeqIRpIbU05hPq98wi8oJNYFdSlX3L6Nek7IveFNJjepCgMmzIazNtae2X/IRnKLKd5TBhnZmlNcEBzv24j2jxvnKj5gFNU5EfiiJc5UZBDSkccELe2tE+VJm3aoPJoqTkkG/U92EDOWAL8H5C9BRUJ4CNQpt7orxL8+yAsKvJcodZDpjVFrYs5CtpSwlD3lJKqplp7+KSx0ZTCLH0EMvGEo94a3tbxmjPwa0cHq2yXxD2OGdmmhm4SeZfbUFTupmjmqMyy2v46itUPiO4H4wEdieb4OwpUwMfhqDkOb8ZXUT2fHZobvYlJF6dQcHMn3vTuO0B9GuQHKEGbOAWlmJlfTaQ6oblQigSMbe8nQ55q+3Q8OpZKjGCG9MJgYqe8hX1llDfAfZKKcWF6wm4/PU7TqtFlzqavk9w+CFivawBiVhC2QvwNsOnueOB9gWoZGakwhNwUCl/fNUfgIgMcV1/jOYVxLnk9lfaX84MMQ1h0ZV6VVpfaXmGMWS7J8NeMQqqWD2jsRSzF7gp2Mr6OXpnOTSQDf+cv+OIPUEsDBBQAAAAIACMxPVzyU/AapQAAAMgAAAAPAAAARGFjTWV0YWRhdGEueG1sNY69DsIgGEV3E9+BsNuPdjBqKF2cXTTulNKWyE8FNNZXc/CRfAWxau52c3PueT2etLoZja7SB+VsifOMYCStcI2yXYkvsV2scMXmM7rl4jAOEqW5DSXuYxw2AEH00vCQGSW8C66NmXAGwlkH6RMUGi5gL73iWt15TBdQkLwAUuDERIjuuJGs5bXQannqxno9EOcoTPU0OH7NWBL7hMK/SErwc2JvUEsDBBQAAAAIACMxPVykV9JPLQIAAF0EAAAKAAAAT3JpZ2luLnhtbKVUy27bMBC8F+g/CLo24ksv0pAUOJYDFEWaAHF7pyk6ISyJDkkVTX+th35Sf6GULTtN65565O7OznCWy5/ffxSXX7s2+CKNVbovQwxQGMhe6Eb1D2U4uE1Ew8vq7Zui5uLWqAfVBx7Q2zJ8dG43g9CKR9lxCzoljLZ644DQHbRPrZXGt4UNF/BeGsVb9Y07TwIJwgQiEvquQVDccbHlD/LO6J00Tkm7D/vE54OmKgZeFEAFPAam/EL3jqveLr/utHGyqbnj1YZ73gKezU24e2ck76ZmR7YXvuCQ/8g7WYYjLqzIyP+3gn9h5K7Vz53s3ajCqPXgtLFhtb/FmXvAM4IKeN6W4taf9i4e0e8bT6Tcc5VhkWSZQBFFiERJQuJo3WAabTYoT9YMI5nFBTyVn8zgxlUEkSxCOCJshbIZYjMUA4QZoxi/Q2iGvOhD4YRa9s0ZTA7SnJAUp0fMWDYh/D2aQbjRoerm9FJGe8FK69aC+/0zAitut/7w1F4EkyElzve+AXQRLIbWDUaWvRyc4b7mbli3SnyQzyu9lX1JGU3SRjQUUSQEw97G33hfSzlOYWxPQJqCl+o/BjRFDwqr/332J5ap32Hcr+daLB6l2NqhOy3DMRB8MqoMYacb2QK/iGFVX7H5cn6VLJI5zTHNY5TRa1ajBUsThJckThnL6wXLWI3j+TVBS7ok1ySlJGfpfF77ZZl6T1Jecxc3I9VB68tGpgU8E/e/BDx9E9UvUEsDBBQAAAAIACMxPVztodPgjwAAAK8AAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbCWNSw6CMBCGr9LMHgZdGGPaulBv4AWaOjwiTBs6GDybC4/kFSyw/J/f7/PV53no1YvG1AU2sCsrUMQ+PDpuDExSF0c4W31/R0oqVzkZaEXiCTH5lgaXyhCJc1KHcXCS5dhgdP7pGsJ9VR3QBxZiKWT5AKuvVLupF3Wbs71h8xzUZestKANCs+Bqo9W44u0fUEsBAhQAFAAAAAgAIzE9XMbqoL+pAgAAvAcAAAkAAAAAAAAAAAAAAAAAAAAAAG1vZGVsLnhtbFBLAQIUABQAAAAIACMxPVzyU/AapQAAAMgAAAAPAAAAAAAAAAAAAAAAANACAABEYWNNZXRhZGF0YS54bWxQSwECFAAUAAAACAAjMT1cpFfSTy0CAABdBAAACgAAAAAAAAAAAAAAAACiAwAAT3JpZ2luLnhtbFBLAQIUABQAAAAIACMxPVztodPgjwAAAK8AAAATAAAAAAAAAAAAAAAAAPcFAABbQ29udGVudF9UeXBlc10ueG1sUEsFBgAAAAAEAAQA7QAAALcGAAAAAA==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNRTERhdGFiYXNlIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:09:29 GMT + Pragma: + - no-cache + RequestId: + - 25e076c6-1256-440c-80cf-b738f660180a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:30 GMT + Pragma: + - no-cache + RequestId: + - c5b12761-37cd-48a0-ae96-0cca78e8683d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "92b7b4c0-3bd3-4c90-92bf-c2ea1b5a8afc", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "2c5ab325-0115-4d25-9ef5-ef7cf2410c28", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '875' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:31 GMT + Pragma: + - no-cache + RequestId: + - f24cc156-172e-41ce-9e89-aab242661981 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "92b7b4c0-3bd3-4c90-92bf-c2ea1b5a8afc", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "2c5ab325-0115-4d25-9ef5-ef7cf2410c28", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '875' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:31 GMT + Pragma: + - no-cache + RequestId: + - a59a107d-ee4b-4592-aa74-fa0622f25b0e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "SQLDatabase", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_13", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiU1FMRGF0YWJhc2UiLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "fabcli000001.dacpac", "payload": "UEsDBBQAAAAIACMxPVzG6qC/qQIAALwHAAAJAAAAbW9kZWwueG1spVVdb9pAEHxOpf4Hy++1+VCbqjKJIgNNJEhIbKWqqgot9gInne+cu3ME+fXdw2ATCCm0D0jmvDOz7M4cweUi484zKs2k6LhNr+E6KBKZMjHruIWZfvrqXl58/BB0wUCUzDGDoUyRO33GsS9VBuaxBrdcp6ypztreZ9fp6vwWMuy4Q5YoqeXUeJbOi6Xk2isRXvTE7ac76cNEscQWTEBj+Xak5DNLUblOKDkHQ9yDhKWk2Wi3tw5Di0ChmWHPpNcHrtF16CcK3XHnxuTffF+vGLWXVc0kMvP1E5UqGoSfQuJHqBhw9rIi9VuNZstvtFyaw1lwjUCN2MezICy0kZlt1QnB4EyqZce9IvnbgnO9qqeqIRpIbU05hPq98wi8oJNYFdSlX3L6Nek7IveFNJjepCgMmzIazNtae2X/IRnKLKd5TBhnZmlNcEBzv24j2jxvnKj5gFNU5EfiiJc5UZBDSkccELe2tE+VJm3aoPJoqTkkG/U92EDOWAL8H5C9BRUJ4CNQpt7orxL8+yAsKvJcodZDpjVFrYs5CtpSwlD3lJKqplp7+KSx0ZTCLH0EMvGEo94a3tbxmjPwa0cHq2yXxD2OGdmmhm4SeZfbUFTupmjmqMyy2v46itUPiO4H4wEdieb4OwpUwMfhqDkOb8ZXUT2fHZobvYlJF6dQcHMn3vTuO0B9GuQHKEGbOAWlmJlfTaQ6oblQigSMbe8nQ55q+3Q8OpZKjGCG9MJgYqe8hX1llDfAfZKKcWF6wm4/PU7TqtFlzqavk9w+CFivawBiVhC2QvwNsOnueOB9gWoZGakwhNwUCl/fNUfgIgMcV1/jOYVxLnk9lfaX84MMQ1h0ZV6VVpfaXmGMWS7J8NeMQqqWD2jsRSzF7gp2Mr6OXpnOTSQDf+cv+OIPUEsDBBQAAAAIACMxPVzyU/AapQAAAMgAAAAPAAAARGFjTWV0YWRhdGEueG1sNY69DsIgGEV3E9+BsNuPdjBqKF2cXTTulNKWyE8FNNZXc/CRfAWxau52c3PueT2etLoZja7SB+VsifOMYCStcI2yXYkvsV2scMXmM7rl4jAOEqW5DSXuYxw2AEH00vCQGSW8C66NmXAGwlkH6RMUGi5gL73iWt15TBdQkLwAUuDERIjuuJGs5bXQannqxno9EOcoTPU0OH7NWBL7hMK/SErwc2JvUEsDBBQAAAAIACMxPVykV9JPLQIAAF0EAAAKAAAAT3JpZ2luLnhtbKVUy27bMBC8F+g/CLo24ksv0pAUOJYDFEWaAHF7pyk6ISyJDkkVTX+th35Sf6GULTtN65565O7OznCWy5/ffxSXX7s2+CKNVbovQwxQGMhe6Eb1D2U4uE1Ew8vq7Zui5uLWqAfVBx7Q2zJ8dG43g9CKR9lxCzoljLZ644DQHbRPrZXGt4UNF/BeGsVb9Y07TwIJwgQiEvquQVDccbHlD/LO6J00Tkm7D/vE54OmKgZeFEAFPAam/EL3jqveLr/utHGyqbnj1YZ73gKezU24e2ck76ZmR7YXvuCQ/8g7WYYjLqzIyP+3gn9h5K7Vz53s3ajCqPXgtLFhtb/FmXvAM4IKeN6W4taf9i4e0e8bT6Tcc5VhkWSZQBFFiERJQuJo3WAabTYoT9YMI5nFBTyVn8zgxlUEkSxCOCJshbIZYjMUA4QZoxi/Q2iGvOhD4YRa9s0ZTA7SnJAUp0fMWDYh/D2aQbjRoerm9FJGe8FK69aC+/0zAitut/7w1F4EkyElzve+AXQRLIbWDUaWvRyc4b7mbli3SnyQzyu9lX1JGU3SRjQUUSQEw97G33hfSzlOYWxPQJqCl+o/BjRFDwqr/332J5ap32Hcr+daLB6l2NqhOy3DMRB8MqoMYacb2QK/iGFVX7H5cn6VLJI5zTHNY5TRa1ajBUsThJckThnL6wXLWI3j+TVBS7ok1ySlJGfpfF77ZZl6T1Jecxc3I9VB68tGpgU8E/e/BDx9E9UvUEsDBBQAAAAIACMxPVztodPgjwAAAK8AAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbCWNSw6CMBCGr9LMHgZdGGPaulBv4AWaOjwiTBs6GDybC4/kFSyw/J/f7/PV53no1YvG1AU2sCsrUMQ+PDpuDExSF0c4W31/R0oqVzkZaEXiCTH5lgaXyhCJc1KHcXCS5dhgdP7pGsJ9VR3QBxZiKWT5AKuvVLupF3Wbs71h8xzUZestKANCs+Bqo9W44u0fUEsBAhQAFAAAAAgAIzE9XMbqoL+pAgAAvAcAAAkAAAAAAAAAAAAAAAAAAAAAAG1vZGVsLnhtbFBLAQIUABQAAAAIACMxPVzyU/AapQAAAMgAAAAPAAAAAAAAAAAAAAAAANACAABEYWNNZXRhZGF0YS54bWxQSwECFAAUAAAACAAjMT1cpFfSTy0CAABdBAAACgAAAAAAAAAAAAAAAACiAwAAT3JpZ2luLnhtbFBLAQIUABQAAAAIACMxPVztodPgjwAAAK8AAAATAAAAAAAAAAAAAAAAAPcFAABbQ29udGVudF9UeXBlc10ueG1sUEsFBgAAAAAEAAQA7QAAALcGAAAAAA==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '3434' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:33 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d58c992-bda3-4a63-af62-301016ea3b00 + Pragma: + - no-cache + RequestId: + - 0d248632-5bae-4628-b526-c76aca57080c + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 3d58c992-bda3-4a63-af62-301016ea3b00 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d58c992-bda3-4a63-af62-301016ea3b00 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-29T06:09:33.2114713", + "lastUpdatedTimeUtc": "2026-01-29T06:09:33.2114713", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '121' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:09:55 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d58c992-bda3-4a63-af62-301016ea3b00 + Pragma: + - no-cache + RequestId: + - 6b975fd9-d493-4435-8756-55fe6507e1b9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 3d58c992-bda3-4a63-af62-301016ea3b00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d58c992-bda3-4a63-af62-301016ea3b00 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:09:33.2114713", + "lastUpdatedTimeUtc": "2026-01-29T06:10:02.9685317", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:17 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d58c992-bda3-4a63-af62-301016ea3b00/result + Pragma: + - no-cache + RequestId: + - f6444641-beca-427d-9267-ef99f9a65bcf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 3d58c992-bda3-4a63-af62-301016ea3b00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3d58c992-bda3-4a63-af62-301016ea3b00/result + response: + body: + string: '{"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", "type": "SQLDatabase", + "displayName": "fabcli000001_new_13", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:10:18 GMT + Pragma: + - no-cache + RequestId: + - 525ae106-656b-4edc-a41a-a0839cc7b0fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:18 GMT + Pragma: + - no-cache + RequestId: + - 62a47a35-c83e-45cb-94c5-6bbdea63559c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "a570a170-fc80-4329-a255-c016d930fdf8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "92b7b4c0-3bd3-4c90-92bf-c2ea1b5a8afc", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5bc804ae-de7a-4706-9db3-b5af43092215", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "f07a30f5-3039-4984-a928-dd75fa7ddb7c", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "dc332919-962c-406d-b832-afb25317ac08", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "75c8386c-4e3e-443a-a5b6-a84a28381fc0", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "65326d62-1496-41cf-960d-52a06cad95df", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4c6070d7-7fa8-479f-9ba4-b7a2a8c16918", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "53ec6f02-361b-4b41-abe3-f655b1291f3b", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "7791ce9a-c38c-409b-92b0-4a7a1a325bd0", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "b9642da1-242d-43a9-ac2d-1920286544f8", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "2c5ab325-0115-4d25-9ef5-ef7cf2410c28", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f7c30119-d21f-43c3-9104-ebc1ef33cfd1", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '936' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:10:19 GMT + Pragma: + - no-cache + RequestId: + - 24eafe26-fe31-4449-969d-4231325a656c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/2c5ab325-0115-4d25-9ef5-ef7cf2410c28 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:10:20 GMT + Pragma: + - no-cache + RequestId: + - 7bdf6492-595f-49da-9413-a47349d7df57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SemanticModel].yaml new file mode 100644 index 00000000..8348f455 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SemanticModel].yaml @@ -0,0 +1,1144 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:23 GMT + Pragma: + - no-cache + RequestId: + - 7c77369b-49d8-4c4a-b8a3-b153f7f57b2e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:24 GMT + Pragma: + - no-cache + RequestId: + - dc107d82-18cf-4670-bf56-4294d1fa4aff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '386' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:24 GMT + Pragma: + - no-cache + RequestId: + - 2ebd19e7-23fd-4737-abd7-7dc3be86c85c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2668' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:26 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a93ecae-c2fc-4800-8d9a-ce1ff4fafaa4 + Pragma: + - no-cache + RequestId: + - 64242a03-8b3c-4478-9b2f-a4fd73351505 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 6a93ecae-c2fc-4800-8d9a-ce1ff4fafaa4 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a93ecae-c2fc-4800-8d9a-ce1ff4fafaa4 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:03:26.3813706", + "lastUpdatedTimeUtc": "2026-01-29T06:03:37.1346234", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:48 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a93ecae-c2fc-4800-8d9a-ce1ff4fafaa4/result + Pragma: + - no-cache + RequestId: + - 12bfe9bf-3b68-430f-ab4b-c75da4fe51de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 6a93ecae-c2fc-4800-8d9a-ce1ff4fafaa4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6a93ecae-c2fc-4800-8d9a-ce1ff4fafaa4/result + response: + body: + string: '{"id": "41878e13-61f9-4b21-8390-39e1c0e2110f", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:03:49 GMT + Pragma: + - no-cache + RequestId: + - 36899f77-e4d6-47a9-9796-69ed64963ca6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:50 GMT + Pragma: + - no-cache + RequestId: + - 9394f9b0-7dcb-4fa9-b15d-ce841a179ce9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "41878e13-61f9-4b21-8390-39e1c0e2110f", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '421' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:50 GMT + Pragma: + - no-cache + RequestId: + - 83e0405f-1e85-4d39-b852-9ee57afe0024 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/41878e13-61f9-4b21-8390-39e1c0e2110f + response: + body: + string: '{"id": "41878e13-61f9-4b21-8390-39e1c0e2110f", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '161' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6f199070-4d30-4707-8954-2be7660b6b06 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/41878e13-61f9-4b21-8390-39e1c0e2110f/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:03:52 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/50c650dd-1e5f-48ae-8c1c-5078b33263e0 + Pragma: + - no-cache + RequestId: + - b2ba6172-9af5-4c38-962b-98dc0e02d2c0 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 50c650dd-1e5f-48ae-8c1c-5078b33263e0 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/50c650dd-1e5f-48ae-8c1c-5078b33263e0 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:03:52.6527722", + "lastUpdatedTimeUtc": "2026-01-29T06:03:53.0597317", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:14 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/50c650dd-1e5f-48ae-8c1c-5078b33263e0/result + Pragma: + - no-cache + RequestId: + - d2cadd6e-38e8-45fe-b67a-60410d7239f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 50c650dd-1e5f-48ae-8c1c-5078b33263e0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/50c650dd-1e5f-48ae-8c1c-5078b33263e0/result + response: + body: + string: '{"definition": {"format": "TMDL", "parts": [{"path": "definition.pbism", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3NlbWFudGljTW9kZWwvZGVmaW5pdGlvblByb3BlcnRpZXMvMS4wLjAvc2NoZW1hLmpzb24iLAogICJ2ZXJzaW9uIjogIjQuMiIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}, {"path": "definition/model.tmdl", "payload": + "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxlCgo=", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:04:15 GMT + Pragma: + - no-cache + RequestId: + - 8a6be1fb-00db-44f1-8d4e-9f434b813cf2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:15 GMT + Pragma: + - no-cache + RequestId: + - 8d141ed3-390d-4ddf-8c09-28b3f3846921 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "41878e13-61f9-4b21-8390-39e1c0e2110f", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '421' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:16 GMT + Pragma: + - no-cache + RequestId: + - 258237a4-1c24-4e83-b79a-bb4e3639ebbc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "41878e13-61f9-4b21-8390-39e1c0e2110f", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '421' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:17 GMT + Pragma: + - no-cache + RequestId: + - 6333a865-820f-4a05-83a4-447dee79ea98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "SemanticModel", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_6", "definition": {"parts": [{"path": + "definition.pbism", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vc2VtYW50aWNNb2RlbC9kZWZpbml0aW9uUHJvcGVydGllcy8xLjAuMC9zY2hlbWEuanNvbiIsCiAgICAidmVyc2lvbiI6ICI0LjIiLAogICAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiU2VtYW50aWNNb2RlbCIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/model.tmdl", "payload": + "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxlCgo=", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/tables/Table.tmdl", "payload": "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2905' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:18 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/efc820c2-03a3-46c1-bd76-0c557ce61e2d + Pragma: + - no-cache + RequestId: + - 90b4c547-e886-4e3e-8913-d32d76a06b13 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - efc820c2-03a3-46c1-bd76-0c557ce61e2d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/efc820c2-03a3-46c1-bd76-0c557ce61e2d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:04:18.92783", + "lastUpdatedTimeUtc": "2026-01-29T06:04:29.6499806", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:40 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/efc820c2-03a3-46c1-bd76-0c557ce61e2d/result + Pragma: + - no-cache + RequestId: + - c0ada83e-7545-476c-9513-98d080ed627f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - efc820c2-03a3-46c1-bd76-0c557ce61e2d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/efc820c2-03a3-46c1-bd76-0c557ce61e2d/result + response: + body: + string: '{"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", "type": "SemanticModel", + "displayName": "fabcli000001_new_6", "description": "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:04:40 GMT + Pragma: + - no-cache + RequestId: + - 054d7cb4-dfa2-4f4c-9cc7-1f428bd1d096 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:42 GMT + Pragma: + - no-cache + RequestId: + - 26399d38-ad87-4652-89cc-fa010e0d8ac6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "914ed2ae-b17a-439b-9fd4-ec84d034f4a9", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "d214eefa-9c3c-47d6-8cf6-92b7fca6a571", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "41878e13-61f9-4b21-8390-39e1c0e2110f", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "5c12b14f-5a65-456e-bb90-ed29a4328135", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": + "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "5ad171f3-2b47-4a51-9a03-608e6fdd7cea", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '451' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:04:43 GMT + Pragma: + - no-cache + RequestId: + - 907156d1-946b-481b-b365-44b856eb3a30 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/41878e13-61f9-4b21-8390-39e1c0e2110f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:04:44 GMT + Pragma: + - no-cache + RequestId: + - 378e85ca-fd43-4493-9b90-66bd2a2904f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..0826471f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[SparkJobDefinition].yaml @@ -0,0 +1,786 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:02 GMT + Pragma: + - no-cache + RequestId: + - 42bcdfb8-8bbd-4ed9-8f06-5899bb1d2b14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '184' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:02 GMT + Pragma: + - no-cache + RequestId: + - f20ed6bd-e00f-47d6-a271-e80ef037e3a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '184' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:03 GMT + Pragma: + - no-cache + RequestId: + - 2b5b5a02-8b50-44e5-8c3a-31af4601f4d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SparkJobDefinition", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/sparkJobDefinitions + response: + body: + string: '{"id": "bb1c0139-4728-490e-9533-90cda19dd2c6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f467ac77-303d-4bfc-95c2-77c5e1bf7ec9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:06 GMT + Pragma: + - no-cache + RequestId: + - edf0da35-94ce-42cf-a92e-8b55f591c561 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "bb1c0139-4728-490e-9533-90cda19dd2c6", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '254' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:07 GMT + Pragma: + - no-cache + RequestId: + - 1cec6205-f9e1-47bc-9c4a-9ce3c1831a78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bb1c0139-4728-490e-9533-90cda19dd2c6 + response: + body: + string: '{"id": "bb1c0139-4728-490e-9533-90cda19dd2c6", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:07 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 635a59d5-84f9-42eb-aa87-f96e583090d3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bb1c0139-4728-490e-9533-90cda19dd2c6/getDefinition?format=SparkJobDefinitionV1 + response: + body: + string: '{"definition": {"parts": [{"path": "SparkJobDefinitionV1.json", "payload": + "ew0KICAiZXhlY3V0YWJsZUZpbGUiOiBudWxsLA0KICAiZGVmYXVsdExha2Vob3VzZUFydGlmYWN0SWQiOiBudWxsLA0KICAibWFpbkNsYXNzIjogbnVsbCwNCiAgImFkZGl0aW9uYWxMYWtlaG91c2VJZHMiOiBbXSwNCiAgInJldHJ5UG9saWN5IjogbnVsbCwNCiAgImNvbW1hbmRMaW5lQXJndW1lbnRzIjogbnVsbCwNCiAgImFkZGl0aW9uYWxMaWJyYXJ5VXJpcyI6IG51bGwsDQogICJsYW5ndWFnZSI6IG51bGwsDQogICJlbnZpcm9ubWVudEFydGlmYWN0SWQiOiBudWxsDQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNwYXJrSm9iRGVmaW5pdGlvbiIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '616' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:09 GMT + Pragma: + - no-cache + RequestId: + - 536bf957-1878-46d6-a038-6319f66c9cd4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:10 GMT + Pragma: + - no-cache + RequestId: + - 6530bcc2-c7e9-43b5-8d56-c0c09c9eb861 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "bb1c0139-4728-490e-9533-90cda19dd2c6", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '254' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:11 GMT + Pragma: + - no-cache + RequestId: + - 3fbaf4b7-f0df-4af2-91ba-b61634d90ab3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "bb1c0139-4728-490e-9533-90cda19dd2c6", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '254' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:12 GMT + Pragma: + - no-cache + RequestId: + - 0e248188-ac8e-486c-af45-6828f18f6fea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "SparkJobDefinition", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_3", "definition": {"format": "SparkJobDefinitionV1", + "parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiU3BhcmtKb2JEZWZpbml0aW9uIiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": "SparkJobDefinitionV1.json", "payload": + "ewogICAgImV4ZWN1dGFibGVGaWxlIjogbnVsbCwKICAgICJkZWZhdWx0TGFrZWhvdXNlQXJ0aWZhY3RJZCI6IG51bGwsCiAgICAibWFpbkNsYXNzIjogbnVsbCwKICAgICJhZGRpdGlvbmFsTGFrZWhvdXNlSWRzIjogW10sCiAgICAicmV0cnlQb2xpY3kiOiBudWxsLAogICAgImNvbW1hbmRMaW5lQXJndW1lbnRzIjogbnVsbCwKICAgICJhZGRpdGlvbmFsTGlicmFyeVVyaXMiOiBudWxsLAogICAgImxhbmd1YWdlIjogbnVsbCwKICAgICJlbnZpcm9ubWVudEFydGlmYWN0SWQiOiBudWxsCn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1220' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:13 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7543bf81-9018-4d1f-98ee-e354525a5ae6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:15 GMT + Pragma: + - no-cache + RequestId: + - 9949d822-aa35-4d26-ad81-0ae5163d1356 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "f033b3c3-fb95-49bb-9ab7-a7574b6373af", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, {"id": "bb1c0139-4728-490e-9533-90cda19dd2c6", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}, + {"id": "4021c09a-ec4e-497c-9e7f-c32d00eba90c", "type": "SparkJobDefinition", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '287' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:01:15 GMT + Pragma: + - no-cache + RequestId: + - 3b6b2abf-e9ba-4dd8-a4e4-dc2775ed2ca3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bb1c0139-4728-490e-9533-90cda19dd2c6 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:01:16 GMT + Pragma: + - no-cache + RequestId: + - 15e3ff8f-f49d-431b-98df-b72247414382 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DataPipeline].yaml new file mode 100644 index 00000000..94ac631b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[DataPipeline].yaml @@ -0,0 +1,715 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:32 GMT + Pragma: + - no-cache + RequestId: + - 776b4220-15b0-4f38-abf0-a95f69c2d727 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:32 GMT + Pragma: + - no-cache + RequestId: + - af909b66-97bb-4675-af80-1bb7bf88cc19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:33 GMT + Pragma: + - no-cache + RequestId: + - 8a8ffcd6-feb0-48f2-aba9-8ea6a1119e9d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/dataPipelines + response: + body: + string: '{"id": "75f49587-bc76-44b7-9f22-8965c1b1d471", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:39 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d89761bd-8ebc-49e7-a936-99932af64d51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:40 GMT + Pragma: + - no-cache + RequestId: + - 3b806ebf-9780-4e90-8d2b-4b689b85e8f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "75f49587-bc76-44b7-9f22-8965c1b1d471", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:41 GMT + Pragma: + - no-cache + RequestId: + - 2be1c534-a023-4c86-b11d-396e7517456b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/75f49587-bc76-44b7-9f22-8965c1b1d471 + response: + body: + string: '{"id": "75f49587-bc76-44b7-9f22-8965c1b1d471", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:42 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f184c03a-f02b-44ed-95fe-732015d48475 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/75f49587-bc76-44b7-9f22-8965c1b1d471/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "pipeline-content.json", "payload": + "ewogICJwcm9wZXJ0aWVzIjogewogICAgImFjdGl2aXRpZXMiOiBbXQogIH0KfQ==", "payloadType": + "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRhdGFQaXBlbGluZSIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:43 GMT + Pragma: + - no-cache + RequestId: + - 1d6a8040-e07d-43e7-9d5c-3d73bcba3459 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:44 GMT + Pragma: + - no-cache + RequestId: + - ad0c5ac1-513f-465e-b771-d4ba60dabf91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "75f49587-bc76-44b7-9f22-8965c1b1d471", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:44 GMT + Pragma: + - no-cache + RequestId: + - 1caf26ce-ca2e-4cf8-bf98-c19fab91b5fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": "pipeline-content.json", "payload": + "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgImFjdGl2aXRpZXMiOiBbXQogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiRGF0YVBpcGVsaW5lIiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '749' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/75f49587-bc76-44b7-9f22-8965c1b1d471/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:53:48 GMT + Pragma: + - no-cache + RequestId: + - 4b7192b5-2b34-48ed-83ad-d4213e1ca2d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:48 GMT + Pragma: + - no-cache + RequestId: + - 390acbf5-135a-4c2e-80f3-30d69c20f426 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "75f49587-bc76-44b7-9f22-8965c1b1d471", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:53:49 GMT + Pragma: + - no-cache + RequestId: + - dda266a2-84c7-4a65-9360-c1f9451d4e09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/75f49587-bc76-44b7-9f22-8965c1b1d471 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:53:49 GMT + Pragma: + - no-cache + RequestId: + - cd0e77c2-0056-46bf-ae2f-41a6b8d04107 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Environment].yaml new file mode 100644 index 00000000..a7596bfc --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Environment].yaml @@ -0,0 +1,1017 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:17 GMT + Pragma: + - no-cache + RequestId: + - 0919f1d2-a756-410e-a476-140ffe43c328 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:18 GMT + Pragma: + - no-cache + RequestId: + - 2223b026-19be-4e96-ad82-94ab931c6e13 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:19 GMT + Pragma: + - no-cache + RequestId: + - 7fedafce-d1ae-42a9-a27e-33de12d5c938 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/environments + response: + body: + string: '{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0135376a-91e5-47a3-9384-9bb6c0245890 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:22 GMT + Pragma: + - no-cache + RequestId: + - 8cd9b825-9597-4ffe-88ca-66b6102d8738 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items + response: + body: + string: '{"value": [{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:22 GMT + Pragma: + - no-cache + RequestId: + - 2148cbc8-afe3-4030-9c68-78591f0e3111 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a + response: + body: + string: '{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:23 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 90c54ce7-922e-49cd-b2cb-9f216b483da9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f36ba183-6265-427d-b66f-133b060b410e + Pragma: + - no-cache + RequestId: + - 7c0321f4-8ece-41d1-b15d-a8a606337457 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - f36ba183-6265-427d-b66f-133b060b410e + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f36ba183-6265-427d-b66f-133b060b410e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T06:27:25.0203845", + "lastUpdatedTimeUtc": "2026-01-29T06:27:25.2547324", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:46 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f36ba183-6265-427d-b66f-133b060b410e/result + Pragma: + - no-cache + RequestId: + - 6f9ba868-a434-45d5-a448-956d84e96ef9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f36ba183-6265-427d-b66f-133b060b410e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f36ba183-6265-427d-b66f-133b060b410e/result + response: + body: + string: '{"definition": {"parts": [{"path": "Setting/Sparkcompute.yml", "payload": + "ZW5hYmxlX25hdGl2ZV9leGVjdXRpb25fZW5naW5lOiBmYWxzZQ0KZHJpdmVyX2NvcmVzOiA4DQpkcml2ZXJfbWVtb3J5OiA1NmcNCmV4ZWN1dG9yX2NvcmVzOiA4DQpleGVjdXRvcl9tZW1vcnk6IDU2Zw0KZHluYW1pY19leGVjdXRvcl9hbGxvY2F0aW9uOg0KICBlbmFibGVkOiB0cnVlDQogIG1pbl9leGVjdXRvcnM6IDENCiAgbWF4X2V4ZWN1dG9yczogOQ0KcnVudGltZV92ZXJzaW9uOiAxLjMNCg==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkVudmlyb25tZW50IiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 06:27:47 GMT + Pragma: + - no-cache + RequestId: + - bd28337f-ed43-4ab7-8764-efa9c6d6544d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:48 GMT + Pragma: + - no-cache + RequestId: + - bba416b7-7966-4010-9dc5-6b21f4fce5a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items + response: + body: + string: '{"value": [{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:49 GMT + Pragma: + - no-cache + RequestId: + - bf2a61e4-dee4-4400-b2d8-d66cfc23dd57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/environments/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a + response: + body: + string: '{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "0cc8163c-6bf1-4632-a731-019612d09425", "startTime": + "2026-01-29T06:27:22.4356778Z", "endTime": "2026-01-29T06:27:22.4356778Z", + "componentPublishInfo": {"sparkSettings": {"state": "Success"}, "sparkLibraries": + {"state": "Success"}}}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '312' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:50 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 168e40eb-4da4-4cc9-ad25-69f9d9c11e1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"enableNativeExecutionEngine": false, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "runtimeVersion": 1.3}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: PATCH + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/environments/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a/staging/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:51 GMT + RequestId: + - 7401f505-afa4-491e-81e9-423ce8ec2077 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/environments/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a/libraries + response: + body: + string: '{"requestId": "f571aafc-a6be-441c-be94-cc3680a2a8c3", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any published libraries. Please publish libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '189' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:52 GMT + RequestId: + - f571aafc-a6be-441c-be94-cc3680a2a8c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/environments/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a/staging/publish + response: + body: + string: '{"publishDetails": {"state": "Success", "targetVersion": "96587fae-4476-474d-aec8-d29bfcd96b5e", + "startTime": "2026-01-29T06:27:54.0312356Z", "endTime": "2026-01-29T06:27:54.5156321Z", + "componentPublishInfo": {"sparkSettings": {"state": "Success"}, "sparkLibraries": + {"state": "Success"}}}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '383' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:54 GMT + RequestId: + - 250a9204-19a0-4c26-b2b9-d2d0a0db2468 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/environments/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a + response: + body: + string: '{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "96587fae-4476-474d-aec8-d29bfcd96b5e", "startTime": + "2026-01-29T06:27:54.0312356Z", "endTime": "2026-01-29T06:27:54.5156321Z", + "componentPublishInfo": {"sparkSettings": {"state": "Success"}, "sparkLibraries": + {"state": "Success"}}}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '317' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2f4f8d82-910d-4855-83b9-5bc889452f76 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:55 GMT + Pragma: + - no-cache + RequestId: + - caa65262-074b-404f-9ddf-1c2963cfa8f4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items + response: + body: + string: '{"value": [{"id": "d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "08bb70fc-3efd-42c8-aeea-d793ce690531"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 06:27:56 GMT + Pragma: + - no-cache + RequestId: + - 02464430-6e35-4a13-a68c-a24a7476662b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items/d76114f2-0d4a-4c58-ac4c-e2ceaee3b23a + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 06:27:57 GMT + Pragma: + - no-cache + RequestId: + - cde028d4-9c22-4239-83c0-fb48f536d9c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Eventstream].yaml new file mode 100644 index 00000000..b0a3ba47 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Eventstream].yaml @@ -0,0 +1,817 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:54:32 GMT + Pragma: + - no-cache + RequestId: + - 370d6f65-99f1-4a82-a721-eeb81a8a274f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:54:33 GMT + Pragma: + - no-cache + RequestId: + - 0851efbd-329e-4b36-be43-ad9f19999911 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:54:34 GMT + Pragma: + - no-cache + RequestId: + - 5545b744-2b9b-4ab0-b1bc-5b6e0e155f8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventstream", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/eventstreams + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:54:36 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c9c3159b-7bc7-4bdb-93db-1eee886b2760 + Pragma: + - no-cache + RequestId: + - 8749f167-fbe4-4a22-aeff-b2bfc3cdfad9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - c9c3159b-7bc7-4bdb-93db-1eee886b2760 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c9c3159b-7bc7-4bdb-93db-1eee886b2760 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T05:54:35.8324419", + "lastUpdatedTimeUtc": "2026-01-29T05:54:38.8955738", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:54:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c9c3159b-7bc7-4bdb-93db-1eee886b2760/result + Pragma: + - no-cache + RequestId: + - 1c22de47-2a6e-4419-a0c1-cd974cd66a91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c9c3159b-7bc7-4bdb-93db-1eee886b2760 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c9c3159b-7bc7-4bdb-93db-1eee886b2760/result + response: + body: + string: '{"id": "de8945e8-ce86-424f-b802-f8f00741a6ba", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 05:54:58 GMT + Pragma: + - no-cache + RequestId: + - 749412b4-43c6-4975-b2a1-503aaaef5b62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:00 GMT + Pragma: + - no-cache + RequestId: + - 8e43c606-02ac-4e29-9da8-707f6273091c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "de8945e8-ce86-424f-b802-f8f00741a6ba", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:00 GMT + Pragma: + - no-cache + RequestId: + - b97fe606-1965-4521-8563-9ac639030422 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/de8945e8-ce86-424f-b802-f8f00741a6ba + response: + body: + string: '{"id": "de8945e8-ce86-424f-b802-f8f00741a6ba", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c2b7bac4-4c25-4d33-bb79-5f9a231f5deb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/de8945e8-ce86-424f-b802-f8f00741a6ba/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "eventstream.json", "payload": "ew0KICAic291cmNlcyI6IFtdLA0KICAiZGVzdGluYXRpb25zIjogW10sDQogICJzdHJlYW1zIjogW10sDQogICJvcGVyYXRvcnMiOiBbXSwNCiAgImNvbXBhdGliaWxpdHlMZXZlbCI6ICIxLjEiDQp9", + "payloadType": "InlineBase64"}, {"path": "eventstreamProperties.json", "payload": + "ew0KICAicmV0ZW50aW9uVGltZUluRGF5cyI6IDEsDQogICJldmVudFRocm91Z2hwdXRMZXZlbCI6ICJMb3ciDQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkV2ZW50c3RyZWFtIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '567' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:02 GMT + Pragma: + - no-cache + RequestId: + - e62ac352-3299-484f-a94c-25631a535dee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:03 GMT + Pragma: + - no-cache + RequestId: + - 972d1bca-3f52-47e8-ad62-8e734f227672 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "de8945e8-ce86-424f-b802-f8f00741a6ba", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:04 GMT + Pragma: + - no-cache + RequestId: + - 0a5a3ccb-f8ef-400e-9a5f-b7e55a4468f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": "eventstreamProperties.json", "payload": + "ewogICAgInJldGVudGlvblRpbWVJbkRheXMiOiAxLAogICAgImV2ZW50VGhyb3VnaHB1dExldmVsIjogIkxvdyIKfQ==", + "payloadType": "InlineBase64"}, {"path": "eventstream.json", "payload": "ewogICAgInNvdXJjZXMiOiBbXSwKICAgICJkZXN0aW5hdGlvbnMiOiBbXSwKICAgICJzdHJlYW1zIjogW10sCiAgICAib3BlcmF0b3JzIjogW10sCiAgICAiY29tcGF0aWJpbGl0eUxldmVsIjogIjEuMSIKfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiRXZlbnRzdHJlYW0iLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1006' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/de8945e8-ce86-424f-b802-f8f00741a6ba/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:55:15 GMT + Pragma: + - no-cache + RequestId: + - 33460d89-8b08-426c-9a37-e34c34e92701 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:16 GMT + Pragma: + - no-cache + RequestId: + - 93d06e3a-714d-450d-91cf-314fa0825f3f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "de8945e8-ce86-424f-b802-f8f00741a6ba", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:17 GMT + Pragma: + - no-cache + RequestId: + - e4ac091c-6848-46dc-b08e-a5d87fd65f65 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/de8945e8-ce86-424f-b802-f8f00741a6ba + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:55:18 GMT + Pragma: + - no-cache + RequestId: + - 0fb1bbb8-5135-445c-bc8f-60ab63e483c8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLDashboard].yaml new file mode 100644 index 00000000..d5de4503 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLDashboard].yaml @@ -0,0 +1,713 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:18 GMT + Pragma: + - no-cache + RequestId: + - 37165ba1-e567-43f0-b10f-8e697a44ab3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:19 GMT + Pragma: + - no-cache + RequestId: + - 3594b3ad-2b86-4d0d-8d13-f5ec25726350 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:20 GMT + Pragma: + - no-cache + RequestId: + - 10fc3738-dfcc-45b0-83b5-dca3f6239917 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDashboard", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/kqlDashboards + response: + body: + string: '{"id": "bf4dba2e-611e-4937-b3c0-6909294c1ffe", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:23 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ca7c0f00-e7f1-49d9-be2b-4e33ac48776a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:24 GMT + Pragma: + - no-cache + RequestId: + - c53630fa-0fec-46ac-a2ea-615377d55fe8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "bf4dba2e-611e-4937-b3c0-6909294c1ffe", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:25 GMT + Pragma: + - no-cache + RequestId: + - 955def5f-40ff-442f-80a8-86d8d09cecab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bf4dba2e-611e-4937-b3c0-6909294c1ffe + response: + body: + string: '{"id": "bf4dba2e-611e-4937-b3c0-6909294c1ffe", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:26 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7b0bbb01-1b5e-4ff8-8c38-680075d86c74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bf4dba2e-611e-4937-b3c0-6909294c1ffe/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "RealTimeDashboard.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTERhc2hib2FyZCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '434' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:27 GMT + Pragma: + - no-cache + RequestId: + - 49ce6d04-34f5-4093-a22b-d425d856f01a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:28 GMT + Pragma: + - no-cache + RequestId: + - 33c8fc7e-d301-426f-92bc-8738476583f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "bf4dba2e-611e-4937-b3c0-6909294c1ffe", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:28 GMT + Pragma: + - no-cache + RequestId: + - b937f54b-d1fb-4ef6-a3c4-90b90f43b7c2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": "RealTimeDashboard.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiS1FMRGFzaGJvYXJkIiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '682' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bf4dba2e-611e-4937-b3c0-6909294c1ffe/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:55:30 GMT + Pragma: + - no-cache + RequestId: + - 157db004-e8e9-4154-bea0-a381937bb5a8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:30 GMT + Pragma: + - no-cache + RequestId: + - 45feec98-cdda-4673-bf42-3cc3eb5e1d9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "bf4dba2e-611e-4937-b3c0-6909294c1ffe", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:32 GMT + Pragma: + - no-cache + RequestId: + - 6f7d7c44-bb3a-4af1-8151-7ed611ffc42f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/bf4dba2e-611e-4937-b3c0-6909294c1ffe + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:55:33 GMT + Pragma: + - no-cache + RequestId: + - cc565388-7930-445c-bb4b-bc95ee3ab13d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLQueryset].yaml new file mode 100644 index 00000000..8133249c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[KQLQueryset].yaml @@ -0,0 +1,713 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:33 GMT + Pragma: + - no-cache + RequestId: + - cd91978c-ba6b-4ed7-88a7-0eb445cb5f7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:34 GMT + Pragma: + - no-cache + RequestId: + - 3b82aed1-d42e-4f69-b5c0-6f75534af7d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:35 GMT + Pragma: + - no-cache + RequestId: + - 88c4f195-b812-4dac-91a9-c839b4e73a80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLQueryset", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/kqlQuerysets + response: + body: + string: '{"id": "10f83eeb-32ed-4047-acdb-db855c34fc24", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:37 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 67d8eca9-859c-4e8b-9281-a1d0a36507ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:38 GMT + Pragma: + - no-cache + RequestId: + - d773f1d7-9fd4-4735-b36b-ec4081e50b21 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "10f83eeb-32ed-4047-acdb-db855c34fc24", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:38 GMT + Pragma: + - no-cache + RequestId: + - 1d41b0be-f464-4bb0-806d-fa9ab3dc8d57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/10f83eeb-32ed-4047-acdb-db855c34fc24 + response: + body: + string: '{"id": "10f83eeb-32ed-4047-acdb-db855c34fc24", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7bad7d9b-3aff-4155-aa29-393fd9ae20f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/10f83eeb-32ed-4047-acdb-db855c34fc24/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "RealTimeQueryset.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTFF1ZXJ5c2V0IiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '428' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:40 GMT + Pragma: + - no-cache + RequestId: + - 3243f000-0c43-4632-bc25-c5d4e8d86b4a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:41 GMT + Pragma: + - no-cache + RequestId: + - a5eda746-be4d-45f7-9ba6-ccbcfa318828 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "10f83eeb-32ed-4047-acdb-db855c34fc24", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:41 GMT + Pragma: + - no-cache + RequestId: + - f3803ff3-c97e-4666-b8fb-078ca4ae17b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiS1FMUXVlcnlzZXQiLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "RealTimeQueryset.json", "payload": + "e30=", "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '677' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/10f83eeb-32ed-4047-acdb-db855c34fc24/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:55:43 GMT + Pragma: + - no-cache + RequestId: + - 130eba3b-9281-4b72-84a4-fd55e6c0c6bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:44 GMT + Pragma: + - no-cache + RequestId: + - 3965f876-1b22-48b3-8021-135885c1ed34 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "10f83eeb-32ed-4047-acdb-db855c34fc24", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:55:44 GMT + Pragma: + - no-cache + RequestId: + - 541db128-4720-4521-b7ad-8845598c7e37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/10f83eeb-32ed-4047-acdb-db855c34fc24 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:55:45 GMT + Pragma: + - no-cache + RequestId: + - c87da332-0a76-4152-9fd3-f27cc87b7080 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[MirroredDatabase].yaml new file mode 100644 index 00000000..045f671b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[MirroredDatabase].yaml @@ -0,0 +1,715 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:38 GMT + Pragma: + - no-cache + RequestId: + - 414889c2-194b-4511-b7dd-7425be900c81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:39 GMT + Pragma: + - no-cache + RequestId: + - 0f634162-ede2-4c41-a55b-be9c38ace4bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:40 GMT + Pragma: + - no-cache + RequestId: + - 8cf7d233-9439-453d-b1bb-d92581639f78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/mirroredDatabases + response: + body: + string: '{"id": "9cf775cc-9001-4bca-b86c-f77b93a89cab", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 03e98786-a479-48e4-aba1-503b0dbe60a3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:44 GMT + Pragma: + - no-cache + RequestId: + - 5c0e2fd9-da09-4151-9055-2e8a1338f72f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "9cf775cc-9001-4bca-b86c-f77b93a89cab", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:44 GMT + Pragma: + - no-cache + RequestId: + - 6797f060-6098-4105-982f-31856f4a64c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/9cf775cc-9001-4bca-b86c-f77b93a89cab + response: + body: + string: '{"id": "9cf775cc-9001-4bca-b86c-f77b93a89cab", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4373845c-3b46-491b-80c2-695ac51f94c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/9cf775cc-9001-4bca-b86c-f77b93a89cab/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "mirroring.json", "payload": "ew0KICAicHJvcGVydGllcyI6IHsNCiAgICAic291cmNlIjogew0KICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsDQogICAgICAidHlwZVByb3BlcnRpZXMiOiB7fQ0KICAgIH0sDQogICAgInRhcmdldCI6IHsNCiAgICAgICJ0eXBlIjogIk1vdW50ZWRSZWxhdGlvbmFsRGF0YWJhc2UiLA0KICAgICAgInR5cGVQcm9wZXJ0aWVzIjogew0KICAgICAgICAiZm9ybWF0IjogIkRlbHRhIg0KICAgICAgfQ0KICAgIH0NCiAgfQ0KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk1pcnJvcmVkRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '561' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:45 GMT + Pragma: + - no-cache + RequestId: + - 41171c7d-9949-4ce7-ad1d-f9cbe7b90e45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:46 GMT + Pragma: + - no-cache + RequestId: + - f2681bdc-148a-49a7-9d10-8145469159ee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "9cf775cc-9001-4bca-b86c-f77b93a89cab", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:47 GMT + Pragma: + - no-cache + RequestId: + - 8d99cf2d-bac0-4c05-8472-f8c9c9a65024 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiTWlycm9yZWREYXRhYmFzZSIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "mirroring.json", "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1062' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/9cf775cc-9001-4bca-b86c-f77b93a89cab/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:57:48 GMT + Pragma: + - no-cache + RequestId: + - 46c2af43-8723-4195-a172-0ba18ff82b37 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:49 GMT + Pragma: + - no-cache + RequestId: + - 1c0d2095-1131-4324-ac65-73988816c464 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "9cf775cc-9001-4bca-b86c-f77b93a89cab", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:50 GMT + Pragma: + - no-cache + RequestId: + - f3e2559a-0478-46d0-86cb-7bb5f0aaebfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/9cf775cc-9001-4bca-b86c-f77b93a89cab + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:57:50 GMT + Pragma: + - no-cache + RequestId: + - ce00dc9d-b429-495b-8b88-88d3ebd07093 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Notebook].yaml new file mode 100644 index 00000000..e578078e --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Notebook].yaml @@ -0,0 +1,1019 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:51 GMT + Pragma: + - no-cache + RequestId: + - 164dc013-e899-4082-a518-14ac9326fe5c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:52 GMT + Pragma: + - no-cache + RequestId: + - f5570bf8-e9f5-4d92-83ad-58ab2ec60d40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:52 GMT + Pragma: + - no-cache + RequestId: + - c52a1064-230c-4444-b8d0-29cdb9f0e876 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:57:54 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fa86788b-cdbf-41f5-916f-f955e543b206 + Pragma: + - no-cache + RequestId: + - 46ef9c01-9265-4953-b67a-ee01191b7d9f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - fa86788b-cdbf-41f5-916f-f955e543b206 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fa86788b-cdbf-41f5-916f-f955e543b206 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T05:57:54.2687715", + "lastUpdatedTimeUtc": "2026-01-29T05:57:55.5500236", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:15 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fa86788b-cdbf-41f5-916f-f955e543b206/result + Pragma: + - no-cache + RequestId: + - 3e570850-29a2-4983-a938-134a474bdedc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - fa86788b-cdbf-41f5-916f-f955e543b206 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fa86788b-cdbf-41f5-916f-f955e543b206/result + response: + body: + string: '{"id": "140db848-57b2-4965-a7be-b838dc2c5ed9", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 05:58:16 GMT + Pragma: + - no-cache + RequestId: + - 41f05a76-a211-4c5d-8172-777aeebb6f93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:17 GMT + Pragma: + - no-cache + RequestId: + - 8c22877e-d5b5-48c0-8082-58adc78b8964 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "140db848-57b2-4965-a7be-b838dc2c5ed9", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:18 GMT + Pragma: + - no-cache + RequestId: + - a45b4b0f-8af4-4082-a1f7-a620b8b93e72 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/140db848-57b2-4965-a7be-b838dc2c5ed9 + response: + body: + string: '{"id": "140db848-57b2-4965-a7be-b838dc2c5ed9", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:19 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - bd326f91-0945-4ad2-b630-751ea6d4e4ac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/140db848-57b2-4965-a7be-b838dc2c5ed9/getDefinition?format=ipynb + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab366bfc-a159-444c-998a-1918c6ed0ea3 + Pragma: + - no-cache + RequestId: + - 3026ef73-b25c-4137-9516-5436a21e6cc6 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - ab366bfc-a159-444c-998a-1918c6ed0ea3 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab366bfc-a159-444c-998a-1918c6ed0ea3 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T05:58:19.9809165", + "lastUpdatedTimeUtc": "2026-01-29T05:58:20.3561777", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:41 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab366bfc-a159-444c-998a-1918c6ed0ea3/result + Pragma: + - no-cache + RequestId: + - f3d3d489-02fe-4f58-bb5c-6015a8a36f7f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ab366bfc-a159-444c-998a-1918c6ed0ea3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab366bfc-a159-444c-998a-1918c6ed0ea3/result + response: + body: + string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": + "eyJuYmZvcm1hdCI6NCwibmJmb3JtYXRfbWlub3IiOjUsIm1ldGFkYXRhIjp7Imxhbmd1YWdlX2luZm8iOnsibmFtZSI6InB5dGhvbiJ9LCJrZXJuZWxfaW5mbyI6eyJuYW1lIjoic3luYXBzZV9weXNwYXJrIiwianVweXRlcl9rZXJuZWxfbmFtZSI6bnVsbH0sImEzNjVDb21wdXRlT3B0aW9ucyI6bnVsbCwic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOjAsImRlcGVuZGVuY2llcyI6eyJsYWtlaG91c2UiOm51bGx9fSwiY2VsbHMiOlt7ImNlbGxfdHlwZSI6ImNvZGUiLCJtZXRhZGF0YSI6eyJtaWNyb3NvZnQiOnsibGFuZ3VhZ2UiOiJweXRob24iLCJsYW5ndWFnZV9ncm91cCI6InN5bmFwc2VfcHlzcGFyayJ9fSwic291cmNlIjpbIiMgV2VsY29tZSB0byB5b3VyIG5ldyBub3RlYm9va1xuIiwiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIl0sIm91dHB1dHMiOltdfV19", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk5vdGVib29rIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 05:58:42 GMT + Pragma: + - no-cache + RequestId: + - d3f196f6-d343-476a-a245-cc9902e3297a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:43 GMT + Pragma: + - no-cache + RequestId: + - 73056b40-bff2-41ae-89c5-c2336edf3b4c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "140db848-57b2-4965-a7be-b838dc2c5ed9", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:43 GMT + Pragma: + - no-cache + RequestId: + - 671bfdae-fa1b-471c-9160-135736aa284c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"format": "ipynb", "parts": [{"path": "notebook-content.ipynb", + "payload": "ewogICAgIm5iZm9ybWF0IjogNCwKICAgICJuYmZvcm1hdF9taW5vciI6IDUsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgImxhbmd1YWdlX2luZm8iOiB7CiAgICAgICAgICAgICJuYW1lIjogInB5dGhvbiIKICAgICAgICB9LAogICAgICAgICJrZXJuZWxfaW5mbyI6IHsKICAgICAgICAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIiwKICAgICAgICAgICAgImp1cHl0ZXJfa2VybmVsX25hbWUiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAiYTM2NUNvbXB1dGVPcHRpb25zIjogbnVsbCwKICAgICAgICAic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOiAwLAogICAgICAgICJkZXBlbmRlbmNpZXMiOiB7CiAgICAgICAgICAgICJsYWtlaG91c2UiOiBudWxsCiAgICAgICAgfQogICAgfSwKICAgICJjZWxscyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJjZWxsX3R5cGUiOiAiY29kZSIsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgICAgICJtaWNyb3NvZnQiOiB7CiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlIjogInB5dGhvbiIsCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInNvdXJjZSI6IFsKICAgICAgICAgICAgICAgICIjIFdlbGNvbWUgdG8geW91ciBuZXcgbm90ZWJvb2tcbiIsCiAgICAgICAgICAgICAgICAiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIgogICAgICAgICAgICBdLAogICAgICAgICAgICAib3V0cHV0cyI6IFtdCiAgICAgICAgfQogICAgXQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiTm90ZWJvb2siLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1805' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/140db848-57b2-4965-a7be-b838dc2c5ed9/updateDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:58:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2169a3f8-8493-4d74-af23-e8cf4e0b4fe6 + Pragma: + - no-cache + RequestId: + - c9290f65-fb32-42df-b43a-240f28b2fec2 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 2169a3f8-8493-4d74-af23-e8cf4e0b4fe6 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2169a3f8-8493-4d74-af23-e8cf4e0b4fe6 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-29T05:58:45.7220447", + "lastUpdatedTimeUtc": "2026-01-29T05:58:46.0032916", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2169a3f8-8493-4d74-af23-e8cf4e0b4fe6/result + Pragma: + - no-cache + RequestId: + - c149b0cd-4090-4122-8abb-3307f4546994 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 2169a3f8-8493-4d74-af23-e8cf4e0b4fe6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2169a3f8-8493-4d74-af23-e8cf4e0b4fe6/result + response: + body: + string: '{"id": "140db848-57b2-4965-a7be-b838dc2c5ed9", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 29 Jan 2026 05:59:08 GMT + Pragma: + - no-cache + RequestId: + - cc95456c-d3c7-42ba-9ae0-b27508018c99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:09 GMT + Pragma: + - no-cache + RequestId: + - e6e80cd3-8141-40f7-89fc-6c7bfc894f58 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "140db848-57b2-4965-a7be-b838dc2c5ed9", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:09 GMT + Pragma: + - no-cache + RequestId: + - 136361d6-55b9-415c-b274-fd0e5e242f06 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/140db848-57b2-4965-a7be-b838dc2c5ed9 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:59:10 GMT + Pragma: + - no-cache + RequestId: + - 22d97a4a-3d37-4a25-a327-d38cde624c7b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Reflex].yaml new file mode 100644 index 00000000..dbd716c0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[Reflex].yaml @@ -0,0 +1,711 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:11 GMT + Pragma: + - no-cache + RequestId: + - fe2c5f34-896f-47e9-a58d-b8c087af500a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:12 GMT + Pragma: + - no-cache + RequestId: + - d6c91e7c-9206-47f4-9973-469252f912c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:12 GMT + Pragma: + - no-cache + RequestId: + - c89b65ed-303e-4f5e-87f4-5d5e0302428e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Reflex", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/reflexes + response: + body: + string: '{"id": "31eef82e-d4e6-4c10-ade6-b33180b42005", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:15 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8e7d7d77-3f76-44b7-97ed-a3712fc44cc1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:17 GMT + Pragma: + - no-cache + RequestId: + - d3a51c74-e995-438e-9ec2-a7c4aac184d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "31eef82e-d4e6-4c10-ade6-b33180b42005", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:17 GMT + Pragma: + - no-cache + RequestId: + - 87098100-fc3b-4408-9de4-53bd254a3d09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/31eef82e-d4e6-4c10-ade6-b33180b42005 + response: + body: + string: '{"id": "31eef82e-d4e6-4c10-ade6-b33180b42005", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a4387552-f449-4db7-93c9-28c7ecd33272 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/31eef82e-d4e6-4c10-ade6-b33180b42005/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "ReflexEntities.json", "payload": + "W10=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlZmxleCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:20 GMT + Pragma: + - no-cache + RequestId: + - 6576d120-4518-418c-bb66-6ae0b7c9d0a4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:21 GMT + Pragma: + - no-cache + RequestId: + - fb40a505-9786-45fe-9466-31ecc2615bf2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "31eef82e-d4e6-4c10-ade6-b33180b42005", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:21 GMT + Pragma: + - no-cache + RequestId: + - c2c853b5-4cbe-49f6-a124-cceb16f46920 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": "ReflexEntities.json", "payload": "W10=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiUmVmbGV4IiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '671' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/31eef82e-d4e6-4c10-ade6-b33180b42005/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:59:26 GMT + Pragma: + - no-cache + RequestId: + - 4260e9c0-5084-412f-a299-58a5918bdb6e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:26 GMT + Pragma: + - no-cache + RequestId: + - 8295f8ad-d483-4fd1-9455-9c98b400758c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "31eef82e-d4e6-4c10-ade6-b33180b42005", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:26 GMT + Pragma: + - no-cache + RequestId: + - c6e88dd5-780e-4023-934d-bb10e26be118 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/31eef82e-d4e6-4c10-ade6-b33180b42005 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:59:27 GMT + Pragma: + - no-cache + RequestId: + - a2ece622-b1e5-4612-83f0-dff81fbdddf3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..5082218b --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[SparkJobDefinition].yaml @@ -0,0 +1,716 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:29 GMT + Pragma: + - no-cache + RequestId: + - 0dc4978d-0dcc-4457-8798-c80674fa1acf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:29 GMT + Pragma: + - no-cache + RequestId: + - 259bf303-3b34-469a-91ce-b3dd25f821bb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:30 GMT + Pragma: + - no-cache + RequestId: + - 2fb64078-daf4-46af-a8ff-d3256c72ec7b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SparkJobDefinition", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/sparkJobDefinitions + response: + body: + string: '{"id": "dbe762ad-b49c-4830-b2d5-a423af937572", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:32 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 15628b96-85f0-472b-8a0e-455bb24e7feb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:33 GMT + Pragma: + - no-cache + RequestId: + - 94d766a5-878c-462a-81a0-218f013a7ef3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "dbe762ad-b49c-4830-b2d5-a423af937572", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:33 GMT + Pragma: + - no-cache + RequestId: + - 52ee9a8b-bbbf-4aa4-94f2-0094e0c5ba33 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/dbe762ad-b49c-4830-b2d5-a423af937572 + response: + body: + string: '{"id": "dbe762ad-b49c-4830-b2d5-a423af937572", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:34 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8442f799-c401-4f08-b48d-b274bf496563 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/dbe762ad-b49c-4830-b2d5-a423af937572/getDefinition?format=SparkJobDefinitionV1 + response: + body: + string: '{"definition": {"parts": [{"path": "SparkJobDefinitionV1.json", "payload": + "ew0KICAiZXhlY3V0YWJsZUZpbGUiOiBudWxsLA0KICAiZGVmYXVsdExha2Vob3VzZUFydGlmYWN0SWQiOiBudWxsLA0KICAibWFpbkNsYXNzIjogbnVsbCwNCiAgImFkZGl0aW9uYWxMYWtlaG91c2VJZHMiOiBbXSwNCiAgInJldHJ5UG9saWN5IjogbnVsbCwNCiAgImNvbW1hbmRMaW5lQXJndW1lbnRzIjogbnVsbCwNCiAgImFkZGl0aW9uYWxMaWJyYXJ5VXJpcyI6IG51bGwsDQogICJsYW5ndWFnZSI6IG51bGwsDQogICJlbnZpcm9ubWVudEFydGlmYWN0SWQiOiBudWxsDQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNwYXJrSm9iRGVmaW5pdGlvbiIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '616' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:36 GMT + Pragma: + - no-cache + RequestId: + - 3da3c02f-cb86-48dc-98e8-40a46b7c32be + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:37 GMT + Pragma: + - no-cache + RequestId: + - 78f60aa5-cce2-4501-8b82-1e5dc6ac7d15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "dbe762ad-b49c-4830-b2d5-a423af937572", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:38 GMT + Pragma: + - no-cache + RequestId: + - da3558c7-9f5f-4b32-9db6-fff9e26419c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"format": "SparkJobDefinitionV1", "parts": [{"path": ".platform", + "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiU3BhcmtKb2JEZWZpbml0aW9uIiwKICAgICAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgICB9LAogICAgImNvbmZpZyI6IHsKICAgICAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogICAgfQp9", + "payloadType": "InlineBase64"}, {"path": "SparkJobDefinitionV1.json", "payload": + "ewogICAgImV4ZWN1dGFibGVGaWxlIjogbnVsbCwKICAgICJkZWZhdWx0TGFrZWhvdXNlQXJ0aWZhY3RJZCI6IG51bGwsCiAgICAibWFpbkNsYXNzIjogbnVsbCwKICAgICJhZGRpdGlvbmFsTGFrZWhvdXNlSWRzIjogW10sCiAgICAicmV0cnlQb2xpY3kiOiBudWxsLAogICAgImNvbW1hbmRMaW5lQXJndW1lbnRzIjogbnVsbCwKICAgICJhZGRpdGlvbmFsTGlicmFyeVVyaXMiOiBudWxsLAogICAgImxhbmd1YWdlIjogbnVsbCwKICAgICJlbnZpcm9ubWVudEFydGlmYWN0SWQiOiBudWxsCn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1095' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/dbe762ad-b49c-4830-b2d5-a423af937572/updateDefinition + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:59:39 GMT + Pragma: + - no-cache + RequestId: + - 67cf4c35-5ad9-4962-ab3f-cb7abe1a542f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "97f5c8a4-1588-4a59-9b51-2c7ba0f73761", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2306' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:40 GMT + Pragma: + - no-cache + RequestId: + - f5a6694b-ca07-462c-8755-36f726702dbf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items + response: + body: + string: '{"value": [{"id": "dbe762ad-b49c-4830-b2d5-a423af937572", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "97f5c8a4-1588-4a59-9b51-2c7ba0f73761"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 29 Jan 2026 05:59:40 GMT + Pragma: + - no-cache + RequestId: + - 2d91ffca-1c59-41f5-a312-dfa7fa96527f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/97f5c8a4-1588-4a59-9b51-2c7ba0f73761/items/dbe762ad-b49c-4830-b2d5-a423af937572 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Thu, 29 Jan 2026 05:59:41 GMT + Pragma: + - no-cache + RequestId: + - 4d05d5ef-1bc5-40d5-8919-449c8c0c3244 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 From 46384c9263b06c84a1a48ac991f889a3f60c232c Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Mon, 2 Feb 2026 13:00:57 +0000 Subject: [PATCH 2/4] Adds parametrized tests --- tests/test_commands/test_import.py | 745 +++-------------------------- 1 file changed, 62 insertions(+), 683 deletions(-) diff --git a/tests/test_commands/test_import.py b/tests/test_commands/test_import.py index 674a6ea4..95422a0f 100644 --- a/tests/test_commands/test_import.py +++ b/tests/test_commands/test_import.py @@ -20,526 +20,46 @@ class TestImport: - # Update existing tests - def test_import_update_existing_notebook_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.NOTEBOOK, - cli_executor, - ) - - def test_import_update_existing_sjd_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.SPARK_JOB_DEFINITION, - cli_executor, - ) - - def test_import_update_existing_data_pipeline_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.DATA_PIPELINE, - cli_executor, - ) - - def test_import_update_existing_report_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.REPORT, - cli_executor, - ) - - def test_import_update_existing_semantic_model_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.SEMANTIC_MODEL, - cli_executor, - ) - - def test_import_update_existing_kql_db_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.KQL_DATABASE, - cli_executor, - ) - - def test_import_update_existing_kql_qs_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.KQL_QUERYSET, - cli_executor, - ) - - def test_import_update_existing_eventhouse_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.EVENTHOUSE, - cli_executor, - ) - - def test_import_update_existing_mirrored_db_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.MIRRORED_DATABASE, - cli_executor, - ) - - def test_import_update_existing_reflex_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.REFLEX, - cli_executor, - ) - - def test_import_update_existing_kql_dashboard_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - cli_executor: CLIExecutor, - ): - _import_update_existing_item_success( - item_factory, - mock_print_done, - tmp_path, - mock_print_warning, - spy_update_item_definition, - mock_print_grey, - upsert_item_to_cache, - ItemType.KQL_DASHBOARD, - cli_executor, - ) - - # Create new tests - def test_import_home_directory_path_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - monkeypatch, - ): - # Setup mock home directory - home_dir = tmp_path / "home" - home_dir.mkdir() - home_dir_env = "USERPROFILE" if platform.system() == "Windows" else "HOME" - monkeypatch.setenv(home_dir_env, str(home_dir)) - - # Create test directory under mock home - input_dir = home_dir / "test_import" - input_dir.mkdir() - - _import_create_new_item_success( - item_factory, - mock_print_done, - f"~/test_import", - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.NOTEBOOK, - cli_executor, - ) - - def test_import_create_new_sqldb_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.SQL_DATABASE, - cli_executor, - ) - - def test_import_create_new_notebook_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.NOTEBOOK, - cli_executor, - ) - - def test_import_create_new_sjd_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.SPARK_JOB_DEFINITION, - cli_executor, - ) - - def test_import_create_new_data_pipeline_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.DATA_PIPELINE, - cli_executor, - ) - - def test_import_create_new_report_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.REPORT, - cli_executor, - ) - - def test_import_create_new_semantic_model_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.SEMANTIC_MODEL, - cli_executor, - ) - - def test_import_create_new_kql_db_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.KQL_DATABASE, - cli_executor, - ) - - def test_import_create_new_kql_qs_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.KQL_QUERYSET, - cli_executor, - ) - - def test_import_create_new_eventhouse_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.EVENTHOUSE, - cli_executor, - ) - - def test_import_create_new_mirrored_db_item_success( - self, - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - ): - _import_create_new_item_success( - item_factory, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.MIRRORED_DATABASE, - cli_executor, - ) - - def test_import_create_new_reflex_item_success( - self, + # region Parametrized Tests + @pytest.mark.parametrize("item_type", [ + ItemType.DATA_PIPELINE, ItemType.ENVIRONMENT, ItemType.EVENTSTREAM, + ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, + ItemType.MIRRORED_DATABASE, ItemType.NOTEBOOK, + ItemType.REFLEX, ItemType.SPARK_JOB_DEFINITION, + ]) + def test_import_update_existing_item_success( + self, + item_type, item_factory, mock_print_done, tmp_path, - spy_create_item, + mock_print_warning, + spy_update_item_definition, mock_print_grey, upsert_item_to_cache, - cli_executor, + cli_executor: CLIExecutor, ): - _import_create_new_item_success( + _import_update_existing_item_success( item_factory, mock_print_done, tmp_path, - spy_create_item, + mock_print_warning, + spy_update_item_definition, mock_print_grey, upsert_item_to_cache, - ItemType.REFLEX, + item_type, cli_executor, ) - def test_import_create_new_kql_dashboard_item_success( + @pytest.mark.parametrize("item_type", [ + ItemType.NOTEBOOK, ItemType.SPARK_JOB_DEFINITION, ItemType.DATA_PIPELINE, + ItemType.REPORT, ItemType.SEMANTIC_MODEL, ItemType.KQL_DATABASE, + ItemType.KQL_QUERYSET, ItemType.EVENTHOUSE, ItemType.MIRRORED_DATABASE, + ItemType.REFLEX, ItemType.KQL_DASHBOARD, ItemType.SQL_DATABASE, + ]) + def test_import_create_new_item_success( self, + item_type, item_factory, mock_print_done, tmp_path, @@ -555,105 +75,18 @@ def test_import_create_new_kql_dashboard_item_success( spy_create_item, mock_print_grey, upsert_item_to_cache, - ItemType.KQL_DASHBOARD, - cli_executor, - ) - - # Non Supported items tests - def test_import_create_new_dashboard_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.DASHBOARD, - cli_executor, - assert_fabric_cli_error, - ) - - def test_import_create_new_datamart_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.DATAMART, - cli_executor, - assert_fabric_cli_error, - ) - - def test_import_create_new_lakehouse_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.LAKEHOUSE, - cli_executor, - assert_fabric_cli_error, - ) - - def test_import_create_new_mirrored_warehouse_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.MIRRORED_WAREHOUSE, + item_type, cli_executor, - assert_fabric_cli_error, ) - def test_import_create_new_ml_experiment_item_fail( + @pytest.mark.parametrize("item_type", [ + ItemType.DASHBOARD, ItemType.DATAMART, ItemType.LAKEHOUSE, + ItemType.MIRRORED_WAREHOUSE, ItemType.ML_EXPERIMENT, ItemType.ML_MODEL, + ItemType.PAGINATED_REPORT, ItemType.SQL_ENDPOINT, ItemType.WAREHOUSE, + ]) + def test_import_create_new_item_fail( self, + item_type, workspace, mock_print_done, tmp_path, @@ -670,101 +103,44 @@ def test_import_create_new_ml_experiment_item_fail( spy_create_item, mock_print_grey, upsert_item_to_cache, - ItemType.ML_EXPERIMENT, + item_type, cli_executor, assert_fabric_cli_error, ) - def test_import_create_new_ml_model_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.ML_MODEL, - cli_executor, - assert_fabric_cli_error, - ) + # endregion - def test_import_create_new_paginated_report_item_fail( + # Create new tests + def test_import_home_directory_path_success( self, - workspace, + item_factory, mock_print_done, tmp_path, spy_create_item, mock_print_grey, upsert_item_to_cache, cli_executor, - assert_fabric_cli_error, + monkeypatch, ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.PAGINATED_REPORT, - cli_executor, - assert_fabric_cli_error, - ) + # Setup mock home directory + home_dir = tmp_path / "home" + home_dir.mkdir() + home_dir_env = "USERPROFILE" if platform.system() == "Windows" else "HOME" + monkeypatch.setenv(home_dir_env, str(home_dir)) - def test_import_create_new_sql_endpoint_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - ItemType.SQL_ENDPOINT, - cli_executor, - assert_fabric_cli_error, - ) + # Create test directory under mock home + input_dir = home_dir / "test_import" + input_dir.mkdir() - def test_import_create_new_warehouse_item_fail( - self, - workspace, - mock_print_done, - tmp_path, - spy_create_item, - mock_print_grey, - upsert_item_to_cache, - cli_executor, - assert_fabric_cli_error, - ): - _import_create_new_item_fail( - workspace, + _import_create_new_item_success( + item_factory, mock_print_done, - tmp_path, + f"~/test_import", spy_create_item, mock_print_grey, upsert_item_to_cache, - ItemType.WAREHOUSE, + ItemType.NOTEBOOK, cli_executor, - assert_fabric_cli_error, ) # Test with lakehouse path @@ -904,13 +280,15 @@ def _import_update_existing_item_success( f"import {item.full_path} --input {str(tmp_path)}/{item.name} --force" ) - # Assert - mock_print_warning.assert_called_once() - mock_print_grey.assert_called_once() - assert "Importing (update) " in mock_print_grey.call_args[0][0] - spy_update_item_definition.assert_called_once() - mock_print_done.assert_called_once() - upsert_item_to_cache.assert_called_once() + if item_type == ItemType.ENVIRONMENT: + mock_print_done.assert_called_once() + else: + mock_print_warning.assert_called_once() + mock_print_grey.assert_called_once() + assert "Importing (update) " in mock_print_grey.call_args[0][0] + spy_update_item_definition.assert_called_once() + mock_print_done.assert_called_once() + upsert_item_to_cache.assert_called_once() def _import_create_new_item_fail( @@ -929,7 +307,8 @@ def _import_create_new_item_fail( new_item_path = cli_path_join(workspace.full_path, item_name) # Execute command - cli_executor.exec_command(f"import {new_item_path} --input {str(tmp_path)} --force") + cli_executor.exec_command( + f"import {new_item_path} --input {str(tmp_path)} --force") # Assert assert_fabric_cli_error(fab_constant.ERROR_UNSUPPORTED_COMMAND) From 2241c774a7713cfd8c021011deaa486c87570cf0 Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Tue, 3 Feb 2026 09:35:02 +0000 Subject: [PATCH 3/4] Adds new item types params --- .../test_import/class_setup.yaml | 60 +- ...te_new_item_success[CosmosDBDatabase].yaml | 1094 +++++++++++++++++ ...te_new_item_success[UserDataFunction].yaml | 971 +++++++++++++++ ...isting_item_success[CosmosDBDatabase].yaml | 1019 +++++++++++++++ ...isting_item_success[UserDataFunction].yaml | 915 ++++++++++++++ tests/test_commands/test_import.py | 2 + 6 files changed, 4034 insertions(+), 27 deletions(-) create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[CosmosDBDatabase].yaml create mode 100644 tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[UserDataFunction].yaml diff --git a/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml index f24c8406..b2bf097a 100644 --- a/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml @@ -26,15 +26,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2271' + - '2425' Content-Type: - application/json; charset=utf-8 Date: - - Thu, 29 Jan 2026 06:27:01 GMT + - Tue, 03 Feb 2026 09:19:03 GMT Pragma: - no-cache RequestId: - - ef2f8ef9-b319-4e05-a789-796a06681ce3 + - 37c6ecf3-9169-4ba1-a158-d51a60b11d5d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -75,15 +75,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2271' + - '2425' Content-Type: - application/json; charset=utf-8 Date: - - Thu, 29 Jan 2026 06:27:01 GMT + - Tue, 03 Feb 2026 09:19:03 GMT Pragma: - no-cache RequestId: - - e23da189-1140-4ab7-b132-8dd3d64a21ea + - 264f0da2-ac64-4881-9be9-301c9bdbae67 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -115,7 +115,7 @@ interactions: response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "mocked_fabriccli_capacity_name", "sku": "F16", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '426' + - '427' Content-Type: - application/json; charset=utf-8 Date: - - Thu, 29 Jan 2026 06:27:08 GMT + - Tue, 03 Feb 2026 09:19:07 GMT Pragma: - no-cache RequestId: - - cff67e2e-79eb-4e46-aa8e-09d229679d73 + - 20ae90e5-fdc2-4ffc-97c8-5085b56cdf73 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -167,7 +167,7 @@ interactions: uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "e4270291-b332-4146-ab5f-c33d36c70c67", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '187' + - '188' Content-Type: - application/json; charset=utf-8 Date: - - Thu, 29 Jan 2026 06:27:17 GMT + - Tue, 03 Feb 2026 09:19:18 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531 + - https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67 Pragma: - no-cache RequestId: - - 5b4af428-d950-4953-828e-29d282e29841 + - 2f7307a6-bf17-4da1-a451-10a2391bef73 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "08bb70fc-3efd-42c8-aeea-d793ce690531", + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2303' + - '2460' Content-Type: - application/json; charset=utf-8 Date: - - Thu, 29 Jan 2026 06:27:58 GMT + - Tue, 03 Feb 2026 09:24:27 GMT Pragma: - no-cache RequestId: - - 02c19783-9749-416e-a037-a68904df2931 + - e3a46c2f-f6e4-4810-80ff-a0ed2866bfed Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,10 +266,16 @@ interactions: User-Agent: - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531/items + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "809dffab-7480-4f5e-86b4-33ef3e2fd550", "type": "SQLEndpoint", + "displayName": "fabcli000001_new_3", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "bfdd2dd1-5a66-48f6-9bb9-0f52c48efff6", + "type": "CosmosDBDatabase", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -278,15 +284,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '296' Content-Type: - application/json; charset=utf-8 Date: - - Thu, 29 Jan 2026 06:27:58 GMT + - Tue, 03 Feb 2026 09:24:28 GMT Pragma: - no-cache RequestId: - - abd2c60a-4694-4a3d-a0b6-e72ee173ca68 + - 648946f4-e839-4cb6-9435-d4e5b067a708 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,7 +322,7 @@ interactions: User-Agent: - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/08bb70fc-3efd-42c8-aeea-d793ce690531 + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67 response: body: string: '' @@ -332,11 +338,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Thu, 29 Jan 2026 06:28:00 GMT + - Tue, 03 Feb 2026 09:24:28 GMT Pragma: - no-cache RequestId: - - 4d466c46-d9e4-414b-a859-ad77a8fa59d0 + - d003bd73-4622-4555-a46c-8922d3e91fed Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..6fcf7d44 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml @@ -0,0 +1,1094 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:53 GMT + Pragma: + - no-cache + RequestId: + - 928ac47c-fab2-4f66-aed5-5bb55ac12bf8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '193' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:54 GMT + Pragma: + - no-cache + RequestId: + - 3969e236-a10d-4519-b4d4-b2e50d713fb1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '193' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:54 GMT + Pragma: + - no-cache + RequestId: + - 74784703-16bc-4e13-b135-2837c58cd43a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:56 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4 + Pragma: + - no-cache + RequestId: + - a216b0d0-44ff-41ad-90d8-abba86dff2b8 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - b966696b-69b9-496b-af9d-ea9a37732ba4 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:22:56.4664361", + "lastUpdatedTimeUtc": "2026-02-03T09:23:03.8437077", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4/result + Pragma: + - no-cache + RequestId: + - d4a07646-7f32-4f2d-9ce4-c1c2d67e8791 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b966696b-69b9-496b-af9d-ea9a37732ba4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4/result + response: + body: + string: '{"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:23:20 GMT + Pragma: + - no-cache + RequestId: + - f14545ab-0b21-437e-ba1e-6b806778ad00 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:21 GMT + Pragma: + - no-cache + RequestId: + - e1fd6316-b5ca-4e7e-805e-632d515dd69b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '299' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:21 GMT + Pragma: + - no-cache + RequestId: + - 8ea710da-39eb-4b51-a238-28daa95f4313 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/c7d81f30-2407-4f13-98e2-4d02379dc165 + response: + body: + string: '{"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:22 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 35f88430-b502-486c-bf9f-ed7e92ed7f94 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/c7d81f30-2407-4f13-98e2-4d02379dc165/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:23 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd + Pragma: + - no-cache + RequestId: + - df59300e-94d3-467b-8342-4a1faee8c471 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 104ffbed-f905-43dd-8c4f-257b53fabefd + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:23:23.9590047", + "lastUpdatedTimeUtc": "2026-02-03T09:23:24.4121318", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:45 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd/result + Pragma: + - no-cache + RequestId: + - c0b2d89b-dada-44ea-ac25-e1395897fd0e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 104ffbed-f905-43dd-8c4f-257b53fabefd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL0Nvc21vc0RCL2RlZmluaXRpb24vQ29zbW9zREIvMi4wLjAvc2NoZW1hLmpzb24iLAogICJjb250YWluZXJzIjogW10KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkNvc21vc0RCRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:23:47 GMT + Pragma: + - no-cache + RequestId: + - b7a3b0eb-6280-435d-a4ae-49e57001e385 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:47 GMT + Pragma: + - no-cache + RequestId: + - 20226b18-0f53-4588-8c0e-ebcd1b2ab5bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '299' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:47 GMT + Pragma: + - no-cache + RequestId: + - 024871a2-a217-406f-9e03-18a96c812187 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '299' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:49 GMT + Pragma: + - no-cache + RequestId: + - ff699001-48d8-4152-b514-ae0f7084fd9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "CosmosDBDatabase", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_3", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiQ29zbW9zREJEYXRhYmFzZSIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.json", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vQ29zbW9zREIvZGVmaW5pdGlvbi9Db3Ntb3NEQi8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAiY29udGFpbmVycyI6IFtdCn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '994' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:23:51 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b + Pragma: + - no-cache + RequestId: + - 1c9bb5ed-6dc6-403b-8f47-46a0bc95d333 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 4edfb93a-e22c-4f02-a93d-76e1b805051b + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:23:50.7475161", + "lastUpdatedTimeUtc": "2026-02-03T09:24:11.3006564", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:24:13 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b/result + Pragma: + - no-cache + RequestId: + - 0a2130e1-5121-4e8a-b833-2ec4bc2b29c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 4edfb93a-e22c-4f02-a93d-76e1b805051b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b/result + response: + body: + string: '{"id": "bfdd2dd1-5a66-48f6-9bb9-0f52c48efff6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:24:14 GMT + Pragma: + - no-cache + RequestId: + - 46709f41-adc5-4c0a-a2ac-190d6e4787b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:24:15 GMT + Pragma: + - no-cache + RequestId: + - f7dab964-bb89-4eb2-ba71-2930449653a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "809dffab-7480-4f5e-86b4-33ef3e2fd550", "type": "SQLEndpoint", "displayName": + "fabcli000001_new_3", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", + "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "bfdd2dd1-5a66-48f6-9bb9-0f52c48efff6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '362' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:24:16 GMT + Pragma: + - no-cache + RequestId: + - 64cb5133-c95c-4aa7-b498-472364e44fff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/c7d81f30-2407-4f13-98e2-4d02379dc165 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:24:17 GMT + Pragma: + - no-cache + RequestId: + - 74e76621-a933-4ac7-a1d3-42b59f503bca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml new file mode 100644 index 00000000..63bdffe3 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml @@ -0,0 +1,971 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:51 GMT + Pragma: + - no-cache + RequestId: + - a9a4a339-52aa-4b4f-aa1c-44b714fcd8a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:52 GMT + Pragma: + - no-cache + RequestId: + - 3e232f92-71b1-4652-937b-d4a01f15da4f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:53 GMT + Pragma: + - no-cache + RequestId: + - a95f4061-57c7-4e4f-bc4d-52a90ff88075 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/userdatafunctions + response: + body: + string: '{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:56 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ba3ebf31-d3c9-4666-b549-40da4252eeb3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:57 GMT + Pragma: + - no-cache + RequestId: + - 1cca70e5-dc6b-455f-afd0-a32a9f3aa33d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:58 GMT + Pragma: + - no-cache + RequestId: + - 19227527-4cf9-4a93-81fe-65f89c1827d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/56285b47-8c68-4f47-bdcc-bdb4ddca176f + response: + body: + string: '{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:59 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d4e692e5-6358-40f8-83f6-85cf4b82f9fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/56285b47-8c68-4f47-bdcc-bdb4ddca176f/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:59 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52 + Pragma: + - no-cache + RequestId: + - 7625afdc-337f-479c-a669-a3dcdc94f935 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - c2feeabb-a305-4abf-be28-030cd7c84d52 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:22:00.2501412", + "lastUpdatedTimeUtc": "2026-02-03T09:22:00.5320608", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:22 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52/result + Pragma: + - no-cache + RequestId: + - 42d405a7-4a2b-451b-a29b-4fa353fe90df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c2feeabb-a305-4abf-be28-030cd7c84d52 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ew0KICAiJHNjaGVtYSI6ICJodHRwczovL2RldmVsb3Blci5taWNyb3NvZnQuY29tL2pzb24tc2NoZW1hcy9mYWJyaWMvaXRlbS91c2VyRGF0YUZ1bmN0aW9uL2RlZmluaXRpb24vMS4xLjAvc2NoZW1hLmpzb24iLA0KICAicnVudGltZSI6ICJQWVRIT04iLA0KICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwNCiAgImZ1bmN0aW9ucyI6IFtdLA0KICAibGlicmFyaWVzIjogew0KICAgICJwdWJsaWMiOiBbXSwNCiAgICAicHJpdmF0ZSI6IFtdDQogIH0NCn0=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlVzZXJEYXRhRnVuY3Rpb24iLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:22:22 GMT + Pragma: + - no-cache + RequestId: + - 92f063f0-4ba2-48fc-ab48-1d63ee036357 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:24 GMT + Pragma: + - no-cache + RequestId: + - d83218e7-331b-414e-a36e-c954598483e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:25 GMT + Pragma: + - no-cache + RequestId: + - 7398940f-a316-4b0e-9e5b-4f253c814a0b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:25 GMT + Pragma: + - no-cache + RequestId: + - c6c571d1-5e33-42cf-bd82-75f33701aba9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"type": "UserDataFunction", "description": "Imported from fab", "folderId": + null, "displayName": "fabcli000001_new_2", "definition": {"parts": [{"path": + ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiVXNlckRhdGFGdW5jdGlvbiIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.json", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vdXNlckRhdGFGdW5jdGlvbi9kZWZpbml0aW9uLzEuMS4wL3NjaGVtYS5qc29uIiwKICAgICJydW50aW1lIjogIlBZVEhPTiIsCiAgICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwKICAgICJmdW5jdGlvbnMiOiBbXSwKICAgICJsaWJyYXJpZXMiOiB7CiAgICAgICAgInB1YmxpYyI6IFtdLAogICAgICAgICJwcml2YXRlIjogW10KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1162' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:27 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352 + Pragma: + - no-cache + RequestId: + - cca23897-44ac-4cb9-9d86-fa9cc12afc54 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 08cbb796-1986-4cc0-ac3b-9950a2b93352 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:22:27.1793775", + "lastUpdatedTimeUtc": "2026-02-03T09:22:30.2106399", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352/result + Pragma: + - no-cache + RequestId: + - bb39cff5-45be-401e-bb87-b8481560fc24 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 08cbb796-1986-4cc0-ac3b-9950a2b93352 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352/result + response: + body: + string: '{"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:22:50 GMT + Pragma: + - no-cache + RequestId: + - a51efc91-1652-4e94-911d-c97fb99494aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:51 GMT + Pragma: + - no-cache + RequestId: + - 9ac6cd68-f947-4317-bd3b-7c29588f4a1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", + "type": "UserDataFunction", "displayName": "fabcli000001_new_2", "description": + "Imported from fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '237' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:22:52 GMT + Pragma: + - no-cache + RequestId: + - 42832106-c65f-4308-90a8-fb8b8d10b51d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/56285b47-8c68-4f47-bdcc-bdb4ddca176f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:22:52 GMT + Pragma: + - no-cache + RequestId: + - 49c1819f-001a-47d8-85bf-f3ff033a587c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..26921a9a --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[CosmosDBDatabase].yaml @@ -0,0 +1,1019 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:28 GMT + Pragma: + - no-cache + RequestId: + - 327de7b6-86c4-46bd-a551-5f4f3b148592 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:29 GMT + Pragma: + - no-cache + RequestId: + - 47ecf458-0794-44ac-9295-83c272e54152 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:30 GMT + Pragma: + - no-cache + RequestId: + - 454666d7-3cb4-432d-9906-696d7162642e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:32 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b7585917-9898-4bd2-98ff-8655302f2fda + Pragma: + - no-cache + RequestId: + - d71b85bd-7a9e-48fc-bf71-159caac88045 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - b7585917-9898-4bd2-98ff-8655302f2fda + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b7585917-9898-4bd2-98ff-8655302f2fda + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:20:31.3828264", + "lastUpdatedTimeUtc": "2026-02-03T09:20:40.2278841", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:54 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b7585917-9898-4bd2-98ff-8655302f2fda/result + Pragma: + - no-cache + RequestId: + - 3329b87e-6dd9-48bf-849f-7e0038e06899 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b7585917-9898-4bd2-98ff-8655302f2fda + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b7585917-9898-4bd2-98ff-8655302f2fda/result + response: + body: + string: '{"id": "86dd82d4-6fb5-439f-bd7f-af9db85e50bb", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:20:55 GMT + Pragma: + - no-cache + RequestId: + - e4ebfe2a-b3c6-492a-bc50-8d7175d14446 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:56 GMT + Pragma: + - no-cache + RequestId: + - 2e39d3ba-246e-4a3e-a211-49bf7766ef26 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "86dd82d4-6fb5-439f-bd7f-af9db85e50bb", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '184' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:56 GMT + Pragma: + - no-cache + RequestId: + - f69e35f2-be64-4f85-82b5-db1a50df7f2e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/86dd82d4-6fb5-439f-bd7f-af9db85e50bb + response: + body: + string: '{"id": "86dd82d4-6fb5-439f-bd7f-af9db85e50bb", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '173' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:57 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c7ce255d-077d-4465-b322-8a7bf226f587 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/86dd82d4-6fb5-439f-bd7f-af9db85e50bb/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ad785105-b734-43ee-827e-4b2e63567f41 + Pragma: + - no-cache + RequestId: + - 2ea3e740-1d40-4e4b-bc78-7dabec2106f2 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - ad785105-b734-43ee-827e-4b2e63567f41 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ad785105-b734-43ee-827e-4b2e63567f41 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:20:58.7803686", + "lastUpdatedTimeUtc": "2026-02-03T09:20:59.4991542", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:20 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ad785105-b734-43ee-827e-4b2e63567f41/result + Pragma: + - no-cache + RequestId: + - 2579979b-9864-499a-9f73-d6dd0eb4d20a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ad785105-b734-43ee-827e-4b2e63567f41 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ad785105-b734-43ee-827e-4b2e63567f41/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL0Nvc21vc0RCL2RlZmluaXRpb24vQ29zbW9zREIvMi4wLjAvc2NoZW1hLmpzb24iLAogICJjb250YWluZXJzIjogW10KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkNvc21vc0RCRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:21:21 GMT + Pragma: + - no-cache + RequestId: + - 31699698-661c-4a0d-bb0c-289fbf07fcb0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:22 GMT + Pragma: + - no-cache + RequestId: + - bd486f9d-720d-451e-9168-c1f93727876b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "e3a7db84-4028-4060-b9bb-17ae49f06212", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "86dd82d4-6fb5-439f-bd7f-af9db85e50bb", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '236' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:23 GMT + Pragma: + - no-cache + RequestId: + - dc5d991c-7180-4915-8580-e75763707eee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiQ29zbW9zREJEYXRhYmFzZSIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.json", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vQ29zbW9zREIvZGVmaW5pdGlvbi9Db3Ntb3NEQi8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAiY29udGFpbmVycyI6IFtdCn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '871' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/86dd82d4-6fb5-439f-bd7f-af9db85e50bb/updateDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a7347ca-b60a-41e1-8976-50c3eb7f31a6 + Pragma: + - no-cache + RequestId: + - 8f7249a4-fa74-4509-ae66-6d97e8ac3bd3 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 8a7347ca-b60a-41e1-8976-50c3eb7f31a6 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a7347ca-b60a-41e1-8976-50c3eb7f31a6 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:21:25.3183362", + "lastUpdatedTimeUtc": "2026-02-03T09:21:25.4745823", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:47 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a7347ca-b60a-41e1-8976-50c3eb7f31a6/result + Pragma: + - no-cache + RequestId: + - da1dd5ce-fef0-41a6-a00d-400d55e7c133 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 8a7347ca-b60a-41e1-8976-50c3eb7f31a6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a7347ca-b60a-41e1-8976-50c3eb7f31a6/result + response: + body: + string: '{"id": "86dd82d4-6fb5-439f-bd7f-af9db85e50bb", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:21:48 GMT + Pragma: + - no-cache + RequestId: + - f548f486-01d4-4766-ac63-19a6255acdfd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:49 GMT + Pragma: + - no-cache + RequestId: + - e1f0b3ed-72b2-411b-867f-7250e4a5df7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "e3a7db84-4028-4060-b9bb-17ae49f06212", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, + {"id": "86dd82d4-6fb5-439f-bd7f-af9db85e50bb", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '236' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:21:50 GMT + Pragma: + - no-cache + RequestId: + - d1e8f273-0357-4c5a-bd28-aee934c5e64b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/86dd82d4-6fb5-439f-bd7f-af9db85e50bb + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:21:51 GMT + Pragma: + - no-cache + RequestId: + - f0087868-65b0-4f85-ad73-96dde473a135 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[UserDataFunction].yaml new file mode 100644 index 00000000..015b6b58 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[UserDataFunction].yaml @@ -0,0 +1,915 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:20 GMT + Pragma: + - no-cache + RequestId: + - c2221dbe-c2ca-47d6-a502-7775df4504a7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:20 GMT + Pragma: + - no-cache + RequestId: + - 963ed936-fb2b-47c4-8f7a-2f6f10ebd6cb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:21 GMT + Pragma: + - no-cache + RequestId: + - 8eaccb92-52f0-498e-bd75-e8676243d00b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/userdatafunctions + response: + body: + string: '{"id": "62731d9f-7203-4beb-9a4b-940557bc2186", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:31 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8ee822c5-ba28-45e4-9314-08585aa060a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:32 GMT + Pragma: + - no-cache + RequestId: + - d79c1e36-9ccf-4c92-b561-6dff51cc6693 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "62731d9f-7203-4beb-9a4b-940557bc2186", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:33 GMT + Pragma: + - no-cache + RequestId: + - db8753b2-2d67-4c25-8cbb-a6532eabb378 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/62731d9f-7203-4beb-9a4b-940557bc2186 + response: + body: + string: '{"id": "62731d9f-7203-4beb-9a4b-940557bc2186", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2266ff9a-7820-4ed1-bf28-9ae228bb3fdd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/62731d9f-7203-4beb-9a4b-940557bc2186/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f1802219-27a5-4f1f-89a6-c58490129e6c + Pragma: + - no-cache + RequestId: + - 871ae119-858c-4146-acb8-765dc60cbb6d + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - f1802219-27a5-4f1f-89a6-c58490129e6c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f1802219-27a5-4f1f-89a6-c58490129e6c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:19:34.9845249", + "lastUpdatedTimeUtc": "2026-02-03T09:19:35.2189008", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f1802219-27a5-4f1f-89a6-c58490129e6c/result + Pragma: + - no-cache + RequestId: + - ce5d4648-61b5-4367-b2b8-c9e894d7371e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f1802219-27a5-4f1f-89a6-c58490129e6c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f1802219-27a5-4f1f-89a6-c58490129e6c/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ew0KICAiJHNjaGVtYSI6ICJodHRwczovL2RldmVsb3Blci5taWNyb3NvZnQuY29tL2pzb24tc2NoZW1hcy9mYWJyaWMvaXRlbS91c2VyRGF0YUZ1bmN0aW9uL2RlZmluaXRpb24vMS4xLjAvc2NoZW1hLmpzb24iLA0KICAicnVudGltZSI6ICJQWVRIT04iLA0KICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwNCiAgImZ1bmN0aW9ucyI6IFtdLA0KICAibGlicmFyaWVzIjogew0KICAgICJwdWJsaWMiOiBbXSwNCiAgICAicHJpdmF0ZSI6IFtdDQogIH0NCn0=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlVzZXJEYXRhRnVuY3Rpb24iLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:19:57 GMT + Pragma: + - no-cache + RequestId: + - e3c6a2ab-17a4-4855-bf6b-17054f454857 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:19:59 GMT + Pragma: + - no-cache + RequestId: + - fd8ca1b5-04c2-4100-bd48-f7ef35d465df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "62731d9f-7203-4beb-9a4b-940557bc2186", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:01 GMT + Pragma: + - no-cache + RequestId: + - 704110d2-a5ae-4e8e-874c-9599e35d3ba4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiVXNlckRhdGFGdW5jdGlvbiIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.json", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vdXNlckRhdGFGdW5jdGlvbi9kZWZpbml0aW9uLzEuMS4wL3NjaGVtYS5qc29uIiwKICAgICJydW50aW1lIjogIlBZVEhPTiIsCiAgICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwKICAgICJmdW5jdGlvbnMiOiBbXSwKICAgICJsaWJyYXJpZXMiOiB7CiAgICAgICAgInB1YmxpYyI6IFtdLAogICAgICAgICJwcml2YXRlIjogW10KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1039' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/62731d9f-7203-4beb-9a4b-940557bc2186/updateDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:01 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/141991b0-075f-47e6-afb5-41e57da5748b + Pragma: + - no-cache + RequestId: + - de286993-7f22-47e6-be2c-a8de026e7938 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 141991b0-075f-47e6-afb5-41e57da5748b + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/141991b0-075f-47e6-afb5-41e57da5748b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:20:02.0665496", + "lastUpdatedTimeUtc": "2026-02-03T09:20:02.3636824", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:23 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/141991b0-075f-47e6-afb5-41e57da5748b/result + Pragma: + - no-cache + RequestId: + - 87624d3f-569f-4950-848f-ec504a0a3d70 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 141991b0-075f-47e6-afb5-41e57da5748b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/141991b0-075f-47e6-afb5-41e57da5748b/result + response: + body: + string: '{"id": "62731d9f-7203-4beb-9a4b-940557bc2186", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:20:24 GMT + Pragma: + - no-cache + RequestId: + - e40e9f3f-dcb4-4245-872b-b095055faa7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2460' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:26 GMT + Pragma: + - no-cache + RequestId: + - 969a425d-e49e-4832-a3e5-a07d41312fbb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + response: + body: + string: '{"value": [{"id": "62731d9f-7203-4beb-9a4b-940557bc2186", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:20:26 GMT + Pragma: + - no-cache + RequestId: + - 140ecfff-aacf-4dd2-a250-08c4bc1b9436 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/62731d9f-7203-4beb-9a4b-940557bc2186 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:20:27 GMT + Pragma: + - no-cache + RequestId: + - 9bd9cc32-e42b-42ab-8bbe-a866dc9eac84 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/test_import.py b/tests/test_commands/test_import.py index 39cb3d14..ced8b19b 100644 --- a/tests/test_commands/test_import.py +++ b/tests/test_commands/test_import.py @@ -27,6 +27,7 @@ class TestImport: ItemType.KQL_DASHBOARD, ItemType.KQL_QUERYSET, ItemType.MIRRORED_DATABASE, ItemType.NOTEBOOK, ItemType.REFLEX, ItemType.SPARK_JOB_DEFINITION, + ItemType.COSMOS_DB_DATABASE, ItemType.USER_DATA_FUNCTION ]) def test_import_update_existing_item_success( self, @@ -57,6 +58,7 @@ def test_import_update_existing_item_success( ItemType.REPORT, ItemType.SEMANTIC_MODEL, ItemType.KQL_DATABASE, ItemType.KQL_QUERYSET, ItemType.EVENTHOUSE, ItemType.MIRRORED_DATABASE, ItemType.REFLEX, ItemType.KQL_DASHBOARD, ItemType.SQL_DATABASE, + ItemType.COSMOS_DB_DATABASE, ItemType.USER_DATA_FUNCTION ]) def test_import_create_new_item_success( self, From f05be9ac4f0275f94194081003417b3b0e935e9c Mon Sep 17 00:00:00 2001 From: Alex Moraru Date: Wed, 4 Feb 2026 13:58:38 +0000 Subject: [PATCH 4/4] Re-records failing tests --- .../test_import/class_setup.yaml | 58 ++-- ...te_new_item_success[CosmosDBDatabase].yaml | 267 +++++++-------- ...te_new_item_success[UserDataFunction].yaml | 184 +++++----- ...st_import_home_directory_path_success.yaml | 320 ++++++++---------- 4 files changed, 390 insertions(+), 439 deletions(-) diff --git a/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml index b2bf097a..2270363d 100644 --- a/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/class_setup.yaml @@ -26,15 +26,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2425' + - '2771' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:19:03 GMT + - Wed, 04 Feb 2026 13:56:30 GMT Pragma: - no-cache RequestId: - - 37c6ecf3-9169-4ba1-a158-d51a60b11d5d + - 3d77a39b-b82d-49dc-9260-13dcfe3c7352 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -75,15 +75,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2425' + - '2771' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:19:03 GMT + - Wed, 04 Feb 2026 13:56:31 GMT Pragma: - no-cache RequestId: - - 264f0da2-ac64-4881-9be9-301c9bdbae67 + - 4f92ebdd-db5c-4f3b-9e29-2f61a1f50f20 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '427' + - '425' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:19:07 GMT + - Wed, 04 Feb 2026 13:56:37 GMT Pragma: - no-cache RequestId: - - 20ae90e5-fdc2-4ffc-97c8-5085b56cdf73 + - 8549f153-fafc-43c2-b55a-74bdb1338b6b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -167,7 +167,7 @@ interactions: uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "e4270291-b332-4146-ab5f-c33d36c70c67", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '188' + - '187' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:19:18 GMT + - Wed, 04 Feb 2026 13:56:47 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67 + - https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323 Pragma: - no-cache RequestId: - - 2f7307a6-bf17-4da1-a451-10a2391bef73 + - 3de86bec-19f2-4b12-affc-d6765dd6c14a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2804' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:24:27 GMT + - Wed, 04 Feb 2026 13:57:47 GMT Pragma: - no-cache RequestId: - - e3a46c2f-f6e4-4810-80ff-a0ed2866bfed + - cbee2179-95dd-405e-932a-d27456eb4736 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,16 +266,12 @@ interactions: User-Agent: - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: - string: '{"value": [{"id": "809dffab-7480-4f5e-86b4-33ef3e2fd550", "type": "SQLEndpoint", - "displayName": "fabcli000001_new_3", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + string: '{"value": [{"id": "f3431900-41a2-4e9a-bb00-9b89bdc95367", "type": "UserDataFunction", "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "bfdd2dd1-5a66-48f6-9bb9-0f52c48efff6", - "type": "CosmosDBDatabase", "displayName": "fabcli000001_new_3", "description": - "Imported from fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -284,15 +280,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '296' + - '191' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:24:28 GMT + - Wed, 04 Feb 2026 13:57:48 GMT Pragma: - no-cache RequestId: - - 648946f4-e839-4cb6-9435-d4e5b067a708 + - a7fd4a5e-ba38-4ec9-bf13-95a913143958 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -322,7 +318,7 @@ interactions: User-Agent: - ms-fabric-cli/1.3.1 (import; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67 + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323 response: body: string: '' @@ -338,11 +334,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 03 Feb 2026 09:24:28 GMT + - Wed, 04 Feb 2026 13:57:48 GMT Pragma: - no-cache RequestId: - - d003bd73-4622-4555-a46c-8922d3e91fed + - 5caf9856-c4eb-4360-9f3f-a0530245a0e5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml index 6fcf7d44..073077f5 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2803' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:53 GMT + - Wed, 04 Feb 2026 13:45:21 GMT Pragma: - no-cache RequestId: - - 928ac47c-fab2-4f66-aed5-5bb55ac12bf8 + - f718ee5a-4938-4cfd-bb61-d6e7ea2fbcea Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,12 +64,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: - string: '{"value": [{"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -78,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '193' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:54 GMT + - Wed, 04 Feb 2026 13:45:21 GMT Pragma: - no-cache RequestId: - - 3969e236-a10d-4519-b4d4-b2e50d713fb1 + - 68c2532d-615f-45d2-9b71-175d49cb3b1a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -114,12 +112,10 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: - string: '{"value": [{"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -128,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '193' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:54 GMT + - Wed, 04 Feb 2026 13:45:22 GMT Pragma: - no-cache RequestId: - - 74784703-16bc-4e13-b135-2837c58cd43a + - 454842a9-010c-44a3-b5e4-b69a247deb71 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -167,7 +163,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/cosmosDbDatabases + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/cosmosDbDatabases response: body: string: 'null' @@ -183,15 +179,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:56 GMT + - Wed, 04 Feb 2026 13:45:25 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9e8d107a-8759-4a55-9558-bc1037bf6594 Pragma: - no-cache RequestId: - - a216b0d0-44ff-41ad-90d8-abba86dff2b8 + - bce0a23e-ea9a-411d-9be4-4f3d49b97245 Retry-After: - '20' Strict-Transport-Security: @@ -205,7 +201,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - b966696b-69b9-496b-af9d-ea9a37732ba4 + - 9e8d107a-8759-4a55-9558-bc1037bf6594 status: code: 202 message: Accepted @@ -223,11 +219,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9e8d107a-8759-4a55-9558-bc1037bf6594 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:22:56.4664361", - "lastUpdatedTimeUtc": "2026-02-03T09:23:03.8437077", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:45:24.8574795", + "lastUpdatedTimeUtc": "2026-02-04T13:45:33.9374367", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -237,17 +233,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '133' + - '132' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:19 GMT + - Wed, 04 Feb 2026 13:45:47 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9e8d107a-8759-4a55-9558-bc1037bf6594/result Pragma: - no-cache RequestId: - - d4a07646-7f32-4f2d-9ce4-c1c2d67e8791 + - 1353a3ff-c692-4758-a1eb-7212180cff8c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -255,7 +251,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - b966696b-69b9-496b-af9d-ea9a37732ba4 + - 9e8d107a-8759-4a55-9558-bc1037bf6594 status: code: 200 message: OK @@ -273,12 +269,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b966696b-69b9-496b-af9d-ea9a37732ba4/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9e8d107a-8759-4a55-9558-bc1037bf6594/result response: body: - string: '{"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", "type": "CosmosDBDatabase", + string: '{"id": "28b3de87-01e5-4f9f-909b-ae1ef0e13c25", "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}' + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}' headers: Access-Control-Expose-Headers: - RequestId @@ -289,11 +285,11 @@ interactions: Content-Type: - application/json Date: - - Tue, 03 Feb 2026 09:23:20 GMT + - Wed, 04 Feb 2026 13:45:47 GMT Pragma: - no-cache RequestId: - - f14545ab-0b21-437e-ba1e-6b806778ad00 + - 7072db40-03c7-4fe2-84ef-fbfd39b85fe4 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -323,7 +319,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -334,15 +330,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2803' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:21 GMT + - Wed, 04 Feb 2026 13:45:48 GMT Pragma: - no-cache RequestId: - - e1fd6316-b5ca-4e7e-805e-632d515dd69b + - 7f62bf3e-2133-4ecc-a716-31c2aa09b3c2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,16 +366,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: - string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", - "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", - "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + string: '{"value": [{"id": "28b3de87-01e5-4f9f-909b-ae1ef0e13c25", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -388,15 +380,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '299' + - '182' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:21 GMT + - Wed, 04 Feb 2026 13:45:49 GMT Pragma: - no-cache RequestId: - - 8ea710da-39eb-4b51-a238-28daa95f4313 + - 2d3ffeef-825c-4006-8a72-6d1b819edd94 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -424,12 +416,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/c7d81f30-2407-4f13-98e2-4d02379dc165 + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items/28b3de87-01e5-4f9f-909b-ae1ef0e13c25 response: body: - string: '{"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", "type": "CosmosDBDatabase", + string: '{"id": "28b3de87-01e5-4f9f-909b-ae1ef0e13c25", "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}' + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -438,17 +430,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '172' + - '170' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:22 GMT + - Wed, 04 Feb 2026 13:45:49 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 35f88430-b502-486c-bf9f-ed7e92ed7f94 + - 5decd996-7650-405f-a845-0d9ab419314b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -478,7 +470,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/c7d81f30-2407-4f13-98e2-4d02379dc165/getDefinition + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items/28b3de87-01e5-4f9f-909b-ae1ef0e13c25/getDefinition response: body: string: 'null' @@ -494,13 +486,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:23 GMT + - Wed, 04 Feb 2026 13:45:50 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b722a3c5-1511-419d-bbc0-4a6800b091d3 Pragma: - no-cache RequestId: - - df59300e-94d3-467b-8342-4a1faee8c471 + - bfd031f2-279d-448e-8fa9-014651540509 Retry-After: - '20' Strict-Transport-Security: @@ -514,7 +506,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 104ffbed-f905-43dd-8c4f-257b53fabefd + - b722a3c5-1511-419d-bbc0-4a6800b091d3 status: code: 202 message: Accepted @@ -532,11 +524,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b722a3c5-1511-419d-bbc0-4a6800b091d3 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:23:23.9590047", - "lastUpdatedTimeUtc": "2026-02-03T09:23:24.4121318", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:45:51.2373992", + "lastUpdatedTimeUtc": "2026-02-04T13:45:51.9877678", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -546,17 +538,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '131' + - '130' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:45 GMT + - Wed, 04 Feb 2026 13:46:11 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b722a3c5-1511-419d-bbc0-4a6800b091d3/result Pragma: - no-cache RequestId: - - c0b2d89b-dada-44ea-ac25-e1395897fd0e + - 8a9ac1d1-b06a-4b7d-ac6d-1d76ac428b0d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -564,7 +556,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 104ffbed-f905-43dd-8c4f-257b53fabefd + - b722a3c5-1511-419d-bbc0-4a6800b091d3 status: code: 200 message: OK @@ -582,7 +574,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/104ffbed-f905-43dd-8c4f-257b53fabefd/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b722a3c5-1511-419d-bbc0-4a6800b091d3/result response: body: string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL0Nvc21vc0RCL2RlZmluaXRpb24vQ29zbW9zREIvMi4wLjAvc2NoZW1hLmpzb24iLAogICJjb250YWluZXJzIjogW10KfQ==", @@ -598,11 +590,11 @@ interactions: Content-Type: - application/json Date: - - Tue, 03 Feb 2026 09:23:47 GMT + - Wed, 04 Feb 2026 13:46:13 GMT Pragma: - no-cache RequestId: - - b7a3b0eb-6280-435d-a4ae-49e57001e385 + - e1d6f5f6-876d-4bbb-91a3-80cc67245fd7 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -632,7 +624,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -643,15 +635,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2803' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:47 GMT + - Wed, 04 Feb 2026 13:46:13 GMT Pragma: - no-cache RequestId: - - 20226b18-0f53-4588-8c0e-ebcd1b2ab5bc + - b34a2271-8805-4ff6-a72a-47f39a734661 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -679,16 +671,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: - string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", - "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", - "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + string: '{"value": [{"id": "ac6531f3-b4dd-4cc5-9618-c112123f59f6", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}, + {"id": "28b3de87-01e5-4f9f-909b-ae1ef0e13c25", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -697,15 +687,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '299' + - '233' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:47 GMT + - Wed, 04 Feb 2026 13:46:14 GMT Pragma: - no-cache RequestId: - - 024871a2-a217-406f-9e03-18a96c812187 + - 7b178f32-528c-48bd-8932-f0c2a26ef026 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -733,16 +723,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: - string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", - "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", - "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + string: '{"value": [{"id": "ac6531f3-b4dd-4cc5-9618-c112123f59f6", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}, + {"id": "28b3de87-01e5-4f9f-909b-ae1ef0e13c25", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -751,15 +739,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '299' + - '233' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:49 GMT + - Wed, 04 Feb 2026 13:46:14 GMT Pragma: - no-cache RequestId: - - ff699001-48d8-4152-b514-ae0f7084fd9c + - 92e494d9-7797-4b35-b4bb-77b148b244b0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -775,7 +763,7 @@ interactions: message: OK - request: body: '{"type": "CosmosDBDatabase", "description": "Imported from fab", "folderId": - null, "displayName": "fabcli000001_new_3", "definition": {"parts": [{"path": + null, "displayName": "fabcli000001_new_2", "definition": {"parts": [{"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiQ29zbW9zREJEYXRhYmFzZSIsCiAgICAgICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogICAgfSwKICAgICJjb25maWciOiB7CiAgICAgICAgInZlcnNpb24iOiAiMi4wIiwKICAgICAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICAgIH0KfQ==", "payloadType": "InlineBase64"}, {"path": "definition.json", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vQ29zbW9zREIvZGVmaW5pdGlvbi9Db3Ntb3NEQi8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAiY29udGFpbmVycyI6IFtdCn0=", "payloadType": "InlineBase64"}]}}' @@ -793,7 +781,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: string: 'null' @@ -809,15 +797,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:23:51 GMT + - Wed, 04 Feb 2026 13:46:16 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab94010f-6a09-444c-b19f-99d4012472ed Pragma: - no-cache RequestId: - - 1c9bb5ed-6dc6-403b-8f47-46a0bc95d333 + - b954a02c-7f5e-4c8d-92e4-ecbb5a09bab1 Retry-After: - '20' Strict-Transport-Security: @@ -831,7 +819,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 4edfb93a-e22c-4f02-a93d-76e1b805051b + - ab94010f-6a09-444c-b19f-99d4012472ed status: code: 202 message: Accepted @@ -849,11 +837,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab94010f-6a09-444c-b19f-99d4012472ed response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:23:50.7475161", - "lastUpdatedTimeUtc": "2026-02-03T09:24:11.3006564", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:46:16.2193955", + "lastUpdatedTimeUtc": "2026-02-04T13:46:25.9088645", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -867,13 +855,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:24:13 GMT + - Wed, 04 Feb 2026 13:46:37 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab94010f-6a09-444c-b19f-99d4012472ed/result Pragma: - no-cache RequestId: - - 0a2130e1-5121-4e8a-b833-2ec4bc2b29c5 + - 6b3a6b2c-48d4-4536-9b58-afc660a71a0b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -881,7 +869,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 4edfb93a-e22c-4f02-a93d-76e1b805051b + - ab94010f-6a09-444c-b19f-99d4012472ed status: code: 200 message: OK @@ -899,12 +887,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4edfb93a-e22c-4f02-a93d-76e1b805051b/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ab94010f-6a09-444c-b19f-99d4012472ed/result response: body: - string: '{"id": "bfdd2dd1-5a66-48f6-9bb9-0f52c48efff6", "type": "CosmosDBDatabase", - "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}' + string: '{"id": "a433059f-2bf4-49ce-a168-a6fcda17001f", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}' headers: Access-Control-Expose-Headers: - RequestId @@ -915,11 +903,11 @@ interactions: Content-Type: - application/json Date: - - Tue, 03 Feb 2026 09:24:14 GMT + - Wed, 04 Feb 2026 13:46:38 GMT Pragma: - no-cache RequestId: - - 46709f41-adc5-4c0a-a2ac-190d6e4787b1 + - 8cc04a8c-2754-482b-8ab9-12fb598cfc4e Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -949,7 +937,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -960,15 +948,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2803' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:24:15 GMT + - Wed, 04 Feb 2026 13:46:39 GMT Pragma: - no-cache RequestId: - - f7dab964-bb89-4eb2-ba71-2930449653a0 + - c24d8967-9d05-426e-8b09-b0dd8b840974 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -996,21 +984,18 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items response: body: - string: '{"value": [{"id": "e2e4a255-a726-46f1-ab72-d93a6ea11660", "type": "SQLEndpoint", - "displayName": "fabcli000001", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "809dffab-7480-4f5e-86b4-33ef3e2fd550", "type": "SQLEndpoint", "displayName": - "fabcli000001_new_3", "description": "", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "c7d81f30-2407-4f13-98e2-4d02379dc165", - "type": "CosmosDBDatabase", "displayName": "fabcli000001", "description": - "Created by fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}, - {"id": "bfdd2dd1-5a66-48f6-9bb9-0f52c48efff6", "type": "CosmosDBDatabase", - "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + string: '{"value": [{"id": "ac6531f3-b4dd-4cc5-9618-c112123f59f6", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}, + {"id": "7452e937-a659-416d-b054-1fb1de1cdc50", "type": "SQLEndpoint", "displayName": + "fabcli000001_new_2", "description": "", "workspaceId": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}, + {"id": "28b3de87-01e5-4f9f-909b-ae1ef0e13c25", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}, {"id": "a433059f-2bf4-49ce-a168-a6fcda17001f", + "type": "CosmosDBDatabase", "displayName": "fabcli000001_new_2", "description": + "Imported from fab", "workspaceId": "a07d9781-dbbd-42cd-ae8a-396ea1c40eb3"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -1019,15 +1004,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '362' + - '308' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:24:16 GMT + - Wed, 04 Feb 2026 13:46:39 GMT Pragma: - no-cache RequestId: - - 64cb5133-c95c-4aa7-b498-472364e44fff + - 2ec2edb9-73e0-4996-8e2c-56a9d3d48952 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1057,7 +1042,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/c7d81f30-2407-4f13-98e2-4d02379dc165 + uri: https://api.fabric.microsoft.com/v1/workspaces/a07d9781-dbbd-42cd-ae8a-396ea1c40eb3/items/28b3de87-01e5-4f9f-909b-ae1ef0e13c25 response: body: string: '' @@ -1073,11 +1058,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 03 Feb 2026 09:24:17 GMT + - Wed, 04 Feb 2026 13:46:41 GMT Pragma: - no-cache RequestId: - - 74e76621-a933-4ac7-a1d3-42b59f503bca + - b5d76f9e-777d-45cf-8300-b3770c9c3fe3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml index 63bdffe3..9f96c700 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml @@ -17,7 +17,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2804' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:51 GMT + - Wed, 04 Feb 2026 13:56:48 GMT Pragma: - no-cache RequestId: - - a9a4a339-52aa-4b4f-aa1c-44b714fcd8a5 + - 608fdbe7-c3ee-4559-be04-f6860fc6d6b2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -64,7 +64,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: string: '{"value": []}' @@ -80,11 +80,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:52 GMT + - Wed, 04 Feb 2026 13:56:48 GMT Pragma: - no-cache RequestId: - - 3e232f92-71b1-4652-937b-d4a01f15da4f + - d6da4ef3-07d7-40d8-a13a-47ed326aaa48 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -112,7 +112,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: string: '{"value": []}' @@ -128,11 +128,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:53 GMT + - Wed, 04 Feb 2026 13:56:50 GMT Pragma: - no-cache RequestId: - - a95f4061-57c7-4e4f-bc4d-52a90ff88075 + - 6141e42a-c860-4538-a9fd-a920b410488f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -163,12 +163,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/userdatafunctions + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/userdatafunctions response: body: - string: '{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + string: '{"id": "13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd", "type": "UserDataFunction", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '174' + - '173' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:56 GMT + - Wed, 04 Feb 2026 13:56:53 GMT ETag: - '""' Pragma: - no-cache RequestId: - - ba3ebf31-d3c9-4666-b549-40da4252eeb3 + - f58a9dc1-fa7e-46af-b87c-cb9fb38d3432 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -219,7 +219,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2804' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:57 GMT + - Wed, 04 Feb 2026 13:56:54 GMT Pragma: - no-cache RequestId: - - 1cca70e5-dc6b-455f-afd0-a32a9f3aa33d + - 1e802e8e-7bd1-45b3-9191-b1bbd140bf4c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -266,12 +266,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: - string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + string: '{"value": [{"id": "13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd", "type": "UserDataFunction", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -284,11 +284,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:58 GMT + - Wed, 04 Feb 2026 13:56:55 GMT Pragma: - no-cache RequestId: - - 19227527-4cf9-4a93-81fe-65f89c1827d7 + - db369f51-7b07-48b3-a719-c4d038036715 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -316,12 +316,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/56285b47-8c68-4f47-bdcc-bdb4ddca176f + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items/13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd response: body: - string: '{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + string: '{"id": "13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd", "type": "UserDataFunction", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -330,17 +330,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '174' + - '173' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:59 GMT + - Wed, 04 Feb 2026 13:56:56 GMT ETag: - '""' Pragma: - no-cache RequestId: - - d4e692e5-6358-40f8-83f6-85cf4b82f9fb + - 7df6b7c0-767e-4499-b1ef-64d47746b19e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -370,7 +370,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/56285b47-8c68-4f47-bdcc-bdb4ddca176f/getDefinition + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items/13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd/getDefinition response: body: string: 'null' @@ -386,13 +386,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:21:59 GMT + - Wed, 04 Feb 2026 13:56:57 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/30042788-bd06-4335-8150-2c9354e8e65d Pragma: - no-cache RequestId: - - 7625afdc-337f-479c-a669-a3dcdc94f935 + - 2b35f50e-b9d4-4f55-91e4-56086ebb7619 Retry-After: - '20' Strict-Transport-Security: @@ -406,7 +406,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - c2feeabb-a305-4abf-be28-030cd7c84d52 + - 30042788-bd06-4335-8150-2c9354e8e65d status: code: 202 message: Accepted @@ -424,11 +424,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/30042788-bd06-4335-8150-2c9354e8e65d response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:22:00.2501412", - "lastUpdatedTimeUtc": "2026-02-03T09:22:00.5320608", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:56:57.7255641", + "lastUpdatedTimeUtc": "2026-02-04T13:56:58.1786907", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -438,17 +438,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '129' + - '131' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:22 GMT + - Wed, 04 Feb 2026 13:57:18 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/30042788-bd06-4335-8150-2c9354e8e65d/result Pragma: - no-cache RequestId: - - 42d405a7-4a2b-451b-a29b-4fa353fe90df + - 56ff82db-5cd6-435a-8337-ac93608f142f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -456,7 +456,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - c2feeabb-a305-4abf-be28-030cd7c84d52 + - 30042788-bd06-4335-8150-2c9354e8e65d status: code: 200 message: OK @@ -474,7 +474,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c2feeabb-a305-4abf-be28-030cd7c84d52/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/30042788-bd06-4335-8150-2c9354e8e65d/result response: body: string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ew0KICAiJHNjaGVtYSI6ICJodHRwczovL2RldmVsb3Blci5taWNyb3NvZnQuY29tL2pzb24tc2NoZW1hcy9mYWJyaWMvaXRlbS91c2VyRGF0YUZ1bmN0aW9uL2RlZmluaXRpb24vMS4xLjAvc2NoZW1hLmpzb24iLA0KICAicnVudGltZSI6ICJQWVRIT04iLA0KICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwNCiAgImZ1bmN0aW9ucyI6IFtdLA0KICAibGlicmFyaWVzIjogew0KICAgICJwdWJsaWMiOiBbXSwNCiAgICAicHJpdmF0ZSI6IFtdDQogIH0NCn0=", @@ -490,11 +490,11 @@ interactions: Content-Type: - application/json Date: - - Tue, 03 Feb 2026 09:22:22 GMT + - Wed, 04 Feb 2026 13:57:19 GMT Pragma: - no-cache RequestId: - - 92f063f0-4ba2-48fc-ab48-1d63ee036357 + - ef6d3f6d-6b31-4860-ab52-64d8fe230c91 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -524,7 +524,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -535,15 +535,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2804' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:24 GMT + - Wed, 04 Feb 2026 13:57:20 GMT Pragma: - no-cache RequestId: - - d83218e7-331b-414e-a36e-c954598483e0 + - ccdec035-bffb-45e8-8a00-49d3ba815562 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -571,12 +571,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: - string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + string: '{"value": [{"id": "13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd", "type": "UserDataFunction", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -589,11 +589,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:25 GMT + - Wed, 04 Feb 2026 13:57:20 GMT Pragma: - no-cache RequestId: - - 7398940f-a316-4b0e-9e5b-4f253c814a0b + - 2fb8f504-7979-495a-9c89-850a05a2dd48 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -621,12 +621,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: - string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + string: '{"value": [{"id": "13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd", "type": "UserDataFunction", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -639,11 +639,11 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:25 GMT + - Wed, 04 Feb 2026 13:57:21 GMT Pragma: - no-cache RequestId: - - c6c571d1-5e33-42cf-bd82-75f33701aba9 + - c593e5eb-11bb-4b20-bab2-e1755a2f835d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -677,7 +677,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: string: 'null' @@ -693,15 +693,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:27 GMT + - Wed, 04 Feb 2026 13:57:22 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352 + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d5c58650-b5e7-4eec-838b-eebbd5c8be56 Pragma: - no-cache RequestId: - - cca23897-44ac-4cb9-9d86-fa9cc12afc54 + - c0870cd0-ca60-48ac-8033-9e9c0553ac0f Retry-After: - '20' Strict-Transport-Security: @@ -715,7 +715,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 08cbb796-1986-4cc0-ac3b-9950a2b93352 + - d5c58650-b5e7-4eec-838b-eebbd5c8be56 status: code: 202 message: Accepted @@ -733,11 +733,11 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352 + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d5c58650-b5e7-4eec-838b-eebbd5c8be56 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:22:27.1793775", - "lastUpdatedTimeUtc": "2026-02-03T09:22:30.2106399", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:57:22.6503207", + "lastUpdatedTimeUtc": "2026-02-04T13:57:25.7296187", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -751,13 +751,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:49 GMT + - Wed, 04 Feb 2026 13:57:44 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d5c58650-b5e7-4eec-838b-eebbd5c8be56/result Pragma: - no-cache RequestId: - - bb39cff5-45be-401e-bb87-b8481560fc24 + - 1295f2ca-764c-452e-81e4-a274d5d45440 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -765,7 +765,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 08cbb796-1986-4cc0-ac3b-9950a2b93352 + - d5c58650-b5e7-4eec-838b-eebbd5c8be56 status: code: 200 message: OK @@ -783,12 +783,12 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/08cbb796-1986-4cc0-ac3b-9950a2b93352/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d5c58650-b5e7-4eec-838b-eebbd5c8be56/result response: body: - string: '{"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", "type": "UserDataFunction", + string: '{"id": "f3431900-41a2-4e9a-bb00-9b89bdc95367", "type": "UserDataFunction", "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}' + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}' headers: Access-Control-Expose-Headers: - RequestId @@ -799,11 +799,11 @@ interactions: Content-Type: - application/json Date: - - Tue, 03 Feb 2026 09:22:50 GMT + - Wed, 04 Feb 2026 13:57:44 GMT Pragma: - no-cache RequestId: - - a51efc91-1652-4e94-911d-c97fb99494aa + - 7ccab405-277f-40da-b484-33ed6f727a8a Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -833,7 +833,7 @@ interactions: response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "e4270291-b332-4146-ab5f-c33d36c70c67", + "My workspace", "description": "", "type": "Personal"}, {"id": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -844,15 +844,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '2460' + - '2804' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:51 GMT + - Wed, 04 Feb 2026 13:57:45 GMT Pragma: - no-cache RequestId: - - 9ac6cd68-f947-4317-bd3b-7c29588f4a1a + - 73347a69-9397-436f-976e-168669d77c6b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -880,14 +880,14 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items response: body: - string: '{"value": [{"id": "56285b47-8c68-4f47-bdcc-bdb4ddca176f", "type": "UserDataFunction", + string: '{"value": [{"id": "13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd", "type": "UserDataFunction", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "e4270291-b332-4146-ab5f-c33d36c70c67"}, {"id": "b0c4d3ed-e7e9-45a2-92df-de2cb77e0964", + "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}, {"id": "f3431900-41a2-4e9a-bb00-9b89bdc95367", "type": "UserDataFunction", "displayName": "fabcli000001_new_2", "description": - "Imported from fab", "workspaceId": "e4270291-b332-4146-ab5f-c33d36c70c67"}]}' + "Imported from fab", "workspaceId": "a8d49980-a47b-4cdf-8a97-d6c0e63a5323"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -896,15 +896,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '237' + - '236' Content-Type: - application/json; charset=utf-8 Date: - - Tue, 03 Feb 2026 09:22:52 GMT + - Wed, 04 Feb 2026 13:57:46 GMT Pragma: - no-cache RequestId: - - 42832106-c65f-4308-90a8-fb8b8d10b51d + - 715de02c-2a53-4624-b937-1d53226608bb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -934,7 +934,7 @@ interactions: User-Agent: - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/e4270291-b332-4146-ab5f-c33d36c70c67/items/56285b47-8c68-4f47-bdcc-bdb4ddca176f + uri: https://api.fabric.microsoft.com/v1/workspaces/a8d49980-a47b-4cdf-8a97-d6c0e63a5323/items/13efb2e4-d1fa-49b8-902f-5f6b5bbaf7fd response: body: string: '' @@ -950,11 +950,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 03 Feb 2026 09:22:52 GMT + - Wed, 04 Feb 2026 13:57:47 GMT Pragma: - no-cache RequestId: - - 49c1819f-001a-47d8-85bf-f3ff033a587c + - 02cbd200-2b27-499e-9341-2a8b4c6d2596 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml index 8210ab4f..0534eb89 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml @@ -11,13 +11,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "704a31b2-abd1-4aac-863d-ba2cdf6527d9", + "My workspace", "description": "", "type": "Personal"}, {"id": "3068b703-30ad-4498-a60a-96e79f2fdd95", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -28,15 +28,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2801' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:23 GMT + - Wed, 04 Feb 2026 13:54:26 GMT Pragma: - no-cache RequestId: - - 829674ea-747f-44b6-a63e-10a79b531d65 + - f801deab-483e-4fc0-a711-1aa019beb8a3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -62,17 +62,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: - string: '{"value": [{"id": "63297299-d084-4676-92ca-91cc20fcbc14", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9065f1b3-34d8-4104-bf19-847b3c724abe", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9fe7ca9d-f5be-4fd3-9035-42e383715b55", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -81,15 +76,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '284' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:23 GMT + - Wed, 04 Feb 2026 13:54:27 GMT Pragma: - no-cache RequestId: - - b3478cbc-b86c-4437-9bf5-e80e44604ac7 + - 687c02b7-9ce5-4ec8-b348-a964a1fca8c4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -115,17 +110,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: - string: '{"value": [{"id": "63297299-d084-4676-92ca-91cc20fcbc14", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9065f1b3-34d8-4104-bf19-847b3c724abe", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9fe7ca9d-f5be-4fd3-9035-42e383715b55", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + string: '{"value": []}' headers: Access-Control-Expose-Headers: - RequestId @@ -134,15 +124,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '284' + - '32' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:23 GMT + - Wed, 04 Feb 2026 13:54:28 GMT Pragma: - no-cache RequestId: - - d13071b2-0d0e-4f32-be84-f730b8326a3a + - 38a11f55-286d-42f5-8cf0-c3bda99c3838 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -173,9 +163,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/notebooks + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/notebooks response: body: string: 'null' @@ -191,15 +181,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:25 GMT + - Wed, 04 Feb 2026 13:54:30 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f2a4bfe9-be66-4385-81a5-c31571b1eaaf + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ceb74ed-98a0-4df4-9bb5-0bf8c574d5af Pragma: - no-cache RequestId: - - 9a12bb13-8135-44f0-8fee-33818f93bc08 + - 10983b82-72e5-433c-b85f-00a0f99227ba Retry-After: - '20' Strict-Transport-Security: @@ -213,7 +203,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - f2a4bfe9-be66-4385-81a5-c31571b1eaaf + - 9ceb74ed-98a0-4df4-9bb5-0bf8c574d5af status: code: 202 message: Accepted @@ -229,13 +219,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f2a4bfe9-be66-4385-81a5-c31571b1eaaf + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ceb74ed-98a0-4df4-9bb5-0bf8c574d5af response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2025-12-15T07:40:24.7346701", - "lastUpdatedTimeUtc": "2025-12-15T07:40:25.9073075", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:54:29.8291489", + "lastUpdatedTimeUtc": "2026-02-04T13:54:31.0954743", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -245,17 +235,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '131' + - '133' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:45 GMT + - Wed, 04 Feb 2026 13:54:51 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f2a4bfe9-be66-4385-81a5-c31571b1eaaf/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ceb74ed-98a0-4df4-9bb5-0bf8c574d5af/result Pragma: - no-cache RequestId: - - 0321abfb-dbd6-4193-a8cc-ab360b41a732 + - 7ce69f6f-f45f-42ef-864d-2c5944be67bc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -263,7 +253,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - f2a4bfe9-be66-4385-81a5-c31571b1eaaf + - 9ceb74ed-98a0-4df4-9bb5-0bf8c574d5af status: code: 200 message: OK @@ -279,14 +269,14 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f2a4bfe9-be66-4385-81a5-c31571b1eaaf/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9ceb74ed-98a0-4df4-9bb5-0bf8c574d5af/result response: body: - string: '{"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", + string: '{"id": "02a9fe7d-236c-489b-a76c-144ac5a0b409", "type": "Notebook", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + "3068b703-30ad-4498-a60a-96e79f2fdd95"}' headers: Access-Control-Expose-Headers: - RequestId @@ -297,11 +287,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 15 Dec 2025 07:40:45 GMT + - Wed, 04 Feb 2026 13:54:52 GMT Pragma: - no-cache RequestId: - - f1de7634-f34b-4d44-a731-38f1fec00ab7 + - 54b4e67d-4ba6-4a9f-9a9f-73e605324e48 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -325,13 +315,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "704a31b2-abd1-4aac-863d-ba2cdf6527d9", + "My workspace", "description": "", "type": "Personal"}, {"id": "3068b703-30ad-4498-a60a-96e79f2fdd95", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -342,15 +332,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2801' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:46 GMT + - Wed, 04 Feb 2026 13:54:53 GMT Pragma: - no-cache RequestId: - - f49efcd2-33a1-4dba-b280-b83aa30d9cdd + - 19c185d6-d757-4384-a9a5-8f49da9caa3c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -376,19 +366,14 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: - string: '{"value": [{"id": "63297299-d084-4676-92ca-91cc20fcbc14", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9065f1b3-34d8-4104-bf19-847b3c724abe", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9fe7ca9d-f5be-4fd3-9035-42e383715b55", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + string: '{"value": [{"id": "02a9fe7d-236c-489b-a76c-144ac5a0b409", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "3068b703-30ad-4498-a60a-96e79f2fdd95"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -397,15 +382,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '327' + - '177' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:47 GMT + - Wed, 04 Feb 2026 13:54:54 GMT Pragma: - no-cache RequestId: - - 70a9632c-c850-4021-9db0-38adc1741e75 + - 78093a70-a3c0-4090-9dc7-a511ed6f70e9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -431,14 +416,14 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items/38ae6ef7-2e40-4b6a-b9fa-c34181792763 + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items/02a9fe7d-236c-489b-a76c-144ac5a0b409 response: body: - string: '{"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", + string: '{"id": "02a9fe7d-236c-489b-a76c-144ac5a0b409", "type": "Notebook", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + "3068b703-30ad-4498-a60a-96e79f2fdd95"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -451,13 +436,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:47 GMT + - Wed, 04 Feb 2026 13:54:55 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 80375d28-29b8-47d6-a734-d8a615f1ac8d + - 2be500bc-4bd0-4a58-b0a6-ac2187fb7883 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -485,9 +470,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items/38ae6ef7-2e40-4b6a-b9fa-c34181792763/getDefinition?format=ipynb + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items/02a9fe7d-236c-489b-a76c-144ac5a0b409/getDefinition?format=ipynb response: body: string: 'null' @@ -503,13 +488,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:48 GMT + - Wed, 04 Feb 2026 13:54:55 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a4e864e-0ee2-455d-bca9-a5ee7e570f4d + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/815aaa1e-2d17-47c1-9a2d-f9e2a26efb95 Pragma: - no-cache RequestId: - - fd9b1082-2d5f-4450-b9dc-2261aa88277e + - 8d2ae7fd-9dc6-44e3-ad8e-eefcf815bd86 Retry-After: - '20' Strict-Transport-Security: @@ -523,7 +508,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 8a4e864e-0ee2-455d-bca9-a5ee7e570f4d + - 815aaa1e-2d17-47c1-9a2d-f9e2a26efb95 status: code: 202 message: Accepted @@ -539,13 +524,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a4e864e-0ee2-455d-bca9-a5ee7e570f4d + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/815aaa1e-2d17-47c1-9a2d-f9e2a26efb95 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2025-12-15T07:40:47.9883696", - "lastUpdatedTimeUtc": "2025-12-15T07:40:48.3164975", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:54:55.8987248", + "lastUpdatedTimeUtc": "2026-02-04T13:54:56.9614884", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -559,13 +544,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:08 GMT + - Wed, 04 Feb 2026 13:55:16 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a4e864e-0ee2-455d-bca9-a5ee7e570f4d/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/815aaa1e-2d17-47c1-9a2d-f9e2a26efb95/result Pragma: - no-cache RequestId: - - 59cb2c24-da8c-4796-be88-2429daa29142 + - f440c962-fc68-4736-bdd1-58053c4bc5d5 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -573,7 +558,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 8a4e864e-0ee2-455d-bca9-a5ee7e570f4d + - 815aaa1e-2d17-47c1-9a2d-f9e2a26efb95 status: code: 200 message: OK @@ -589,9 +574,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8a4e864e-0ee2-455d-bca9-a5ee7e570f4d/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/815aaa1e-2d17-47c1-9a2d-f9e2a26efb95/result response: body: string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": @@ -608,11 +593,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 15 Dec 2025 07:41:08 GMT + - Wed, 04 Feb 2026 13:55:17 GMT Pragma: - no-cache RequestId: - - f0c68dd8-64e5-40b9-b81f-cb45a4b84d7b + - 0f0465a3-3c63-43ea-bda6-6e31652fc200 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -636,13 +621,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "704a31b2-abd1-4aac-863d-ba2cdf6527d9", + "My workspace", "description": "", "type": "Personal"}, {"id": "3068b703-30ad-4498-a60a-96e79f2fdd95", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -653,15 +638,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2801' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:10 GMT + - Wed, 04 Feb 2026 13:55:18 GMT Pragma: - no-cache RequestId: - - 542ac2b8-d520-4f7f-acfe-f5c5d938b380 + - 6eb240e9-6024-43a0-8fa7-3dec1c1d429e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -687,19 +672,14 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: - string: '{"value": [{"id": "63297299-d084-4676-92ca-91cc20fcbc14", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9065f1b3-34d8-4104-bf19-847b3c724abe", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9fe7ca9d-f5be-4fd3-9035-42e383715b55", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + string: '{"value": [{"id": "02a9fe7d-236c-489b-a76c-144ac5a0b409", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "3068b703-30ad-4498-a60a-96e79f2fdd95"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -708,15 +688,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '327' + - '177' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:10 GMT + - Wed, 04 Feb 2026 13:55:19 GMT Pragma: - no-cache RequestId: - - cdf8ab54-032e-45b1-880d-e06521b09610 + - c6edc2d5-710c-4d4d-9138-70521d56431d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -742,19 +722,14 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: - string: '{"value": [{"id": "63297299-d084-4676-92ca-91cc20fcbc14", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9065f1b3-34d8-4104-bf19-847b3c724abe", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9fe7ca9d-f5be-4fd3-9035-42e383715b55", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + string: '{"value": [{"id": "02a9fe7d-236c-489b-a76c-144ac5a0b409", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "3068b703-30ad-4498-a60a-96e79f2fdd95"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -763,15 +738,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '327' + - '177' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:10 GMT + - Wed, 04 Feb 2026 13:55:20 GMT Pragma: - no-cache RequestId: - - 1cfa8e92-71e1-47a7-aa5a-0603cf5bfd1d + - 68ab9ad0-fd25-468c-bf9d-e143dfcedba6 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -797,13 +772,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "704a31b2-abd1-4aac-863d-ba2cdf6527d9", + "My workspace", "description": "", "type": "Personal"}, {"id": "3068b703-30ad-4498-a60a-96e79f2fdd95", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -814,15 +789,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2801' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:11 GMT + - Wed, 04 Feb 2026 13:55:21 GMT Pragma: - no-cache RequestId: - - 2290ddab-b483-40aa-8a99-eec7dfc61bd4 + - 7aa823b4-c72b-4579-b1bf-f96687dec036 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -848,13 +823,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "704a31b2-abd1-4aac-863d-ba2cdf6527d9", + "My workspace", "description": "", "type": "Personal"}, {"id": "3068b703-30ad-4498-a60a-96e79f2fdd95", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -865,15 +840,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2801' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:11 GMT + - Wed, 04 Feb 2026 13:55:21 GMT Pragma: - no-cache RequestId: - - 269d9ad0-23e0-4441-b765-5da01ceefb66 + - 04bc3cd4-d836-4242-930e-489ba82b1473 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -905,9 +880,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: POST - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: string: 'null' @@ -923,15 +898,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:13 GMT + - Wed, 04 Feb 2026 13:55:22 GMT ETag: - '""' Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c4ac6fc-dc0c-42bd-9497-7263f08e71de + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/58f294f3-61b3-4bb1-b30d-d8dff9936c44 Pragma: - no-cache RequestId: - - 69d04a01-4c5c-447a-9f22-1d2b1e4846a1 + - c345bc39-4801-4f51-8e5d-492e8c074069 Retry-After: - '20' Strict-Transport-Security: @@ -945,7 +920,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 7c4ac6fc-dc0c-42bd-9497-7263f08e71de + - 58f294f3-61b3-4bb1-b30d-d8dff9936c44 status: code: 202 message: Accepted @@ -961,13 +936,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c4ac6fc-dc0c-42bd-9497-7263f08e71de + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/58f294f3-61b3-4bb1-b30d-d8dff9936c44 response: body: - string: '{"status": "Succeeded", "createdTimeUtc": "2025-12-15T07:41:12.936122", - "lastUpdatedTimeUtc": "2025-12-15T07:41:14.045805", "percentComplete": 100, + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-04T13:55:23.3581982", + "lastUpdatedTimeUtc": "2026-02-04T13:55:24.280079", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -981,13 +956,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:33 GMT + - Wed, 04 Feb 2026 13:55:44 GMT Location: - - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c4ac6fc-dc0c-42bd-9497-7263f08e71de/result + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/58f294f3-61b3-4bb1-b30d-d8dff9936c44/result Pragma: - no-cache RequestId: - - 294c1598-d9c4-4038-9c9b-bc16dedcbd85 + - 5c24db3a-ce6e-4dcc-978a-27d4009e0bc3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -995,7 +970,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 7c4ac6fc-dc0c-42bd-9497-7263f08e71de + - 58f294f3-61b3-4bb1-b30d-d8dff9936c44 status: code: 200 message: OK @@ -1011,14 +986,14 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c4ac6fc-dc0c-42bd-9497-7263f08e71de/result + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/58f294f3-61b3-4bb1-b30d-d8dff9936c44/result response: body: - string: '{"id": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", + string: '{"id": "b634a816-334a-4406-ae87-0a6f0e5ae55b", "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + "3068b703-30ad-4498-a60a-96e79f2fdd95"}' headers: Access-Control-Expose-Headers: - RequestId @@ -1029,11 +1004,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 15 Dec 2025 07:41:34 GMT + - Wed, 04 Feb 2026 13:55:45 GMT Pragma: - no-cache RequestId: - - 6d4c3dfc-af52-4140-97f5-f06d7faddc38 + - 5776daaf-4869-4772-a878-533e4e1bd224 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -1057,13 +1032,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "704a31b2-abd1-4aac-863d-ba2cdf6527d9", + "My workspace", "description": "", "type": "Personal"}, {"id": "3068b703-30ad-4498-a60a-96e79f2fdd95", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -1074,15 +1049,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2801' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:35 GMT + - Wed, 04 Feb 2026 13:55:46 GMT Pragma: - no-cache RequestId: - - 78343b00-4f71-4c7d-8dae-4d3d15efb98e + - 0ac49801-8419-4314-9f20-bd7ba14fe81e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1108,21 +1083,16 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items response: body: - string: '{"value": [{"id": "63297299-d084-4676-92ca-91cc20fcbc14", "type": "SemanticModel", - "displayName": "fabcli000001_auto", "description": "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9065f1b3-34d8-4104-bf19-847b3c724abe", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9fe7ca9d-f5be-4fd3-9035-42e383715b55", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", "displayName": - "fabcli000001", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + string: '{"value": [{"id": "02a9fe7d-236c-489b-a76c-144ac5a0b409", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "3068b703-30ad-4498-a60a-96e79f2fdd95"}, {"id": "b634a816-334a-4406-ae87-0a6f0e5ae55b", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "3068b703-30ad-4498-a60a-96e79f2fdd95"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -1131,15 +1101,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '372' + - '229' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:35 GMT + - Wed, 04 Feb 2026 13:55:47 GMT Pragma: - no-cache RequestId: - - ccc6cbbc-0502-4611-9bc1-0e8c3a4ac173 + - c76295fa-4be8-4577-b741-10ec0bc03244 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1167,9 +1137,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.2.0 + - ms-fabric-cli-test/1.3.1 method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/704a31b2-abd1-4aac-863d-ba2cdf6527d9/items/38ae6ef7-2e40-4b6a-b9fa-c34181792763 + uri: https://api.fabric.microsoft.com/v1/workspaces/3068b703-30ad-4498-a60a-96e79f2fdd95/items/02a9fe7d-236c-489b-a76c-144ac5a0b409 response: body: string: '' @@ -1185,11 +1155,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Mon, 15 Dec 2025 07:41:35 GMT + - Wed, 04 Feb 2026 13:55:47 GMT Pragma: - no-cache RequestId: - - 1fbb9ed4-cac0-4b3d-bda2-abcfb1436546 + - 4f183800-359f-48f6-a3e3-ade7d5bac34e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: