mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
removed username field from bigquery (#4967)
Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
This commit is contained in:
parent
f3c8a67e6b
commit
74e5404fe0
@ -38,11 +38,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "bigquery.googleapis.com"
|
"default": "bigquery.googleapis.com"
|
||||||
},
|
},
|
||||||
"username": {
|
|
||||||
"title": "Username",
|
|
||||||
"description": "Username to connect to Bigquery. This user should have privileges to read all the metadata in Bigquery.",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"projectId": {
|
"projectId": {
|
||||||
"title": "Project ID",
|
"title": "Project ID",
|
||||||
"description": "BigQuery project ID. Only required if using credentials path instead of values.",
|
"description": "BigQuery project ID. Only required if using credentials path instead of values.",
|
||||||
|
@ -376,7 +376,6 @@ public class DatabaseServiceResourceTest extends EntityResourceTest<DatabaseServ
|
|||||||
BigQueryConnection expectedBigQueryConnection, BigQueryConnection actualBigQueryConnection) {
|
BigQueryConnection expectedBigQueryConnection, BigQueryConnection actualBigQueryConnection) {
|
||||||
assertEquals(expectedBigQueryConnection.getHostPort(), actualBigQueryConnection.getHostPort());
|
assertEquals(expectedBigQueryConnection.getHostPort(), actualBigQueryConnection.getHostPort());
|
||||||
assertEquals(expectedBigQueryConnection.getCredentials(), actualBigQueryConnection.getCredentials());
|
assertEquals(expectedBigQueryConnection.getCredentials(), actualBigQueryConnection.getCredentials());
|
||||||
assertEquals(expectedBigQueryConnection.getUsername(), actualBigQueryConnection.getUsername());
|
|
||||||
assertEquals(expectedBigQueryConnection.getScheme(), actualBigQueryConnection.getScheme());
|
assertEquals(expectedBigQueryConnection.getScheme(), actualBigQueryConnection.getScheme());
|
||||||
assertEquals(expectedBigQueryConnection.getDatabase(), actualBigQueryConnection.getDatabase());
|
assertEquals(expectedBigQueryConnection.getDatabase(), actualBigQueryConnection.getDatabase());
|
||||||
assertEquals(
|
assertEquals(
|
||||||
|
@ -104,8 +104,7 @@ public final class TestUtils {
|
|||||||
.withConfig(
|
.withConfig(
|
||||||
new RedshiftConnection().withHostPort("localhost:5002").withUsername("test").withPassword("test"));
|
new RedshiftConnection().withHostPort("localhost:5002").withUsername("test").withPassword("test"));
|
||||||
BIGQUERY_DATABASE_CONNECTION =
|
BIGQUERY_DATABASE_CONNECTION =
|
||||||
new DatabaseConnection()
|
new DatabaseConnection().withConfig(new BigQueryConnection().withHostPort("localhost:1000"));
|
||||||
.withConfig(new BigQueryConnection().withHostPort("localhost:1000").withUsername("bigquery"));
|
|
||||||
SNOWFLAKE_DATABASE_CONNECTION =
|
SNOWFLAKE_DATABASE_CONNECTION =
|
||||||
new DatabaseConnection()
|
new DatabaseConnection()
|
||||||
.withConfig(new SnowflakeConnection().withUsername("snowflake").withPassword("snowflake"));
|
.withConfig(new SnowflakeConnection().withUsername("snowflake").withPassword("snowflake"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user