Skip to content

Commit

Permalink
auto-bump connector version
Browse files Browse the repository at this point in the history
  • Loading branch information
octavia-squidington-iii committed May 17, 2022
1 parent 9f064df commit 7d36edc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@
- name: Postgres
sourceDefinitionId: decd338e-5647-4c0b-adf4-da0e75f5a750
dockerRepository: airbyte/source-postgres
dockerImageTag: 0.4.15
dockerImageTag: 0.4.16
documentationUrl: https://docs.airbyte.io/integrations/sources/postgres
icon: postgresql.svg
sourceType: database
Expand Down
13 changes: 10 additions & 3 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6545,7 +6545,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-postgres:0.4.15"
- dockerImage: "airbyte/source-postgres:0.4.16"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/postgres"
connectionSpecification:
Expand Down Expand Up @@ -6601,17 +6601,24 @@
type: "string"
airbyte_secret: true
order: 5
jdbc_url_params:
description: "Additional properties to pass to the JDBC URL string when\
\ connecting to the database formatted as 'key=value' pairs separated\
\ by the symbol '&'. (example: key1=value1&key2=value2&key3=value3)."
title: "JDBC URL Params"
type: "string"
order: 6
ssl:
title: "Connect using SSL"
description: "Encrypt client/server communications for increased security."
type: "boolean"
default: false
order: 6
order: 7
replication_method:
type: "object"
title: "Replication Method"
description: "Replication method to use for extracting data from the database."
order: 7
order: 8
oneOf:
- title: "Standard"
additionalProperties: false
Expand Down

1 comment on commit 7d36edc

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Source Postgres(#12840)

Measures

Name Value Name Value Name Value
Lines to Cover 279 Duplicated Lines (%) 0.0 Code Smells 14
Bugs 0 Quality Gate Status OK Coverage 79.5
Lines of Code 549 Reliability Rating A Security Rating A
Duplicated Blocks 0 Vulnerabilities 0 Blocker Issues 2
Critical Issues 7 Major Issues 4 Minor Issues 0

Detected Issues

Rule File Description Message
java:S1192 (CRITICAL) postgres/PostgresSource.java:82 String literals should not be duplicated Define a constant instead of duplicating this literal "jdbc_url_params" 3 times.
java:S1192 (CRITICAL) postgres/PostgresSource.java:106 String literals should not be duplicated Define a constant instead of duplicating this literal "username" 3 times.
java:S2479 (CRITICAL) postgres/PostgresSource.java:284 Whitespace and control characters in literals should be explicit Remove the non-escaped \u0009 character from this literal.
java:S1192 (CRITICAL) postgres/PostgresSource.java:92 String literals should not be duplicated Define a constant instead of duplicating this literal "schemas" 3 times.
java:S1135 (INFO) postgres/PostgresSource.java:71 Track uses of "TODO" tags Complete the task associated to this TODO comment.
java:S1192 (CRITICAL) postgres/PostgresCdcProperties.java:14 String literals should not be duplicated Define a constant instead of duplicating this literal "replication_method" 3 times.
java:S1192 (CRITICAL) postgres/PostgresSource.java:169 String literals should not be duplicated Define a constant instead of duplicating this literal "replication_method" 6 times.
java:S1118 (MAJOR) postgres/PostgresUtils.java:9 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S2187 (BLOCKER) postgres/CdcPostgresSourcePgoutputTest.java:7 TestCases should contain tests Add some tests to this class.
java:S2187 (BLOCKER) postgres/CdcPostgresSourceWal2jsonTest.java:7 TestCases should contain tests Add some tests to this class.
java:S1118 (MAJOR) postgres/PostgresCdcProperties.java:10 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S112 (MAJOR) postgres/PostgresCdcTargetPosition.java:48 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) postgres/PostgresSource.java:217 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1192 (CRITICAL) postgres/PostgresSource.java:109 String literals should not be duplicated Define a constant instead of duplicating this literal "password" 3 times.

Coverage (79.5%)

File Coverage File Coverage
src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcConnectorMetadataInjector.java 100.0 src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcProperties.java 90.9
src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcSavedInfoFetcher.java 83.3 src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcStateHandler.java 100.0
src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcTargetPosition.java 81.3 src/main/java/io/airbyte/integrations/source/postgres/PostgresSource.java 88.3
src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceOperations.java 62.8 src/main/java/io/airbyte/integrations/source/postgres/PostgresUtils.java 50.0

Please sign in to comment.