Skip to content

Commit

Permalink
Source Freshdesk: Convert to airbyte-lib (#34101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter authored Jan 12, 2024
1 parent 42eff7a commit e2146ea
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
9 changes: 2 additions & 7 deletions airbyte-integrations/connectors/source-freshdesk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#


import sys

from airbyte_cdk.entrypoint import launch
from source_freshdesk import SourceFreshdesk
from source_freshdesk.run import run

if __name__ == "__main__":
source = SourceFreshdesk()
launch(source, sys.argv[1:])
run()
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: ec4b9503-13cb-48ab-a4ab-6ade4be46567
dockerImageTag: 3.0.5
dockerImageTag: 3.0.6
dockerRepository: airbyte/source-freshdesk
documentationUrl: https://docs.airbyte.com/integrations/sources/freshdesk
githubIssueLabel: source-freshdesk
Expand Down
5 changes: 5 additions & 0 deletions airbyte-integrations/connectors/source-freshdesk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
]

setup(
entry_points={
"console_scripts": [
"source-freshdesk=source_freshdesk.run:run",
],
},
name="source_freshdesk",
description="Source implementation for Freshdesk.",
author="Airbyte",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#


import sys

from airbyte_cdk.entrypoint import launch
from source_freshdesk import SourceFreshdesk


def run():
source = SourceFreshdesk()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/freshdesk.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ If you don't use the start date Freshdesk will retrieve only the last 30 days. M

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------ |
| 3.0.6 | 2024-01-10 | [34101](https://github.com/airbytehq/airbyte/pull/34101) | Base image migration: remove Dockerfile and use the python-connector-base image |
| 3.0.5 | 2023-11-30 | [33000](https://github.com/airbytehq/airbyte/pull/33000) | Base image migration: remove Dockerfile and use the python-connector-base image |
| 3.0.4 | 2023-06-24 | [27680](https://github.com/airbytehq/airbyte/pull/27680) | Fix formatting |
| 3.0.3 | 2023-06-02 | [26978](https://github.com/airbytehq/airbyte/pull/26978) | Skip the stream if subscription level had changed during sync |
Expand Down

0 comments on commit e2146ea

Please sign in to comment.