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

Expand omag-server-platform assembly #7833

Merged
merged 2 commits into from
Aug 27, 2023

Merge branch 'main' of https://github.com/odpi/egeria into code2023

768c43e
Select commit
Loading
Failed to load commit list.
Merged

Expand omag-server-platform assembly #7833

Merge branch 'main' of https://github.com/odpi/egeria into code2023
768c43e
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Aug 27, 2023 in 11s

12 new alerts

New alerts in code changed by this pull request

  • 6 warnings
  • 6 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 169 in open-metadata-resources/open-metadata-reports/database-report/src/main/java/org/odpi/openmetadata/devprojects/reports/databasereport/DatabaseReport.java

See this annotation in the file changed.

Code scanning / CodeQL

Inefficient empty string test Note

Inefficient comparison to empty string, check for zero length instead.

Check notice on line 931 in open-metadata-implementation/adapters/open-connectors/integration-connectors/egeria-infrastructure-integration-connector/src/main/java/org/odpi/openmetadata/adapters/connectors/integration/egeria/EgeriaCataloguerIntegrationConnector.java

See this annotation in the file changed.

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
ITInfrastructureEventListener.processEvent
; it is advisable to add an Override annotation.

Check warning on line 116 in open-metadata-resources/open-metadata-dev-utilities/egeria-config-utility/src/main/java/org/odpi/openmetadata/utilities/serverconfig/ServerConfig.java

See this annotation in the file changed.

Code scanning / CodeQL

Useless null check Warning

This check is useless.
eventBusURLRoot
cannot be null at this check, since
"localhost:9092"
always is non-null.

Check warning on line 151 in open-metadata-resources/open-metadata-dev-utilities/egeria-config-utility/src/main/java/org/odpi/openmetadata/utilities/serverconfig/ServerConfig.java

See this annotation in the file changed.

Code scanning / CodeQL

Useless null check Warning

This check is useless.
serverSecurityConnectorProviderClassName
cannot be null at this check, since
"org.odpi.openmetadata.metadatasecurity.samples.CocoPharmaServerSecurityProvider"
always is non-null.

Check warning on line 215 in open-metadata-resources/open-metadata-dev-utilities/egeria-config-utility/src/main/java/org/odpi/openmetadata/utilities/serverconfig/ServerConfig.java

See this annotation in the file changed.

Code scanning / CodeQL

Useless null check Warning

This check is useless.
eventBusURLRoot
cannot be null at this check, since
"localhost:9092"
always is non-null.

Check warning on line 146 in open-metadata-implementation/adapters/open-connectors/integration-connectors/egeria-infrastructure-integration-connector/src/main/java/org/odpi/openmetadata/adapters/connectors/integration/egeria/EgeriaCataloguerIntegrationConnector.java

See this annotation in the file changed.

Code scanning / CodeQL

Non-synchronized override of synchronized method Warning

Method 'start' overrides a synchronized method in
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
but is not synchronized.

Check warning on line 1188 in open-metadata-resources/open-metadata-reports/egeria-platform-report/src/main/java/org/odpi/openmetadata/devprojects/reports/platform/EgeriaPlatformReport.java

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
localRegistration
may be null at this access as suggested by
this
null guard.

Check warning on line 198 in open-metadata-resources/open-metadata-reports/component-id-report/src/main/java/org/odpi/openmetadata/devprojects/reports/componentid/ComponentIdReport.java

See this annotation in the file changed.

Code scanning / CodeQL

Potential output resource leak Warning

This FileOutputStream is not always closed on method exit.

Check notice on line 965 in open-metadata-resources/open-metadata-reports/egeria-platform-report/src/main/java/org/odpi/openmetadata/devprojects/reports/platform/EgeriaPlatformReport.java

See this annotation in the file changed.

Code scanning / CodeQL

Use of default toString() Note

Default toString(): OMAGServiceDetails inherits toString() from Object, and so is not suitable for printing.

Check notice on line 966 in open-metadata-resources/open-metadata-reports/egeria-platform-report/src/main/java/org/odpi/openmetadata/devprojects/reports/platform/EgeriaPlatformReport.java

See this annotation in the file changed.

Code scanning / CodeQL

Use of default toString() Note

Default toString(): OMAGServiceDetails inherits toString() from Object, and so is not suitable for printing.

Check notice on line 340 in open-metadata-implementation/admin-services/admin-services-api/src/main/java/org/odpi/openmetadata/adminservices/configuration/properties/IntegrationServiceConfig.java

See this annotation in the file changed.

Code scanning / CodeQL

Exposing internal representation Note

getIntegrationConnectorConfigs exposes the internal representation stored in field integrationConnectorConfigs. The value may be modified
after this call to getIntegrationConnectorConfigs
.