diff --git a/.github/workflows/publish-command.yml b/.github/workflows/publish-command.yml index 56ade97c3d25..9d45d2dc2c2e 100644 --- a/.github/workflows/publish-command.yml +++ b/.github/workflows/publish-command.yml @@ -191,6 +191,7 @@ jobs: MONGODB_TEST_CREDS: ${{ secrets.MONGODB_TEST_CREDS }} SOURCE_ONESIGNAL_TEST_CREDS: ${{ secrets.SOURCE_ONESIGNAL_TEST_CREDS }} SOURCE_SALESLOFT_TEST_CREDS: ${{ secrets.SOURCE_SALESLOFT_TEST_CREDS }} + SOURCE_CONFLUENCE_TEST_CREDS: ${{ secrets.SOURCE_CONFLUENCE_TEST_CREDS }} SOURCE_AMAZON_SQS_TEST_CREDS: ${{ secrets.SOURCE_AMAZON_SQS_TEST_CREDS }} SOURCE_FRESHSERVICE_TEST_CREDS: ${{ secrets.SOURCE_FRESHSERVICE_TEST_CREDS }} SOURCE_LEMLIST_TEST_CREDS: ${{ secrets.SOURCE_LEMLIST_TEST_CREDS }} diff --git a/.github/workflows/test-command.yml b/.github/workflows/test-command.yml index 94e50a3f3ae4..cf685295ee0a 100644 --- a/.github/workflows/test-command.yml +++ b/.github/workflows/test-command.yml @@ -186,6 +186,7 @@ jobs: MONGODB_TEST_CREDS: ${{ secrets.MONGODB_TEST_CREDS }} SOURCE_ONESIGNAL_TEST_CREDS: ${{ secrets.SOURCE_ONESIGNAL_TEST_CREDS }} SOURCE_SALESLOFT_TEST_CREDS: ${{ secrets.SOURCE_SALESLOFT_TEST_CREDS }} + SOURCE_CONFLUENCE_TEST_CREDS: ${{ secrets.SOURCE_CONFLUENCE_TEST_CREDS }} SOURCE_AMAZON_SQS_TEST_CREDS: ${{ secrets.SOURCE_AMAZON_SQS_TEST_CREDS }} SOURCE_FRESHSERVICE_TEST_CREDS: ${{ secrets.SOURCE_FRESHSERVICE_TEST_CREDS }} SOURCE_LEMLIST_TEST_CREDS: ${{ secrets.SOURCE_LEMLIST_TEST_CREDS }} diff --git a/airbyte-integrations/connectors/source-confluence/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-confluence/integration_tests/configured_catalog.json index 8d03fca880e4..3b9510160172 100644 --- a/airbyte-integrations/connectors/source-confluence/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-confluence/integration_tests/configured_catalog.json @@ -39,16 +39,6 @@ }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" - }, - { - "stream": { - "name": "audit", - "json_schema": {}, - "supported_sync_modes": ["full_refresh"], - "source_defined_primary_key": [["id"]] - }, - "sync_mode": "full_refresh", - "destination_sync_mode": "overwrite" } ] } diff --git a/airbyte-integrations/connectors/source-confluence/source_confluence/source.py b/airbyte-integrations/connectors/source-confluence/source_confluence/source.py index 278dc1a84cab..cb2510c20f15 100644 --- a/airbyte-integrations/connectors/source-confluence/source_confluence/source.py +++ b/airbyte-integrations/connectors/source-confluence/source_confluence/source.py @@ -82,6 +82,7 @@ class Pages(BaseContentStream): """ API documentation: https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-get """ + content_type = "page" @@ -89,6 +90,7 @@ class BlogPosts(BaseContentStream): """ API documentation: https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-get """ + content_type = "blogpost" @@ -96,6 +98,7 @@ class Space(ConfluenceStream): """ API documentation: https://developer.atlassian.com/cloud/confluence/rest/api-group-space/#api-wiki-rest-api-space-get """ + api_name = "space" expand = ["permissions", "icon", "description.plain", "description.view"] @@ -104,6 +107,7 @@ class Group(ConfluenceStream): """ API documentation: https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-wiki-rest-api-group-get """ + api_name = "group" @@ -111,6 +115,7 @@ class Audit(ConfluenceStream): """ API documentation: https://developer.atlassian.com/cloud/confluence/rest/api-group-audit/#api-wiki-rest-api-audit-get """ + primary_key = "author" api_name = "audit" limit = 1000 diff --git a/tools/bin/ci_credentials.sh b/tools/bin/ci_credentials.sh index 03e35719baae..bb5e4da50150 100755 --- a/tools/bin/ci_credentials.sh +++ b/tools/bin/ci_credentials.sh @@ -64,6 +64,7 @@ write_standard_creds source-braintree "$BRAINTREE_TEST_CREDS" write_standard_creds source-cart "$CART_TEST_CREDS" write_standard_creds source-chargebee "$CHARGEBEE_INTEGRATION_TEST_CREDS" write_standard_creds source-close-com "$SOURCE_CLOSE_COM_CREDS" +write_standard_creds source-confluence "$SOURCE_CONFLUENCE_TEST_CREDS" write_standard_creds source-delighted "$SOURCE_DELIGHTED_TEST_CREDS" write_standard_creds source-drift "$DRIFT_INTEGRATION_TEST_CREDS" write_standard_creds source-dixa "$SOURCE_DIXA_TEST_CREDS"