-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add JDBC connectors #7819
Add JDBC connectors #7819
Conversation
Signed-off-by: Mandy Chessell <[email protected]>
* @param databaseElement database element | ||
* @param schemas schemas | ||
*/ | ||
private void transferColumns(DatabaseElement databaseElement, List<DatabaseSchemaElement> schemas){ |
Check notice
Code scanning / CodeQL
Useless parameter Note
* @param databaseElement database element | ||
* @param schemas schemas | ||
*/ | ||
private void transferViews(DatabaseElement databaseElement, List<DatabaseSchemaElement> schemas){ |
Check notice
Code scanning / CodeQL
Useless parameter Note
* @param databaseElement database element | ||
* @param schemas schemas | ||
*/ | ||
private void transferTables(DatabaseElement databaseElement, List<DatabaseSchemaElement> schemas){ |
Check notice
Code scanning / CodeQL
Useless parameter Note
*/ | ||
private ConnectionProperties createConnectionProperties(DatabaseElement databaseElement){ | ||
ConnectionProperties connectionProperties = new ConnectionProperties(); | ||
connectionProperties.setDisplayName(databaseElement.getDatabaseProperties().getDisplayName() + " Connection"); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
AssetProperties.getDisplayName
|
||
DatabaseProperties databaseProperties = new DatabaseProperties(); | ||
databaseProperties.setQualifiedName(databaseManagerName + "::" + address); | ||
databaseProperties.setDisplayName(StringUtils.isBlank(catalog) ? address : catalog); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
AssetProperties.setDisplayName
additionalProperties.put(Jdbc.JDBC_SCHEMA_KEY, jdbcSchema.getTableSchem()); | ||
|
||
DatabaseSchemaProperties jdbcSchemaProperties = new DatabaseSchemaProperties(); | ||
jdbcSchemaProperties.setDisplayName(jdbcSchema.getTableSchem()); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
AssetProperties.setDisplayName
private final List<JdbcPrimaryKey> jdbcPrimaryKeys; | ||
private final DatabaseTableElement omasTable; | ||
|
||
public ColumnTransfer(Omas omas, AuditLog auditLog, List<DatabaseColumnElement> omasColumns, |
Check notice
Code scanning / CodeQL
Exposing internal representation Note
through the variable omasColumns
ColumnTransfer exposes the internal representation stored in field omasColumns. The value may be modified
through the variable omasColumns
private final String databaseQualifiedName; | ||
private final String databaseGuid; | ||
|
||
public SchemaTransfer(Omas omas, AuditLog auditLog, List<DatabaseSchemaElement> omasSchemas, String databaseQualifiedName, String databaseGuid) { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note
through the variable omasSchemas
private final String parentQualifiedName; | ||
private final String parentGuid; | ||
|
||
public TableTransfer(Omas omas, AuditLog auditLog, List<DatabaseTableElement> omasTables, String parentQualifiedName, String parentGuid) { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note
through the variable omasTables
TableTransfer exposes the internal representation stored in field omasTables. The value may be modified
through the variable omasTables
private final String parentQualifiedName; | ||
private final String parentGuid; | ||
|
||
public ViewTransfer(Omas omas, AuditLog auditLog, List<DatabaseViewElement> omasViews, String parentQualifiedName, String parentGuid) { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note
through the variable omasViews
ViewTransfer exposes the internal representation stored in field omasViews. The value may be modified
Description
Move the JDBC connectors to egeria.git from egeria-connector-jdbc.git.
Related Issue(s)
None
Testing
None
Release Notes & Documentation
There is minimal documentation on the egeria-docs site but this is being updated
Additional notes