Skip to content

Commit c9ca485

Browse files
lazebnyiartem1205
andauthored
Source Gainsight Px: Changed last records to last record (#37593)
Signed-off-by: Artem Inzhyyants <[email protected]> Co-authored-by: Artem Inzhyyants <[email protected]>
1 parent ddc636e commit c9ca485

File tree

8 files changed

+1355
-90
lines changed

8 files changed

+1355
-90
lines changed

airbyte-integrations/connectors/source-gainsight-px/Dockerfile

-38
This file was deleted.

airbyte-integrations/connectors/source-gainsight-px/metadata.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ data:
22
allowedHosts:
33
hosts:
44
- api.aptrinsic.com/v1
5+
connectorBuildOptions:
6+
baseImage: docker.io/airbyte/python-connector-base:1.2.0@sha256:c22a9d97464b69d6ef01898edf3f8612dc11614f05a84984451dde195f337db9
57
remoteRegistries:
68
pypi:
79
enabled: true
@@ -14,7 +16,7 @@ data:
1416
connectorSubtype: api
1517
connectorType: source
1618
definitionId: 0da3b186-8879-4e94-8738-55b48762f1e8
17-
dockerImageTag: 0.1.0
19+
dockerImageTag: 0.1.1
1820
dockerRepository: airbyte/source-gainsight-px
1921
githubIssueLabel: source-gainsight-px
2022
icon: gainsight-px.svg

airbyte-integrations/connectors/source-gainsight-px/poetry.lock

+1,318
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[build-system]
2+
requires = [ "poetry-core>=1.0.0",]
3+
build-backend = "poetry.core.masonry.api"
4+
5+
[tool.poetry]
6+
version = "0.1.1"
7+
name = "source-gainsight-px"
8+
description = "Source implementation for Gainsight Px."
9+
authors = [ "Airbyte <[email protected]>",]
10+
license = "MIT"
11+
readme = "README.md"
12+
documentation = "https://docs.airbyte.com/integrations/sources/gainsight-px"
13+
homepage = "https://airbyte.com"
14+
repository = "https://github.com/airbytehq/airbyte"
15+
[[tool.poetry.packages]]
16+
include = "source_gainsight_px"
17+
18+
[tool.poetry.dependencies]
19+
python = "^3.9,<3.12"
20+
airbyte-cdk = "^0"
21+
22+
[tool.poetry.scripts]
23+
source-gainsight-px = "source_gainsight_px.run:run"
24+
25+
[tool.poetry.group.dev.dependencies]
26+
requests-mock = "^1.9.3"
27+
pytest-mock = "^3.6"
28+
pytest = "^6.1"
29+

airbyte-integrations/connectors/source-gainsight-px/requirements.txt

-1
This file was deleted.

airbyte-integrations/connectors/source-gainsight-px/setup.py

-46
This file was deleted.

airbyte-integrations/connectors/source-gainsight-px/source_gainsight_px/manifest.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ definitions:
2828
type: "DefaultPaginator"
2929
pagination_strategy:
3030
type: "CursorPagination"
31-
cursor_value: "{{ last_records[-1]['scrollId'] }}"
31+
cursor_value: "{{ last_record['scrollId'] }}"
3232
page_size: 5
3333
page_token_option:
3434
type: "RequestPath"

docs/integrations/sources/gainsight-px.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Gainsight-PX-API's [API reference](https://gainsightpx.docs.apiary.io/) has v1 a
6969

7070
## Changelog
7171

72-
| Version | Date | Pull Request | Subject |
73-
| :------ | :--------- | :----------------------------------------------------- | :------------- |
74-
| 0.1.0 | 2023-05-10 | [Init](https://github.com/airbytehq/airbyte/pull/26998)| Initial PR |
72+
| Version | Date | Pull Request | Subject |
73+
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------|
74+
| 0.1.1 | 2024-05-03 | [37593](https://github.com/airbytehq/airbyte/pull/37593) | Changed `last_records` to `last_record` |
75+
| 0.1.0 | 2023-05-10 | [26998](https://github.com/airbytehq/airbyte/pull/26998) | Initial PR |

0 commit comments

Comments
 (0)