mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 22:18:23 +00:00
Add dashboard required fields
This commit is contained in:
parent
188e5e886e
commit
c7fe4f8968
@ -41,5 +41,6 @@
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"required": ["hostPort", "username"]
|
||||
}
|
||||
|
@ -40,5 +40,9 @@
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hostPort",
|
||||
"username"
|
||||
]
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
"description": "Dashboard redirect URI for the PowerBI.",
|
||||
"type": "string"
|
||||
},
|
||||
"dashboardURL": {
|
||||
"hostPort": {
|
||||
"description": "Dashboard URL for the power BI.",
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@ -54,5 +54,10 @@
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hostPort",
|
||||
"clientId",
|
||||
"clientSecret"
|
||||
]
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
"description": "username for the Redash",
|
||||
"type": "string"
|
||||
},
|
||||
"redashURL": {
|
||||
"hostPort": {
|
||||
"description": "URL for the redash instance",
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
@ -37,5 +37,10 @@
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hostPort",
|
||||
"username",
|
||||
"apiKey"
|
||||
]
|
||||
}
|
||||
|
@ -52,5 +52,9 @@
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hostPort",
|
||||
"username"
|
||||
]
|
||||
}
|
||||
|
@ -57,5 +57,9 @@
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hostPort",
|
||||
"username"
|
||||
]
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"clientId": "client_id",
|
||||
"clientSecret": "client_secret",
|
||||
"redirectURI": "http://localhost:8585/callback",
|
||||
"dashboardURL": "https://analysis.windows.net/powerbi",
|
||||
"hostPort": "https://analysis.windows.net/powerbi",
|
||||
"scope": [
|
||||
"scope",
|
||||
"https://analysis.windows.net/powerbi/api/App.Read.All"
|
||||
|
@ -5,8 +5,9 @@
|
||||
"serviceConnection": {
|
||||
"config": {
|
||||
"type": "Redash",
|
||||
"redashURL": "http://localhost:5000",
|
||||
"apiKey": "api_key"
|
||||
"hostPort": "http://localhost:5000",
|
||||
"apiKey": "api_key",
|
||||
"username": "random"
|
||||
}
|
||||
},
|
||||
"sourceConfig": {
|
||||
|
@ -546,7 +546,7 @@ def test_powerbi():
|
||||
"clientId": "client_id",
|
||||
"clientSecret": "client_secret",
|
||||
"redirectURI": "http://localhost:8585/callback",
|
||||
"dashboardURL": "https://analysis.windows.net/powerbi",
|
||||
"hostPort": "https://analysis.windows.net/powerbi",
|
||||
"scope": [
|
||||
"scope",
|
||||
"https://analysis.windows.net/powerbi/api/App.Read.All",
|
||||
@ -590,7 +590,8 @@ def test_redash():
|
||||
"serviceConnection": {
|
||||
"config": {
|
||||
"type": "Redash",
|
||||
"redashURL": "http://localhost:5000",
|
||||
"hostPort": "http://localhost:5000",
|
||||
"username": "random",
|
||||
"apiKey": "api_key",
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user