mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 01:40:00 +00:00

* Domo issue * added pydantic models and changes as per comment * Fix: added ownership details * fixed pytest
777 lines
28 KiB
JSON
777 lines
28 KiB
JSON
[
|
|
[
|
|
{
|
|
"id":"552315335",
|
|
"page":{
|
|
"pageId":552315335,
|
|
"ownerId":1027954122,
|
|
"owners":[
|
|
{
|
|
"id":1027954122,
|
|
"type":"USER",
|
|
"displayName":"Nihar Doshi"
|
|
}
|
|
],
|
|
"type":"page",
|
|
"title":"New Dashboard",
|
|
"pageName":"New Dashboard",
|
|
"created":1665063179000,
|
|
"updated":1665144338903,
|
|
"locked":false,
|
|
"mobileEnabled":true,
|
|
"sharedViewPage":true,
|
|
"virtualPage":false,
|
|
"isOwner":true
|
|
},
|
|
"type":"page",
|
|
"title":"New Dashboard",
|
|
"description": "TOP SALESPEOPLE\nDisplays the top 10 salespeople by won revenue. Identify over-performers and understand the secrets to their success.",
|
|
"sizes":[
|
|
{
|
|
"id":"1108771657",
|
|
"size":""
|
|
},
|
|
{
|
|
"id":"2025899139",
|
|
"size":""
|
|
},
|
|
{
|
|
"id":"1985861713",
|
|
"size":""
|
|
}
|
|
],
|
|
"cards":[
|
|
{
|
|
"metadata":{
|
|
"chartType":"badge_bubble",
|
|
"chartVersion":"6",
|
|
"currentLabel":"Deals Won in Period",
|
|
"allTime":"{\"groupName\":\"Other\",\"name\":\"DEFAULT\",\"type\":\"Other\",\"selected\":true,\"estimatedSeconds\":-1,\"dateLabel\":\"\",\"column\":\"CreatedDate\"}",
|
|
"calendar":"default",
|
|
"columnAliases":"{\"Owner.Name\":\"Owner.Name\",\"IsWon\":\"IsWon\",\"Amount\":\"Amount\"}",
|
|
"columnFormats":"{\"Amount\":{\"type\":\"currency\",\"format\":\"###,###\",\"commas\":true,\"percentMultiplied\":true,\"precision\":0,\"currency\":\"$\",\"percent\":false}}",
|
|
"SummaryNumberFormat":"{\"type\":\"number\",\"format\":\"0A\"}"
|
|
},
|
|
"drillPathURNs":[
|
|
|
|
],
|
|
"subscriptions":[
|
|
{
|
|
"cardId":1108771657,
|
|
"dataSourceId":"1eb93e0f-a262-4f62-a948-ad9a52b5d0b5",
|
|
"dataSourceName":"Salesforce",
|
|
"componentName":"big_number",
|
|
"subscription":{
|
|
"name":"big_number",
|
|
"dataSourceId":"1eb93e0f-a262-4f62-a948-ad9a52b5d0b5",
|
|
"columns":[
|
|
{
|
|
"formulaId":"calculation_99429b3c-36eb-40d8-90a5-a59d76e4d242",
|
|
"alias":"Deals Won in Period",
|
|
"format":{
|
|
"type":"abbreviated",
|
|
"format":"0"
|
|
}
|
|
}
|
|
],
|
|
"filters":[
|
|
|
|
],
|
|
"orderBy":[
|
|
|
|
],
|
|
"groupBy":[
|
|
|
|
],
|
|
"fiscal":false,
|
|
"projection":false,
|
|
"distinct":false,
|
|
"limit":1
|
|
},
|
|
"displayType":"sample-data",
|
|
"dataType":"publicsampledata",
|
|
"providerType":"publicsampledata"
|
|
},
|
|
{
|
|
"cardId":1108771657,
|
|
"dataSourceId":"1eb93e0f-a262-4f62-a948-ad9a52b5d0b5",
|
|
"dataSourceName":"Salesforce",
|
|
"componentName":"main",
|
|
"subscription":{
|
|
"name":"main",
|
|
"dataSourceId":"1eb93e0f-a262-4f62-a948-ad9a52b5d0b5",
|
|
"columns":[
|
|
{
|
|
"column":"IsWon",
|
|
"aggregation":"COUNT",
|
|
"mapping":"XTIME"
|
|
},
|
|
{
|
|
"column":"Amount",
|
|
"aggregation":"AVG",
|
|
"mapping":"VALUE"
|
|
},
|
|
{
|
|
"column":"Owner.Name",
|
|
"mapping":"SERIES"
|
|
},
|
|
{
|
|
"column":"Amount",
|
|
"aggregation":"SUM",
|
|
"mapping":"BUBBLESIZE",
|
|
"format":{
|
|
"type":"currency",
|
|
"format":"###,###",
|
|
"commas":true,
|
|
"percentMultiplied":true,
|
|
"precision":0,
|
|
"currency":"$",
|
|
"percent":false
|
|
}
|
|
}
|
|
],
|
|
"filters":[
|
|
{
|
|
"column":"IsWon",
|
|
"values":[
|
|
"true"
|
|
],
|
|
"filterType":"LEGACY",
|
|
"operand":"IN"
|
|
}
|
|
],
|
|
"dateRangeFilter":{
|
|
"column":{
|
|
"column":"CreatedDate",
|
|
"exprType":"COLUMN"
|
|
},
|
|
"dateTimeRange":{
|
|
"dateTimeRangeType":"INTERVAL_OFFSET",
|
|
"interval":"QUARTER",
|
|
"offset":1,
|
|
"count":0
|
|
}
|
|
},
|
|
"dateGrain":{
|
|
"column":"CreatedDate"
|
|
},
|
|
"orderBy":[
|
|
{
|
|
"column":"Amount",
|
|
"aggregation":"SUM",
|
|
"order":"DESCENDING"
|
|
}
|
|
],
|
|
"groupBy":[
|
|
{
|
|
"column":"Owner.Name"
|
|
}
|
|
],
|
|
"fiscal":false,
|
|
"projection":false,
|
|
"distinct":false,
|
|
"limit":10
|
|
},
|
|
"displayType":"sample-data",
|
|
"dataType":"publicsampledata",
|
|
"providerType":"publicsampledata"
|
|
}
|
|
],
|
|
"owners":[
|
|
{
|
|
"id":"27",
|
|
"type":"USER",
|
|
"displayName":"DomoSupport"
|
|
}
|
|
],
|
|
"slicers":[
|
|
|
|
],
|
|
"dateInfo":{
|
|
"dateRange":{
|
|
"columnName":"CreatedDate",
|
|
"columnDataType":"DATETIME",
|
|
"dateRangeFilter":{
|
|
"column":{
|
|
"column":"CreatedDate",
|
|
"exprType":"COLUMN"
|
|
},
|
|
"dateTimeRange":{
|
|
"dateTimeRangeType":"INTERVAL_OFFSET",
|
|
"interval":"QUARTER",
|
|
"offset":1,
|
|
"count":0
|
|
}
|
|
}
|
|
},
|
|
"dateGrain":{
|
|
"columnName":"CreatedDate",
|
|
"columnDataType":"DATETIME"
|
|
}
|
|
},
|
|
"datasources":[
|
|
{
|
|
"dataSourceId":"1eb93e0f-a262-4f62-a948-ad9a52b5d0b5",
|
|
"dataSourceName":"Salesforce",
|
|
"displayType":"sample-data",
|
|
"dataType":"publicsampledata",
|
|
"providerType":"publicsampledata",
|
|
"isSampleData":true,
|
|
"lastUpdated":"None",
|
|
"adc":false,
|
|
"phase":"None",
|
|
"state":"IDLE"
|
|
}
|
|
],
|
|
"certification":{
|
|
"state":"NOT_CERTIFIED",
|
|
"adminCertified":false
|
|
},
|
|
"urn":"1108771657",
|
|
"id":1108771657,
|
|
"type":"kpi",
|
|
"created":1663152634,
|
|
"badgeUpdated":1663152634000,
|
|
"creatorId":27,
|
|
"ownerId":27,
|
|
"description":"TOP SALESPEOPLE\nDisplays the top 10 salespeople by won revenue. Identify over-performers and understand the secrets to their success.",
|
|
"title":"Top Salespeople",
|
|
"active":true,
|
|
"allowTableDrill":true,
|
|
"locked":false,
|
|
"access":true,
|
|
"isCurrentUserOwner":false
|
|
},
|
|
{
|
|
"metadata":{
|
|
"chartType":"badge_vert_stackedbar",
|
|
"chartVersion":"9",
|
|
"currentLabel":"Sum of customer_id",
|
|
"historyId":"85648f16-52ca-4a3d-9516-bf3298715a2e",
|
|
"calendar":"default",
|
|
"columnAliases":"{}",
|
|
"columnFormats":"{}",
|
|
"SummaryNumberFormat":"{\"type\":\"number\",\"format\":\"#A\"}",
|
|
"dynamicTitle":"{\"text\":[{\"text\":\"Milan Datasets\",\"type\":\"TEXT\"}]}",
|
|
"dynamicDescription":"{\"text\":[],\"displayOnCardDetails\":true}"
|
|
},
|
|
"drillPathURNs":[
|
|
|
|
],
|
|
"subscriptions":[
|
|
{
|
|
"cardId":1985861713,
|
|
"dataSourceId":"2e41e76b-fc02-480d-a932-91bdbea40fe5",
|
|
"dataSourceName":"Milan Datasets",
|
|
"componentName":"big_number",
|
|
"subscription":{
|
|
"name":"big_number",
|
|
"dataSourceId":"2e41e76b-fc02-480d-a932-91bdbea40fe5",
|
|
"columns":[
|
|
{
|
|
"column":"customer_id",
|
|
"aggregation":"SUM",
|
|
"alias":"Sum of customer_id",
|
|
"format":{
|
|
"type":"abbreviated",
|
|
"format":"#"
|
|
}
|
|
}
|
|
],
|
|
"filters":[
|
|
|
|
],
|
|
"orderBy":[
|
|
|
|
],
|
|
"groupBy":[
|
|
|
|
],
|
|
"fiscal":false,
|
|
"projection":false,
|
|
"distinct":false,
|
|
"limit":1
|
|
},
|
|
"displayType":"amazon-redshift",
|
|
"dataType":"amazon-redshift",
|
|
"providerType":"amazon-redshift"
|
|
},
|
|
{
|
|
"cardId":1985861713,
|
|
"dataSourceId":"2e41e76b-fc02-480d-a932-91bdbea40fe5",
|
|
"dataSourceName":"Milan Datasets",
|
|
"componentName":"main",
|
|
"subscription":{
|
|
"name":"main",
|
|
"dataSourceId":"2e41e76b-fc02-480d-a932-91bdbea40fe5",
|
|
"columns":[
|
|
{
|
|
"column":"customer_lifetime_value",
|
|
"mapping":"ITEM"
|
|
},
|
|
{
|
|
"column":"customer_id",
|
|
"aggregation":"SUM",
|
|
"mapping":"VALUE"
|
|
}
|
|
],
|
|
"filters":[
|
|
|
|
],
|
|
"orderBy":[
|
|
|
|
],
|
|
"groupBy":[
|
|
{
|
|
"column":"customer_lifetime_value"
|
|
}
|
|
],
|
|
"fiscal":false,
|
|
"projection":false,
|
|
"distinct":false
|
|
},
|
|
"displayType":"amazon-redshift",
|
|
"dataType":"amazon-redshift",
|
|
"providerType":"amazon-redshift"
|
|
}
|
|
],
|
|
"owners":[
|
|
{
|
|
"id":"1027954122",
|
|
"type":"USER",
|
|
"displayName":"Nihar Doshi"
|
|
}
|
|
],
|
|
"slicers":[
|
|
|
|
],
|
|
"dateInfo":{
|
|
|
|
},
|
|
"datasources":[
|
|
{
|
|
"dataSourceId":"2e41e76b-fc02-480d-a932-91bdbea40fe5",
|
|
"dataSourceName":"Milan Datasets",
|
|
"displayType":"amazon-redshift",
|
|
"dataType":"amazon-redshift",
|
|
"providerType":"amazon-redshift",
|
|
"isSampleData":false,
|
|
"lastUpdated":1665488105556,
|
|
"adc":false,
|
|
"phase":"None",
|
|
"state":"SUCCESS"
|
|
}
|
|
],
|
|
"certification":{
|
|
"state":"NOT_CERTIFIED",
|
|
"adminCertified":false
|
|
},
|
|
"urn":"1985861713",
|
|
"id":1985861713,
|
|
"type":"kpi",
|
|
"created":1665144309,
|
|
"badgeUpdated":1665144311000,
|
|
"creatorId":1027954122,
|
|
"ownerId":1027954122,
|
|
"title":"Milan Datasets",
|
|
"active":true,
|
|
"allowTableDrill":true,
|
|
"locked":false,
|
|
"access":true,
|
|
"isCurrentUserOwner":true
|
|
},
|
|
{
|
|
"metadata":{
|
|
"chartType":"badge_vert_multibar",
|
|
"currentLabel":"New Page Fans in Period",
|
|
"currentMethod":"",
|
|
"source":"drillView",
|
|
"title":"Page Fans",
|
|
"calendar":"default",
|
|
"columnAliases":"{\"Unique Fan Adds\":\"New Page Fans\",\"Unique Fan Removes\":\"Fan Removes\"}",
|
|
"columnFormats":"{}",
|
|
"goal":"",
|
|
"seriesInColumns":"true",
|
|
"kpiType":"drill_view",
|
|
"SummaryNumberFormat":"{\"type\":\"number\",\"format\":\"#,##0\"}",
|
|
"usingSampleData":""
|
|
},
|
|
"drillPathURNs":[
|
|
|
|
],
|
|
"subscriptions":[
|
|
{
|
|
"cardId":2025899139,
|
|
"dataSourceId":"eb319fef-58ee-4dcb-986d-90a885269bc6",
|
|
"dataSourceName":"Page Impressions Details",
|
|
"componentName":"big_number",
|
|
"subscription":{
|
|
"name":"big_number",
|
|
"dataSourceId":"eb319fef-58ee-4dcb-986d-90a885269bc6",
|
|
"columns":[
|
|
{
|
|
"column":"Unique Fan Adds",
|
|
"aggregation":"SUM",
|
|
"distinct":false,
|
|
"alias":"New Page Fans in Period",
|
|
"format":{
|
|
"type":"number",
|
|
"format":"#,##0"
|
|
}
|
|
}
|
|
],
|
|
"filters":[
|
|
|
|
],
|
|
"orderBy":[
|
|
|
|
],
|
|
"groupBy":[
|
|
|
|
],
|
|
"fiscal":false,
|
|
"projection":false,
|
|
"distinct":false,
|
|
"limit":1
|
|
},
|
|
"displayType":"sample-data",
|
|
"dataType":"publicsampledata",
|
|
"providerType":"publicsampledata"
|
|
},
|
|
{
|
|
"cardId":2025899139,
|
|
"dataSourceId":"eb319fef-58ee-4dcb-986d-90a885269bc6",
|
|
"dataSourceName":"Page Impressions Details",
|
|
"componentName":"main",
|
|
"subscription":{
|
|
"name":"main",
|
|
"dataSourceId":"eb319fef-58ee-4dcb-986d-90a885269bc6",
|
|
"columns":[
|
|
{
|
|
"column":"Date",
|
|
"calendar":true,
|
|
"mapping":"ITEM",
|
|
"alias":"Date"
|
|
},
|
|
{
|
|
"column":"Unique Fan Adds",
|
|
"aggregation":"SUM",
|
|
"distinct":false,
|
|
"mapping":"SERIES",
|
|
"alias":"New Page Fans"
|
|
},
|
|
{
|
|
"column":"Unique Fan Removes",
|
|
"aggregation":"SUM",
|
|
"distinct":false,
|
|
"mapping":"SERIES",
|
|
"alias":"Fan Removes"
|
|
}
|
|
],
|
|
"filters":[
|
|
|
|
],
|
|
"dateGrain":{
|
|
"column":"Date",
|
|
"dateTimeElement":"DAY"
|
|
},
|
|
"orderBy":[
|
|
|
|
],
|
|
"groupBy":[
|
|
{
|
|
"column":"Date",
|
|
"calendar":true
|
|
}
|
|
],
|
|
"fiscal":false,
|
|
"projection":false,
|
|
"distinct":false
|
|
},
|
|
"displayType":"sample-data",
|
|
"dataType":"publicsampledata",
|
|
"providerType":"publicsampledata"
|
|
}
|
|
],
|
|
"owners":[
|
|
{
|
|
"id":"27",
|
|
"type":"USER",
|
|
"displayName":"DomoSupport"
|
|
}
|
|
],
|
|
"slicers":[
|
|
|
|
],
|
|
"dateInfo":{
|
|
"dateRange":{
|
|
"columnName":"Date",
|
|
"columnDataType":"DATETIME"
|
|
},
|
|
"dateGrain":{
|
|
"dateTimeElement":"DAY",
|
|
"columnName":"Date",
|
|
"columnDataType":"DATETIME"
|
|
}
|
|
},
|
|
"datasources":[
|
|
{
|
|
"dataSourceId":"eb319fef-58ee-4dcb-986d-90a885269bc6",
|
|
"dataSourceName":"Page Impressions Details",
|
|
"displayType":"sample-data",
|
|
"dataType":"publicsampledata",
|
|
"providerType":"publicsampledata",
|
|
"isSampleData":true,
|
|
"lastUpdated":"None",
|
|
"adc":false,
|
|
"phase":"None",
|
|
"state":"IDLE"
|
|
}
|
|
],
|
|
"certification":{
|
|
"state":"NOT_CERTIFIED",
|
|
"adminCertified":false
|
|
},
|
|
"urn":"2025899139",
|
|
"id":2025899139,
|
|
"type":"kpi",
|
|
"created":1663152648,
|
|
"badgeUpdated":1663152648000,
|
|
"creatorId":27,
|
|
"ownerId":27,
|
|
"description":"",
|
|
"title":"Page Fans",
|
|
"active":true,
|
|
"allowTableDrill":true,
|
|
"locked":false,
|
|
"access":true,
|
|
"isCurrentUserOwner":false
|
|
}
|
|
],
|
|
"collections":[
|
|
|
|
],
|
|
"locked":false,
|
|
"pageLayoutV4":{
|
|
"layoutId":1733626331,
|
|
"pageUrn":"552315335",
|
|
"printFriendly":true,
|
|
"enabled":true,
|
|
"isDynamic":false,
|
|
"hasPageBreaks":false,
|
|
"content":[
|
|
{
|
|
"type":"HEADER",
|
|
"contentKey":1,
|
|
"text":"Appendix",
|
|
"hideTitle":false,
|
|
"hideDescription":true,
|
|
"hideSummary":false,
|
|
"summaryNumberOnly":false,
|
|
"hideTimeframe":false,
|
|
"hideFooter":false,
|
|
"hideWrench":false,
|
|
"hideMargins":false,
|
|
"hasSummary":false,
|
|
"fitToFrame":false,
|
|
"hideBorder":false,
|
|
"acceptFilters":true,
|
|
"acceptDateFilter":true,
|
|
"acceptSegments":true,
|
|
"compactInteractionDefault":true
|
|
},
|
|
{
|
|
"type":"CARD",
|
|
"contentKey":2,
|
|
"cardId":1108771657,
|
|
"cardUrn":"1108771657",
|
|
"hideTitle":false,
|
|
"hideDescription":true,
|
|
"hideSummary":false,
|
|
"summaryNumberOnly":false,
|
|
"hideTimeframe":false,
|
|
"hideFooter":true,
|
|
"hideWrench":false,
|
|
"hideMargins":false,
|
|
"hasSummary":true,
|
|
"fitToFrame":false,
|
|
"hideBorder":false,
|
|
"acceptFilters":true,
|
|
"acceptDateFilter":true,
|
|
"acceptSegments":true,
|
|
"compactInteractionDefault":true
|
|
},
|
|
{
|
|
"type":"CARD",
|
|
"contentKey":3,
|
|
"cardId":2025899139,
|
|
"cardUrn":"2025899139",
|
|
"hideTitle":false,
|
|
"hideDescription":true,
|
|
"hideSummary":false,
|
|
"summaryNumberOnly":false,
|
|
"hideTimeframe":false,
|
|
"hideFooter":true,
|
|
"hideWrench":false,
|
|
"hideMargins":false,
|
|
"hasSummary":true,
|
|
"fitToFrame":false,
|
|
"hideBorder":false,
|
|
"acceptFilters":true,
|
|
"acceptDateFilter":true,
|
|
"acceptSegments":true,
|
|
"compactInteractionDefault":true
|
|
},
|
|
{
|
|
"type":"CARD",
|
|
"contentKey":4,
|
|
"cardId":1985861713,
|
|
"cardUrn":"1985861713",
|
|
"hideTitle":false,
|
|
"hideDescription":true,
|
|
"hideSummary":false,
|
|
"summaryNumberOnly":false,
|
|
"hideTimeframe":false,
|
|
"hideFooter":true,
|
|
"hideWrench":false,
|
|
"hideMargins":false,
|
|
"hasSummary":true,
|
|
"fitToFrame":false,
|
|
"hideBorder":false,
|
|
"acceptFilters":true,
|
|
"acceptDateFilter":true,
|
|
"acceptSegments":true,
|
|
"compactInteractionDefault":true
|
|
}
|
|
],
|
|
"standard":{
|
|
"aspectRatio":1.67,
|
|
"width":60,
|
|
"type":"STANDARD",
|
|
"template":[
|
|
{
|
|
"contentKey":0,
|
|
"x":0,
|
|
"y":0,
|
|
"width":60,
|
|
"height":3,
|
|
"type":"SEPARATOR",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":1,
|
|
"x":0,
|
|
"y":3,
|
|
"width":60,
|
|
"height":5,
|
|
"type":"HEADER",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":2,
|
|
"x":0,
|
|
"y":8,
|
|
"width":15,
|
|
"height":30,
|
|
"type":"CARD",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":3,
|
|
"x":15,
|
|
"y":8,
|
|
"width":15,
|
|
"height":30,
|
|
"type":"CARD",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":4,
|
|
"x":30,
|
|
"y":8,
|
|
"width":15,
|
|
"height":30,
|
|
"type":"CARD",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
}
|
|
]
|
|
},
|
|
"compact":{
|
|
"aspectRatio":1.0,
|
|
"width":12,
|
|
"type":"COMPACT",
|
|
"template":[
|
|
{
|
|
"contentKey":0,
|
|
"x":0,
|
|
"y":0,
|
|
"width":12,
|
|
"height":1,
|
|
"type":"SEPARATOR",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":1,
|
|
"x":0,
|
|
"y":1,
|
|
"width":12,
|
|
"height":2,
|
|
"type":"HEADER",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":2,
|
|
"x":0,
|
|
"y":3,
|
|
"width":6,
|
|
"height":6,
|
|
"type":"CARD",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":3,
|
|
"x":6,
|
|
"y":3,
|
|
"width":6,
|
|
"height":6,
|
|
"type":"CARD",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
},
|
|
{
|
|
"contentKey":4,
|
|
"x":0,
|
|
"y":9,
|
|
"width":6,
|
|
"height":6,
|
|
"type":"CARD",
|
|
"virtual":true,
|
|
"virtualAppendix":true
|
|
}
|
|
]
|
|
},
|
|
"background":"None"
|
|
},
|
|
"isFavorite":false,
|
|
"pageAnalyzerSettings":{
|
|
"pageId":552315335,
|
|
"interactionFilters":false,
|
|
"noAddingNewFilters":false,
|
|
"showFilterBar":true,
|
|
"showGlobalDateFilters":true,
|
|
"showSegments":true,
|
|
"showFilterIcons":true
|
|
}
|
|
}
|
|
],
|
|
"Reponse[301]",
|
|
{}
|
|
] |