mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 08:50:18 +00:00
parent
ba33d0b3d6
commit
b0a744507f
@ -8,16 +8,16 @@
|
||||
"javaType": "org.openmetadata.catalog.services.connections.database.ConnectionOptions",
|
||||
"description": "Additional connection options that can be sent to service during the connection.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
"patternProperties": {
|
||||
".{1,}": { "type": "string" }
|
||||
}
|
||||
},
|
||||
"connectionArguments": {
|
||||
"javaType": "org.openmetadata.catalog.services.connections.database.ConnectionArguments",
|
||||
"description": "Additional connection arguments such as security or protocol configs that can be sent to service during connection.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
"patternProperties": {
|
||||
".{1,}": { "type": "string" }
|
||||
}
|
||||
},
|
||||
"supportsMetadataExtraction": {
|
||||
|
@ -492,10 +492,14 @@ public class IngestionPipelineResourceTest extends EntityResourceTest<IngestionP
|
||||
DatabaseService databaseService =
|
||||
Entity.getEntity(ingestionPipeline.getService(), Fields.EMPTY_FIELDS, Include.ALL);
|
||||
DatabaseConnection databaseConnection = databaseService.getConnection();
|
||||
Map<String, String> advConfig = new HashMap<>();
|
||||
advConfig.put("hive.execution.engine", "tez");
|
||||
advConfig.put("tez.queue.name", "tez");
|
||||
ConnectionArguments connectionArguments =
|
||||
new ConnectionArguments()
|
||||
.withAdditionalProperty("credentials", "/tmp/creds.json")
|
||||
.withAdditionalProperty("client_email", "ingestion-bot@domain.com");
|
||||
.withAdditionalProperty("client_email", "ingestion-bot@domain.com")
|
||||
.withAdditionalProperty("configuration", advConfig);
|
||||
ConnectionOptions connectionOptions =
|
||||
new ConnectionOptions().withAdditionalProperty("key1", "value1").withAdditionalProperty("key2", "value2");
|
||||
BigQueryConnection bigQueryConnection =
|
||||
|
Loading…
x
Reference in New Issue
Block a user