airbyte icon indicating copy to clipboard operation
airbyte copied to clipboard

:tada: Destination postgres: Add SSL certificates and update normalization

Open andriikorotkov opened this issue 2 years ago • 9 comments

What

Add SSL certificates to destination postgres and destination postgres strict encrypt.

How

2022-07-25_13-58_1 2022-07-25_13-58 2022-07-25_13-58_2

Recommended reading order

  1. PostgresDestination.java
  2. spec.json
  3. expected_spec.json
  4. PostgresDestinationStrictEncrypt.java
  5. PostgresDestinationSSLFullCertificateAcceptanceTest.java
  6. PostgresDestinationStrictEncryptAcceptanceTest.java
  7. PostgresDestinationTest.java
  8. transform.py

🚨 User Impact 🚨

Added a dropdown for choosing SSL mode. Added fields for SSL modes verify-full and verify-ca to add root key and client keys, and added a password for custom keystore.

Pre-merge Checklist

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • [ ] Community member? Grant edit access to maintainers (instructions)
  • [ ] Secrets in the connector's spec are annotated with airbyte_secret
  • [ ] Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • [ ] Code reviews completed
  • [ ] Documentation updated
    • [ ] Connector's README.md
    • [ ] Connector's bootstrap.md. See description and examples
    • [ ] docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • [ ] docs/integrations/README.md
    • [ ] airbyte-integrations/builds.md
  • [ ] PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • [ ] Create a non-forked branch based on this PR and test the below items on it
  • [ ] Build is successful
  • [ ] If new credentials are required for use in CI, add them to GSM. Instructions.
  • [ ] /test connector=connectors/<name> command is passing
  • [ ] New Connector version released on Dockerhub by running the /publish command described here
  • [ ] After the connector is published, connector added to connector index as described here
  • [ ] Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here
Updating a connector

Community member or Airbyter

  • [ ] Grant edit access to maintainers (instructions)
  • [ ] Secrets in the connector's spec are annotated with airbyte_secret
  • [ ] Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • [ ] Code reviews completed
  • [ ] Documentation updated
    • [ ] Connector's README.md
    • [ ] Connector's bootstrap.md. See description and examples
    • [ ] Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • [ ] PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • [ ] Create a non-forked branch based on this PR and test the below items on it
  • [ ] Build is successful
  • [ ] If new credentials are required for use in CI, add them to GSM. Instructions.
  • [ ] /test connector=connectors/<name> command is passing
  • [ ] New Connector version released on Dockerhub and connector version bumped by running the /publish command described here
Connector Generator
  • [ ] Issue acceptance criteria met
  • [ ] PR name follows PR naming conventions
  • [ ] If adding a new generator, add it to the list of scaffold modules being tested
  • [ ] The generator test modules (all connectors with -scaffold in their name) have been updated with the latest scaffold by running ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates then checking in your changes
  • [ ] Documentation which references the generator is updated as needed

Tests

Unit

Put your unit tests output here.

Integration

Put your integration tests output here.

Acceptance

Put your acceptance tests output here.

andriikorotkov avatar Jul 15 '22 08:07 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2690999526 :white_check_mark: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2690999526 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     155      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_catalog/utils.py                             38      9    76%
normalization/transform_config/transform.py                         182     51    72%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 570    377    34%
-------------------------------------------------------------------------------------
TOTAL                                                              1383    604    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Jul 18 '22 13:07 andriikorotkov

/test connector=connectors/destination-postgres-strict-encrypt

:clock2: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2691256605 :white_check_mark: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2691256605 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     155      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_catalog/utils.py                             38      9    76%
normalization/transform_config/transform.py                         182     51    72%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 570    377    34%
-------------------------------------------------------------------------------------
TOTAL                                                              1383    604    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Jul 18 '22 14:07 andriikorotkov

(the code changes themselves look pretty reasonable, I just want to doublecheck on testing + figure out a plan for getting test coverage)

