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