Skip to content

Commit

Permalink
Source NASA: Mark datefields in spec as dates (#22934)
Browse files Browse the repository at this point in the history
* Source NASA: Mark datefields in spec as dates

* Update changelog

* Add allowedHosts

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
2 people authored and jbfbell committed Mar 6, 2023
1 parent 19dc715 commit 85e7c51
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1192,11 +1192,14 @@
- name: NASA
sourceDefinitionId: 1a8667d7-7978-43cd-ba4d-d32cbd478971
dockerRepository: airbyte/source-nasa
dockerImageTag: 0.1.0
dockerImageTag: 0.1.1
documentationUrl: https://docs.airbyte.com/integrations/sources/nasa
icon: nasa.svg
sourceType: api
releaseStage: alpha
allowedHosts:
hosts:
- api.nasa.gov
- name: Netsuite
sourceDefinitionId: 4f2f093d-ce44-4121-8118-9d13b7bfccd0
dockerRepository: airbyte/source-netsuite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9461,7 +9461,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-nasa:0.1.0"
- dockerImage: "airbyte/source-nasa:0.1.1"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/nasa-apod"
connectionSpecification:
Expand Down Expand Up @@ -9499,13 +9499,15 @@
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
examples:
- "2022-10-20"
format: "date"
end_date:
type: "string"
description: "Indicates that end of a date range. If `start_date` is specified\
\ without an `end_date` then `end_date` defaults to the current date."
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
examples:
- "2022-10-20"
format: "date"
thumbs:
type: "boolean"
default: false
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-nasa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_nasa ./source_nasa
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.1.1
LABEL io.airbyte.name=airbyte/source-nasa
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ connectionSpecification:
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
examples:
- "2022-10-20"
format: date
end_date:
type: string
description: >-
Expand All @@ -43,6 +44,7 @@ connectionSpecification:
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
examples:
- "2022-10-20"
format: date
thumbs:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
| **MongoDb** | <img alt="MongoDb icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/mongodb.svg" height="30" height="30"/> | Source | airbyte/source-mongodb-v2:0.1.19 | alpha | [link](https://docs.airbyte.com/integrations/sources/mongodb-v2) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-mongodb-v2) | <small>`b2e713cd-cc36-4c0a-b5bd-b47cb8a0561e`</small> |
| **My Hours** | <img alt="My Hours icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/my-hours.svg" height="30" height="30"/> | Source | airbyte/source-my-hours:0.1.1 | alpha | [link](https://docs.airbyte.com/integrations/sources/my-hours) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-my-hours) | <small>`722ba4bf-06ec-45a4-8dd5-72e4a5cf3903`</small> |
| **MySQL** | <img alt="MySQL icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/mysql.svg" height="30" height="30"/> | Source | airbyte/source-mysql:1.0.21 | beta | [link](https://docs.airbyte.com/integrations/sources/mysql) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-mysql) | <small>`435bb9a5-7887-4809-aa58-28c27df0d7ad`</small> |
| **NASA** | <img alt="NASA icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/nasa.svg" height="30" height="30"/> | Source | airbyte/source-nasa:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/nasa) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-nasa) | <small>`1a8667d7-7978-43cd-ba4d-d32cbd478971`</small> |
| **NASA** | <img alt="NASA icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/nasa.svg" height="30" height="30"/> | Source | airbyte/source-nasa:0.1.1 | alpha | [link](https://docs.airbyte.com/integrations/sources/nasa) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-nasa) | <small>`1a8667d7-7978-43cd-ba4d-d32cbd478971`</small> |
| **Netsuite** | <img alt="Netsuite icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/netsuite.svg" height="30" height="30"/> | Source | airbyte/source-netsuite:0.1.3 | alpha | [link](https://docs.airbyte.com/integrations/sources/netsuite) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-netsuite) | <small>`4f2f093d-ce44-4121-8118-9d13b7bfccd0`</small> |
| **New York Times** | <img alt="New York Times icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/nytimes.svg" height="30" height="30"/> | Source | airbyte/source-nytimes:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/nytimes) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-nytimes) | <small>`0fae6a9a-04eb-44d4-96e1-e02d3dbc1d83`</small> |
| **News API** | <img alt="News API icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/newsapi.svg" height="30" height="30"/> | Source | airbyte/source-news-api:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/news-api) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-news-api) | <small>`df38991e-f35b-4af2-996d-36817f614587`</small> |
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/nasa.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ The NASA connector should not run into NASA API limitations under normal usage.

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------|
| 0.1.1 | 2023-02-13 | [22934](https://github.com/airbytehq/airbyte/pull/22934) | Specified date formatting in specification |
| 0.1.0 | 2022-10-24 | [18394](https://github.com/airbytehq/airbyte/pull/18394) | 🎉 New Source: NASA APOD |

0 comments on commit 85e7c51

Please sign in to comment.