edgao avatar Jul 19 '22 23:07 edgao

@edgao, I created a ticket to fix the TestcustomdbttransFormations test. I add a link to it - https://github.com/airbytehq/airbyte/issues/14916. To this test I have added annotation @disabled in the PostgresdestinationsslfullCerticateptancetest Classes - Line 122. All other tests work well, you can make sure that when you will look at this pull request.

andriikorotkov avatar Jul 21 '22 11:07 andriikorotkov

This PR needs:

  • Description of changes
  • Guide on how to read the PR (where to start, etc)
  • Rebase to pass CI tests

@grishick, thank you for these comments. I've updated the description of this pull request, added a list of files with the main changes, and fixed all the merge conflicts that occurred between my branch and the master branch. Now, I will run CI tests for both destinations, I think all tests will run fine.

andriikorotkov avatar Jul 25 '22 11:07 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2731947027 :white_check_mark: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2731947027 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     155      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_catalog/utils.py                             38      9    76%
normalization/transform_config/transform.py                         188     51    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 570    377    34%
-------------------------------------------------------------------------------------
TOTAL                                                              1389    604    57%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Jul 25 '22 11:07 andriikorotkov

/test connector=connectors/destination-postgres-strict-encrypt

:clock2: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2731948940 :white_check_mark: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2731948940 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     155      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_catalog/utils.py                             38      9    76%
normalization/transform_config/transform.py                         188     51    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 570    377    34%
-------------------------------------------------------------------------------------
TOTAL                                                              1389    604    57%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Jul 25 '22 11:07 andriikorotkov

@edgao I managed to fix the connector to work correctly with customTransformation. Now this test works fine. But my tests fail after changes that affected the formatting of datetime fields. Once that's fixed, I'll be able to publish and merge with these changes.

andriikorotkov avatar Jul 28 '22 15:07 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2755023248 :x: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2755023248 :bug: https://gradle.com/s/pgcuxqzbosuou

Build Failed

Test summary info:

Could not find result summary

annalvova05 avatar Jul 28 '22 15:07 annalvova05

sounds good. The datetime problem seems to be happening on master as well, i.e. is unrelated to this PR - I think @Phlair is trying to solve it

edgao avatar Aug 01 '22 15:08 edgao

@edgao Great, thank you for the good news. I will wait until this issue is resolved and then I will merge this pull request.

andriikorotkov avatar Aug 01 '22 15:08 andriikorotkov

@andriikorotkov once I've fixed it I'm going to be publishing normalization 0.2.14, so if you could go for 0.2.15 and merge in my changes once in master that would be 👌 (PR here)

Phlair avatar Aug 01 '22 15:08 Phlair

@andriikorotkov fyi we have https://github.com/airbytehq/airbyte/issues/15172 to track the destination-postgres test failures. I didn't see an obvious root cause unfortunately.

(cc @grishick )

edgao avatar Aug 01 '22 22:08 edgao

@andriikorotkov fyi https://github.com/airbytehq/airbyte/pull/14790 is now merged 👍

Phlair avatar Aug 02 '22 14:08 Phlair

