From 4498f54fe86e98903aa1f424caeb94a06a0f8082 Mon Sep 17 00:00:00 2001 From: Siddique Bagwan Date: Tue, 5 Nov 2024 09:55:38 +0530 Subject: [PATCH] update golden files --- .../golden_test_admin_access_not_allowed.json | 12 +- .../powerbi/golden_test_admin_only.json | 20 +-- .../integration/powerbi/golden_test_cll.json | 132 +++++++++--------- .../powerbi/golden_test_container.json | 32 ++--- .../powerbi/golden_test_endorsement.json | 132 +++++++++--------- .../powerbi/golden_test_ingest.json | 132 +++++++++--------- .../golden_test_ingest_patch_disabled.json | 132 +++++++++--------- .../powerbi/golden_test_lineage.json | 132 +++++++++--------- .../golden_test_lower_case_urn_ingest.json | 132 +++++++++--------- .../powerbi/golden_test_personal_ingest.json | 94 ++++++------- .../golden_test_platform_instance_ingest.json | 132 +++++++++--------- .../powerbi/golden_test_report.json | 20 +-- ...lden_test_server_to_platform_instance.json | 132 +++++++++--------- 13 files changed, 617 insertions(+), 617 deletions(-) diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_admin_access_not_allowed.json b/metadata-ingestion/tests/integration/powerbi/golden_test_admin_access_not_allowed.json index 049008bddc58e..1394a140b0a24 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_admin_access_not_allowed.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_admin_access_not_allowed.json @@ -1,7 +1,7 @@ [ { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -17,7 +17,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -402,11 +402,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -445,7 +445,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -461,7 +461,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_admin_only.json b/metadata-ingestion/tests/integration/powerbi/golden_test_admin_only.json index 5cfa4ec80c643..b83127e6f13b0 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_admin_only.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_admin_only.json @@ -875,7 +875,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -891,7 +891,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -1302,11 +1302,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1922,7 +1922,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -1938,7 +1938,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -2074,11 +2074,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -2117,7 +2117,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -2133,7 +2133,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_cll.json b/metadata-ingestion/tests/integration/powerbi/golden_test_cll.json index 04dfd3bab3c0b..8e06ba9a80906 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_cll.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_cll.json @@ -17,22 +17,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -71,22 +55,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -992,6 +960,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dashboard", "entityUrn": "urn:li:dashboard:(powerbi,dashboards.7D668CAD-7FFC-4505-9215-655BCA5BEBAE)", @@ -1159,11 +1159,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1200,38 +1200,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.job-history,DEV)", @@ -1503,5 +1471,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_container.json b/metadata-ingestion/tests/integration/powerbi/golden_test_container.json index e8be3aa9c0ac7..34959c7a4f924 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_container.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_container.json @@ -1336,7 +1336,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -1352,7 +1352,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -1802,11 +1802,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -2578,7 +2578,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -2594,7 +2594,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -3024,11 +3024,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -4036,7 +4036,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User3@foo.com", + "entityUrn": "urn:li:corpuser:User3@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -4052,7 +4052,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User4@foo.com", + "entityUrn": "urn:li:corpuser:User4@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -4180,11 +4180,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User3@foo.com", + "owner": "urn:li:corpuser:User3@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User4@foo.com", + "owner": "urn:li:corpuser:User4@foo.com", "type": "NONE" } ], @@ -4240,7 +4240,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -4256,7 +4256,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -4272,7 +4272,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User3@foo.com", + "entityUrn": "urn:li:corpuser:User3@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -4288,7 +4288,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User4@foo.com", + "entityUrn": "urn:li:corpuser:User4@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_endorsement.json b/metadata-ingestion/tests/integration/powerbi/golden_test_endorsement.json index 3c02b146a900c..07bb4f9aaad44 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_endorsement.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_endorsement.json @@ -71,22 +71,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -105,22 +89,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "chart", "entityUrn": "urn:li:chart:(powerbi,charts.23212598-23b5-4980-87cc-5fc0ecd84385)", @@ -458,22 +426,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -514,22 +466,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -910,6 +846,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.dbo_book_issue,DEV)", @@ -1119,11 +1087,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1327,5 +1295,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_ingest.json b/metadata-ingestion/tests/integration/powerbi/golden_test_ingest.json index 8290d996742f8..4bbd2e2b06542 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_ingest.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_ingest.json @@ -17,22 +17,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -71,22 +55,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -400,22 +368,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -454,22 +406,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -781,6 +717,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.snowflake_native-query-with-join,DEV)", @@ -1133,11 +1101,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1171,5 +1139,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_ingest_patch_disabled.json b/metadata-ingestion/tests/integration/powerbi/golden_test_ingest_patch_disabled.json index cc20051f9525b..a943472f307e5 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_ingest_patch_disabled.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_ingest_patch_disabled.json @@ -17,22 +17,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -71,22 +55,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -400,22 +368,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -454,22 +406,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -781,6 +717,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.snowflake_native-query-with-join,DEV)", @@ -1103,11 +1071,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1141,5 +1109,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_lineage.json b/metadata-ingestion/tests/integration/powerbi/golden_test_lineage.json index af3f20260af23..df56bdc45db76 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_lineage.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_lineage.json @@ -17,22 +17,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-lineage-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -71,22 +55,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-lineage-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -432,22 +400,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-lineage-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -466,22 +418,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-lineage-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -929,6 +865,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-lineage-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-lineage-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.dbo_book_issue,DEV)", @@ -1136,11 +1104,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1354,5 +1322,37 @@ "runId": "powerbi-lineage-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-lineage-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-lineage-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_lower_case_urn_ingest.json b/metadata-ingestion/tests/integration/powerbi/golden_test_lower_case_urn_ingest.json index f4cd657b860e0..4c27dec3c6752 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_lower_case_urn_ingest.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_lower_case_urn_ingest.json @@ -17,22 +17,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,myplatforminstance.library-dataset.public_issue_history,PROD)", @@ -89,22 +73,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,myplatforminstance.library-dataset.snowflake_testtable,PROD)", @@ -179,38 +147,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,myplatforminstance.library-dataset.snowflake_native-query,PROD)", @@ -664,11 +600,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -794,6 +730,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,myplatforminstance.hr_pbi_test.ms_sql_native_table,PROD)", @@ -1183,5 +1151,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_personal_ingest.json b/metadata-ingestion/tests/integration/powerbi/golden_test_personal_ingest.json index f8c0fdc17c880..599ee4480ed85 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_personal_ingest.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_personal_ingest.json @@ -70,13 +70,15 @@ } }, { - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityType": "dashboard", + "entityUrn": "urn:li:dashboard:(powerbi,dashboards.7D668CAD-7FFC-4505-9215-655BCA5BEBAE)", "changeType": "UPSERT", - "aspectName": "corpUserKey", + "aspectName": "browsePaths", "aspect": { "json": { - "username": "User1@foo.com" + "paths": [ + "/powerbi/Jane Smith Workspace" + ] } }, "systemMetadata": { @@ -87,12 +89,12 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", - "aspectName": "status", + "aspectName": "corpUserKey", "aspect": { "json": { - "removed": false + "username": "User1@foo.com" } }, "systemMetadata": { @@ -102,15 +104,13 @@ } }, { - "entityType": "dashboard", - "entityUrn": "urn:li:dashboard:(powerbi,dashboards.7D668CAD-7FFC-4505-9215-655BCA5BEBAE)", + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", - "aspectName": "browsePaths", + "aspectName": "corpUserKey", "aspect": { "json": { - "paths": [ - "/powerbi/Jane Smith Workspace" - ] + "username": "User2@foo.com" } }, "systemMetadata": { @@ -194,22 +194,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dashboard", "entityUrn": "urn:li:dashboard:(powerbi,dashboards.7D668CAD-7FFC-4505-9215-655BCA5BEBAE)", @@ -259,22 +243,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dashboard", "entityUrn": "urn:li:dashboard:(powerbi,dashboards.7D668CAD-7FFC-4505-9215-655BCA5BEBAE)", @@ -284,11 +252,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -325,5 +293,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_platform_instance_ingest.json b/metadata-ingestion/tests/integration/powerbi/golden_test_platform_instance_ingest.json index e75557982da58..b2ec0f7a67a96 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_platform_instance_ingest.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_platform_instance_ingest.json @@ -356,11 +356,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -543,70 +543,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "chart", "entityUrn": "urn:li:chart:(powerbi,aws-ap-south-1.charts.B8E293DC-0C83-4AA0-9BB9-0A8738DF24A0)", @@ -829,6 +765,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,aws-ap-south-1.library-dataset.postgres_test_table,DEV)", @@ -1183,5 +1151,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_report.json b/metadata-ingestion/tests/integration/powerbi/golden_test_report.json index f6248db9008af..1805272b84d48 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_report.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_report.json @@ -667,7 +667,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -683,7 +683,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -1099,11 +1099,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1660,7 +1660,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -1676,7 +1676,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "corpUserKey", "aspect": { @@ -2072,11 +2072,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -2766,7 +2766,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", + "entityUrn": "urn:li:corpuser:User1@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -2782,7 +2782,7 @@ }, { "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", + "entityUrn": "urn:li:corpuser:User2@foo.com", "changeType": "UPSERT", "aspectName": "status", "aspect": { diff --git a/metadata-ingestion/tests/integration/powerbi/golden_test_server_to_platform_instance.json b/metadata-ingestion/tests/integration/powerbi/golden_test_server_to_platform_instance.json index db5af68508f10..bcf7b76285110 100644 --- a/metadata-ingestion/tests/integration/powerbi/golden_test_server_to_platform_instance.json +++ b/metadata-ingestion/tests/integration/powerbi/golden_test_server_to_platform_instance.json @@ -17,22 +17,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User2@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -71,22 +55,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User2@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)", @@ -432,22 +400,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "corpUserKey", - "aspect": { - "json": { - "username": "User1@foo.com" - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -488,22 +440,6 @@ "lastRunId": "no-run-id-provided" } }, -{ - "entityType": "corpuser", - "entityUrn": "urn:li:corpuser:users.User1@foo.com", - "changeType": "UPSERT", - "aspectName": "status", - "aspect": { - "json": { - "removed": false - } - }, - "systemMetadata": { - "lastObserved": 1643871600000, - "runId": "powerbi-test", - "lastRunId": "no-run-id-provided" - } -}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)", @@ -954,6 +890,38 @@ "lastRunId": "no-run-id-provided" } }, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User1@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "corpUserKey", + "aspect": { + "json": { + "username": "User2@foo.com" + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, { "entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.dbo_book_issue,DEV)", @@ -1161,11 +1129,11 @@ "json": { "owners": [ { - "owner": "urn:li:corpuser:users.User1@foo.com", + "owner": "urn:li:corpuser:User1@foo.com", "type": "NONE" }, { - "owner": "urn:li:corpuser:users.User2@foo.com", + "owner": "urn:li:corpuser:User2@foo.com", "type": "NONE" } ], @@ -1379,5 +1347,37 @@ "runId": "powerbi-test", "lastRunId": "no-run-id-provided" } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User1@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } +}, +{ + "entityType": "corpuser", + "entityUrn": "urn:li:corpuser:User2@foo.com", + "changeType": "UPSERT", + "aspectName": "status", + "aspect": { + "json": { + "removed": false + } + }, + "systemMetadata": { + "lastObserved": 1643871600000, + "runId": "powerbi-test", + "lastRunId": "no-run-id-provided" + } } ] \ No newline at end of file