Skip to content

Commit 618a2dc

Browse files
committed
Revert "ISSUE #2968-CLT: Trino Exporter (#25970)"
This reverts commit 486c0b9.
1 parent 486c0b9 commit 618a2dc

6 files changed

Lines changed: 3 additions & 277 deletions

File tree

openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/external/metadataExporterAppConfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@
8080
},
8181
{
8282
"$ref": "metadataExporterConnectors/bigQueryConnection.json"
83-
},
84-
{
85-
"$ref": "metadataExporterConnectors/trinoConnection.json"
8683
}
8784
]
8885
},

openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/external/metadataExporterConnectors/trinoConnection.json

Lines changed: 0 additions & 90 deletions
This file was deleted.

openmetadata-ui/src/main/resources/ui/src/generated/api/tests/createTestDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface CreateTestDefinition {
1818
/**
1919
* Description of the testcase.
2020
*/
21-
description?: string;
21+
description: string;
2222
/**
2323
* Display Name that identifies this test case.
2424
*/

openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/metadataExporterAppConfig.ts

Lines changed: 1 addition & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ export interface MetadataExporterAppConfig {
5050
* Databricks Connection Config
5151
*
5252
* Google BigQuery Connection Config
53-
*
54-
* Trino Connection Config
5553
*/
5654
export interface Connection {
5755
/**
@@ -104,8 +102,6 @@ export interface Connection {
104102
/**
105103
* Username to connect to Snowflake. This user should have privileges to read all the
106104
* metadata in Snowflake.
107-
*
108-
* Username to connect to Trino.
109105
*/
110106
username?: string;
111107
/**
@@ -114,16 +110,12 @@ export interface Connection {
114110
warehouse?: string;
115111
/**
116112
* Choose between different authentication types for Databricks.
117-
*
118-
* Choose Auth Config Type.
119113
*/
120-
authType?: AuthenticationType | NoConfigAuthenticationTypes;
114+
authType?: AuthenticationType;
121115
/**
122116
* Catalog of the data source(Example: hive_metastore). This is optional parameter, if you
123117
* would like to restrict the metadata reading to a single catalog. When left blank,
124118
* OpenMetadata Ingestion attempts to scan all the catalog.
125-
*
126-
* Catalog of the data source.
127119
*/
128120
catalog?: string;
129121
/**
@@ -136,16 +128,12 @@ export interface Connection {
136128
* Database Schema of the data source. This is optional parameter, if you would like to
137129
* restrict the metadata reading to a single schema. When left blank, OpenMetadata Ingestion
138130
* attempts to scan all the schemas.
139-
*
140-
* Database Schema of the data source.
141131
*/
142132
databaseSchema?: string;
143133
/**
144134
* Host and port of the Databricks service.
145135
*
146136
* BigQuery APIs URL.
147-
*
148-
* Host and port of the Trino service.
149137
*/
150138
hostPort?: string;
151139
/**
@@ -186,10 +174,6 @@ export interface Connection {
186174
*
187175
* Azure Active Directory authentication for Azure Databricks workspaces using Service
188176
* Principal.
189-
*
190-
* Common Database Connection Config
191-
*
192-
* Azure Database Connection Config
193177
*/
194178
export interface AuthenticationType {
195179
/**
@@ -219,52 +203,6 @@ export interface AuthenticationType {
219203
* Azure Active Directory Tenant ID where your Service Principal is registered.
220204
*/
221205
azureTenantId?: string;
222-
/**
223-
* Password to connect to source.
224-
*/
225-
password?: string;
226-
/**
227-
* JWT to connect to source.
228-
*/
229-
jwt?: string;
230-
azureConfig?: AzureCredentials;
231-
}
232-
233-
/**
234-
* Azure Cloud Credentials
235-
*/
236-
export interface AzureCredentials {
237-
/**
238-
* Account Name of your storage account
239-
*/
240-
accountName?: string;
241-
/**
242-
* Your Service Principal App ID (Client ID)
243-
*/
244-
clientId?: string;
245-
/**
246-
* Your Service Principal Password (Client Secret)
247-
*/
248-
clientSecret?: string;
249-
/**
250-
* Scopes to get access token, for e.g. api://6dfX33ab-XXXX-49df-XXXX-3459eX817d3e/.default
251-
*/
252-
scopes?: string;
253-
/**
254-
* Tenant ID of your Azure Subscription
255-
*/
256-
tenantId?: string;
257-
/**
258-
* Key Vault Name
259-
*/
260-
vaultName?: string;
261-
}
262-
263-
/**
264-
* Database Authentication types not requiring config.
265-
*/
266-
export enum NoConfigAuthenticationTypes {
267-
OAuth2 = "OAuth2",
268206
}
269207

270208
/**
@@ -393,7 +331,6 @@ export enum Scheme {
393331
Bigquery = "bigquery",
394332
DatabricksConnector = "databricks+connector",
395333
Snowflake = "snowflake",
396-
Trino = "trino",
397334
}
398335

399336
/**
@@ -405,7 +342,6 @@ export enum Type {
405342
BigQuery = "BigQuery",
406343
Databricks = "Databricks",
407344
Snowflake = "Snowflake",
408-
Trino = "Trino",
409345
}
410346

411347
export enum EventType {

openmetadata-ui/src/main/resources/ui/src/generated/entity/applications/configuration/external/metadataExporterConnectors/trinoConnection.ts

Lines changed: 0 additions & 117 deletions
This file was deleted.

openmetadata-ui/src/main/resources/ui/src/generated/tests/testDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface TestDefinition {
2727
/**
2828
* Description of the testcase.
2929
*/
30-
description?: string;
30+
description: string;
3131
/**
3232
* Display Name that identifies this test case.
3333
*/

0 commit comments

Comments
 (0)