@Phlair unfortunately this did not fix my problem and the tests still fail. That's why I can't merge pull request now. @edgao created an issue that describes my problem well (https://github.com/airbytehq/airbyte/issues/15172). Only after it is solved, I will be able to publish my changes.

andriikorotkov avatar Aug 02 '22 15:08 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2803939837 :white_check_mark: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2803939837 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Aug 05 '22 13:08 andriikorotkov

/test connector=connectors/destination-postgres-strict-encrypt

:clock2: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2803941444 :white_check_mark: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2803941444 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Aug 05 '22 13:08 andriikorotkov

/test connector=bases/base-normalization

:clock2: bases/base-normalization https://github.com/airbytehq/airbyte/actions/runs/2804199082 :white_check_mark: bases/base-normalization https://github.com/airbytehq/airbyte/actions/runs/2804199082 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%
Name                                                 Stmts   Miss  Cover
------------------------------------------------------------------------
source_acceptance_test/utils/__init__.py                 6      0   100%
source_acceptance_test/tests/__init__.py                 4      0   100%
source_acceptance_test/__init__.py                       2      0   100%
source_acceptance_test/tests/test_full_refresh.py       52      2    96%
source_acceptance_test/utils/asserts.py                 37      2    95%
source_acceptance_test/config.py                        82      6    93%
source_acceptance_test/utils/json_schema_helper.py     105     13    88%
source_acceptance_test/tests/test_incremental.py       121     25    79%
source_acceptance_test/utils/common.py                  77     17    78%
source_acceptance_test/tests/test_core.py              355    107    70%
source_acceptance_test/utils/compare.py                 62     23    63%
source_acceptance_test/base.py                          10      4    60%
source_acceptance_test/utils/connector_runner.py       110     48    56%
------------------------------------------------------------------------
TOTAL                                                 1023    247    76%
Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%
Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/utils.py                             51      1    98%
normalization/transform_catalog/destination_name_transformer.py     157      5    97%
normalization/transform_catalog/stream_processor.py                 589     35    94%
normalization/transform_catalog/catalog_processor.py                147     12    92%
normalization/transform_catalog/dbt_macro.py                         22      3    86%
normalization/transform_catalog/table_name_registry.py              174     51    71%
normalization/transform_catalog/transform.py                         61     22    64%
normalization/transform_config/transform.py                         186     77    59%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    206    86%

Build Passed

Test summary info:

	 =========================== short test summary info ============================
	 SKIPPED [1] integration_tests/test_ephemeral.py:61: Destinations DestinationType.MYSQL is not in NORMALIZATION_TEST_TARGET env variable (MYSQL is also skipped)
	 SKIPPED [1] integration_tests/test_normalization.py:81: Destinations DestinationType.CLICKHOUSE does not support nested streams
	 SKIPPED [1] integration_tests/test_normalization.py:143: DestinationType.CLICKHOUSE is disabled as it doesnt support schema change in incremental yet (column type changes)
	 SKIPPED [1] integration_tests/test_normalization.py:146: DestinationType.MSSQL is disabled as it doesnt fully support schema change in incremental yet
	 SKIPPED [2] integration_tests/test_normalization.py:134: DestinationType.MYSQL does not support incremental yet
	 SKIPPED [1] integration_tests/test_normalization.py:81: Destinations DestinationType.ORACLE does not support nested streams
	 SKIPPED [1] integration_tests/test_normalization.py:134: DestinationType.ORACLE does not support incremental yet
	 SKIPPED [1] integration_tests/test_normalization.py:143: DestinationType.SNOWFLAKE is disabled as it doesnt support schema change in incremental yet (column type changes)
	 [32m================== [32m[1m25 passed[0m, [33m9 skipped[0m[32m in 3492.83s (0:58:12)[0m[32m ==================[0m
	 =========================== short test summary info ============================
	 SKIPPED [1] integration_tests/test_ephemeral.py:61: Destinations DestinationType.MYSQL is not in NORMALIZATION_TEST_TARGET env variable (MYSQL is also skipped)
	 SKIPPED [1] integration_tests/test_normalization.py:143: DestinationType.CLICKHOUSE is disabled as it doesnt support schema change in incremental yet (column type changes)
	 SKIPPED [1] integration_tests/test_normalization.py:81: Destinations DestinationType.CLICKHOUSE does not support nested streams
	 SKIPPED [1] integration_tests/test_normalization.py:146: DestinationType.MSSQL is disabled as it doesnt fully support schema change in incremental yet
	 SKIPPED [2] integration_tests/test_normalization.py:134: DestinationType.MYSQL does not support incremental yet
	 SKIPPED [1] integration_tests/test_normalization.py:134: DestinationType.ORACLE does not support incremental yet
	 SKIPPED [1] integration_tests/test_normalization.py:81: Destinations DestinationType.ORACLE does not support nested streams
	 SKIPPED [1] integration_tests/test_normalization.py:143: DestinationType.SNOWFLAKE is disabled as it doesnt support schema change in incremental yet (column type changes)
	 [32m================== [32m[1m25 passed[0m, [33m9 skipped[0m[32m in 3956.85s (1:05:56)[0m[32m ==================[0m

andriikorotkov avatar Aug 05 '22 14:08 andriikorotkov

/publish connector=bases/base-normalization

:clock2: Publishing the following connectors:
bases/base-normalization
https://github.com/airbytehq/airbyte/actions/runs/2805161558

Connector Did it publish? Were definitions generated?
bases/base-normalization :white_check_mark: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 05 '22 17:08 andriikorotkov

/publish connector=connectors/destination-postgres

:clock2: Publishing the following connectors:
connectors/destination-postgres
https://github.com/airbytehq/airbyte/actions/runs/2805415998

Connector Did it publish? Were definitions generated?
connectors/destination-postgres :x: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 05 '22 18:08 andriikorotkov

/publish connector=connectors/destination-postgres

:clock2: Publishing the following connectors:
connectors/destination-postgres
https://github.com/airbytehq/airbyte/actions/runs/2808251367

Connector Did it publish? Were definitions generated?
connectors/destination-postgres :x: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 06 '22 08:08 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2816461713 :white_check_mark: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2816461713 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Aug 08 '22 08:08 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2825469672 :white_check_mark: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2825469672 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Aug 09 '22 13:08 andriikorotkov

/publish connector=connectors/destination-postgres

:clock2: Publishing the following connectors:
connectors/destination-postgres
https://github.com/airbytehq/airbyte/actions/runs/2825667775

Connector Did it publish? Were definitions generated?
connectors/destination-postgres :x: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 09 '22 13:08 andriikorotkov

/publish connector=connectors/destination-postgres

:clock2: Publishing the following connectors:
connectors/destination-postgres
https://github.com/airbytehq/airbyte/actions/runs/2833768889

Connector Did it publish? Were definitions generated?
connectors/destination-postgres :x: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 10 '22 15:08 andriikorotkov

/test connector=connectors/destination-postgres

:clock2: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2858997011 :white_check_mark: connectors/destination-postgres https://github.com/airbytehq/airbyte/actions/runs/2858997011 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Aug 15 '22 06:08 andriikorotkov

/publish connector=connectors/destination-postgres

:clock2: Publishing the following connectors:
connectors/destination-postgres
https://github.com/airbytehq/airbyte/actions/runs/2859466759

Connector Did it publish? Were definitions generated?
connectors/destination-postgres :x: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 15 '22 08:08 andriikorotkov

/test connector=connectors/destination-postgres-strict-encrypt

:clock2: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2860288048 :white_check_mark: connectors/destination-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/2860288048 Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     157      8    95%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         186     49    74%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 589    394    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1421    624    56%

Build Passed

Test summary info:

All Passed

andriikorotkov avatar Aug 15 '22 11:08 andriikorotkov

/publish connector=connectors/destination-postgres run-tests=false

:clock2: Publishing the following connectors:
connectors/destination-postgres
https://github.com/airbytehq/airbyte/actions/runs/2860697617

Connector Did it publish? Were definitions generated?
connectors/destination-postgres :white_check_mark: :white_check_mark:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 15 '22 12:08 andriikorotkov

/publish connector=connectors/destination-postgres-strict-encrypt run-tests=false auto-bump-version=false

:clock2: Publishing the following connectors:
connectors/destination-postgres-strict-encrypt
https://github.com/airbytehq/airbyte/actions/runs/2860848045

Connector Did it publish? Were definitions generated?
connectors/destination-postgres-strict-encrypt :white_check_mark: :x:

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

andriikorotkov avatar Aug 15 '22 13:08 andriikorotkov