Skip to content
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

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Add JDBC connectors #7819

merged 2 commits into from
Aug 9, 2023

Conversation

mandy-chessell
Copy link
Contributor

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

Signed-off-by: Mandy Chessell <[email protected]>
@mandy-chessell mandy-chessell merged commit 811b181 into odpi:main Aug 9, 2023
4 checks passed
* @param databaseElement database element
* @param schemas schemas
*/
private void transferColumns(DatabaseElement databaseElement, List<DatabaseSchemaElement> schemas){

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'databaseElement' is never used.
* @param databaseElement database element
* @param schemas schemas
*/
private void transferViews(DatabaseElement databaseElement, List<DatabaseSchemaElement> schemas){

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'databaseElement' is never used.
* @param databaseElement database element
* @param schemas schemas
*/
private void transferTables(DatabaseElement databaseElement, List<DatabaseSchemaElement> schemas){

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'databaseElement' is never used.
*/
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

Invoking
AssetProperties.getDisplayName
should be avoided because it has been deprecated.

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

Invoking
AssetProperties.setDisplayName
should be avoided because it has been deprecated.
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

Invoking
AssetProperties.setDisplayName
should be avoided because it has been deprecated.
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

ColumnTransfer exposes the internal representation stored in field omasColumns. The value may be modified
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

SchemaTransfer exposes the internal representation stored in field omasSchemas. The value may be modified
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

TableTransfer exposes the internal representation stored in field omasTables. The value may be modified
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

ViewTransfer exposes the internal representation stored in field omasViews. The value may be modified
through the variable omasViews
.
ViewTransfer exposes the internal representation stored in field omasViews. The value may be modified
through the variable omasViews
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant