Skip to content

Commit

Permalink
Source Confluence: Enable in cloud (#23775)
Browse files Browse the repository at this point in the history
* Set additionalProperties: true, update docs and spec

* added changelog

* updated link to docs in spec

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
1 parent 19368cc commit c8a5533
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,14 @@
- name: Confluence
sourceDefinitionId: cf40a7f8-71f8-45ce-a7fa-fca053e4028c
dockerRepository: airbyte/source-confluence
dockerImageTag: 0.1.1
dockerImageTag: 0.1.2
documentationUrl: https://docs.airbyte.com/integrations/sources/confluence
icon: confluence.svg
sourceType: api
releaseStage: alpha
allowedHosts:
hosts:
- "${subdomain}.atlassian.net"
- name: ConvertKit
sourceDefinitionId: be9ee02f-6efe-4970-979b-95f797a37188
dockerRepository: airbyte/source-convertkit
Expand Down
10 changes: 7 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 @@ -2854,7 +2854,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-confluence:0.1.1"
- dockerImage: "airbyte/source-confluence:0.1.2"
spec:
documentationUrl: "https://docsurl.com"
connectionSpecification:
Expand All @@ -2865,19 +2865,23 @@
- "api_token"
- "domain_name"
- "email"
additionalProperties: false
additionalProperties: true
properties:
api_token:
title: "API Token"
type: "string"
description: "Please follow the Jira confluence for generating an API token:\
\ https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/"
\ <a href=\"https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/\"\
>generating an API token</a>."
airbyte_secret: true
domain_name:
title: "Domain name"
type: "string"
description: "Your Confluence domain name"
examples:
- "example.atlassian.net"
email:
title: "Email"
type: "string"
description: "Your Confluence login email"
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_confluence ./source_confluence
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.version=0.1.2
LABEL io.airbyte.name=airbyte/source-confluence
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@
"title": "Confluence Spec",
"type": "object",
"required": ["api_token", "domain_name", "email"],
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"api_token": {
"title": "API Token",
"type": "string",
"description": "Please follow the Jira confluence for generating an API token: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/",
"description": "Please follow the Jira confluence for generating an API token: <a href=\"https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/\">generating an API token</a>.",
"airbyte_secret": true
},
"domain_name": {
"title": "Domain name",
"type": "string",
"description": "Your Confluence domain name",
"examples": ["example.atlassian.net"]
},
"email": {
"title": "Email",
"type": "string",
"description": "Your Confluence login email",
"examples": ["abc@example.com"]
Expand Down
2 changes: 1 addition & 1 deletion connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
| **Commcare** | x | Source | airbyte/source-commcare:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/commcare) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-commcare) | <small>`f39208dc-7e1c-48b8-919b-5006360cc27f`</small> |
| **Commercetools** | <img alt="Commercetools icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/commercetools.svg" height="30" height="30"/> | Source | airbyte/source-commercetools:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/commercetools) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-commercetools) | <small>`008b2e26-11a3-11ec-82a8-0242ac130003`</small> |
| **ConfigCat** | <img alt="ConfigCat icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/configcat.svg" height="30" height="30"/> | Source | airbyte/source-configcat:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/configcat) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-configcat) | <small>`4fd7565c-8b99-439b-80d0-2d965e1d958c`</small> |
| **Confluence** | <img alt="Confluence icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/confluence.svg" height="30" height="30"/> | Source | airbyte/source-confluence:0.1.1 | alpha | [link](https://docs.airbyte.com/integrations/sources/confluence) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-confluence) | <small>`cf40a7f8-71f8-45ce-a7fa-fca053e4028c`</small> |
| **Confluence** | <img alt="Confluence icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/confluence.svg" height="30" height="30"/> | Source | airbyte/source-confluence:0.1.2 | alpha | [link](https://docs.airbyte.com/integrations/sources/confluence) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-confluence) | <small>`cf40a7f8-71f8-45ce-a7fa-fca053e4028c`</small> |
| **ConvertKit** | <img alt="ConvertKit icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/convertkit.svg" height="30" height="30"/> | Source | airbyte/source-convertkit:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/convertkit) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-convertkit) | <small>`be9ee02f-6efe-4970-979b-95f797a37188`</small> |
| **Convex** | <img alt="Convex icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/convex.svg" height="30" height="30"/> | Source | airbyte/source-convex:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/convex) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-convex) | <small>`c332628c-f55c-4017-8222-378cfafda9b2`</small> |
| **Copper** | <img alt="Copper icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/copper.svg" height="30" height="30"/> | Source | airbyte/source-copper:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/copper) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-copper) | <small>`44f3002f-2df9-4f6d-b21c-02cd3b47d0dc`</small> |
Expand Down
65 changes: 32 additions & 33 deletions docs/integrations/sources/confluence.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,52 @@
# Confluence

## Overview
This page contains the setup guide and reference information for the Confluence source connector.

The Confluence source supports Full Refresh syncs.
## Prerequisites

### Output schema
* [API Token](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/)
* Your Confluence domain name
* Your Confluence login email

This Source is capable of syncing the following core Streams:
## Setup guide
### Step 1: Set up Confluence connector
1. Log into your [Airbyte Cloud](https://cloud.airbyte.io/workspaces) or Airbyte Open Source account.
2. Click **Sources** and then click **+ New source**.
3. On the Set up the source page, select **Confluence** from the Source type dropdown.
4. Enter a name for your source.
5. For **API Tokene** follow the Jira confluence for generating an [API Token](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/)
6. For **Domain name** enter your Confluence domain name.
7. For **Email** enter your Confluence login email.

## Supported sync modes

| Feature | Supported? |
|:--------------------------|:-----------|
| Full Refresh Sync | Yes |
| Incremental - Append Sync | No |
| Incremental - Dedupe Sync | No |
| SSL connection | No |
| Namespaces | No |

## Supported Streams

* [Pages](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-get)
* [Blog Posts](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-get)
* [Space](https://developer.atlassian.com/cloud/confluence/rest/api-group-space/#api-wiki-rest-api-space-get)
* [Group](https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-wiki-rest-api-group-get)
* [Audit](https://developer.atlassian.com/cloud/confluence/rest/api-group-audit/#api-wiki-rest-api-audit-get)

### Data type mapping

## Data type map
The [Confluence API](https://developer.atlassian.com/cloud/confluence/rest/intro/#about) uses the same [JSONSchema](https://json-schema.org/understanding-json-schema/reference/index.html) types that Airbyte uses internally \(`string`, `date-time`, `object`, `array`, `boolean`, `integer`, and `number`\), so no type conversions happen as part of this source.

### Features

| Feature | Supported? |
| :--- | :--- |
| Full Refresh Sync | Yes |
| Incremental - Append Sync | No |
| Incremental - Dedupe Sync | No |
| SSL connection | No |
| Namespaces | No |

### Performance considerations

The Confluence connector should not run into Confluence API limitations under normal usage. Please [create an issue](https://github.com/airbytehq/airbyte/issues) if you see any rate limit issues that are not automatically retried successfully.

## Getting started

### Requirements

* Confluence Account
* Confluence API Token
* Confluence domain name
* Confluence email address

### Setup guide

Follow [this article](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/) to create an API token for your Confluence account.

## Changelog

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.1.1 | 2022-01-31 | [9831](https://github.com/airbytehq/airbyte/pull/9831) | Fix: Spec was not pushed to cache |
| 0.1.0 | 2021-11-05 | [7241](https://github.com/airbytehq/airbyte/pull/7241) | 🎉 New Source: Confluence |
| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------|
| 0.1.2 | 2023-03-06 | [23775](https://github.com/airbytehq/airbyte/pull/23775) | Set additionalProperties: true, update docs and spec |
| 0.1.1 | 2022-01-31 | [9831](https://github.com/airbytehq/airbyte/pull/9831) | Fix: Spec was not pushed to cache |
| 0.1.0 | 2021-11-05 | [7241](https://github.com/airbytehq/airbyte/pull/7241) | 🎉 New Source: Confluence |

0 comments on commit c8a5533

Please sign in to comment.