diff --git a/tests/test_commands/conftest.py b/tests/test_commands/conftest.py index 392f9e5f..edd4c36e 100644 --- a/tests/test_commands/conftest.py +++ b/tests/test_commands/conftest.py @@ -60,6 +60,28 @@ ItemType.REFLEX, ItemType.SPARK_JOB_DEFINITION, ]) +import_update_existing_item_success_params = 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, + ItemType.COSMOS_DB_DATABASE, ItemType.USER_DATA_FUNCTION +]) + +import_create_new_item_success_params = 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, + ItemType.COSMOS_DB_DATABASE, ItemType.USER_DATA_FUNCTION +]) + +import_create_new_item_fail_params = 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, +]) + FILTER_HEADERS = [ "authorization", "client-request-id", @@ -267,7 +289,8 @@ def workspace(vcr_instance, test_data): workspace_name = f"{display_name}.Workspace" workspace_path = f"/{workspace_name}" - mkdir(workspace_path, params=[f"capacityName={test_data.capacity.name}"]) + mkdir(workspace_path, params=[ + f"capacityName={test_data.capacity.name}"]) yield EntityMetadata(display_name, workspace_name, workspace_path) rm(workspace_path) @@ -292,7 +315,8 @@ def _create_item( generated_name = custom_name else: # Use the test's specific recording file - generated_name = generate_random_string(vcr_instance, cassette_name) + generated_name = generate_random_string( + vcr_instance, cassette_name) item_name = f"{generated_name}.{type}" item_path = cli_path_join(path, item_name) @@ -318,7 +342,8 @@ def _create_item( @pytest.fixture def folder_factory(vcr_instance, cassette_name, workspace): # Keep track of all folders created during this test - current_config = state_config.get_config(fab_constant.FAB_FOLDER_LISTING_ENABLED) + current_config = state_config.get_config( + fab_constant.FAB_FOLDER_LISTING_ENABLED) state_config.set_config(fab_constant.FAB_FOLDER_LISTING_ENABLED, "true") created_folders = [] @@ -348,7 +373,8 @@ def _create_folder( for metadata in reversed(created_folders): rm(metadata.full_path) - state_config.set_config(fab_constant.FAB_FOLDER_LISTING_ENABLED, current_config) + state_config.set_config( + fab_constant.FAB_FOLDER_LISTING_ENABLED, current_config) @pytest.fixture @@ -374,7 +400,8 @@ def _create_virtual_item( """ generated_name = generate_random_string(vcr_instance, cassette_name) virtual_item_name = f"{generated_name}.{str(VICMap[type])}" - virtual_item_path = cli_path_join(workspace_path, str(type), virtual_item_name) + virtual_item_path = cli_path_join( + workspace_path, str(type), virtual_item_name) match type: @@ -427,7 +454,8 @@ def _create_virtual_item( mkdir(virtual_item_path, params) # Build the metadata for the created resource - metadata = EntityMetadata(generated_name, virtual_item_name, virtual_item_path) + metadata = EntityMetadata( + generated_name, virtual_item_name, virtual_item_path) if should_clean: created_virtual_items.append(metadata) return metadata @@ -457,10 +485,12 @@ def _create_workspace(special_character=None): workspace_name = f"{generated_name}.Workspace" workspace_path = f"/{workspace_name}" - mkdir(workspace_path, params=[f"capacityName={test_data.capacity.name}"]) + mkdir(workspace_path, params=[ + f"capacityName={test_data.capacity.name}"]) # Build the metadata for the created resource - metadata = EntityMetadata(generated_name, workspace_name, workspace_path) + metadata = EntityMetadata( + generated_name, workspace_name, workspace_path) created_workspaces.append(metadata) return metadata @@ -565,7 +595,8 @@ def delete_cassette_if_record_mode_all(vcr_instance, cassette_name): :param cassette_name: The name of the cassette file. """ if vcr_instance.record_mode == "all": - cassette_path = os.path.join(vcr_instance.cassette_library_dir, cassette_name) + cassette_path = os.path.join( + vcr_instance.cassette_library_dir, cassette_name) if os.path.exists(cassette_path): os.remove(cassette_path) @@ -673,7 +704,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): fab_default_az_location = state_config.get_config( fab_constant.FAB_DEFAULT_AZ_LOCATION ) - fab_default_az_admin = state_config.get_config(fab_constant.FAB_DEFAULT_AZ_ADMIN) + fab_default_az_admin = state_config.get_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN) # Setup new values state_config.set_config( @@ -687,7 +719,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): state_config.set_config( fab_constant.FAB_DEFAULT_AZ_LOCATION, test_data.azure_location ) - state_config.set_config(fab_constant.FAB_DEFAULT_AZ_ADMIN, test_data.admin.upn) + state_config.set_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN, test_data.admin.upn) yield @@ -701,7 +734,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): state_config.set_config( fab_constant.FAB_DEFAULT_AZ_LOCATION, fab_default_az_location ) - state_config.set_config(fab_constant.FAB_DEFAULT_AZ_ADMIN, fab_default_az_admin) + state_config.set_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN, fab_default_az_admin) # endregion 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..7a9a8ecd 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' + - '2771' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:10 GMT + - Thu, 05 Feb 2026 09:10:35 GMT Pragma: - no-cache RequestId: - - 5fb857bb-dad0-4d59-8e95-af454d3c1e13 + - b0214f19-1ed1-4e9a-ab46-03c14a3b62c8 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' + - '2771' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:10 GMT + - Thu, 05 Feb 2026 09:10:36 GMT Pragma: - no-cache RequestId: - - 278050fb-f499-462d-a172-a53340d33673 + - 7e3f3f3f-a838-4067-8769-ba1ba23b7ac9 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": "F16", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '873' + - '425' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:15 GMT + - Thu, 05 Feb 2026 09:10:42 GMT Pragma: - no-cache RequestId: - - fe25c410-1bd6-43dc-9d50-76631d2cf4e6 + - 4ed2a1fa-6d58-4370-a7d5-b5e256122909 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "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' + - '188' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:24 GMT + - Thu, 05 Feb 2026 09:10:51 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/7c496136-3bd9-4ab1-87de-ca254cb8bb5b + - https://api.fabric.microsoft.com/v1/workspaces/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7 Pragma: - no-cache RequestId: - - db93580e-a242-4252-867f-e17a62c441f4 + - 2d35de8d-cc9f-45a8-a6bd-45391043c3e0 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "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' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:48 GMT + - Thu, 05 Feb 2026 09:34:15 GMT Pragma: - no-cache RequestId: - - 411459f1-70f4-45b8-9b2a-40b505190b40 + - d36013d5-5b97-46cc-9543-0616d0ff338d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -264,12 +264,58 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -278,15 +324,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '1051' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 08:47:49 GMT + - Thu, 05 Feb 2026 09:34:15 GMT Pragma: - no-cache RequestId: - - 0e2c4aa3-640e-4fea-94d6-739f1904563c + - 173faced-bbba-488b-8245-b0815ab1c058 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -314,9 +360,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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7 response: body: string: '' @@ -332,11 +378,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Mon, 15 Dec 2025 08:47:50 GMT + - Thu, 05 Feb 2026 09:34:16 GMT Pragma: - no-cache RequestId: - - cf0e88ef-5222-46f8-9fe7-cd06b42fe6ae + - a9715f0e-89e2-4127-ae1b-43b9f0269601 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..6951a9f9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Dashboard].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:18 GMT + Pragma: + - no-cache + RequestId: + - 62816ca3-93f3-4886-8bdf-330a32d5b53b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:18 GMT + Pragma: + - no-cache + RequestId: + - 96a44194-f5fa-4fdd-9b7f-8a7be0d48a4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:19 GMT + Pragma: + - no-cache + RequestId: + - b7c4e39d-faa4-48e4-8f86-55fc5fbce00e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..9e82991c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Datamart].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:20 GMT + Pragma: + - no-cache + RequestId: + - e3a3e4f4-bf09-45f6-a9b5-dd56908adc08 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:21 GMT + Pragma: + - no-cache + RequestId: + - 7fe7a82b-615f-458d-b2d4-4ddc0f992e93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:22 GMT + Pragma: + - no-cache + RequestId: + - 64031190-d6be-4b1f-8100-d60dd22200c7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..7b507ed0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Lakehouse].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:23 GMT + Pragma: + - no-cache + RequestId: + - bd4dccd4-5af2-4bc5-9b36-184d97e51418 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:23 GMT + Pragma: + - no-cache + RequestId: + - a47e296e-15c4-4167-9414-c691190a1d67 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:23 GMT + Pragma: + - no-cache + RequestId: + - 421d9e39-81c1-46e7-b822-059a881e3a6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..5dde71c9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLExperiment].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:26 GMT + Pragma: + - no-cache + RequestId: + - a94b0e64-cf56-447e-be37-538026559205 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:27 GMT + Pragma: + - no-cache + RequestId: + - fea0bf3f-fcc2-4516-9249-82cf9eb59d57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:29 GMT + Pragma: + - no-cache + RequestId: + - 96dab5b9-25b3-4c64-be43-ea7d628e900b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..2207b6d7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MLModel].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:29 GMT + Pragma: + - no-cache + RequestId: + - 42530c72-4f89-45e5-bae8-26f7910644a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:30 GMT + Pragma: + - no-cache + RequestId: + - 5b159969-187f-4d30-948f-de267e037cb2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:30 GMT + Pragma: + - no-cache + RequestId: + - d098bf23-f6da-45dc-beb9-b4375c9755c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..4badab76 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[MirroredWarehouse].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:24 GMT + Pragma: + - no-cache + RequestId: + - 1e4272a9-aecf-4ecc-ab77-dab7f66e5372 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:25 GMT + Pragma: + - no-cache + RequestId: + - 4b3a6746-4e69-4069-8699-2adbd90ab9b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:26 GMT + Pragma: + - no-cache + RequestId: + - 9b2e106c-d83a-46aa-bb55-4d63d9176409 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..62f499e3 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[PaginatedReport].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:31 GMT + Pragma: + - no-cache + RequestId: + - 78677c3b-94aa-4ca9-95e0-00cafe9bfb07 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:32 GMT + Pragma: + - no-cache + RequestId: + - 8c83fa6c-5b9b-4897-bcdc-221460f5c188 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:33 GMT + Pragma: + - no-cache + RequestId: + - f00e5ca0-30d1-4a22-94b8-b64f3258e99b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..3aa27b0c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[SQLEndpoint].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:34 GMT + Pragma: + - no-cache + RequestId: + - d8fa6170-7870-47c5-a0a5-5af12dd71e1d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:35 GMT + Pragma: + - no-cache + RequestId: + - 9b1e6b07-c9e8-4a48-8f1e-67a5047c8387 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:35 GMT + Pragma: + - no-cache + RequestId: + - b88e1f78-74d1-488e-b3b8-30c0a68c08ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..87fd28a6 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_fail[Warehouse].yaml @@ -0,0 +1,235 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:37 GMT + Pragma: + - no-cache + RequestId: + - df755f41-4b30-4844-ae26-44f0b6fab924 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:38 GMT + Pragma: + - no-cache + RequestId: + - 08568b5a-84b6-4fb7-96d7-cd89ed5c19f2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1011' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:38 GMT + Pragma: + - no-cache + RequestId: + - 2ced46e6-2e1d-403a-bef8-7835c4299be8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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[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..96429d57 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[CosmosDBDatabase].yaml @@ -0,0 +1,1301 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:55 GMT + Pragma: + - no-cache + RequestId: + - babd561c-3bc0-4898-ba9d-8438eea9d26b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '880' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:56 GMT + Pragma: + - no-cache + RequestId: + - 422c5c7a-4b61-41cb-9605-58f1c21a4d09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '880' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:57 GMT + Pragma: + - no-cache + RequestId: + - 8f31ecab-d3c0-45d3-9332-dcaf131d270a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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: + - Thu, 05 Feb 2026 09:29:58 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/513b02a4-59c9-4287-a0c3-29e8f9c6893e + Pragma: + - no-cache + RequestId: + - 2b03377a-ba20-4979-b0e1-fc6306012786 + 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: + - 513b02a4-59c9-4287-a0c3-29e8f9c6893e + 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/513b02a4-59c9-4287-a0c3-29e8f9c6893e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:29:58.7520807", + "lastUpdatedTimeUtc": "2026-02-05T09:30:05.0970823", "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, 05 Feb 2026 09:30:20 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/513b02a4-59c9-4287-a0c3-29e8f9c6893e/result + Pragma: + - no-cache + RequestId: + - e7a678b6-669d-4cc0-b7d3-3a48d337bfa2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 513b02a4-59c9-4287-a0c3-29e8f9c6893e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/513b02a4-59c9-4287-a0c3-29e8f9c6893e/result + response: + body: + string: '{"id": "5b936461-30cf-4090-9868-1603d475b07c", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:30:21 GMT + Pragma: + - no-cache + RequestId: + - 4485fee9-4b18-4eaa-844f-4f282e9f27cd + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:30:22 GMT + Pragma: + - no-cache + RequestId: + - 52e3c8ed-5934-4a21-9e99-5cc17c12882c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3137877b-7de6-459d-8c94-34ab8c196c72", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "5b936461-30cf-4090-9868-1603d475b07c", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '960' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:30:23 GMT + Pragma: + - no-cache + RequestId: + - 4a373cfa-941d-464b-b425-1f8efda6e053 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/5b936461-30cf-4090-9868-1603d475b07c + response: + body: + string: '{"id": "5b936461-30cf-4090-9868-1603d475b07c", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:30:23 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ab5ca024-d390-4f55-ac55-be607fd2b87e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/5b936461-30cf-4090-9868-1603d475b07c/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, 05 Feb 2026 09:30:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6362a256-2d79-4e84-9a82-4f805c8aea0b + Pragma: + - no-cache + RequestId: + - a2532630-2e4d-48ad-b87a-8cfc85641e06 + 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: + - 6362a256-2d79-4e84-9a82-4f805c8aea0b + 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/6362a256-2d79-4e84-9a82-4f805c8aea0b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:30:24.7255523", + "lastUpdatedTimeUtc": "2026-02-05T09:30:25.4135664", "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, 05 Feb 2026 09:30:46 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6362a256-2d79-4e84-9a82-4f805c8aea0b/result + Pragma: + - no-cache + RequestId: + - 9e1dedf1-fda1-4665-8bc6-cbaa15567303 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 6362a256-2d79-4e84-9a82-4f805c8aea0b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/6362a256-2d79-4e84-9a82-4f805c8aea0b/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: + - Thu, 05 Feb 2026 09:30:46 GMT + Pragma: + - no-cache + RequestId: + - 45b83c6e-3744-42ac-aa1e-47a347705c3a + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:30:47 GMT + Pragma: + - no-cache + RequestId: + - 007d1b98-b959-40b9-ac0e-191b617f73e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3137877b-7de6-459d-8c94-34ab8c196c72", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "5b936461-30cf-4090-9868-1603d475b07c", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '960' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:30:48 GMT + Pragma: + - no-cache + RequestId: + - 4adfcc55-a6d0-4436-aeef-33b7b64a67d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3137877b-7de6-459d-8c94-34ab8c196c72", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "5b936461-30cf-4090-9868-1603d475b07c", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '960' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:30:49 GMT + Pragma: + - no-cache + RequestId: + - 7cd5c962-e667-4ef3-8951-322f2df0f024 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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_14", "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: + - '995' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:30:50 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0ebbcfc1-cfaf-469a-a984-d6c4f73b5f3b + Pragma: + - no-cache + RequestId: + - 47206f28-d4b9-42d7-a1c0-a5d121f0f3e6 + 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: + - 0ebbcfc1-cfaf-469a-a984-d6c4f73b5f3b + 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/0ebbcfc1-cfaf-469a-a984-d6c4f73b5f3b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:30:50.6524107", + "lastUpdatedTimeUtc": "2026-02-05T09:31:00.4095186", "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, 05 Feb 2026 09:31:12 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0ebbcfc1-cfaf-469a-a984-d6c4f73b5f3b/result + Pragma: + - no-cache + RequestId: + - 8a40015e-adf2-4661-ba69-ed8c0c274e87 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 0ebbcfc1-cfaf-469a-a984-d6c4f73b5f3b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/0ebbcfc1-cfaf-469a-a984-d6c4f73b5f3b/result + response: + body: + string: '{"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:31:13 GMT + Pragma: + - no-cache + RequestId: + - dd5ab885-375d-44d2-9026-26a12ee8408e + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:14 GMT + Pragma: + - no-cache + RequestId: + - 52624001-9fde-41d1-8953-334995786b07 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3137877b-7de6-459d-8c94-34ab8c196c72", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "5b936461-30cf-4090-9868-1603d475b07c", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", + "type": "CosmosDBDatabase", "displayName": "fabcli000001_new_14", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1025' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:15 GMT + Pragma: + - no-cache + RequestId: + - 581efccb-9867-436f-9986-2a081903d8ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/5b936461-30cf-4090-9868-1603d475b07c + 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, 05 Feb 2026 09:31:16 GMT + Pragma: + - no-cache + RequestId: + - c20d7e52-ceac-4a66-a8fc-928f38834e07 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..aabe7f0d --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:54 GMT + Pragma: + - no-cache + RequestId: + - 1a11a86d-3019-467c-b6ad-12fd5c42f44f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '247' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:54 GMT + Pragma: + - no-cache + RequestId: + - ec9f6a07-8653-4d1f-9bc4-f66c6e242513 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '247' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:54 GMT + Pragma: + - no-cache + RequestId: + - f31b08d7-a278-42fa-b570-ac740bb50445 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/dataPipelines + response: + body: + string: '{"id": "14f204bd-8cd1-4e57-9c50-6e115b1a8587", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:19:58 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 761c7e30-03e5-40ca-b69f-3c8bf7d2431c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:00 GMT + Pragma: + - no-cache + RequestId: + - 233926b8-b62a-40ff-b8d6-aac7138dafe5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "14f204bd-8cd1-4e57-9c50-6e115b1a8587", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:00 GMT + Pragma: + - no-cache + RequestId: + - d0fbe6d7-1b18-4c2a-b810-83d0921dd3bf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14f204bd-8cd1-4e57-9c50-6e115b1a8587 + response: + body: + string: '{"id": "14f204bd-8cd1-4e57-9c50-6e115b1a8587", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:20:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f4d6af3e-452a-4f17-a4fe-eda29c39bf7a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14f204bd-8cd1-4e57-9c50-6e115b1a8587/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: + - '458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:02 GMT + Pragma: + - no-cache + RequestId: + - b81dde51-ab5b-49dd-8b98-d1b1ef0d7d14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:03 GMT + Pragma: + - no-cache + RequestId: + - 6b3e079d-9ad1-4894-a2a5-bff1e414736a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "14f204bd-8cd1-4e57-9c50-6e115b1a8587", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:03 GMT + Pragma: + - no-cache + RequestId: + - 1c4f02c6-d669-407c-a9ab-d6ff83d53b85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "14f204bd-8cd1-4e57-9c50-6e115b1a8587", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '303' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:05 GMT + Pragma: + - no-cache + RequestId: + - b629c7e1-7115-4a6d-bd92-a245e68bebfd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", + "displayName": "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '176' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:09 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8bf2f817-9c72-4d45-90b8-83a3396b88c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:10 GMT + Pragma: + - no-cache + RequestId: + - 176be710-246a-4264-b4ab-5754423b86fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "14f204bd-8cd1-4e57-9c50-6e115b1a8587", "type": "DataPipeline", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:20:11 GMT + Pragma: + - no-cache + RequestId: + - 766ef787-382b-4f85-98fe-7382f4c3bb15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14f204bd-8cd1-4e57-9c50-6e115b1a8587 + 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, 05 Feb 2026 09:20:11 GMT + Pragma: + - no-cache + RequestId: + - 8e5f1867-f6d7-4f8a-a3d9-9d40290face4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..0ef3424c --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:03 GMT + Pragma: + - no-cache + RequestId: + - 445b1c27-29ff-4bb0-aa22-82b1a95baa78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:25:04 GMT + Pragma: + - no-cache + RequestId: + - fdc4407c-cada-44af-851c-88bd1090ede4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:25:04 GMT + Pragma: + - no-cache + RequestId: + - b35bd8f3-234d-4464-b23f-4d8b4b1888bd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/eventhouses + response: + body: + string: '{"id": "f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:25:08 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8f3f69ae-5d18-4c51-b9ba-8bf22d5b05aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:08 GMT + Pragma: + - no-cache + RequestId: + - b484b00b-ee44-4a5e-8ea8-fddd2ea15771 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f483cf16-1830-4a33-8927-fd1659175ab7", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '660' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:09 GMT + Pragma: + - no-cache + RequestId: + - 9aa9001c-20b0-4239-811f-e3bcf9d1e338 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3 + response: + body: + string: '{"id": "f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:25:10 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 55284e42-493c-46e5-9a97-351345c2dfbf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3/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, 05 Feb 2026 09:25:11 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ac92a874-582c-42c4-87e5-9bc225991ee3 + Pragma: + - no-cache + RequestId: + - dbe450e0-3e73-45b1-81d5-2ebc823a944d + 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: + - ac92a874-582c-42c4-87e5-9bc225991ee3 + 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/ac92a874-582c-42c4-87e5-9bc225991ee3 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:25:11.7710362", + "lastUpdatedTimeUtc": "2026-02-05T09:25:20.5668871", "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, 05 Feb 2026 09:25:32 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ac92a874-582c-42c4-87e5-9bc225991ee3/result + Pragma: + - no-cache + RequestId: + - cf73f86a-5880-4e64-9bdb-c5bfa3581eae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ac92a874-582c-42c4-87e5-9bc225991ee3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/ac92a874-582c-42c4-87e5-9bc225991ee3/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, 05 Feb 2026 09:25:33 GMT + Pragma: + - no-cache + RequestId: + - e8980927-3d96-4ede-b403-002a94a4b381 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:34 GMT + Pragma: + - no-cache + RequestId: + - 6d8546a4-1fa3-4c7a-8682-fe199749601d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f483cf16-1830-4a33-8927-fd1659175ab7", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '660' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:35 GMT + Pragma: + - no-cache + RequestId: + - 3b3bdd61-2116-4326-9a80-04dfbe4a752e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f483cf16-1830-4a33-8927-fd1659175ab7", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '660' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:35 GMT + Pragma: + - no-cache + RequestId: + - b59151ca-44b4-4851-9357-e399b3a38c08 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:25:37 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4fd94f1f-8161-4eaf-9ea0-8182dd360f2e + Pragma: + - no-cache + RequestId: + - 2f28b9ee-b27b-405a-a672-48421deb9e87 + 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: + - 4fd94f1f-8161-4eaf-9ea0-8182dd360f2e + 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/4fd94f1f-8161-4eaf-9ea0-8182dd360f2e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:25:36.8068004", + "lastUpdatedTimeUtc": "2026-02-05T09:25:56.1400717", "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, 05 Feb 2026 09:25:58 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/4fd94f1f-8161-4eaf-9ea0-8182dd360f2e/result + Pragma: + - no-cache + RequestId: + - ad6b162a-c49f-409c-a7a8-0f9ffcf71185 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 4fd94f1f-8161-4eaf-9ea0-8182dd360f2e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/4fd94f1f-8161-4eaf-9ea0-8182dd360f2e/result + response: + body: + string: '{"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", + "displayName": "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:25:59 GMT + Pragma: + - no-cache + RequestId: + - 48c408b5-0c35-48b9-8304-632aebe3c31a + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:26:00 GMT + Pragma: + - no-cache + RequestId: + - aedcc8c6-6a4d-4ffb-a2ee-d940395722e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3", "type": "Eventhouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "f483cf16-1830-4a33-8927-fd1659175ab7", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "fabcli000001", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '694' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:26:01 GMT + Pragma: + - no-cache + RequestId: + - f268eabf-f1c8-425e-ac32-54fb6666dcee + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/f753b850-e1cb-4ce1-9d5d-7aeb9e490cb3 + 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, 05 Feb 2026 09:26:02 GMT + Pragma: + - no-cache + RequestId: + - 72bd6a6d-9dba-4590-8459-1d70a20938d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..5bc7f273 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:39 GMT + Pragma: + - no-cache + RequestId: + - 781d0134-4ed4-44f4-b34b-e2fb2c6600e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:39 GMT + Pragma: + - no-cache + RequestId: + - dfadd11f-2951-4ee5-b16a-a6500ad710a5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:40 GMT + Pragma: + - no-cache + RequestId: + - 40996497-ce3c-498f-a086-266af4753f4d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/kqlDashboards + response: + body: + string: '{"id": "14ed9b93-fd3a-40ff-a245-36633047b888", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:27:41 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7bf97204-4d20-4508-a120-3a2d489e83ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:42 GMT + Pragma: + - no-cache + RequestId: + - c88fa33e-5b1d-4b3c-91dc-24f89aa26e41 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "14ed9b93-fd3a-40ff-a245-36633047b888", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:43 GMT + Pragma: + - no-cache + RequestId: + - 6470b351-dd16-40a7-a2f1-a01bb5a76045 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14ed9b93-fd3a-40ff-a245-36633047b888 + response: + body: + string: '{"id": "14ed9b93-fd3a-40ff-a245-36633047b888", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:27:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - cd04f9c1-8ce2-4200-a372-f8c98393b735 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14ed9b93-fd3a-40ff-a245-36633047b888/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, 05 Feb 2026 09:27:44 GMT + Pragma: + - no-cache + RequestId: + - 23f6a2b6-b06c-4ed8-ae6b-22056a9d8648 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:45 GMT + Pragma: + - no-cache + RequestId: + - 7c393839-f44b-4ddf-8178-bcf1368d00d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "14ed9b93-fd3a-40ff-a245-36633047b888", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:45 GMT + Pragma: + - no-cache + RequestId: + - 9b167477-ab59-486e-9260-d053b9857477 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "14ed9b93-fd3a-40ff-a245-36633047b888", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:46 GMT + Pragma: + - no-cache + RequestId: + - 692fdc24-01d6-4036-a9f9-87394312ac46 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"id": "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", + "displayName": "fabcli000001_new_12", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:27:47 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - cb06de28-6752-4830-b2bc-cc22542b98a8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:48 GMT + Pragma: + - no-cache + RequestId: + - 5de45929-3dc6-46ba-ada1-df1ae1fc0c5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "14ed9b93-fd3a-40ff-a245-36633047b888", "type": "KQLDashboard", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '833' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:49 GMT + Pragma: + - no-cache + RequestId: + - 1377ea6e-fb65-47a1-b09d-b9ea8bee3f03 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14ed9b93-fd3a-40ff-a245-36633047b888 + 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, 05 Feb 2026 09:27:50 GMT + Pragma: + - no-cache + RequestId: + - a8abc0b9-18e6-46c0-b0d0-6668d69d2052 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..a532e40e --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:23 GMT + Pragma: + - no-cache + RequestId: + - 1d0a1698-e243-4c70-881f-c832158f75b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '424' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:24 GMT + Pragma: + - no-cache + RequestId: + - 00a2492e-ecd0-40da-9cd0-c691b37c7dba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '424' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:25 GMT + Pragma: + - no-cache + RequestId: + - 339c9beb-288e-45d6-b14d-8ec145309692 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/eventhouses + response: + body: + string: '{"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", + "displayName": "fabcli000001_auto", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:23:29 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c2060311-103c-4450-b052-cef88f66ce53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "bca21df1-18cc-40ad-ab3f-05c42b3f555a"}}' + 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:23:31 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b4b04498-0b66-4e4b-b51e-f1e0d40aab0a + Pragma: + - no-cache + RequestId: + - f2b21251-1dd3-4250-b3e7-1c28e094fd52 + 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: + - b4b04498-0b66-4e4b-b51e-f1e0d40aab0a + 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/b4b04498-0b66-4e4b-b51e-f1e0d40aab0a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:23:30.8379788", + "lastUpdatedTimeUtc": "2026-02-05T09:23:35.5102291", "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, 05 Feb 2026 09:23:51 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b4b04498-0b66-4e4b-b51e-f1e0d40aab0a/result + Pragma: + - no-cache + RequestId: + - 21cdd259-99b5-408f-801a-45e3639d944d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b4b04498-0b66-4e4b-b51e-f1e0d40aab0a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/b4b04498-0b66-4e4b-b51e-f1e0d40aab0a/result + response: + body: + string: '{"id": "3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:23:52 GMT + Pragma: + - no-cache + RequestId: + - 68526ec9-1903-4503-898c-fb42a224eba0 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:53 GMT + Pragma: + - no-cache + RequestId: + - 7b2334fe-a0c5-43ee-82c8-e1a2f86ef939 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '544' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:54 GMT + Pragma: + - no-cache + RequestId: + - b08b0780-331d-4181-9c25-624391a7da7f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc + response: + body: + string: '{"id": "3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:23:55 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7c2df272-5cb1-4d37-a466-a7c2c0d05b3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc/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, 05 Feb 2026 09:23:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0146c3fc-68d3-4e84-aa30-f46c284ac34f + Pragma: + - no-cache + RequestId: + - 85d0c532-6054-48aa-935b-a1d4f5afd41a + 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: + - 0146c3fc-68d3-4e84-aa30-f46c284ac34f + 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/0146c3fc-68d3-4e84-aa30-f46c284ac34f + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:23:56.734002", + "lastUpdatedTimeUtc": "2026-02-05T09:24:15.7536079", "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, 05 Feb 2026 09:24:18 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0146c3fc-68d3-4e84-aa30-f46c284ac34f/result + Pragma: + - no-cache + RequestId: + - ff112f61-e652-445c-9b99-ef0aa2659e66 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 0146c3fc-68d3-4e84-aa30-f46c284ac34f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/0146c3fc-68d3-4e84-aa30-f46c284ac34f/result + response: + body: + string: '{"definition": {"parts": [{"path": "DatabaseProperties.json", "payload": + "ew0KICAiZGF0YWJhc2VUeXBlIjogIlJlYWRXcml0ZSIsDQogICJwYXJlbnRFdmVudGhvdXNlSXRlbUlkIjogImJjYTIxZGYxLTE4Y2MtNDBhZC1hYjNmLTA1YzQyYjNmNTU1YSIsDQogICJvbmVMYWtlQ2FjaGluZ1BlcmlvZCI6ICJQMzY1MDAwRCIsDQogICJvbmVMYWtlU3RhbmRhcmRTdG9yYWdlUGVyaW9kIjogIlAzNjUwMDBEIg0KfQ==", + "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, 05 Feb 2026 09:24:18 GMT + Pragma: + - no-cache + RequestId: + - cfb3cf1d-a979-4544-b032-9cc86d789c4a + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:19 GMT + Pragma: + - no-cache + RequestId: + - d38ac992-0bd3-41f9-877f-3562817541b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '544' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:20 GMT + Pragma: + - no-cache + RequestId: + - 6d913363-5359-47a8-851f-555c82230f5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '544' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:20 GMT + Pragma: + - no-cache + RequestId: + - 294f192a-f0a6-4f62-88dd-b8d0045c364d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": + "ewogICAgImRhdGFiYXNlVHlwZSI6ICJSZWFkV3JpdGUiLAogICAgInBhcmVudEV2ZW50aG91c2VJdGVtSWQiOiAiYmNhMjFkZjEtMThjYy00MGFkLWFiM2YtMDVjNDJiM2Y1NTVhIiwKICAgICJvbmVMYWtlQ2FjaGluZ1BlcmlvZCI6ICJQMzY1MDAwRCIsCiAgICAib25lTGFrZVN0YW5kYXJkU3RvcmFnZVBlcmlvZCI6ICJQMzY1MDAwRCIKfQ==", + "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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:24:22 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/667423ef-3707-4552-a819-7120d85633c4 + Pragma: + - no-cache + RequestId: + - 1d1f472e-ef02-442c-8433-008c80e11f0a + 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: + - 667423ef-3707-4552-a819-7120d85633c4 + 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/667423ef-3707-4552-a819-7120d85633c4 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:24:22.5528978", + "lastUpdatedTimeUtc": "2026-02-05T09:24:41.9797466", "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, 05 Feb 2026 09:24:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/667423ef-3707-4552-a819-7120d85633c4/result + Pragma: + - no-cache + RequestId: + - 1a61e54f-0bf5-41c5-b129-91bb66342b0d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 667423ef-3707-4552-a819-7120d85633c4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/667423ef-3707-4552-a819-7120d85633c4/result + response: + body: + string: '{"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", + "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:24:44 GMT + Pragma: + - no-cache + RequestId: + - 8492e1ab-a748-4b4d-a591-bb4a0efa8788 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:46 GMT + Pragma: + - no-cache + RequestId: + - 7d08fdb6-37b6-43e1-b086-2e6e59305a65 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:24:47 GMT + Pragma: + - no-cache + RequestId: + - 9ddf52c3-5e58-446d-bcd1-a9ab77ff59d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3f8c6c39-bcbe-4911-b7d3-2958dd80b4cc + 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, 05 Feb 2026 09:24:47 GMT + Pragma: + - no-cache + RequestId: + - b9aedf9a-2731-462c-9bba-b674a69fc45d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..3090eca5 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:48 GMT + Pragma: + - no-cache + RequestId: + - 50999ae0-37d8-47a8-824a-22cbdfbfe067 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '548' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:49 GMT + Pragma: + - no-cache + RequestId: + - 98eb9baf-d859-4be4-8824-ccb0f594cbfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '548' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:50 GMT + Pragma: + - no-cache + RequestId: + - 60c4ad49-aa6d-47c0-a39b-e17bfa8c0537 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/kqlQuerysets + response: + body: + string: '{"id": "e9cf04e5-49f3-4254-9b22-0077b8cb4711", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:24:52 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1681609b-e9f2-4103-b064-d4dc4f37013f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:53 GMT + Pragma: + - no-cache + RequestId: + - ef1f49f9-3221-48ca-9792-88565129595a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "e9cf04e5-49f3-4254-9b22-0077b8cb4711", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '594' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:53 GMT + Pragma: + - no-cache + RequestId: + - 5c8fc61a-91d6-40e4-b069-978942602cd6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e9cf04e5-49f3-4254-9b22-0077b8cb4711 + response: + body: + string: '{"id": "e9cf04e5-49f3-4254-9b22-0077b8cb4711", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:24:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2a91996b-b448-4c4c-8a9a-0811109bf556 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e9cf04e5-49f3-4254-9b22-0077b8cb4711/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: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:55 GMT + Pragma: + - no-cache + RequestId: + - 2517b13a-1bb9-419f-a853-e93afc61b79a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:56 GMT + Pragma: + - no-cache + RequestId: + - d406f088-0a3e-4330-8613-2e111a19f4ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "e9cf04e5-49f3-4254-9b22-0077b8cb4711", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '594' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:57 GMT + Pragma: + - no-cache + RequestId: + - bc1c8968-7623-448c-b17d-b72189c849e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "e9cf04e5-49f3-4254-9b22-0077b8cb4711", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '594' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:24:58 GMT + Pragma: + - no-cache + RequestId: + - 6a52797c-6e98-436d-8733-8749091f11e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", + "displayName": "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:25:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 003c6cef-e51a-4d78-ab17-927881d2e3fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:01 GMT + Pragma: + - no-cache + RequestId: + - 1ed7f43c-31af-4910-a395-7a63472f9de1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "e9cf04e5-49f3-4254-9b22-0077b8cb4711", "type": "KQLQueryset", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '624' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:25:02 GMT + Pragma: + - no-cache + RequestId: + - 5740ae2f-8863-4b30-bf30-3340702bbe3a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e9cf04e5-49f3-4254-9b22-0077b8cb4711 + 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, 05 Feb 2026 09:25:03 GMT + Pragma: + - no-cache + RequestId: + - bb411a38-06f2-4286-a94d-5a53ee4b8627 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..ec4c55ab --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[MirroredDatabase].yaml @@ -0,0 +1,917 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:26:03 GMT + Pragma: + - no-cache + RequestId: + - ff57d64a-af2b-4141-b989-ba97be8c6658 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '631' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:26:03 GMT + Pragma: + - no-cache + RequestId: + - 813de279-c51f-427e-b273-0454cfba058d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '631' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:26:04 GMT + Pragma: + - no-cache + RequestId: + - 164564c9-2776-4d46-812a-288ce61813d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/mirroredDatabases + response: + body: + string: '{"id": "37a0ec9c-b318-44f0-9f8c-d1375bea034b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:26:07 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7b835282-e1f7-4d94-b588-67446ebd6272 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:10 GMT + Pragma: + - no-cache + RequestId: + - a79de589-9b31-4ae9-a3de-6f365b7aa37f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f3cf5df1-559f-4431-a07b-032b41773b25", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "37a0ec9c-b318-44f0-9f8c-d1375bea034b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '717' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:11 GMT + Pragma: + - no-cache + RequestId: + - 4e39bbfd-9494-4f26-8972-7bd1755cd72f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/37a0ec9c-b318-44f0-9f8c-d1375bea034b + response: + body: + string: '{"id": "37a0ec9c-b318-44f0-9f8c-d1375bea034b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:27:12 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 81a47eca-b10f-49f4-a48d-b8ec7ab7cfc7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/37a0ec9c-b318-44f0-9f8c-d1375bea034b/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: + - '560' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:13 GMT + Pragma: + - no-cache + RequestId: + - 4653825b-b65f-40ac-806a-a26698489f9d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:14 GMT + Pragma: + - no-cache + RequestId: + - 8065b715-ed68-4785-b421-62b3a938156d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f3cf5df1-559f-4431-a07b-032b41773b25", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "37a0ec9c-b318-44f0-9f8c-d1375bea034b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '717' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:15 GMT + Pragma: + - no-cache + RequestId: + - d882ef9b-a0e1-4c83-980b-9348e7750b1f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f3cf5df1-559f-4431-a07b-032b41773b25", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "37a0ec9c-b318-44f0-9f8c-d1375bea034b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '717' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:16 GMT + Pragma: + - no-cache + RequestId: + - 706bbb08-7f29-4099-9fa5-38f03431bea3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:27:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 73055116-54d3-459e-85c8-a1377aee81f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:18 GMT + Pragma: + - no-cache + RequestId: + - bcde805a-39a2-49be-b706-82cb1ba8b900 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f3cf5df1-559f-4431-a07b-032b41773b25", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "37a0ec9c-b318-44f0-9f8c-d1375bea034b", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", + "type": "MirroredDatabase", "displayName": "fabcli000001_new_10", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:20 GMT + Pragma: + - no-cache + RequestId: + - 867a6731-bde1-4efd-ba52-95961ec59524 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/37a0ec9c-b318-44f0-9f8c-d1375bea034b + 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, 05 Feb 2026 09:27:21 GMT + Pragma: + - no-cache + RequestId: + - f8606757-f721-4eaf-ad96-36cb2cf2588a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..acf123ce --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:18:16 GMT + Pragma: + - no-cache + RequestId: + - 5f30975a-8a44-46c7-a903-15191737d773 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:18:17 GMT + Pragma: + - no-cache + RequestId: + - 6254ac69-9732-444d-ab9b-7d1696abc98f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:18:18 GMT + Pragma: + - no-cache + RequestId: + - 5276b575-d9e9-4014-b316-20f32da53c5c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:18:19 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/33347b8c-c58c-46e8-93fe-02aebb13d6ab + Pragma: + - no-cache + RequestId: + - a884386b-1762-4c94-9d54-b2ca9f64efed + 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: + - 33347b8c-c58c-46e8-93fe-02aebb13d6ab + 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/33347b8c-c58c-46e8-93fe-02aebb13d6ab + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:18:19.3953374", + "lastUpdatedTimeUtc": "2026-02-05T09:18:20.7390942", "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, 05 Feb 2026 09:18:41 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/33347b8c-c58c-46e8-93fe-02aebb13d6ab/result + Pragma: + - no-cache + RequestId: + - 730c098d-158a-49fb-b8e0-e1b9ef4efec3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 33347b8c-c58c-46e8-93fe-02aebb13d6ab + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/33347b8c-c58c-46e8-93fe-02aebb13d6ab/result + response: + body: + string: '{"id": "14669c85-687e-46c8-90e6-c36ce1de9ba1", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:18:42 GMT + Pragma: + - no-cache + RequestId: + - 82a79a02-5483-416d-b971-02b90ae1d3b5 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:18:42 GMT + Pragma: + - no-cache + RequestId: + - 156732b5-d0e3-4e8f-9f2a-7a695b3bde1b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "14669c85-687e-46c8-90e6-c36ce1de9ba1", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:18:44 GMT + Pragma: + - no-cache + RequestId: + - c5f2363c-622a-4c9d-b4d4-7ac149b4d6f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14669c85-687e-46c8-90e6-c36ce1de9ba1 + response: + body: + string: '{"id": "14669c85-687e-46c8-90e6-c36ce1de9ba1", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:18:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c44af45b-601d-4113-bf5b-9d49e485a617 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14669c85-687e-46c8-90e6-c36ce1de9ba1/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, 05 Feb 2026 09:18:46 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ebb793c9-7ddd-4ac9-a73b-15d77c5314dc + Pragma: + - no-cache + RequestId: + - f715421f-a32b-4f10-80c4-4de2ef1c5912 + 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: + - ebb793c9-7ddd-4ac9-a73b-15d77c5314dc + 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/ebb793c9-7ddd-4ac9-a73b-15d77c5314dc + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:18:46.1061688", + "lastUpdatedTimeUtc": "2026-02-05T09:18:46.4655634", "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: + - Thu, 05 Feb 2026 09:19:07 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ebb793c9-7ddd-4ac9-a73b-15d77c5314dc/result + Pragma: + - no-cache + RequestId: + - 36afdc22-8a53-4e2d-8db0-04d94ac9cb22 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ebb793c9-7ddd-4ac9-a73b-15d77c5314dc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/ebb793c9-7ddd-4ac9-a73b-15d77c5314dc/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, 05 Feb 2026 09:19:08 GMT + Pragma: + - no-cache + RequestId: + - a87ec3fa-835b-4701-aada-376db274cb28 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:09 GMT + Pragma: + - no-cache + RequestId: + - 5bb50a5a-175c-4c54-8e3b-b9924eeeb016 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "14669c85-687e-46c8-90e6-c36ce1de9ba1", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:19:10 GMT + Pragma: + - no-cache + RequestId: + - 338eaa2e-bd64-4be2-aaf3-3590e32366df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "14669c85-687e-46c8-90e6-c36ce1de9ba1", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:19:11 GMT + Pragma: + - no-cache + RequestId: + - 1f6fbcef-ba69-419a-91ed-717624d42d53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:19:12 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e61c0a9c-b37d-400c-9e91-465e5b1f7f5d + Pragma: + - no-cache + RequestId: + - cf957ae8-4d16-4277-910a-b068b583da75 + 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: + - e61c0a9c-b37d-400c-9e91-465e5b1f7f5d + 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/e61c0a9c-b37d-400c-9e91-465e5b1f7f5d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:19:12.5566373", + "lastUpdatedTimeUtc": "2026-02-05T09:19:13.7763894", "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, 05 Feb 2026 09:19:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e61c0a9c-b37d-400c-9e91-465e5b1f7f5d/result + Pragma: + - no-cache + RequestId: + - f797e345-6701-4bfc-9e24-b2cd13929e4e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e61c0a9c-b37d-400c-9e91-465e5b1f7f5d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/e61c0a9c-b37d-400c-9e91-465e5b1f7f5d/result + response: + body: + string: '{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:19:35 GMT + Pragma: + - no-cache + RequestId: + - cafae79c-2342-4bac-a2fe-a7a7270b15b6 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:36 GMT + Pragma: + - no-cache + RequestId: + - d301179d-3949-4ee7-8d4f-47142ff6ce1e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "14669c85-687e-46c8-90e6-c36ce1de9ba1", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:37 GMT + Pragma: + - no-cache + RequestId: + - 49228cb2-d7c0-42c3-92d4-c778a603ddfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/14669c85-687e-46c8-90e6-c36ce1de9ba1 + 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, 05 Feb 2026 09:19:37 GMT + Pragma: + - no-cache + RequestId: + - 9feb9600-faef-4a20-97f2-464279b8383b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..d6002e5c --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:21 GMT + Pragma: + - no-cache + RequestId: + - 8f8f42a5-5979-431f-8984-57bceaf5bfaa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:23 GMT + Pragma: + - no-cache + RequestId: + - 73b2b840-3a0f-4326-840c-92dd23991bf9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '714' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:23 GMT + Pragma: + - no-cache + RequestId: + - 55873668-cf76-45f2-b453-3f20ecd844c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/reflexes + response: + body: + string: '{"id": "ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '164' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:26 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 96a7d444-b0d3-4c3c-a028-915ca30ef29f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:27 GMT + Pragma: + - no-cache + RequestId: + - f9626ee2-c841-4779-a05f-3e5cfdccee67 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:28 GMT + Pragma: + - no-cache + RequestId: + - 72c4873b-3fc1-4e63-9bd8-9350fd7e01f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c + response: + body: + string: '{"id": "ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '164' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:28 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 653b65c7-1675-43e0-83db-6a28013cb15c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c/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, 05 Feb 2026 09:27:29 GMT + Pragma: + - no-cache + RequestId: + - 61c604aa-1bb8-40b6-a272-783d72e7436d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:31 GMT + Pragma: + - no-cache + RequestId: + - 4f8e6a7a-010a-4251-af88-8eac7f030ad7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:32 GMT + Pragma: + - no-cache + RequestId: + - 101bc1fa-71c8-4173-a353-aaccf82e5eac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:27:32 GMT + Pragma: + - no-cache + RequestId: + - 20ffa16f-2f39-4dd9-b0ad-8a6a275de7fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"id": "f650593d-df2b-490d-a56b-fa2b3807f210", "type": "Reflex", "displayName": + "fabcli000001_new_11", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:27:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 4b4d395f-0357-4e4f-9d6c-cb576dee5c5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:36 GMT + Pragma: + - no-cache + RequestId: + - 1a3144be-a744-4085-8a33-99a1ada82143 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c", + "type": "Reflex", "displayName": "fabcli000001", "description": "Created by + fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '792' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:37 GMT + Pragma: + - no-cache + RequestId: + - 1a3d04f1-bf23-42bc-a91e-e58afe5e4ad2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/ea3d8021-f0dc-4ba9-82b6-c9b3ad31bd1c + 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, 05 Feb 2026 09:27:38 GMT + Pragma: + - no-cache + RequestId: + - 94ba692a-13fb-4147-9389-16b70819118a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..2a5cc0ae --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:20:12 GMT + Pragma: + - no-cache + RequestId: + - a36bdf86-ca0e-4520-9e8e-364b5247109f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:20:12 GMT + Pragma: + - no-cache + RequestId: + - 055decf3-0416-49eb-9527-07679eaef724 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", + "type": "SparkJobDefinition", "displayName": "fabcli000001_new_3", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:20:14 GMT + Pragma: + - no-cache + RequestId: + - 39499393-75f6-4df2-8ea8-6276483ab589 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:20:14 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e600c0a3-e591-42cb-8616-5e664d684e24 + Pragma: + - no-cache + RequestId: + - a693ea55-3d19-4c05-a11c-7ee0e2f74340 + 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: + - e600c0a3-e591-42cb-8616-5e664d684e24 + 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/e600c0a3-e591-42cb-8616-5e664d684e24 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:20:15.0696935", + "lastUpdatedTimeUtc": "2026-02-05T09:20:26.3334508", "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, 05 Feb 2026 09:20:36 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e600c0a3-e591-42cb-8616-5e664d684e24/result + Pragma: + - no-cache + RequestId: + - 6a302425-7582-4f56-9533-faa364b3d1f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e600c0a3-e591-42cb-8616-5e664d684e24 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/e600c0a3-e591-42cb-8616-5e664d684e24/result + response: + body: + string: '{"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:20:37 GMT + Pragma: + - no-cache + RequestId: + - 1203706e-c6af-41a4-a7f9-33d5607704e2 + 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": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICI5ZjgxMTc3OS05Y2IyLTQ5OTMtYWZlZi1kNzVlOWUyZGI5OWUiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:20:38 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8c0ab642-5609-4ac0-b8e2-ff82c9e1743b + Pragma: + - no-cache + RequestId: + - 2e0fbdfa-a0d6-40a7-b160-4abdbbfb8c85 + 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: + - 8c0ab642-5609-4ac0-b8e2-ff82c9e1743b + 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/8c0ab642-5609-4ac0-b8e2-ff82c9e1743b + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:20:39.757412", + "lastUpdatedTimeUtc": "2026-02-05T09:20:40.0542893", "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, 05 Feb 2026 09:21:01 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8c0ab642-5609-4ac0-b8e2-ff82c9e1743b/result + Pragma: + - no-cache + RequestId: + - af746ccc-e4c5-47eb-8833-26e69d8a9685 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 8c0ab642-5609-4ac0-b8e2-ff82c9e1743b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/8c0ab642-5609-4ac0-b8e2-ff82c9e1743b/result + response: + body: + string: '{"id": "a462551f-8850-4e5a-8cd5-41dc8910f5ab", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:21:02 GMT + Pragma: + - no-cache + RequestId: + - 8c7f8a52-8515-4a30-8f6e-7af33d838077 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:21:02 GMT + Pragma: + - no-cache + RequestId: + - 9286e607-8336-4c56-a9e7-8062ebc1c75e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a462551f-8850-4e5a-8cd5-41dc8910f5ab", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:21:04 GMT + Pragma: + - no-cache + RequestId: + - 6507876f-87ed-4067-8038-c51de3f9217b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a462551f-8850-4e5a-8cd5-41dc8910f5ab + response: + body: + string: '{"id": "a462551f-8850-4e5a-8cd5-41dc8910f5ab", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:21:04 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 765871d1-6060-493d-8d19-29e4ab3e6d59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a462551f-8850-4e5a-8cd5-41dc8910f5ab/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, 05 Feb 2026 09:21:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a562ca2e-10d0-43f8-bb9c-2485bd13469d + Pragma: + - no-cache + RequestId: + - 09a96e26-72c8-492b-a90d-0b79a9a3ec2a + 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: + - a562ca2e-10d0-43f8-bb9c-2485bd13469d + 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/a562ca2e-10d0-43f8-bb9c-2485bd13469d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:21:06.263391", + "lastUpdatedTimeUtc": "2026-02-05T09:21:06.5449967", "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: + - Thu, 05 Feb 2026 09:21:27 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a562ca2e-10d0-43f8-bb9c-2485bd13469d/result + Pragma: + - no-cache + RequestId: + - fed7d31c-e609-4e45-ae66-58891195c789 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - a562ca2e-10d0-43f8-bb9c-2485bd13469d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/a562ca2e-10d0-43f8-bb9c-2485bd13469d/result + response: + body: + string: '{"definition": {"format": "PBIR", "parts": [{"path": "definition.pbir", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiNC4wIiwKICAiZGF0YXNldFJlZmVyZW5jZSI6IHsKICAgICJieUNvbm5lY3Rpb24iOiB7CiAgICAgICJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9mYWJyaWNjbGlfV29ya3NwYWNlUGVyVGVzdGNsYXNzXzAwMDAwMTtpbml0aWFsIGNhdGFsb2c9ZmFiY2xpMDAwMDAxX2F1dG87aW50ZWdyYXRlZCBzZWN1cml0eT1DbGFpbXNUb2tlbjtzZW1hbnRpY21vZGVsaWQ9OWY4MTE3NzktOWNiMi00OTkzLWFmZWYtZDc1ZTllMmRiOTllIgogICAgfQogIH0KfQ==", + "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, 05 Feb 2026 09:21:28 GMT + Pragma: + - no-cache + RequestId: + - 8291db8a-e177-4098-ad59-b950bf580a5f + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:21:29 GMT + Pragma: + - no-cache + RequestId: + - a2df55c5-e41f-4be0-99d0-65cb4e2c75d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a462551f-8850-4e5a-8cd5-41dc8910f5ab", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:21:30 GMT + Pragma: + - no-cache + RequestId: + - 4f9054be-e64c-43a8-a134-eecdacd1d175 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a462551f-8850-4e5a-8cd5-41dc8910f5ab", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:21:31 GMT + Pragma: + - no-cache + RequestId: + - e66e884f-cef6-40a2-a9c5-2d04d9ebb8d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2l0ZW0vcmVwb3J0L2RlZmluaXRpb25Qcm9wZXJ0aWVzLzIuMC4wL3NjaGVtYS5qc29uIiwKICAgICJ2ZXJzaW9uIjogIjQuMCIsCiAgICAiZGF0YXNldFJlZmVyZW5jZSI6IHsKICAgICAgICAiYnlDb25uZWN0aW9uIjogewogICAgICAgICAgICAiY29ubmVjdGlvblN0cmluZyI6ICJEYXRhIFNvdXJjZT1wb3dlcmJpOi8vYXBpLnBvd2VyYmkuY29tL3YxLjAvbXlvcmcvZmFicmljY2xpX1dvcmtzcGFjZVBlclRlc3RjbGFzc18wMDAwMDE7aW5pdGlhbCBjYXRhbG9nPWZhYmNsaTAwMDAwMV9hdXRvO2ludGVncmF0ZWQgc2VjdXJpdHk9Q2xhaW1zVG9rZW47c2VtYW50aWNtb2RlbGlkPTlmODExNzc5LTljYjItNDk5My1hZmVmLWQ3NWU5ZTJkYjk5ZSIKICAgICAgICB9CiAgICB9Cn0=", + "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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:21:34 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d568f7b5-d05c-4d38-a886-e784d99c8ace + Pragma: + - no-cache + RequestId: + - f250df5c-a87c-4470-8fea-c05f04dfeba3 + 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: + - d568f7b5-d05c-4d38-a886-e784d99c8ace + 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/d568f7b5-d05c-4d38-a886-e784d99c8ace + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:21:34.7691274", + "lastUpdatedTimeUtc": "2026-02-05T09:21:35.9103654", "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, 05 Feb 2026 09:21:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d568f7b5-d05c-4d38-a886-e784d99c8ace/result + Pragma: + - no-cache + RequestId: + - 112db8c1-6f37-4c2e-b220-e1f92f89a760 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - d568f7b5-d05c-4d38-a886-e784d99c8ace + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/d568f7b5-d05c-4d38-a886-e784d99c8ace/result + response: + body: + string: '{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": + "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:21:58 GMT + Pragma: + - no-cache + RequestId: + - 2d212601-e2bf-4e36-bf87-afc22f6a2898 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:21:58 GMT + Pragma: + - no-cache + RequestId: + - 8d09c329-d5a4-4998-bc3a-a690acb8f852 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a462551f-8850-4e5a-8cd5-41dc8910f5ab", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", + "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "9f811779-9cb2-4993-afef-d75e9e2db99e", "type": "SemanticModel", "displayName": + "fabcli000001_auto", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", "displayName": + "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", + "type": "DataPipeline", "displayName": "fabcli000001_new_4", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:21:59 GMT + Pragma: + - no-cache + RequestId: + - 2c041342-195e-47ad-ac4b-a1a9bde817d7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a462551f-8850-4e5a-8cd5-41dc8910f5ab + 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, 05 Feb 2026 09:22:01 GMT + Pragma: + - no-cache + RequestId: + - fa0f90c6-661e-4b05-9941-fbd60e059b6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..7999ade5 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:51 GMT + Pragma: + - no-cache + RequestId: + - 15e355f9-1f36-454a-9711-793eccaef8fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '807' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:50 GMT + Pragma: + - no-cache + RequestId: + - 18b04e99-1507-4ce1-a137-9aa6fac3056d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '807' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:27:51 GMT + Pragma: + - no-cache + RequestId: + - a770f10f-2389-48a1-80a1-8bae5b018242 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:27:53 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cea8f2ad-3850-41ae-b352-9ae7870da7b8 + Pragma: + - no-cache + RequestId: + - 5355fe93-7920-429a-b0ec-a81ead8f2c0b + 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: + - cea8f2ad-3850-41ae-b352-9ae7870da7b8 + 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/cea8f2ad-3850-41ae-b352-9ae7870da7b8 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:27:52.8250641", + "lastUpdatedTimeUtc": "2026-02-05T09:28:10.3334284", "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, 05 Feb 2026 09:28:15 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/cea8f2ad-3850-41ae-b352-9ae7870da7b8/result + Pragma: + - no-cache + RequestId: + - ab41bff5-8e04-440f-9c60-ab50c7e7a784 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - cea8f2ad-3850-41ae-b352-9ae7870da7b8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/cea8f2ad-3850-41ae-b352-9ae7870da7b8/result + response: + body: + string: '{"id": "76c706b7-6494-4e66-bad5-581fe190919b", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:28:15 GMT + Pragma: + - no-cache + RequestId: + - 1d10dca7-7d1c-4af9-99ff-63a7cbd308ad + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:28:16 GMT + Pragma: + - no-cache + RequestId: + - aa8014d4-c735-4893-9882-1a71d5af1fb4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "e9da8d3b-7c32-4543-8917-245e3e48a5f0", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "76c706b7-6494-4e66-bad5-581fe190919b", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '878' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:28:17 GMT + Pragma: + - no-cache + RequestId: + - 9e6c51c7-cdd0-4016-9ccf-1ce02cdab4e1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/76c706b7-6494-4e66-bad5-581fe190919b + response: + body: + string: '{"id": "76c706b7-6494-4e66-bad5-581fe190919b", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:28:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f56ac1d2-a4be-461c-98ba-a8c5f154ff6e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/76c706b7-6494-4e66-bad5-581fe190919b/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, 05 Feb 2026 09:28:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c667ccd7-9361-405a-a326-f3007f71636c + Pragma: + - no-cache + RequestId: + - d7676cf0-4e33-4574-b88d-1f2e772798bb + 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: + - c667ccd7-9361-405a-a326-f3007f71636c + 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/c667ccd7-9361-405a-a326-f3007f71636c + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-02-05T09:28:19.1642221", + "lastUpdatedTimeUtc": "2026-02-05T09:28:19.1642221", "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, 05 Feb 2026 09:28:40 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c667ccd7-9361-405a-a326-f3007f71636c + Pragma: + - no-cache + RequestId: + - 43012ab9-5353-4a84-becb-9e0c5edb5b57 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c667ccd7-9361-405a-a326-f3007f71636c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/c667ccd7-9361-405a-a326-f3007f71636c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:28:19.1642221", + "lastUpdatedTimeUtc": "2026-02-05T09:28:48.1087655", "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, 05 Feb 2026 09:29:01 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c667ccd7-9361-405a-a326-f3007f71636c/result + Pragma: + - no-cache + RequestId: + - 51eb9ef4-f88d-4923-ade2-f07d60bd53b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c667ccd7-9361-405a-a326-f3007f71636c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/c667ccd7-9361-405a-a326-f3007f71636c/result + response: + body: + string: '{"definition": {"format": "dacpac", "parts": [{"path": "fabcli000001.dacpac", + "payload": "UEsDBBQAAAAIAJRLRVzG6qC/qQIAALwHAAAJAAAAbW9kZWwueG1spVVdb9pAEHxOpf4Hy++1+VCbqjKJIgNNJEhIbKWqqgot9gInne+cu3ME+fXdw2ATCCm0D0jmvDOz7M4cweUi484zKs2k6LhNr+E6KBKZMjHruIWZfvrqXl58/BB0wUCUzDGDoUyRO33GsS9VBuaxBrdcp6ypztreZ9fp6vwWMuy4Q5YoqeXUeJbOi6Xk2isRXvTE7ac76cNEscQWTEBj+Xak5DNLUblOKDkHQ9yDhKWk2Wi3tw5Di0ChmWHPpNcHrtF16CcK3XHnxuTffF+vGLWXVc0kMvP1E5UqGoSfQuJHqBhw9rIi9VuNZstvtFyaw1lwjUCN2MezICy0kZlt1QnB4EyqZce9IvnbgnO9qqeqIRpIbU05hPq98wi8oJNYFdSlX3L6Nek7IveFNJjepCgMmzIazNtae2X/IRnKLKd5TBhnZmlNcEBzv24j2jxvnKj5gFNU5EfiiJc5UZBDSkccELe2tE+VJm3aoPJoqTkkG/U92EDOWAL8H5C9BRUJ4CNQpt7orxL8+yAsKvJcodZDpjVFrYs5CtpSwlD3lJKqplp7+KSx0ZTCLH0EMvGEo94a3tbxmjPwa0cHq2yXxD2OGdmmhm4SeZfbUFTupmjmqMyy2v46itUPiO4H4wEdieb4OwpUwMfhqDkOb8ZXUT2fHZobvYlJF6dQcHMn3vTuO0B9GuQHKEGbOAWlmJlfTaQ6oblQigSMbe8nQ55q+3Q8OpZKjGCG9MJgYqe8hX1llDfAfZKKcWF6wm4/PU7TqtFlzqavk9w+CFivawBiVhC2QvwNsOnueOB9gWoZGakwhNwUCl/fNUfgIgMcV1/jOYVxLnk9lfaX84MMQ1h0ZV6VVpfaXmGMWS7J8NeMQqqWD2jsRSzF7gp2Mr6OXpnOTSQDf+cv+OIPUEsDBBQAAAAIAJRLRVwtSIWLpwAAAMgAAAAPAAAARGFjTWV0YWRhdGEueG1sNY5NDoIwGET3Jt6h6V4+IBrUlLJx7UbjvtYCDf3Bthj1ai48klewomZ2k8mb93o8SXXVCl2E89KaEmdJipEw3J6kaUo8hHq2xBWdTsiG8f2tFyjOjS9xG0K/BvC8FZr5REvurLd1SLjV4M/KCxehcGIcdsJJpuSdhXgBeZrlkOY4MhEiW6YFrdmRKzms5l23KJquIDDW4+DwNaNR7BMC/yIqwc+JvgFQSwMEFAAAAAgAlEtFXLxtdL8uAgAAXQQAAAoAAABPcmlnaW4ueG1spVTLbtswELwX6D8IujbmS5JFGpICx7KBokhjwG7vDEXHhCXRIaki6a/10E/qL5SyZadp3FOPXO7sDGd3+evHz+z6qamDb9JYpds8xACFgWyFrlT7kIed24xoeF28f5eVXNwZ9aDawANam4db5/YTCK3YyoZb0ChhtNUbB4RuoH2srTS+LKy4gCtpFK/Vd+48CSQIE4hI6KsGQbbkYscf5NLovTROSXsI+4uvR01FBLwogDJ4Cgz3M906rlo7f9pr42RVcseLDfe8Gbx4N+BWzkjeDMVObC98wfH+M29kHva4sCA9/1sF/8LIfa2fG9m6XoVR953TxobF4RUX3gEvCMrgZVuyO386uHhCf6w8kXLPBRb3GKWMjCpMN6M4jaIR2yRk5GNjmeJxjHmSwXP62QxuXEEQGY+Qz03WiE0InUQpwFFCY4w/IDRBXvQxcUDN2+otJsYgxilmhJwwfdqA8O+oOuF6h4rb86T09oK11rUFq8MYgTW3O394rK+CwZAcpwffALoKZl3tOiPzVnbOcJ+z7O5rJT7J57XeyTanjMZJJSqKKBKCYW/jH7yvpZy60JcnIEnAS/ZfDRqiR4XF/479mWWod2z3675ms60UO9s152U4BYIvRuUhbHQla+AXMSzKGzadT2/iWTylKaZphMZ0wUo0Y0mM8JxECWNpOWNjVuJouiBoTudkQRJKUpZMp6VflqH2IOU1d3bbUx21vmykn6QLcf9LwPM3UfwGUEsDBBQAAAAIAJRLRVztodPgjwAAAK8AAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbCWNSw6CMBCGr9LMHgZdGGPaulBv4AWaOjwiTBs6GDybC4/kFSyw/J/f7/PV53no1YvG1AU2sCsrUMQ+PDpuDExSF0c4W31/R0oqVzkZaEXiCTH5lgaXyhCJc1KHcXCS5dhgdP7pGsJ9VR3QBxZiKWT5AKuvVLupF3Wbs71h8xzUZestKANCs+Bqo9W44u0fUEsBAhQAFAAAAAgAlEtFXMbqoL+pAgAAvAcAAAkAAAAAAAAAAAAAAAAAAAAAAG1vZGVsLnhtbFBLAQIUABQAAAAIAJRLRVwtSIWLpwAAAMgAAAAPAAAAAAAAAAAAAAAAANACAABEYWNNZXRhZGF0YS54bWxQSwECFAAUAAAACACUS0VcvG10vy4CAABdBAAACgAAAAAAAAAAAAAAAACkAwAAT3JpZ2luLnhtbFBLAQIUABQAAAAIAJRLRVztodPgjwAAAK8AAAATAAAAAAAAAAAAAAAAAPoFAABbQ29udGVudF9UeXBlc10ueG1sUEsFBgAAAAAEAAQA7QAAALoGAAAAAA==", + "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, 05 Feb 2026 09:29:02 GMT + Pragma: + - no-cache + RequestId: + - 23628b92-275e-46c6-b5e9-ee6d7b60d5f8 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:04 GMT + Pragma: + - no-cache + RequestId: + - 66550e4a-9a14-4012-ba04-fd7b6dd272c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "e9da8d3b-7c32-4543-8917-245e3e48a5f0", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "76c706b7-6494-4e66-bad5-581fe190919b", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '878' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:05 GMT + Pragma: + - no-cache + RequestId: + - d824c673-4f9b-4c1e-9ff9-6c175716bc05 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "e9da8d3b-7c32-4543-8917-245e3e48a5f0", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "76c706b7-6494-4e66-bad5-581fe190919b", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '878' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:05 GMT + Pragma: + - no-cache + RequestId: + - cdbdff2e-b3e1-43b7-a60a-d3b0e5d41708 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "UEsDBBQAAAAIAJRLRVzG6qC/qQIAALwHAAAJAAAAbW9kZWwueG1spVVdb9pAEHxOpf4Hy++1+VCbqjKJIgNNJEhIbKWqqgot9gInne+cu3ME+fXdw2ATCCm0D0jmvDOz7M4cweUi484zKs2k6LhNr+E6KBKZMjHruIWZfvrqXl58/BB0wUCUzDGDoUyRO33GsS9VBuaxBrdcp6ypztreZ9fp6vwWMuy4Q5YoqeXUeJbOi6Xk2isRXvTE7ac76cNEscQWTEBj+Xak5DNLUblOKDkHQ9yDhKWk2Wi3tw5Di0ChmWHPpNcHrtF16CcK3XHnxuTffF+vGLWXVc0kMvP1E5UqGoSfQuJHqBhw9rIi9VuNZstvtFyaw1lwjUCN2MezICy0kZlt1QnB4EyqZce9IvnbgnO9qqeqIRpIbU05hPq98wi8oJNYFdSlX3L6Nek7IveFNJjepCgMmzIazNtae2X/IRnKLKd5TBhnZmlNcEBzv24j2jxvnKj5gFNU5EfiiJc5UZBDSkccELe2tE+VJm3aoPJoqTkkG/U92EDOWAL8H5C9BRUJ4CNQpt7orxL8+yAsKvJcodZDpjVFrYs5CtpSwlD3lJKqplp7+KSx0ZTCLH0EMvGEo94a3tbxmjPwa0cHq2yXxD2OGdmmhm4SeZfbUFTupmjmqMyy2v46itUPiO4H4wEdieb4OwpUwMfhqDkOb8ZXUT2fHZobvYlJF6dQcHMn3vTuO0B9GuQHKEGbOAWlmJlfTaQ6oblQigSMbe8nQ55q+3Q8OpZKjGCG9MJgYqe8hX1llDfAfZKKcWF6wm4/PU7TqtFlzqavk9w+CFivawBiVhC2QvwNsOnueOB9gWoZGakwhNwUCl/fNUfgIgMcV1/jOYVxLnk9lfaX84MMQ1h0ZV6VVpfaXmGMWS7J8NeMQqqWD2jsRSzF7gp2Mr6OXpnOTSQDf+cv+OIPUEsDBBQAAAAIAJRLRVwtSIWLpwAAAMgAAAAPAAAARGFjTWV0YWRhdGEueG1sNY5NDoIwGET3Jt6h6V4+IBrUlLJx7UbjvtYCDf3Bthj1ai48klewomZ2k8mb93o8SXXVCl2E89KaEmdJipEw3J6kaUo8hHq2xBWdTsiG8f2tFyjOjS9xG0K/BvC8FZr5REvurLd1SLjV4M/KCxehcGIcdsJJpuSdhXgBeZrlkOY4MhEiW6YFrdmRKzms5l23KJquIDDW4+DwNaNR7BMC/yIqwc+JvgFQSwMEFAAAAAgAlEtFXLxtdL8uAgAAXQQAAAoAAABPcmlnaW4ueG1spVTLbtswELwX6D8IujbmS5JFGpICx7KBokhjwG7vDEXHhCXRIaki6a/10E/qL5SyZadp3FOPXO7sDGd3+evHz+z6qamDb9JYpds8xACFgWyFrlT7kIed24xoeF28f5eVXNwZ9aDawANam4db5/YTCK3YyoZb0ChhtNUbB4RuoH2srTS+LKy4gCtpFK/Vd+48CSQIE4hI6KsGQbbkYscf5NLovTROSXsI+4uvR01FBLwogDJ4Cgz3M906rlo7f9pr42RVcseLDfe8Gbx4N+BWzkjeDMVObC98wfH+M29kHva4sCA9/1sF/8LIfa2fG9m6XoVR953TxobF4RUX3gEvCMrgZVuyO386uHhCf6w8kXLPBRb3GKWMjCpMN6M4jaIR2yRk5GNjmeJxjHmSwXP62QxuXEEQGY+Qz03WiE0InUQpwFFCY4w/IDRBXvQxcUDN2+otJsYgxilmhJwwfdqA8O+oOuF6h4rb86T09oK11rUFq8MYgTW3O394rK+CwZAcpwffALoKZl3tOiPzVnbOcJ+z7O5rJT7J57XeyTanjMZJJSqKKBKCYW/jH7yvpZy60JcnIEnAS/ZfDRqiR4XF/479mWWod2z3675ms60UO9s152U4BYIvRuUhbHQla+AXMSzKGzadT2/iWTylKaZphMZ0wUo0Y0mM8JxECWNpOWNjVuJouiBoTudkQRJKUpZMp6VflqH2IOU1d3bbUx21vmykn6QLcf9LwPM3UfwGUEsDBBQAAAAIAJRLRVztodPgjwAAAK8AAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbCWNSw6CMBCGr9LMHgZdGGPaulBv4AWaOjwiTBs6GDybC4/kFSyw/J/f7/PV53no1YvG1AU2sCsrUMQ+PDpuDExSF0c4W31/R0oqVzkZaEXiCTH5lgaXyhCJc1KHcXCS5dhgdP7pGsJ9VR3QBxZiKWT5AKuvVLupF3Wbs71h8xzUZestKANCs+Bqo9W44u0fUEsBAhQAFAAAAAgAlEtFXMbqoL+pAgAAvAcAAAkAAAAAAAAAAAAAAAAAAAAAAG1vZGVsLnhtbFBLAQIUABQAAAAIAJRLRVwtSIWLpwAAAMgAAAAPAAAAAAAAAAAAAAAAANACAABEYWNNZXRhZGF0YS54bWxQSwECFAAUAAAACACUS0VcvG10vy4CAABdBAAACgAAAAAAAAAAAAAAAACkAwAAT3JpZ2luLnhtbFBLAQIUABQAAAAIAJRLRVztodPgjwAAAK8AAAATAAAAAAAAAAAAAAAAAPoFAABbQ29udGVudF9UeXBlc10ueG1sUEsFBgAAAAAEAAQA7QAAALoGAAAAAA==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '3438' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:29:07 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9bb15425-5bec-447a-aa54-d7c690ea74b2 + Pragma: + - no-cache + RequestId: + - 7f2c90f1-cfc4-40fc-a023-99334f9e7506 + 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: + - 9bb15425-5bec-447a-aa54-d7c690ea74b2 + 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/9bb15425-5bec-447a-aa54-d7c690ea74b2 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-02-05T09:29:07.2694804", + "lastUpdatedTimeUtc": "2026-02-05T09:29:07.2694804", "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: + - '122' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:29 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9bb15425-5bec-447a-aa54-d7c690ea74b2 + Pragma: + - no-cache + RequestId: + - 7033ce5e-7e9c-4566-b784-2c26403fb6f9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 9bb15425-5bec-447a-aa54-d7c690ea74b2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/9bb15425-5bec-447a-aa54-d7c690ea74b2 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:29:07.2694804", + "lastUpdatedTimeUtc": "2026-02-05T09:29:36.9183721", "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, 05 Feb 2026 09:29:50 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/9bb15425-5bec-447a-aa54-d7c690ea74b2/result + Pragma: + - no-cache + RequestId: + - f306e7d0-eefe-4751-bd00-004c52eabdf6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 9bb15425-5bec-447a-aa54-d7c690ea74b2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/9bb15425-5bec-447a-aa54-d7c690ea74b2/result + response: + body: + string: '{"id": "bca94329-a156-4d11-8f9d-d851443390ce", "type": "SQLDatabase", + "displayName": "fabcli000001_new_13", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:29:51 GMT + Pragma: + - no-cache + RequestId: + - f4f7c7a6-60ed-4c35-af94-ef53bc16b798 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:52 GMT + Pragma: + - no-cache + RequestId: + - 7c0b67a3-cdbc-45ee-b8b8-5a61a1711b8e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "e9da8d3b-7c32-4543-8917-245e3e48a5f0", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "76c706b7-6494-4e66-bad5-581fe190919b", + "type": "SQLDatabase", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '947' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:29:54 GMT + Pragma: + - no-cache + RequestId: + - c0b880f9-3f9d-44b4-9a8c-1e88d3bcf1b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/76c706b7-6494-4e66-bad5-581fe190919b + 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, 05 Feb 2026 09:29:54 GMT + Pragma: + - no-cache + RequestId: + - b43f7561-3164-4eba-8538-d19560c50917 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..eaeee0e6 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:01 GMT + Pragma: + - no-cache + RequestId: + - ea4e9863-2af7-445e-af08-bb299fc4334e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '387' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:02 GMT + Pragma: + - no-cache + RequestId: + - 7067f9b7-cc7a-4439-b533-b9e8b5fc628a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '387' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:02 GMT + Pragma: + - no-cache + RequestId: + - d22f0c5f-e623-40a1-bbcf-dce1a78b6104 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:22:03 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dab46150-2ff9-48b5-bc46-a107942dcc08 + Pragma: + - no-cache + RequestId: + - 007bc3bc-b05f-4e9b-9cb4-5f2d9ecaed4e + 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: + - dab46150-2ff9-48b5-bc46-a107942dcc08 + 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/dab46150-2ff9-48b5-bc46-a107942dcc08 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:22:04.6353528", + "lastUpdatedTimeUtc": "2026-02-05T09:22:15.2634986", "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, 05 Feb 2026 09:22:25 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dab46150-2ff9-48b5-bc46-a107942dcc08/result + Pragma: + - no-cache + RequestId: + - fa0361ef-f1ca-449e-a497-ad9a0729c783 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - dab46150-2ff9-48b5-bc46-a107942dcc08 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/dab46150-2ff9-48b5-bc46-a107942dcc08/result + response: + body: + string: '{"id": "509a8b6a-551f-43eb-89d6-d59001e0f059", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:22:27 GMT + Pragma: + - no-cache + RequestId: + - 219bd64b-7350-41d9-9eba-86087c14665f + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:27 GMT + Pragma: + - no-cache + RequestId: + - fedf676f-4800-444f-b555-fac37277856e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "509a8b6a-551f-43eb-89d6-d59001e0f059", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '422' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:29 GMT + Pragma: + - no-cache + RequestId: + - 74cb751f-8c12-489f-9e60-c8fbfa5fbeb9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/509a8b6a-551f-43eb-89d6-d59001e0f059 + response: + body: + string: '{"id": "509a8b6a-551f-43eb-89d6-d59001e0f059", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '160' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:30 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a82558b3-1e15-4305-b741-ea625b3a11f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/509a8b6a-551f-43eb-89d6-d59001e0f059/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, 05 Feb 2026 09:22:30 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b1f04ece-7322-4483-ae78-a896b0c39762 + Pragma: + - no-cache + RequestId: + - e8f6dbdc-e438-4aed-b52f-f35b5bf1f958 + 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: + - b1f04ece-7322-4483-ae78-a896b0c39762 + 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/b1f04ece-7322-4483-ae78-a896b0c39762 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:22:30.8450612", + "lastUpdatedTimeUtc": "2026-02-05T09:22:31.2044385", "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, 05 Feb 2026 09:22:51 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b1f04ece-7322-4483-ae78-a896b0c39762/result + Pragma: + - no-cache + RequestId: + - 40db97c9-b935-4094-a961-fbf15c5984cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b1f04ece-7322-4483-ae78-a896b0c39762 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/b1f04ece-7322-4483-ae78-a896b0c39762/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, 05 Feb 2026 09:22:52 GMT + Pragma: + - no-cache + RequestId: + - 3d2f5a98-f54f-42c8-b6c0-f6568a16f8c4 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:53 GMT + Pragma: + - no-cache + RequestId: + - e6ee34bc-d25d-4dcf-ae59-2438c181b306 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "509a8b6a-551f-43eb-89d6-d59001e0f059", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '422' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:55 GMT + Pragma: + - no-cache + RequestId: + - fc4be9d8-51fb-432b-9a55-af71e3824f5c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "509a8b6a-551f-43eb-89d6-d59001e0f059", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '422' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:22:55 GMT + Pragma: + - no-cache + RequestId: + - d7a53067-e247-49b2-bbcd-9fd8d1019da4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:22:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/10bd1920-7e00-4647-914f-3f160aab2ae2 + Pragma: + - no-cache + RequestId: + - 47b4bc47-c418-476f-a4dc-dae27e07cb7d + 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: + - 10bd1920-7e00-4647-914f-3f160aab2ae2 + 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/10bd1920-7e00-4647-914f-3f160aab2ae2 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:22:57.0347612", + "lastUpdatedTimeUtc": "2026-02-05T09:23:07.6308652", "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, 05 Feb 2026 09:23:18 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/10bd1920-7e00-4647-914f-3f160aab2ae2/result + Pragma: + - no-cache + RequestId: + - 48731d18-e2ed-4441-a050-a898c77b5240 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 10bd1920-7e00-4647-914f-3f160aab2ae2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/10bd1920-7e00-4647-914f-3f160aab2ae2/result + response: + body: + string: '{"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", "type": "SemanticModel", + "displayName": "fabcli000001_new_6", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:23:18 GMT + Pragma: + - no-cache + RequestId: + - e108b6d7-11d4-4f9d-a077-63a46a221020 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:20 GMT + Pragma: + - no-cache + RequestId: + - b5395a12-fb01-4cbe-9242-e2af82d59f4f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "509a8b6a-551f-43eb-89d6-d59001e0f059", + "type": "SemanticModel", "displayName": "fabcli000001", "description": "", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '452' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:23:21 GMT + Pragma: + - no-cache + RequestId: + - e8da29a7-2a77-4b92-9ea1-552af88e82e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/509a8b6a-551f-43eb-89d6-d59001e0f059 + 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, 05 Feb 2026 09:23:23 GMT + Pragma: + - no-cache + RequestId: + - 90bc1e0e-0ecc-44e3-b177-00840e7f6571 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..bff34351 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:38 GMT + Pragma: + - no-cache + RequestId: + - 227fd0be-7174-4e5c-97a3-2bd1c8a5b98f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:19:39 GMT + Pragma: + - no-cache + RequestId: + - 1c81d2ab-0f61-4ee5-9108-7293d62631c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:19:41 GMT + Pragma: + - no-cache + RequestId: + - 10f9852e-db57-4e84-9387-fbe77de0fb60 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/sparkJobDefinitions + response: + body: + string: '{"id": "3f60e930-896a-4523-b059-50c9d8c63926", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:19:42 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 245abc15-e8e2-470b-b907-a8c1fc1b89d8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:43 GMT + Pragma: + - no-cache + RequestId: + - 1ac9f5ba-ba78-4bcb-b4d7-aaa3e9c4d237 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3f60e930-896a-4523-b059-50c9d8c63926", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '253' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:44 GMT + Pragma: + - no-cache + RequestId: + - d18c78bf-9acf-4e3c-80fc-55ea9a90af72 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3f60e930-896a-4523-b059-50c9d8c63926 + response: + body: + string: '{"id": "3f60e930-896a-4523-b059-50c9d8c63926", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:19:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5acd1cc0-e6d1-4880-b914-38699cfa0717 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3f60e930-896a-4523-b059-50c9d8c63926/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, 05 Feb 2026 09:19:45 GMT + Pragma: + - no-cache + RequestId: + - d7ad4bfd-bf54-449b-a95e-5ac3065f47f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:46 GMT + Pragma: + - no-cache + RequestId: + - fbcba590-e839-445e-8fb4-af5e9febd135 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3f60e930-896a-4523-b059-50c9d8c63926", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '253' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:47 GMT + Pragma: + - no-cache + RequestId: + - eb7d12bd-921c-42df-a823-9b05f45740da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3f60e930-896a-4523-b059-50c9d8c63926", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '253' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:48 GMT + Pragma: + - no-cache + RequestId: + - d428686f-be92-46c0-a485-63d34ffc69d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:19:50 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1c2cd3d0-cf12-44b3-a957-3f56c8137113 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:51 GMT + Pragma: + - no-cache + RequestId: + - 2da60ef7-f54c-43f7-b7b4-57a43d6fffae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", "type": "Notebook", + "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3f60e930-896a-4523-b059-50c9d8c63926", + "type": "SparkJobDefinition", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", + "displayName": "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '286' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:19:51 GMT + Pragma: + - no-cache + RequestId: + - 33a107c9-7114-4afc-a649-9c5a5c26d0a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3f60e930-896a-4523-b059-50c9d8c63926 + 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, 05 Feb 2026 09:19:53 GMT + Pragma: + - no-cache + RequestId: + - 052989e3-33d7-45f7-94c6-22552010ba8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..bdaf3680 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_create_new_item_success[UserDataFunction].yaml @@ -0,0 +1,1218 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:17 GMT + Pragma: + - no-cache + RequestId: + - da869177-575d-4734-9d42-edbf9ec83e7a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '960' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:18 GMT + Pragma: + - no-cache + RequestId: + - b4543d73-a8f8-4c56-9d8c-c3e26ba83f9b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '960' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:18 GMT + Pragma: + - no-cache + RequestId: + - b9e9fbd2-59c5-4754-8cc8-5eef7f279306 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/userdatafunctions + response: + body: + string: '{"id": "0e0c5eb8-5685-4e56-ad53-a6310834ffff", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:31:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fe5069d4-a972-43d2-8962-304a0895f8f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:22 GMT + Pragma: + - no-cache + RequestId: + - 6cab7159-3388-444d-aeea-82df58c5482b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "0e0c5eb8-5685-4e56-ad53-a6310834ffff", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1010' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:23 GMT + Pragma: + - no-cache + RequestId: + - 11a9c646-c287-40de-8114-ff3c2004f55f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/0e0c5eb8-5685-4e56-ad53-a6310834ffff + response: + body: + string: '{"id": "0e0c5eb8-5685-4e56-ad53-a6310834ffff", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:31:24 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - de2a214f-a88f-4210-a590-dcbb53b301f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/0e0c5eb8-5685-4e56-ad53-a6310834ffff/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, 05 Feb 2026 09:31:25 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/26d0c4a9-85f9-4820-8ef8-fa3fbe61831d + Pragma: + - no-cache + RequestId: + - 64500d00-f837-4d3a-b7a2-198254fd745d + 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: + - 26d0c4a9-85f9-4820-8ef8-fa3fbe61831d + 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/26d0c4a9-85f9-4820-8ef8-fa3fbe61831d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:31:26.0108658", + "lastUpdatedTimeUtc": "2026-02-05T09:31:26.4327156", "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, 05 Feb 2026 09:31:47 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/26d0c4a9-85f9-4820-8ef8-fa3fbe61831d/result + Pragma: + - no-cache + RequestId: + - 5c5772b1-7f52-4a96-af06-1d27eb66d897 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 26d0c4a9-85f9-4820-8ef8-fa3fbe61831d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/26d0c4a9-85f9-4820-8ef8-fa3fbe61831d/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: + - Thu, 05 Feb 2026 09:31:48 GMT + Pragma: + - no-cache + RequestId: + - 88f89fe1-d24c-4ceb-9885-8c616f8f1e54 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:49 GMT + Pragma: + - no-cache + RequestId: + - 504a0e9f-8f8f-4798-9a9d-94c75e50b486 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "0e0c5eb8-5685-4e56-ad53-a6310834ffff", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1010' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:49 GMT + Pragma: + - no-cache + RequestId: + - fc5743c7-7698-428d-8021-7034f352503a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "0e0c5eb8-5685-4e56-ad53-a6310834ffff", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1010' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:31:50 GMT + Pragma: + - no-cache + RequestId: + - efa9e25e-687e-4178-8c0e-5ccdb3b351da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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_15", "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: + - '1163' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:31:51 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6258ceca-75ce-4cdc-8c1f-9f6fe82d3960 + Pragma: + - no-cache + RequestId: + - 460db37b-f885-4140-9cdb-31f00e13bcb6 + 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: + - 6258ceca-75ce-4cdc-8c1f-9f6fe82d3960 + 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/6258ceca-75ce-4cdc-8c1f-9f6fe82d3960 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:31:51.468221", + "lastUpdatedTimeUtc": "2026-02-05T09:31:54.3759962", "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, 05 Feb 2026 09:32:12 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6258ceca-75ce-4cdc-8c1f-9f6fe82d3960/result + Pragma: + - no-cache + RequestId: + - 765b7382-94fa-4f12-94d1-3afe785363f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 6258ceca-75ce-4cdc-8c1f-9f6fe82d3960 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/6258ceca-75ce-4cdc-8c1f-9f6fe82d3960/result + response: + body: + string: '{"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", "type": "UserDataFunction", + "displayName": "fabcli000001_new_15", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:32:14 GMT + Pragma: + - no-cache + RequestId: + - 7bcf6bb4-63da-4b40-b2d6-ee006b69bafe + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:15 GMT + Pragma: + - no-cache + RequestId: + - 651786d2-5bdc-49dc-89eb-78a6b0db5d05 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "0e0c5eb8-5685-4e56-ad53-a6310834ffff", + "type": "UserDataFunction", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", "type": "UserDataFunction", + "displayName": "fabcli000001_new_15", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1040' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:32:15 GMT + Pragma: + - no-cache + RequestId: + - 0be58620-7b7d-4fb5-bb70-97fcf25ae05d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/0e0c5eb8-5685-4e56-ad53-a6310834ffff + 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, 05 Feb 2026 09:32:16 GMT + Pragma: + - no-cache + RequestId: + - 6099f9db-0743-4a24-94ad-804a3b4c997a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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_home_directory_path_success.yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_home_directory_path_success.yaml index 8210ab4f..3e232d45 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "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' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:23 GMT + - Thu, 05 Feb 2026 09:32:39 GMT Pragma: - no-cache RequestId: - - 829674ea-747f-44b6-a63e-10a79b531d65 + - 9958a359-9d7c-4e71-ad0b-cb2524710cee Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -62,17 +62,55 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -81,15 +119,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '284' + - '1011' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:23 GMT + - Thu, 05 Feb 2026 09:32:40 GMT Pragma: - no-cache RequestId: - - b3478cbc-b86c-4437-9bf5-e80e44604ac7 + - 2893ffa6-3af8-45bd-ae36-fc4cc65244ae Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -115,17 +153,55 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -134,15 +210,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '284' + - '1011' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:23 GMT + - Thu, 05 Feb 2026 09:32:40 GMT Pragma: - no-cache RequestId: - - d13071b2-0d0e-4f32-be84-f730b8326a3a + - 84a4707c-3c59-4ca1-83a8-23ea0d0b785a Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -173,9 +249,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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/notebooks response: body: string: 'null' @@ -191,15 +267,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:25 GMT + - Thu, 05 Feb 2026 09:32:41 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/60c96408-8ce1-4218-b54d-215d45985a00 Pragma: - no-cache RequestId: - - 9a12bb13-8135-44f0-8fee-33818f93bc08 + - 2c24642e-b87d-44fe-baa4-a5fb0a8252fe Retry-After: - '20' Strict-Transport-Security: @@ -213,7 +289,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - f2a4bfe9-be66-4385-81a5-c31571b1eaaf + - 60c96408-8ce1-4218-b54d-215d45985a00 status: code: 202 message: Accepted @@ -229,13 +305,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/60c96408-8ce1-4218-b54d-215d45985a00 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-05T09:32:41.9646676", + "lastUpdatedTimeUtc": "2026-02-05T09:32:42.7146756", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -249,13 +325,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:45 GMT + - Thu, 05 Feb 2026 09:33:03 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/60c96408-8ce1-4218-b54d-215d45985a00/result Pragma: - no-cache RequestId: - - 0321abfb-dbd6-4193-a8cc-ab360b41a732 + - 07bdda51-66ed-4480-8364-57913c9b6f28 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -263,7 +339,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - f2a4bfe9-be66-4385-81a5-c31571b1eaaf + - 60c96408-8ce1-4218-b54d-215d45985a00 status: code: 200 message: OK @@ -279,14 +355,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/60c96408-8ce1-4218-b54d-215d45985a00/result response: body: - string: '{"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", + string: '{"id": "57ff2b3d-e570-4fb0-9f4a-c1382a7034f8", "type": "Notebook", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' headers: Access-Control-Expose-Headers: - RequestId @@ -297,11 +373,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 15 Dec 2025 07:40:45 GMT + - Thu, 05 Feb 2026 09:33:04 GMT Pragma: - no-cache RequestId: - - f1de7634-f34b-4d44-a731-38f1fec00ab7 + - e63925c6-45ce-401d-8df5-799deb847125 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -325,13 +401,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -342,15 +418,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:46 GMT + - Thu, 05 Feb 2026 09:33:05 GMT Pragma: - no-cache RequestId: - - f49efcd2-33a1-4dba-b280-b83aa30d9cdd + - 083c2992-4651-4cd0-954c-6213e6174cab Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -376,19 +452,57 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "57ff2b3d-e570-4fb0-9f4a-c1382a7034f8", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -397,15 +511,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '327' + - '1049' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:47 GMT + - Thu, 05 Feb 2026 09:33:05 GMT Pragma: - no-cache RequestId: - - 70a9632c-c850-4021-9db0-38adc1741e75 + - e79a7059-b3fc-45ce-a8a4-aa86a687d3cb Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -431,14 +545,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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/57ff2b3d-e570-4fb0-9f4a-c1382a7034f8 response: body: - string: '{"id": "38ae6ef7-2e40-4b6a-b9fa-c34181792763", "type": "Notebook", + string: '{"id": "57ff2b3d-e570-4fb0-9f4a-c1382a7034f8", "type": "Notebook", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -451,13 +565,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:47 GMT + - Thu, 05 Feb 2026 09:33:06 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 80375d28-29b8-47d6-a734-d8a615f1ac8d + - d7366ea9-1f61-4a2f-85aa-8fe0f1c6f7e4 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -485,9 +599,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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/57ff2b3d-e570-4fb0-9f4a-c1382a7034f8/getDefinition?format=ipynb response: body: string: 'null' @@ -503,13 +617,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:40:48 GMT + - Thu, 05 Feb 2026 09:33:07 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/a82c33d2-ed48-4ae8-a49b-86d53c54593b Pragma: - no-cache RequestId: - - fd9b1082-2d5f-4450-b9dc-2261aa88277e + - 3d67688f-11a1-4d56-be46-c4cfcb128917 Retry-After: - '20' Strict-Transport-Security: @@ -523,7 +637,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 8a4e864e-0ee2-455d-bca9-a5ee7e570f4d + - a82c33d2-ed48-4ae8-a49b-86d53c54593b status: code: 202 message: Accepted @@ -539,13 +653,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/a82c33d2-ed48-4ae8-a49b-86d53c54593b 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-05T09:33:07.173074", + "lastUpdatedTimeUtc": "2026-02-05T09:33:07.4543248", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -555,17 +669,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '131' + - '129' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:08 GMT + - Thu, 05 Feb 2026 09:33:28 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/a82c33d2-ed48-4ae8-a49b-86d53c54593b/result Pragma: - no-cache RequestId: - - 59cb2c24-da8c-4796-be88-2429daa29142 + - e79542da-62ae-4ece-8322-39b0d04930b3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -573,7 +687,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 8a4e864e-0ee2-455d-bca9-a5ee7e570f4d + - a82c33d2-ed48-4ae8-a49b-86d53c54593b status: code: 200 message: OK @@ -589,9 +703,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/a82c33d2-ed48-4ae8-a49b-86d53c54593b/result response: body: string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": @@ -608,11 +722,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 15 Dec 2025 07:41:08 GMT + - Thu, 05 Feb 2026 09:33:29 GMT Pragma: - no-cache RequestId: - - f0c68dd8-64e5-40b9-b81f-cb45a4b84d7b + - b66fddd1-d47a-4fa1-81f7-9b9ce700e1c6 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -636,13 +750,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -653,15 +767,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:10 GMT + - Thu, 05 Feb 2026 09:33:30 GMT Pragma: - no-cache RequestId: - - 542ac2b8-d520-4f7f-acfe-f5c5d938b380 + - 40e8b20e-f8ed-4630-9850-f210f1d38bbc Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -687,19 +801,57 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "57ff2b3d-e570-4fb0-9f4a-c1382a7034f8", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -708,15 +860,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '327' + - '1049' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:10 GMT + - Thu, 05 Feb 2026 09:33:30 GMT Pragma: - no-cache RequestId: - - cdf8ab54-032e-45b1-880d-e06521b09610 + - 58cad12f-d865-4eeb-8125-17285abdddf8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -742,19 +894,57 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "57ff2b3d-e570-4fb0-9f4a-c1382a7034f8", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -763,15 +953,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '327' + - '1049' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:10 GMT + - Thu, 05 Feb 2026 09:33:32 GMT Pragma: - no-cache RequestId: - - 1cfa8e92-71e1-47a7-aa5a-0603cf5bfd1d + - 271b6448-5101-40cb-bbda-55007db0041e Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -797,13 +987,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -814,15 +1004,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:11 GMT + - Thu, 05 Feb 2026 09:33:32 GMT Pragma: - no-cache RequestId: - - 2290ddab-b483-40aa-8a99-eec7dfc61bd4 + - 5996e2a0-5524-49e9-93a0-c7cf6898b2a2 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -848,13 +1038,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -865,15 +1055,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:11 GMT + - Thu, 05 Feb 2026 09:33:33 GMT Pragma: - no-cache RequestId: - - 269d9ad0-23e0-4441-b765-5da01ceefb66 + - bd29b8f4-4f94-4ab2-8320-7a5a23225109 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -889,7 +1079,7 @@ interactions: message: OK - request: body: '{"type": "Notebook", "description": "Imported from fab", "folderId": null, - "displayName": "fabcli000001_new_2", "definition": {"format": "ipynb", "parts": + "displayName": "fabcli000001_new_16", "definition": {"format": "ipynb", "parts": [{"path": "notebook-content.ipynb", "payload": "ewogICAgIm5iZm9ybWF0IjogNCwKICAgICJuYmZvcm1hdF9taW5vciI6IDUsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgImxhbmd1YWdlX2luZm8iOiB7CiAgICAgICAgICAgICJuYW1lIjogInB5dGhvbiIKICAgICAgICB9LAogICAgICAgICJrZXJuZWxfaW5mbyI6IHsKICAgICAgICAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIiwKICAgICAgICAgICAgImp1cHl0ZXJfa2VybmVsX25hbWUiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAiYTM2NUNvbXB1dGVPcHRpb25zIjogbnVsbCwKICAgICAgICAic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOiAwLAogICAgICAgICJkZXBlbmRlbmNpZXMiOiB7CiAgICAgICAgICAgICJsYWtlaG91c2UiOiBudWxsCiAgICAgICAgfQogICAgfSwKICAgICJjZWxscyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJjZWxsX3R5cGUiOiAiY29kZSIsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgICAgICJtaWNyb3NvZnQiOiB7CiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlIjogInB5dGhvbiIsCiAgICAgICAgICAgICAgICAgICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInNvdXJjZSI6IFsKICAgICAgICAgICAgICAgICIjIFdlbGNvbWUgdG8geW91ciBuZXcgbm90ZWJvb2tcbiIsCiAgICAgICAgICAgICAgICAiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIgogICAgICAgICAgICBdLAogICAgICAgICAgICAib3V0cHV0cyI6IFtdCiAgICAgICAgfQogICAgXQp9", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICAgIiRzY2hlbWEiOiAiaHR0cHM6Ly9kZXZlbG9wZXIubWljcm9zb2Z0LmNvbS9qc29uLXNjaGVtYXMvZmFicmljL2dpdEludGVncmF0aW9uL3BsYXRmb3JtUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgInR5cGUiOiAiTm90ZWJvb2siLAogICAgICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICAgIH0sCiAgICAiY29uZmlnIjogewogICAgICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAgICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgICB9Cn0=", "payloadType": "InlineBase64"}]}}' @@ -901,13 +1091,13 @@ interactions: Connection: - keep-alive Content-Length: - - '1920' + - '1921' 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: string: 'null' @@ -923,15 +1113,15 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:13 GMT + - Thu, 05 Feb 2026 09:33:34 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/97643a87-6e10-4ee0-9603-6f5b58743e62 Pragma: - no-cache RequestId: - - 69d04a01-4c5c-447a-9f22-1d2b1e4846a1 + - 87aecb65-e07d-4442-b4b2-e2ccb2195305 Retry-After: - '20' Strict-Transport-Security: @@ -945,7 +1135,7 @@ interactions: request-redirected: - 'true' x-ms-operation-id: - - 7c4ac6fc-dc0c-42bd-9497-7263f08e71de + - 97643a87-6e10-4ee0-9603-6f5b58743e62 status: code: 202 message: Accepted @@ -961,13 +1151,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/97643a87-6e10-4ee0-9603-6f5b58743e62 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-05T09:33:34.9902609", + "lastUpdatedTimeUtc": "2026-02-05T09:33:36.4752483", "percentComplete": 100, "error": null}' headers: Access-Control-Expose-Headers: @@ -981,13 +1171,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:33 GMT + - Thu, 05 Feb 2026 09:33:57 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/97643a87-6e10-4ee0-9603-6f5b58743e62/result Pragma: - no-cache RequestId: - - 294c1598-d9c4-4038-9c9b-bc16dedcbd85 + - 46f5085e-6534-4986-a201-8df059dbfd8c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -995,7 +1185,7 @@ interactions: X-Frame-Options: - deny x-ms-operation-id: - - 7c4ac6fc-dc0c-42bd-9497-7263f08e71de + - 97643a87-6e10-4ee0-9603-6f5b58743e62 status: code: 200 message: OK @@ -1011,14 +1201,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/97643a87-6e10-4ee0-9603-6f5b58743e62/result response: body: - string: '{"id": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", - "displayName": "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + string: '{"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", + "displayName": "fabcli000001_new_16", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' headers: Access-Control-Expose-Headers: - RequestId @@ -1029,11 +1219,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 15 Dec 2025 07:41:34 GMT + - Thu, 05 Feb 2026 09:33:57 GMT Pragma: - no-cache RequestId: - - 6d4c3dfc-af52-4140-97f5-f06d7faddc38 + - 6af32e71-9545-444f-a9bb-3b41980de2b8 Strict-Transport-Security: - max-age=31536000; includeSubDomains Transfer-Encoding: @@ -1057,13 +1247,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -1074,15 +1264,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:35 GMT + - Thu, 05 Feb 2026 09:33:58 GMT Pragma: - no-cache RequestId: - - 78343b00-4f71-4c7d-8dae-4d3d15efb98e + - f9e1ccba-bc72-4a4c-84e8-04333f7f8c1f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1108,21 +1298,60 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", + "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "57ff2b3d-e570-4fb0-9f4a-c1382a7034f8", "type": "Notebook", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -1131,15 +1360,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '372' + - '1082' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:41:35 GMT + - Thu, 05 Feb 2026 09:33:59 GMT Pragma: - no-cache RequestId: - - ccc6cbbc-0502-4611-9bc1-0e8c3a4ac173 + - 4c752109-4c55-4294-a05a-8981c297a197 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -1167,9 +1396,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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/57ff2b3d-e570-4fb0-9f4a-c1382a7034f8 response: body: string: '' @@ -1185,11 +1414,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Mon, 15 Dec 2025 07:41:35 GMT + - Thu, 05 Feb 2026 09:33:59 GMT Pragma: - no-cache RequestId: - - 1fbb9ed4-cac0-4b3d-bda2-abcfb1436546 + - d6b7648c-c699-44ef-be5d-2150b2cd569b Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_item_wrong_format_fail.yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_item_wrong_format_fail.yaml index 822715e7..a3b2399e 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_item_wrong_format_fail.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_item_wrong_format_fail.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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "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' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:04 GMT + - Thu, 05 Feb 2026 09:34:12 GMT Pragma: - no-cache RequestId: - - 416806f4-78e8-4561-9def-df9b1fb678e6 + - 6c847f02-893a-4622-8392-5343097ac806 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -62,58 +62,58 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -122,15 +122,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1030' + - '1051' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:04 GMT + - Thu, 05 Feb 2026 09:34:14 GMT Pragma: - no-cache RequestId: - - a2be940b-4ee7-491d-8040-a9d21303fd97 + - 1f499500-860b-4d5b-9771-aa1af579e9a8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -156,58 +156,58 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -216,15 +216,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1030' + - '1051' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:04 GMT + - Thu, 05 Feb 2026 09:34:13 GMT Pragma: - no-cache RequestId: - - 74ef0a73-6f6a-4776-83c5-d4c5f0eeac33 + - 00c8d44c-728c-4d65-b102-380b9828eccf Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: diff --git a/tests/test_commands/recordings/test_commands/test_import/test_import_lakehouse_path_fail.yaml b/tests/test_commands/recordings/test_commands/test_import/test_import_lakehouse_path_fail.yaml index db6c1098..25eaf4a3 100644 --- a/tests/test_commands/recordings/test_commands/test_import/test_import_lakehouse_path_fail.yaml +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_lakehouse_path_fail.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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "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' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:50:58 GMT + - Thu, 05 Feb 2026 09:34:00 GMT Pragma: - no-cache RequestId: - - 9d1ae7e1-8f24-42d5-83cd-ade9301ba378 + - 7634da81-2046-4bdf-aa49-de2500b24c87 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -62,58 +62,58 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -122,15 +122,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1030' + - '1051' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:50:59 GMT + - Thu, 05 Feb 2026 09:34:01 GMT Pragma: - no-cache RequestId: - - dc2eb5a1-1ca6-4adb-b45d-034016697d05 + - 9fae1d6d-9a21-4b90-9c1d-2ebce0dce02f Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -156,58 +156,58 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -216,15 +216,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1030' + - '1051' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:50:59 GMT + - Thu, 05 Feb 2026 09:34:01 GMT Pragma: - no-cache RequestId: - - 8b5e7d05-5813-4d36-a5f3-6c17592e1b5c + - 60c446c5-d0d6-4a07-81db-4059a10698c0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -253,14 +253,14 @@ 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/lakehouses + uri: https://api.fabric.microsoft.com/v1/workspaces/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/lakehouses response: body: - string: '{"id": "7918f031-6d8b-4505-947a-a87222a35f2f", "type": "Lakehouse", + string: '{"id": "766059ee-fb46-4d57-bb79-5b282d8cb098", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}' + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' headers: Access-Control-Expose-Headers: - RequestId,ETag @@ -273,13 +273,13 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:01 GMT + - Thu, 05 Feb 2026 09:34:05 GMT ETag: - '""' Pragma: - no-cache RequestId: - - 7b8e7721-bdbe-484b-beca-4576ecf730c4 + - 3ce4d62d-d31d-43c7-9223-cb77791d5cf9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -305,13 +305,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -322,15 +322,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:01 GMT + - Thu, 05 Feb 2026 09:34:06 GMT Pragma: - no-cache RequestId: - - e5210361-0a73-420c-8676-996bb6576721 + - f395e679-9119-48e9-8c3e-7d001c79d1a0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -356,60 +356,60 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "7918f031-6d8b-4505-947a-a87222a35f2f", + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "766059ee-fb46-4d57-bb79-5b282d8cb098", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -418,15 +418,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1074' + - '1095' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:01 GMT + - Thu, 05 Feb 2026 09:34:07 GMT Pragma: - no-cache RequestId: - - 08d7131d-34a4-4610-b6c6-d31ed54ee284 + - 0cf5272e-17d7-45af-af40-66a365364f66 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -452,60 +452,60 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "7918f031-6d8b-4505-947a-a87222a35f2f", + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "766059ee-fb46-4d57-bb79-5b282d8cb098", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -514,15 +514,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1074' + - '1095' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:02 GMT + - Thu, 05 Feb 2026 09:34:08 GMT Pragma: - no-cache RequestId: - - 02c318d9-99d8-4339-bc26-038209506c5b + - 2ce6cf7b-8a67-4662-b8f0-bde6f035df64 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -548,13 +548,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -565,15 +565,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:03 GMT + - Thu, 05 Feb 2026 09:34:08 GMT Pragma: - no-cache RequestId: - - 5d90d961-5610-45ae-ae66-ac81c9e206b7 + - 412b53ae-a639-4720-ab6f-7035a15d4a12 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -599,60 +599,60 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "7918f031-6d8b-4505-947a-a87222a35f2f", + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "766059ee-fb46-4d57-bb79-5b282d8cb098", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -661,15 +661,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1074' + - '1095' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:03 GMT + - Thu, 05 Feb 2026 09:34:09 GMT Pragma: - no-cache RequestId: - - 3f6ae99f-a1da-4c7d-8793-b4db9351bf03 + - 2a60b21c-390b-4b13-970d-9f9e87bc84bd Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -695,13 +695,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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -712,15 +712,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1185' + - '2802' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:03 GMT + - Thu, 05 Feb 2026 09:34:10 GMT Pragma: - no-cache RequestId: - - 8bcd10ac-9b3c-45c3-9b8a-c151fcf919e0 + - bde700ae-42c5-4c67-b4f6-85b9329adbde Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -746,60 +746,62 @@ 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items response: body: - string: '{"value": [{"id": "ef224172-91fb-4295-bc00-4952ff1b854e", "type": "Report", - "displayName": "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "63297299-d084-4676-92ca-91cc20fcbc14", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9389fc55-164e-41c0-bbb1-b70897d466a7", - "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "309aee93-1d79-4ac2-b4fb-b963c640af34", - "type": "SemanticModel", "displayName": "fabcli000001_new_8", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "5abac0b4-f94b-4706-bc7d-e37f2a801f47", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_3", "description": - "", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "c1ecc0b6-077b-42ed-8c8b-cf5cf9e9b131", - "type": "SQLEndpoint", "displayName": "fabcli000001_new_12", "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": "33a0ac87-ec7b-4e59-a4ab-64ad7464bb6d", "type": "Notebook", "displayName": - "fabcli000001_new_2", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "aeb6809c-186c-49ee-89cf-de9c31add7e4", "type": "SQLDatabase", "displayName": - "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "54348fe3-cd4d-474d-bcef-0f73d485bbbb", "type": "Notebook", "displayName": - "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "8b29373d-0d70-447c-bec2-c0f0e9cea264", "type": "SparkJobDefinition", + string: '{"value": [{"id": "30b5cf9a-687f-4535-8c41-f8d6090970ce", "type": "Report", "displayName": "fabcli000001_new_5", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "0b6ce5dc-a292-47c8-97f5-2b3bb71f65e5", - "type": "DataPipeline", "displayName": "fabcli000001_new_6", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "5be6b544-a146-4c9d-aeed-2b9298bc7c01", "type": "Eventhouse", "displayName": - "fabcli000001_auto", "description": "Created by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "1db579d8-027d-4e49-976a-5d1ca2ea5b1c", "type": "KQLDatabase", "displayName": - "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "9799c9a4-f352-44f3-bb17-9de430177021", "type": "KQLDatabase", "displayName": - "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "88a6829e-23b5-4201-aafd-b44815bf55b1", "type": "KQLQueryset", "displayName": - "fabcli000001_new_10", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "9eb91b1f-93f9-4c33-8a49-e4c0daf616e5", - "type": "Eventhouse", "displayName": "fabcli000001_new_11", "description": - "Imported from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, - {"id": "034d901c-88ca-472b-aea3-cde7c41f2010", "type": "MirroredDatabase", - "displayName": "fabcli000001_new_12", "description": "Imported from fab", - "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "25d238a4-ce58-4867-b5ae-9f89cf666581", - "type": "Reflex", "displayName": "fabcli000001_new_13", "description": "Imported - from fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": - "8a8f7d7b-d7d9-4434-9e5d-ac2359953b50", "type": "KQLDashboard", "displayName": - "fabcli000001_new_14", "description": "Imported from fab", "workspaceId": - "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}, {"id": "7918f031-6d8b-4505-947a-a87222a35f2f", + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "9f811779-9cb2-4993-afef-d75e9e2db99e", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "d048cd49-cf2b-42a5-b8c8-4399d548c90c", + "type": "SemanticModel", "displayName": "fabcli000001_new_6", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "30a61513-b17a-4c9b-b24a-dbc1fba331cd", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_10", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "47d9d38e-13b6-44a5-accb-df3c846ebb5d", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_13", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "a666a627-a61e-455f-a657-02549bc985e8", + "type": "SQLEndpoint", "displayName": "fabcli000001_new_14", "description": + "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "7e3bab00-b279-41e2-8ec6-c7d3ca8de2ba", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3ea5e4a2-def8-4b30-8251-3943bb1fd051", + "type": "Notebook", "displayName": "fabcli000001_new_2", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "8d59d32d-b7bf-45c9-97f5-47537ee6b835", "type": "SparkJobDefinition", "displayName": + "fabcli000001_new_3", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "9c48e9bd-028c-45fb-830b-2e5cf13f462d", "type": "DataPipeline", "displayName": + "fabcli000001_new_4", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "bca21df1-18cc-40ad-ab3f-05c42b3f555a", "type": "Eventhouse", "displayName": + "fabcli000001_auto", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "16177034-4ee4-4120-99af-34dfed1420fb", "type": "KQLDatabase", "displayName": + "fabcli000001_auto", "description": "fabcli000001_auto", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "aa43a560-28c0-4f9d-b170-7536ad51e2b8", "type": "KQLDatabase", "displayName": + "fabcli000001_new_7", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "beab40a2-4554-4f70-8896-953e07a5d362", "type": "KQLQueryset", "displayName": + "fabcli000001_new_8", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "86121110-fa64-4730-a3ac-240dec42252d", "type": "Eventhouse", "displayName": + "fabcli000001_new_9", "description": "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "11b81452-856b-46eb-ae77-eb634caadb9d", "type": "MirroredDatabase", + "displayName": "fabcli000001_new_10", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "f650593d-df2b-490d-a56b-fa2b3807f210", + "type": "Reflex", "displayName": "fabcli000001_new_11", "description": "Imported + from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": + "4ccb32cf-68a2-4fdd-b663-4b46a803d5e6", "type": "KQLDashboard", "displayName": + "fabcli000001_new_12", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "bca94329-a156-4d11-8f9d-d851443390ce", + "type": "SQLDatabase", "displayName": "fabcli000001_new_13", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "1c8ca30a-8fca-46a9-b789-cf1f4be6bafd", "type": "CosmosDBDatabase", + "displayName": "fabcli000001_new_14", "description": "Imported from fab", + "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "3cc08478-f1bc-4f48-aee2-7d01a42bd5a1", + "type": "UserDataFunction", "displayName": "fabcli000001_new_15", "description": + "Imported from fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "ae5f1400-3e9b-45fb-806e-4eec26736afd", "type": "Notebook", "displayName": + "fabcli000001_new_16", "description": "Imported from fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, {"id": "766059ee-fb46-4d57-bb79-5b282d8cb098", "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created - by fab", "workspaceId": "704a31b2-abd1-4aac-863d-ba2cdf6527d9"}]}' + by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -808,15 +810,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '1074' + - '1125' Content-Type: - application/json; charset=utf-8 Date: - - Mon, 15 Dec 2025 07:51:03 GMT + - Thu, 05 Feb 2026 09:34:11 GMT Pragma: - no-cache RequestId: - - f45d3474-a9f5-4c9b-8c59-b9263af977bc + - 07104676-4bc7-419d-be15-dea7895c059c Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -844,9 +846,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/7918f031-6d8b-4505-947a-a87222a35f2f + uri: https://api.fabric.microsoft.com/v1/workspaces/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/766059ee-fb46-4d57-bb79-5b282d8cb098 response: body: string: '' @@ -862,11 +864,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Mon, 15 Dec 2025 07:51:04 GMT + - Thu, 05 Feb 2026 09:34:11 GMT Pragma: - no-cache RequestId: - - 091283d5-d0b2-40cc-9c4b-0027d18231b6 + - 53950c2e-f605-4ebd-bb4f-981340aa29c3 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: 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..a5d5b763 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:57 GMT + Pragma: + - no-cache + RequestId: + - 7b877ac8-d2c7-43a9-a973-beae159deabe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:15:57 GMT + Pragma: + - no-cache + RequestId: + - 60b382a4-d8f0-4995-8bb5-c8d9eef1fff9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:15:57 GMT + Pragma: + - no-cache + RequestId: + - ce554530-05f1-4964-bf94-574792527769 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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: + - Thu, 05 Feb 2026 09:15:58 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2c8103a9-988e-4a9b-9cbe-0ba141885d47 + Pragma: + - no-cache + RequestId: + - d3b9270a-4505-4e03-b59d-594f0d8d34d2 + 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: + - 2c8103a9-988e-4a9b-9cbe-0ba141885d47 + 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/2c8103a9-988e-4a9b-9cbe-0ba141885d47 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:15:58.5947256", + "lastUpdatedTimeUtc": "2026-02-05T09:16:06.8017898", "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, 05 Feb 2026 09:16:20 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2c8103a9-988e-4a9b-9cbe-0ba141885d47/result + Pragma: + - no-cache + RequestId: + - 74bb1f55-bccb-48c4-a9f4-43884e0b92ce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 2c8103a9-988e-4a9b-9cbe-0ba141885d47 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/2c8103a9-988e-4a9b-9cbe-0ba141885d47/result + response: + body: + string: '{"id": "3c9f666f-1398-4f31-bc65-ef92db375cb6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:16:20 GMT + Pragma: + - no-cache + RequestId: + - eee7cd17-5cf8-4c82-ab35-fd3ab84ff80f + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:16:22 GMT + Pragma: + - no-cache + RequestId: + - 79962bc9-e354-434c-b26a-efff37bd3dce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "3c9f666f-1398-4f31-bc65-ef92db375cb6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:16:22 GMT + Pragma: + - no-cache + RequestId: + - 432430a9-4276-403a-892e-6e0bf7c88e94 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3c9f666f-1398-4f31-bc65-ef92db375cb6 + response: + body: + string: '{"id": "3c9f666f-1398-4f31-bc65-ef92db375cb6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:16:22 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1efbed5e-54ab-4ffe-80aa-70fa17306621 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3c9f666f-1398-4f31-bc65-ef92db375cb6/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, 05 Feb 2026 09:16:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/012fb7db-14f5-4240-86dc-26b08d67f63d + Pragma: + - no-cache + RequestId: + - 41ff316f-2e2f-4ad4-b2ae-728e08ae5a7f + 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: + - 012fb7db-14f5-4240-86dc-26b08d67f63d + 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/012fb7db-14f5-4240-86dc-26b08d67f63d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:16:24.3208887", + "lastUpdatedTimeUtc": "2026-02-05T09:16:25.0718889", "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, 05 Feb 2026 09:16:45 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/012fb7db-14f5-4240-86dc-26b08d67f63d/result + Pragma: + - no-cache + RequestId: + - ff3c79f0-a15c-4d58-81a8-3d2a176971eb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 012fb7db-14f5-4240-86dc-26b08d67f63d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/012fb7db-14f5-4240-86dc-26b08d67f63d/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: + - Thu, 05 Feb 2026 09:16:46 GMT + Pragma: + - no-cache + RequestId: + - 8e15d09e-c144-4c0c-a4e6-899fb383abba + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:16:47 GMT + Pragma: + - no-cache + RequestId: + - 5b1f94cf-79ee-4a5a-935d-0ddd754858d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "95e30443-87e6-44eb-86a2-b2cb5d7baefa", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3c9f666f-1398-4f31-bc65-ef92db375cb6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '234' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:16:48 GMT + Pragma: + - no-cache + RequestId: + - e8a1909a-5b3a-47a0-ba0c-bf6ab4f220d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3c9f666f-1398-4f31-bc65-ef92db375cb6/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, 05 Feb 2026 09:16:49 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/690e04f9-0459-46a4-9061-b2ebd6cc5351 + Pragma: + - no-cache + RequestId: + - 1f16eb1e-75f7-4d52-ae6b-5f32c8085bc2 + 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: + - 690e04f9-0459-46a4-9061-b2ebd6cc5351 + 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/690e04f9-0459-46a4-9061-b2ebd6cc5351 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:16:50.1712074", + "lastUpdatedTimeUtc": "2026-02-05T09:16:50.3274599", "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: + - Thu, 05 Feb 2026 09:17:11 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/690e04f9-0459-46a4-9061-b2ebd6cc5351/result + Pragma: + - no-cache + RequestId: + - 171f3e36-f965-474c-a24c-7bb6ee4d0d17 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 690e04f9-0459-46a4-9061-b2ebd6cc5351 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/690e04f9-0459-46a4-9061-b2ebd6cc5351/result + response: + body: + string: '{"id": "3c9f666f-1398-4f31-bc65-ef92db375cb6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:17:11 GMT + Pragma: + - no-cache + RequestId: + - 6a5b596f-9c0a-42b3-a131-394a2f7b624f + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:17:12 GMT + Pragma: + - no-cache + RequestId: + - 252b4868-728a-4efe-b3c4-aa38fcdec68a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "95e30443-87e6-44eb-86a2-b2cb5d7baefa", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "3c9f666f-1398-4f31-bc65-ef92db375cb6", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '234' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:17:13 GMT + Pragma: + - no-cache + RequestId: + - 309b0987-2fff-4cf7-ae95-4e6dcebb628c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/3c9f666f-1398-4f31-bc65-ef92db375cb6 + 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, 05 Feb 2026 09:17:15 GMT + Pragma: + - no-cache + RequestId: + - ebc04aab-4547-456f-9081-754001b253d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..d487f463 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:10:51 GMT + Pragma: + - no-cache + RequestId: + - 759289c1-afd7-4929-9aa3-05cc67d67203 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:10:52 GMT + Pragma: + - no-cache + RequestId: + - 2229af8b-b66f-4741-8b1b-935a878d0a8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:10:53 GMT + Pragma: + - no-cache + RequestId: + - 4e3062fe-c1c2-4faf-9629-eb4ff836c8e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/dataPipelines + response: + body: + string: '{"id": "194f1c04-2468-488b-bbd5-c679db4c31dc", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:11:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 38c64ebe-9d4a-4b90-9f23-7a70a79362ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:02 GMT + Pragma: + - no-cache + RequestId: + - 2775365b-a2f7-4a54-8dea-a61cad02dc22 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "194f1c04-2468-488b-bbd5-c679db4c31dc", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:11:03 GMT + Pragma: + - no-cache + RequestId: + - 30453830-e401-4272-8146-b94954f8b851 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/194f1c04-2468-488b-bbd5-c679db4c31dc + response: + body: + string: '{"id": "194f1c04-2468-488b-bbd5-c679db4c31dc", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:11:03 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1cf92374-572a-41fb-995b-47c95bd92c04 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/194f1c04-2468-488b-bbd5-c679db4c31dc/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: + - '456' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:05 GMT + Pragma: + - no-cache + RequestId: + - 803b5661-23be-42df-9dc1-4fb4e208c875 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:06 GMT + Pragma: + - no-cache + RequestId: + - bc933454-b7d4-436b-9553-d4d2223284d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "194f1c04-2468-488b-bbd5-c679db4c31dc", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:11:07 GMT + Pragma: + - no-cache + RequestId: + - 1bd9b486-aa99-4e61-b316-5782dbd2353f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/194f1c04-2468-488b-bbd5-c679db4c31dc/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, 05 Feb 2026 09:11:10 GMT + Pragma: + - no-cache + RequestId: + - b1f34f5d-fee1-4fd2-8140-6f1d0e5edf7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:11 GMT + Pragma: + - no-cache + RequestId: + - d987888f-4ec3-43f0-bc89-4a10004dcab4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "194f1c04-2468-488b-bbd5-c679db4c31dc", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:11:11 GMT + Pragma: + - no-cache + RequestId: + - 6db5d3c5-678f-406c-bd68-830bbf036580 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/194f1c04-2468-488b-bbd5-c679db4c31dc + 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, 05 Feb 2026 09:11:12 GMT + Pragma: + - no-cache + RequestId: + - 6dad53de-e106-4139-a8b1-f35bd4568c99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..09ea665c --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:12 GMT + Pragma: + - no-cache + RequestId: + - e7dbfa63-00ce-4d00-8a2c-6bab4dbb6a6f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:11:13 GMT + Pragma: + - no-cache + RequestId: + - 1fc4fc1a-1836-439b-b92b-3a141d87cd41 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:11:14 GMT + Pragma: + - no-cache + RequestId: + - 3de8edae-b9bb-4c18-a72a-9d64c0b24b9a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/environments + response: + body: + string: '{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:11:16 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d1de54aa-73b8-4825-96d2-67e91e231f8a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:16 GMT + Pragma: + - no-cache + RequestId: + - 461e8fa9-4480-449b-9607-ca2775d7e54d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:11:17 GMT + Pragma: + - no-cache + RequestId: + - ebeee7fa-2b5b-49cc-b36d-4d23c2b83290 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/c6dfb619-08b1-45bc-bf6e-9a433797d3f8 + response: + body: + string: '{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:11:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5ce67d02-9d99-402e-b8d9-7d6df3161bdb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/c6dfb619-08b1-45bc-bf6e-9a433797d3f8/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, 05 Feb 2026 09:11:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/abafd173-55c9-4a22-b4cb-5aaf2f2869ac + Pragma: + - no-cache + RequestId: + - 901ddb69-8f94-46d5-893e-7715c6bb5d6f + 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: + - abafd173-55c9-4a22-b4cb-5aaf2f2869ac + 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/abafd173-55c9-4a22-b4cb-5aaf2f2869ac + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:11:19.5220901", + "lastUpdatedTimeUtc": "2026-02-05T09:11:19.8345567", "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, 05 Feb 2026 09:11:40 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/abafd173-55c9-4a22-b4cb-5aaf2f2869ac/result + Pragma: + - no-cache + RequestId: + - cd33f5f9-aad6-4ee9-b60a-a5387dbd8411 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - abafd173-55c9-4a22-b4cb-5aaf2f2869ac + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/abafd173-55c9-4a22-b4cb-5aaf2f2869ac/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, 05 Feb 2026 09:11:41 GMT + Pragma: + - no-cache + RequestId: + - 86518033-5194-4b03-9835-3f01ca1ca6fe + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:42 GMT + Pragma: + - no-cache + RequestId: + - c820bf21-82fb-4beb-960b-65bb2be260b9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:11:42 GMT + Pragma: + - no-cache + RequestId: + - 2943d2db-06a8-4103-8faa-6e6449da5b81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/environments/c6dfb619-08b1-45bc-bf6e-9a433797d3f8 + response: + body: + string: '{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "0575e3ce-08cb-4b00-8521-6c449054f4b6", "startTime": + "2026-02-05T09:11:16.5426096Z", "endTime": "2026-02-05T09:11:16.5426096Z", + "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: + - '315' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c4b35316-4f2d-45b6-8896-b14d6568dc90 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/environments/c6dfb619-08b1-45bc-bf6e-9a433797d3f8/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, 05 Feb 2026 09:11:44 GMT + RequestId: + - 29ddf711-c358-4870-b8e6-d62bbd7d87c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/environments/c6dfb619-08b1-45bc-bf6e-9a433797d3f8/libraries + response: + body: + string: '{"requestId": "1761a63c-ad40-46b5-a1d7-84690b3fe033", "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, 05 Feb 2026 09:11:45 GMT + RequestId: + - 1761a63c-ad40-46b5-a1d7-84690b3fe033 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/environments/c6dfb619-08b1-45bc-bf6e-9a433797d3f8/staging/publish + response: + body: + string: '{"publishDetails": {"state": "Success", "targetVersion": "c8e9ac14-c4c1-4fb9-b463-4b509ca6fb50", + "startTime": "2026-02-05T09:11:46.3115124Z", "endTime": "2026-02-05T09:11:47.1083876Z", + "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, 05 Feb 2026 09:11:46 GMT + RequestId: + - e9b5c8ff-7ee2-414f-890e-2e5d35cee258 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/environments/c6dfb619-08b1-45bc-bf6e-9a433797d3f8 + response: + body: + string: '{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "c8e9ac14-c4c1-4fb9-b463-4b509ca6fb50", "startTime": + "2026-02-05T09:11:46.3115124Z", "endTime": "2026-02-05T09:11:47.1083876Z", + "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: + - '322' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:47 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 105c038f-49fa-4765-a59b-038be536eb90 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:48 GMT + Pragma: + - no-cache + RequestId: + - 579566c1-d7b3-4d7f-a9b6-a18b02519fc5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "c6dfb619-08b1-45bc-bf6e-9a433797d3f8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:11:48 GMT + Pragma: + - no-cache + RequestId: + - 9f5ea5d7-95b7-4813-afad-10ab2c89f9c4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/c6dfb619-08b1-45bc-bf6e-9a433797d3f8 + 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, 05 Feb 2026 09:11:49 GMT + Pragma: + - no-cache + RequestId: + - 81dc1ab5-da53-426f-810b-8d59fa8a9234 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..82811e17 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:11:50 GMT + Pragma: + - no-cache + RequestId: + - 014ee345-b530-4388-ba8c-ad72fccc2752 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:11:50 GMT + Pragma: + - no-cache + RequestId: + - 23783926-8db2-4d5a-8998-5d577ae569e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:11:51 GMT + Pragma: + - no-cache + RequestId: + - fc3f414e-43a1-4f21-b681-9062d414f3b3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:11:52 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/946c825e-42bc-4ca9-a1b6-468599089ebd + Pragma: + - no-cache + RequestId: + - 3d50a61d-8d19-4fba-9937-ec1f2517a6f5 + 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: + - 946c825e-42bc-4ca9-a1b6-468599089ebd + 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/946c825e-42bc-4ca9-a1b6-468599089ebd + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:11:52.2796618", + "lastUpdatedTimeUtc": "2026-02-05T09:11:56.8751672", "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, 05 Feb 2026 09:12:13 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/946c825e-42bc-4ca9-a1b6-468599089ebd/result + Pragma: + - no-cache + RequestId: + - 5b06432b-3352-4949-bce3-36937b23c56a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 946c825e-42bc-4ca9-a1b6-468599089ebd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/946c825e-42bc-4ca9-a1b6-468599089ebd/result + response: + body: + string: '{"id": "e04a6f4c-3420-43a6-9aa4-9589fbecff22", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:12:14 GMT + Pragma: + - no-cache + RequestId: + - 90ec69ac-b491-47c7-9dbf-39d6be0c90ff + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:15 GMT + Pragma: + - no-cache + RequestId: + - 0808b718-f7e6-4a03-9b30-610df952e569 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "e04a6f4c-3420-43a6-9aa4-9589fbecff22", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:15 GMT + Pragma: + - no-cache + RequestId: + - 561e1386-d187-4859-876e-05e4bed4ac21 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e04a6f4c-3420-43a6-9aa4-9589fbecff22 + response: + body: + string: '{"id": "e04a6f4c-3420-43a6-9aa4-9589fbecff22", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:12:16 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6f2b36de-ce42-48b0-bb2d-ee9a9bb41336 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e04a6f4c-3420-43a6-9aa4-9589fbecff22/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: + - '566' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:17 GMT + Pragma: + - no-cache + RequestId: + - 1d566799-5194-4c9c-97ec-1682557b42e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:18 GMT + Pragma: + - no-cache + RequestId: + - 108bc058-db5b-4e6c-9172-c8e2c0ced2e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "e04a6f4c-3420-43a6-9aa4-9589fbecff22", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:19 GMT + Pragma: + - no-cache + RequestId: + - fb15bc30-cdb9-4063-88d1-528f1c8d4447 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e04a6f4c-3420-43a6-9aa4-9589fbecff22/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, 05 Feb 2026 09:12:22 GMT + Pragma: + - no-cache + RequestId: + - f34406a3-9297-42ab-bad4-6271b5260f91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:22 GMT + Pragma: + - no-cache + RequestId: + - 143abbaf-5085-4d57-b5ca-3870a9e68724 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "e04a6f4c-3420-43a6-9aa4-9589fbecff22", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:24 GMT + Pragma: + - no-cache + RequestId: + - 2297deb3-c093-4b90-a66e-b385bf9bc2ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/e04a6f4c-3420-43a6-9aa4-9589fbecff22 + 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, 05 Feb 2026 09:12:25 GMT + Pragma: + - no-cache + RequestId: + - b97065e0-873c-446e-80d3-4d19b1957167 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..a6f4a9b4 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:26 GMT + Pragma: + - no-cache + RequestId: + - aada735d-1711-4576-8e89-d06f7c777e59 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:12:26 GMT + Pragma: + - no-cache + RequestId: + - 8e740448-363f-4bed-8375-98174030fc5b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:12:27 GMT + Pragma: + - no-cache + RequestId: + - 7356791b-fce6-48c6-8c30-517017e5f72b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/kqlDashboards + response: + body: + string: '{"id": "4f513142-4374-4200-a9d6-b97d46bba472", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:12:29 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7a1b5919-1e74-4611-9347-2b79cb018c30 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:30 GMT + Pragma: + - no-cache + RequestId: + - 7ad3f757-66bb-41d2-8235-c310c44b0d84 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "4f513142-4374-4200-a9d6-b97d46bba472", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:31 GMT + Pragma: + - no-cache + RequestId: + - a8f25170-c15d-4ec6-9327-6fcfe5485b20 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/4f513142-4374-4200-a9d6-b97d46bba472 + response: + body: + string: '{"id": "4f513142-4374-4200-a9d6-b97d46bba472", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:12:31 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - a9dcdc2b-bd34-4660-8832-39eb631127ae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/4f513142-4374-4200-a9d6-b97d46bba472/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: + - '433' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:33 GMT + Pragma: + - no-cache + RequestId: + - ffb8a0d5-e6a8-48d6-a484-919e0dff4625 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:33 GMT + Pragma: + - no-cache + RequestId: + - 3e03ebae-ccc0-4b5f-ae2a-b740b04cee12 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "4f513142-4374-4200-a9d6-b97d46bba472", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:34 GMT + Pragma: + - no-cache + RequestId: + - 671b4816-4e4b-4ca7-b6de-362967a4ca6a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/4f513142-4374-4200-a9d6-b97d46bba472/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, 05 Feb 2026 09:12:36 GMT + Pragma: + - no-cache + RequestId: + - 1bf90985-8058-47f5-9401-32dacab6f22b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:36 GMT + Pragma: + - no-cache + RequestId: + - 22095543-4503-423b-91a5-47af31ae0ca9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "4f513142-4374-4200-a9d6-b97d46bba472", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:37 GMT + Pragma: + - no-cache + RequestId: + - 94780c17-26aa-4d9e-ab1f-d2bf21b0dfb3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/4f513142-4374-4200-a9d6-b97d46bba472 + 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, 05 Feb 2026 09:12:38 GMT + Pragma: + - no-cache + RequestId: + - b1ebc23a-44a7-4c91-b921-3ac9149d3ba2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..f2ffc4cb --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:39 GMT + Pragma: + - no-cache + RequestId: + - 526ff0aa-f2ed-46f4-b4a8-e4e902dffbfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:12:40 GMT + Pragma: + - no-cache + RequestId: + - 0824c3bd-43ae-4cdc-a0bf-40ceaedfd047 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:12:40 GMT + Pragma: + - no-cache + RequestId: + - e8aaac67-b28e-4a8c-b26d-216aedf319da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/kqlQuerysets + response: + body: + string: '{"id": "a03b91d1-0c29-4e63-94cd-1f742c9ef607", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:12:42 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3165f8fb-844a-4750-9b91-3ae213609715 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:44 GMT + Pragma: + - no-cache + RequestId: + - 137e86e2-9424-4039-aab9-670ca56c7a9a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a03b91d1-0c29-4e63-94cd-1f742c9ef607", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:45 GMT + Pragma: + - no-cache + RequestId: + - 6ad4ba6a-67a6-4834-ac7f-18001bc93966 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a03b91d1-0c29-4e63-94cd-1f742c9ef607 + response: + body: + string: '{"id": "a03b91d1-0c29-4e63-94cd-1f742c9ef607", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:12:45 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1d565706-5c42-417f-8e0c-8edf12157d60 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a03b91d1-0c29-4e63-94cd-1f742c9ef607/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: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:46 GMT + Pragma: + - no-cache + RequestId: + - 65d4c743-598f-4ed3-b2f5-c1b3d0bc0e02 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:46 GMT + Pragma: + - no-cache + RequestId: + - e03bf21c-d851-4928-bddf-e45572c89af7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a03b91d1-0c29-4e63-94cd-1f742c9ef607", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:47 GMT + Pragma: + - no-cache + RequestId: + - 3d047588-209e-412b-90b2-a3652a892e81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a03b91d1-0c29-4e63-94cd-1f742c9ef607/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, 05 Feb 2026 09:12:49 GMT + Pragma: + - no-cache + RequestId: + - 22275d1a-307f-4561-be04-95d30060feb6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:50 GMT + Pragma: + - no-cache + RequestId: + - ec1fcf5b-39bd-498e-90cf-f20a7bbb5687 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "a03b91d1-0c29-4e63-94cd-1f742c9ef607", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:12:50 GMT + Pragma: + - no-cache + RequestId: + - c03987d0-c387-46d8-8b1d-302fa8af1bd7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/a03b91d1-0c29-4e63-94cd-1f742c9ef607 + 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, 05 Feb 2026 09:12:50 GMT + Pragma: + - no-cache + RequestId: + - a5a93ce8-5f0c-423a-84dc-ee16e319934e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..3edd2591 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_import/test_import_update_existing_item_success[MirroredDatabase].yaml @@ -0,0 +1,721 @@ +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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:12:52 GMT + Pragma: + - no-cache + RequestId: + - bade7462-71bf-4746-9f91-d145c2b757fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:12:52 GMT + Pragma: + - no-cache + RequestId: + - 85b63db9-8333-4ca5-abc0-2ca077f32ef1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:12:52 GMT + Pragma: + - no-cache + RequestId: + - d3c61d73-44e2-45ea-9b94-39f2daeee8b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/mirroredDatabases + response: + body: + string: '{"id": "daa2c2f2-1a54-42b7-b92e-a01d3848ec15", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:12:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 747f8975-a13b-4777-b7f9-364b57b7ab7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:13:58 GMT + Pragma: + - no-cache + RequestId: + - 0a29420b-db17-423d-96d7-0af65db0bc75 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "130adb02-7837-49fc-8ed4-da8e3606353e", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "daa2c2f2-1a54-42b7-b92e-a01d3848ec15", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '232' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:13:59 GMT + Pragma: + - no-cache + RequestId: + - a21948d6-38c5-4ba8-84b9-e2b3809414fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/daa2c2f2-1a54-42b7-b92e-a01d3848ec15 + response: + body: + string: '{"id": "daa2c2f2-1a54-42b7-b92e-a01d3848ec15", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:14:00 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3350e547-8441-4245-b3d5-e21ec46bbc87 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/daa2c2f2-1a54-42b7-b92e-a01d3848ec15/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, 05 Feb 2026 09:14:01 GMT + Pragma: + - no-cache + RequestId: + - 22fa893b-11c3-4cde-b316-c913b1e7c189 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:14:01 GMT + Pragma: + - no-cache + RequestId: + - 7ca1b43b-3733-40b1-b616-a91f0e6ae3e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "130adb02-7837-49fc-8ed4-da8e3606353e", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "daa2c2f2-1a54-42b7-b92e-a01d3848ec15", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '232' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:14:02 GMT + Pragma: + - no-cache + RequestId: + - e3f2862e-2fe2-4088-b4da-1891ed3ad6b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/daa2c2f2-1a54-42b7-b92e-a01d3848ec15/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, 05 Feb 2026 09:14:04 GMT + Pragma: + - no-cache + RequestId: + - f6d24369-46e7-480d-aedb-f4b4ddd873dd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:14:05 GMT + Pragma: + - no-cache + RequestId: + - 7d318c73-cb44-4a72-9f35-0b42567e64fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "130adb02-7837-49fc-8ed4-da8e3606353e", "type": "SQLEndpoint", + "displayName": "fabcli000001", "description": "", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}, + {"id": "daa2c2f2-1a54-42b7-b92e-a01d3848ec15", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '232' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:14:06 GMT + Pragma: + - no-cache + RequestId: + - aae93441-f66a-4b56-bb25-b3fa0f2645d5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/daa2c2f2-1a54-42b7-b92e-a01d3848ec15 + 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, 05 Feb 2026 09:14:06 GMT + Pragma: + - no-cache + RequestId: + - 71eb297e-1371-470b-ab30-1188b9b6a244 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..005da1f8 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:14:07 GMT + Pragma: + - no-cache + RequestId: + - fcb8971c-b726-45ed-b280-27915ea6cc87 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:14:09 GMT + Pragma: + - no-cache + RequestId: + - 3949d3ef-a51f-4450-abc0-21757b02e69a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:14:09 GMT + Pragma: + - no-cache + RequestId: + - 0801c86c-9a86-4f48-a687-a7d398680a36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:14:11 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b45ed4ca-ad2a-41fe-b27f-fafd16242c66 + Pragma: + - no-cache + RequestId: + - c867f288-505b-400f-8214-92e8e7c4efdc + 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: + - b45ed4ca-ad2a-41fe-b27f-fafd16242c66 + 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/b45ed4ca-ad2a-41fe-b27f-fafd16242c66 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:14:11.1079182", + "lastUpdatedTimeUtc": "2026-02-05T09:14:12.4162726", "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, 05 Feb 2026 09:14:32 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b45ed4ca-ad2a-41fe-b27f-fafd16242c66/result + Pragma: + - no-cache + RequestId: + - ec657953-0502-41bd-bd4d-24c769ce638b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b45ed4ca-ad2a-41fe-b27f-fafd16242c66 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/b45ed4ca-ad2a-41fe-b27f-fafd16242c66/result + response: + body: + string: '{"id": "b7c1e9ec-6b3a-4907-bd14-f82de14324af", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:14:34 GMT + Pragma: + - no-cache + RequestId: + - 9718335b-8c1f-4300-b40b-496794bc8737 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:14:34 GMT + Pragma: + - no-cache + RequestId: + - ee36e4b1-29d7-49fe-9c54-62c0941b94ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "b7c1e9ec-6b3a-4907-bd14-f82de14324af", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:14:35 GMT + Pragma: + - no-cache + RequestId: + - 31962930-5613-4ae1-8a88-0b1bc4a13cb7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b7c1e9ec-6b3a-4907-bd14-f82de14324af + response: + body: + string: '{"id": "b7c1e9ec-6b3a-4907-bd14-f82de14324af", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:14:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 69fa7cbc-7490-470a-bc45-e7fa9577abdd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b7c1e9ec-6b3a-4907-bd14-f82de14324af/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, 05 Feb 2026 09:14:37 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e4311122-4212-4df0-affc-32d892a5af15 + Pragma: + - no-cache + RequestId: + - c3b72019-36cb-4ba2-a1f7-2cc1136b2b66 + 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: + - e4311122-4212-4df0-affc-32d892a5af15 + 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/e4311122-4212-4df0-affc-32d892a5af15 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:14:37.5784527", + "lastUpdatedTimeUtc": "2026-02-05T09:14:37.8752927", "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, 05 Feb 2026 09:14:59 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/e4311122-4212-4df0-affc-32d892a5af15/result + Pragma: + - no-cache + RequestId: + - fce372c2-fca7-41ae-bccd-927a3a90ed69 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - e4311122-4212-4df0-affc-32d892a5af15 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/e4311122-4212-4df0-affc-32d892a5af15/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, 05 Feb 2026 09:14:59 GMT + Pragma: + - no-cache + RequestId: + - fb4e5396-8dc1-4e34-8327-0b55ad5f297e + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:01 GMT + Pragma: + - no-cache + RequestId: + - bbc699c6-ccac-4083-b514-cdd74b72ac9b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "b7c1e9ec-6b3a-4907-bd14-f82de14324af", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:15:02 GMT + Pragma: + - no-cache + RequestId: + - c7beccee-67c4-4445-b4fc-464b6af52f3f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b7c1e9ec-6b3a-4907-bd14-f82de14324af/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, 05 Feb 2026 09:15:03 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/305d374b-ffc0-4d49-89a8-25f3a545d118 + Pragma: + - no-cache + RequestId: + - df98ccdb-afcb-4d40-9e4a-468243345186 + 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: + - 305d374b-ffc0-4d49-89a8-25f3a545d118 + 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/305d374b-ffc0-4d49-89a8-25f3a545d118 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:15:03.534972", + "lastUpdatedTimeUtc": "2026-02-05T09:15:03.816224", "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: + - Thu, 05 Feb 2026 09:15:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/305d374b-ffc0-4d49-89a8-25f3a545d118/result + Pragma: + - no-cache + RequestId: + - bfaf2af0-9aba-4e3e-a06e-486be5f15bb5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 305d374b-ffc0-4d49-89a8-25f3a545d118 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/305d374b-ffc0-4d49-89a8-25f3a545d118/result + response: + body: + string: '{"id": "b7c1e9ec-6b3a-4907-bd14-f82de14324af", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:15:26 GMT + Pragma: + - no-cache + RequestId: + - 02f10091-6383-4fc8-9a26-ff70a5aa0700 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:27 GMT + Pragma: + - no-cache + RequestId: + - 93459792-f38a-497e-aa9f-aee7c67ef407 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "b7c1e9ec-6b3a-4907-bd14-f82de14324af", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:15:26 GMT + Pragma: + - no-cache + RequestId: + - 90a6acc0-7ef1-4cec-bd0f-9f2beeffcc14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b7c1e9ec-6b3a-4907-bd14-f82de14324af + 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, 05 Feb 2026 09:15:27 GMT + Pragma: + - no-cache + RequestId: + - 93ba3460-6b20-4d83-bf00-2d8c70394523 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..a8bcfa91 --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:28 GMT + Pragma: + - no-cache + RequestId: + - e9f000b3-933c-47fa-8bc4-62fadd92ea64 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:15:29 GMT + Pragma: + - no-cache + RequestId: + - 21bbe80f-a070-4042-8ff8-b5a9efc66e3a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:15:30 GMT + Pragma: + - no-cache + RequestId: + - 22dbc149-72ca-403c-b029-cf8364357a40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/reflexes + response: + body: + string: '{"id": "98635d7e-9fcf-499c-8613-c8cc4170d749", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:15:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 74137213-3822-40cb-aa71-3b1a41099bea + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:34 GMT + Pragma: + - no-cache + RequestId: + - 92dc7d0e-3fe5-492d-9ebb-fc0c830c0bb2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "98635d7e-9fcf-499c-8613-c8cc4170d749", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:15:35 GMT + Pragma: + - no-cache + RequestId: + - acbc6a0a-e432-43b0-baa5-04360b1072fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/98635d7e-9fcf-499c-8613-c8cc4170d749 + response: + body: + string: '{"id": "98635d7e-9fcf-499c-8613-c8cc4170d749", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:15:35 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 6aaf54bc-5974-4aee-b7b2-075b879c37a3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/98635d7e-9fcf-499c-8613-c8cc4170d749/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, 05 Feb 2026 09:15:37 GMT + Pragma: + - no-cache + RequestId: + - b74318f9-18a2-43b1-ad0c-486880bb4514 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:38 GMT + Pragma: + - no-cache + RequestId: + - dda5c68b-dffc-47b3-9899-6858884f2386 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "98635d7e-9fcf-499c-8613-c8cc4170d749", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:15:38 GMT + Pragma: + - no-cache + RequestId: + - 6c2254ee-ff25-4f30-8ab2-18f1da2325ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/98635d7e-9fcf-499c-8613-c8cc4170d749/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, 05 Feb 2026 09:15:41 GMT + Pragma: + - no-cache + RequestId: + - 87c45bb9-0a69-482d-be72-5b621ad182d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:41 GMT + Pragma: + - no-cache + RequestId: + - bf9f2cc2-9f2b-4458-9517-1969a02eae93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "98635d7e-9fcf-499c-8613-c8cc4170d749", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:15:42 GMT + Pragma: + - no-cache + RequestId: + - 48339406-fcfd-4767-8962-ec9e0d764b92 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/98635d7e-9fcf-499c-8613-c8cc4170d749 + 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, 05 Feb 2026 09:15:44 GMT + Pragma: + - no-cache + RequestId: + - 5d2b311e-078c-4ddb-a274-3b1162d03bb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..997f3a6b --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:45 GMT + Pragma: + - no-cache + RequestId: + - e9238deb-b94c-4eab-bdfa-18aa767d20d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:15:45 GMT + Pragma: + - no-cache + RequestId: + - 7a173839-55a8-4abc-9ca5-8f8985f3ac3c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:15:46 GMT + Pragma: + - no-cache + RequestId: + - d95394fa-fd36-4b70-a536-3051b0a031f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/sparkJobDefinitions + response: + body: + string: '{"id": "b000486b-7060-43b3-9d07-6635c61415a7", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:15:48 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - cb6f4a43-df38-4ee6-9b70-fe21703937e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:48 GMT + Pragma: + - no-cache + RequestId: + - d494e3f8-2dee-487e-9c96-ee4ac6a6ea01 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "b000486b-7060-43b3-9d07-6635c61415a7", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '186' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:49 GMT + Pragma: + - no-cache + RequestId: + - 381d2c50-e1a9-4cef-8921-11c80fd3f6e4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b000486b-7060-43b3-9d07-6635c61415a7 + response: + body: + string: '{"id": "b000486b-7060-43b3-9d07-6635c61415a7", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:15:49 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - eefc3949-d83e-498b-8faa-d466b6f4ca95 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b000486b-7060-43b3-9d07-6635c61415a7/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, 05 Feb 2026 09:15:51 GMT + Pragma: + - no-cache + RequestId: + - 3f699c8f-f20f-46f3-9202-52d33c43ff07 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:51 GMT + Pragma: + - no-cache + RequestId: + - 264831e9-4995-4690-b982-dcf8bc49877c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "b000486b-7060-43b3-9d07-6635c61415a7", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '186' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:51 GMT + Pragma: + - no-cache + RequestId: + - 7b9363ff-9ca1-402e-9921-d8d3690b522b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b000486b-7060-43b3-9d07-6635c61415a7/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, 05 Feb 2026 09:15:53 GMT + Pragma: + - no-cache + RequestId: + - e3205f28-ae9a-43da-80a0-d638a9977f80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:54 GMT + Pragma: + - no-cache + RequestId: + - 52a6c0e4-87fd-4591-ab54-8358d2858b99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "b000486b-7060-43b3-9d07-6635c61415a7", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '186' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:15:55 GMT + Pragma: + - no-cache + RequestId: + - fd3f9b6b-2b4a-47e1-99aa-41bb5f2ee56f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/b000486b-7060-43b3-9d07-6635c61415a7 + 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, 05 Feb 2026 09:15:55 GMT + Pragma: + - no-cache + RequestId: + - 683d332e-cb76-4d6b-b6b3-a0f865884a85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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..f393c40c --- /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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:17:16 GMT + Pragma: + - no-cache + RequestId: + - 1ed2456b-18d0-420c-a892-ed790318ae89 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:17:17 GMT + Pragma: + - no-cache + RequestId: + - 4cc9cdf3-fa22-45f8-af08-a3e33c83f47c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/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, 05 Feb 2026 09:17:17 GMT + Pragma: + - no-cache + RequestId: + - 66b78cae-b941-486a-95d4-cf74ce22d238 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/userdatafunctions + response: + body: + string: '{"id": "10008068-3f88-47ee-929e-196e1942d19c", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:17:20 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 946f0e11-7b4a-4dd2-ae00-0afdb052b267 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:17:21 GMT + Pragma: + - no-cache + RequestId: + - f092bfe5-0f7d-4f9d-abce-847417a6aa28 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "10008068-3f88-47ee-929e-196e1942d19c", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:17:22 GMT + Pragma: + - no-cache + RequestId: + - 040fbaa0-1931-40af-9c38-25dba4482d15 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/10008068-3f88-47ee-929e-196e1942d19c + response: + body: + string: '{"id": "10008068-3f88-47ee-929e-196e1942d19c", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + 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, 05 Feb 2026 09:17:23 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d303168a-6109-4e6d-9980-2ddba041303f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/10008068-3f88-47ee-929e-196e1942d19c/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, 05 Feb 2026 09:17:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ad75b841-8d38-4df0-b7d8-37e2fa33b3fc + Pragma: + - no-cache + RequestId: + - be7472cc-2bc7-4c7a-a5fd-5cff079a6dbe + 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: + - ad75b841-8d38-4df0-b7d8-37e2fa33b3fc + 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/ad75b841-8d38-4df0-b7d8-37e2fa33b3fc + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:17:24.8500531", + "lastUpdatedTimeUtc": "2026-02-05T09:17:25.0531462", "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, 05 Feb 2026 09:17:45 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ad75b841-8d38-4df0-b7d8-37e2fa33b3fc/result + Pragma: + - no-cache + RequestId: + - 7d66ad24-d77c-45d9-a264-507d61e2006b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ad75b841-8d38-4df0-b7d8-37e2fa33b3fc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/ad75b841-8d38-4df0-b7d8-37e2fa33b3fc/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: + - Thu, 05 Feb 2026 09:17:47 GMT + Pragma: + - no-cache + RequestId: + - fc16f079-1b97-4c94-a167-d0cbeb33166f + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:17:47 GMT + Pragma: + - no-cache + RequestId: + - ef710cd0-0b2b-4594-a1cf-bcc9a36004ab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "10008068-3f88-47ee-929e-196e1942d19c", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:17:48 GMT + Pragma: + - no-cache + RequestId: + - 15879a7a-a668-4999-9784-38cbeacb800c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/10008068-3f88-47ee-929e-196e1942d19c/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, 05 Feb 2026 09:17:50 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f3e0c4df-c895-4ea5-bab8-2567617509c7 + Pragma: + - no-cache + RequestId: + - 134afa27-c7ba-4f1b-a06f-7393365e169c + 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: + - f3e0c4df-c895-4ea5-bab8-2567617509c7 + 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/f3e0c4df-c895-4ea5-bab8-2567617509c7 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-05T09:17:50.6221052", + "lastUpdatedTimeUtc": "2026-02-05T09:17:50.7627505", "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, 05 Feb 2026 09:18:12 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/f3e0c4df-c895-4ea5-bab8-2567617509c7/result + Pragma: + - no-cache + RequestId: + - 9958e657-4e84-44fc-9c1f-c49482d43f5d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - f3e0c4df-c895-4ea5-bab8-2567617509c7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + 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/f3e0c4df-c895-4ea5-bab8-2567617509c7/result + response: + body: + string: '{"id": "10008068-3f88-47ee-929e-196e1942d19c", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Thu, 05 Feb 2026 09:18:12 GMT + Pragma: + - no-cache + RequestId: + - d3fc0a28-527d-41c6-8b92-3aac0a350ee4 + 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": "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7", + "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: + - '2802' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 05 Feb 2026 09:18:13 GMT + Pragma: + - no-cache + RequestId: + - d2e9c99b-751d-4c9e-b5f5-9a8de0119f7b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items + response: + body: + string: '{"value": [{"id": "10008068-3f88-47ee-929e-196e1942d19c", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "9d87cc0b-41e2-4c24-adf9-1912f9df0ca7"}]}' + 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, 05 Feb 2026 09:18:14 GMT + Pragma: + - no-cache + RequestId: + - 16058d93-c11d-4156-bcad-b6375d6aeabe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - 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/9d87cc0b-41e2-4c24-adf9-1912f9df0ca7/items/10008068-3f88-47ee-929e-196e1942d19c + 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, 05 Feb 2026 09:18:15 GMT + Pragma: + - no-cache + RequestId: + - e374af28-ee7e-4ad9-b316-8330e1334a01 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-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 1ee9ed84..fc6327c9 100644 --- a/tests/test_commands/test_import.py +++ b/tests/test_commands/test_import.py @@ -15,532 +15,54 @@ from fabric_cli.core import fab_handle_context as handle_context from fabric_cli.core.fab_types import ItemType from tests.test_commands.commands_parser import CLIExecutor +from tests.test_commands.processors import cassette_resource_counters from tests.test_commands.utils import cli_path_join +from tests.test_commands.conftest import ( + import_update_existing_item_success_params, + import_create_new_item_success_params, + import_create_new_item_fail_params, +) new_name_index = 1 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, - ) + @pytest.fixture(scope="class", autouse=True) + def reset_counter(self): + cassette_resource_counters.clear() + yield - def test_import_create_new_reflex_item_success( + # region Parametrized Tests + @import_update_existing_item_success_params + 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( + @import_create_new_item_success_params + def test_import_create_new_item_success( self, + item_type, item_factory, mock_print_done, tmp_path, @@ -556,105 +78,14 @@ 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( + @import_create_new_item_fail_params + def test_import_create_new_item_fail( self, + item_type, workspace, mock_print_done, tmp_path, @@ -671,101 +102,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 @@ -915,13 +289,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(