Skip to content

Commit

Permalink
Source Opsgenie: fix tests, add icon and format files (#31777)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm committed Oct 24, 2023
1 parent 38bace1 commit e3107fc
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 9 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-opsgenie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_opsgenie ./source_opsgenie
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.version=0.2.0
LABEL io.airbyte.name=airbyte/source-opsgenie
26 changes: 26 additions & 0 deletions airbyte-integrations/connectors/source-opsgenie/icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

import pytest

pytest_plugins = ("source_acceptance_test.plugin",)


@pytest.fixture(scope="session", autouse=True)
def connector_setup():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 06bdb480-2598-40b8-8b0f-fc2e2d2abdda
dockerImageTag: 0.1.0
dockerImageTag: 0.2.0
dockerRepository: airbyte/source-opsgenie
githubIssueLabel: source-opsgenie
license: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
-e ../../bases/source-acceptance-test
-e .
5 changes: 1 addition & 4 deletions airbyte-integrations/connectors/source-opsgenie/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@

from setuptools import find_packages, setup

MAIN_REQUIREMENTS = [
"airbyte-cdk~=0.2",
]
MAIN_REQUIREMENTS = ["airbyte-cdk"]

TEST_REQUIREMENTS = [
"requests-mock~=1.9.3",
"pytest~=6.1",
"pytest-mock~=3.6.1",
"source-acceptance-test",
"responses~=0.19.0",
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": ["null", "string"]
Expand All @@ -19,6 +20,9 @@
},
"version": {
"type": ["null", "string"]
},
"advanced": {
"type": ["null", "boolean"]
}
}
}
1 change: 1 addition & 0 deletions docs/integrations/sources/opsgenie.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ The Opsgenie connector uses the most recent API version for each source of data.

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:-----------------------------------------------------| :--- |
| 0.2.0 | 2023-10-24 | [16768](https://github.com/airbytehq/airbyte/pull/16768) | Fix schema |
| 0.1.0 | 2022-09-14 | [16768](https://github.com/airbytehq/airbyte/pull/16768) | Initial Release |

0 comments on commit e3107fc

Please sign in to comment.