Skip to content

Commit

Permalink
Source Bamboo-HR: change Name to name as returned from the API (airby…
Browse files Browse the repository at this point in the history
…tehq#17684)

* change Name to name as returned from the API

* udpate doc

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
marcosmarxm and octavia-squidington-iii authored Oct 6, 2022
1 parent 4b990d0 commit 53f68f4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
- name: BambooHR
sourceDefinitionId: 90916976-a132-4ce9-8bce-82a03dd58788
dockerRepository: airbyte/source-bamboo-hr
dockerImageTag: 0.2.1
dockerImageTag: 0.2.2
documentationUrl: https://docs.airbyte.io/integrations/sources/bamboo-hr
icon: bamboohr.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-bamboo-hr:0.2.1"
- dockerImage: "airbyte/source-bamboo-hr:0.2.2"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/bamboo-hr"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.1
LABEL io.airbyte.version=0.2.2
LABEL io.airbyte.name=airbyte/source-bamboo-hr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def convert_custom_reports_fields_to_list(custom_reports_fields: str) -> list:
def validate_custom_fields(custom_fields, available_fields):
denied_fields = []
for custom_field in custom_fields:
has_access_to_custom_field = any(available_field.get("Name") == custom_field for available_field in available_fields)
has_access_to_custom_field = any(available_field.get("name") == custom_field for available_field in available_fields)
if not has_access_to_custom_field:
denied_fields.append(custom_field)

Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/bamboo-hr.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Please [create an issue](https://github.com/airbytehq/airbyte/issues) if you see

| Version | Date | Pull Request | Subject |
|:--------| :--------- | :------------------------------------------------------ | :---------------------------------------- |
| 0.2.2 | 2022-09-16 | [17684](https://github.com/airbytehq/airbyte/pull/17684) | Fix custom field validation retrieve |
| 0.2.1 | 2022-09-16 | [16826](https://github.com/airbytehq/airbyte/pull/16826) | Add custom fields validation during check |
| 0.2.0 | 2022-03-24 | [11326](https://github.com/airbytehq/airbyte/pull/11326) | Add support for Custom Reports endpoint |
| 0.1.0 | 2021-08-27 | [5054](https://github.com/airbytehq/airbyte/pull/5054) | Initial release with Employees API |

0 comments on commit 53f68f4

Please sign in to comment.