-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract PBI subscription metadata (#599)
* Extract PBI subscription metadata * Update models version * Improve test coverage * Improve test coverage
- Loading branch information
Showing
11 changed files
with
311 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "metaphor-connectors" | ||
version = "0.12.45" | ||
version = "0.12.46" | ||
license = "Apache-2.0" | ||
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app." | ||
authors = ["Metaphor <[email protected]>"] | ||
|
@@ -29,7 +29,7 @@ google-cloud-logging = { version = "^3.5.0", optional = true } | |
jsonschema = "^4.18.6" | ||
lkml = { version = "^1.3.1", optional = true } | ||
looker-sdk = { version = "^23.6.0", optional = true } | ||
metaphor-models = "0.26.7" | ||
metaphor-models = "0.26.9" | ||
msal = { version = "^1.20.0", optional = true } | ||
pycarlo = { version = "^0.8.1", optional = true } | ||
pydantic = "^1.10.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"SubscriptionEntities": [ | ||
{ | ||
"id": "some-uuid", | ||
"title": "Subscription title", | ||
"artifactId": "dashboard-uuid", | ||
"artifactDisplayName": "Report Name", | ||
"subArtifactDisplayName": "Page Name", | ||
"artifactType": "Report", | ||
"isEnabled": true, | ||
"frequency": "Daily", | ||
"startDate": "9/12/2023 12:00:00 AM", | ||
"endDate": "9/12/2024 12:00:00 AM", | ||
"linkToContent": true, | ||
"previewImage": true, | ||
"attachmentFormat": "PNG", | ||
"owner": { | ||
"emailAddress": "[email protected]", | ||
"displayName": "Test account", | ||
"identifier": "[email protected]", | ||
"graphId": "user-uuid", | ||
"principalType": "User" | ||
}, | ||
"users": [] | ||
} | ||
], | ||
"continuationUri": "https://continuationUri.url/", | ||
"continuationToken": "token" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,7 +306,23 @@ | |
"workspace": { | ||
"id": "workspace-1", | ||
"name": "Workspace" | ||
} | ||
}, | ||
"subscriptions": [ | ||
{ | ||
"artifactDisplayName": "Dashboard A", | ||
"endDate": "2000-09-06T00:13:52+00:00", | ||
"startDate": "1998-11-30T17:05:52+00:00", | ||
"frequency": "Daily", | ||
"id": "subscription-1", | ||
"title": "First Subscription", | ||
"users": [ | ||
{ | ||
"displayName": "Metaphor", | ||
"emailAddress": "[email protected]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"title": "Dashboard A" | ||
}, | ||
|
Oops, something went wrong.