Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 New Source: CoinGecko Coins [low-code cdk] #18248

Merged
merged 8 commits into from
Nov 18, 2022

Conversation

isaacharrisholt
Copy link
Contributor

What

It's often useful for FinTech companies to have access to market data. This connector adds data from the CoinGecko coins API to allow this.

How

This connector adds the following streams:

  • market_chart
  • history (to be made incremental in future)

Recommended reading order

  1. coingecko_coins.yaml
  2. spec.yaml

🚨 User Impact 🚨

No changes to existing code.

Pre-merge Checklist

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • docs/integrations/README.md
    • airbyte-integrations/builds.md
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub by running the /publish command described here
  • After the connector is published, connector added to connector index as described here
  • Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here

Tests

Unit

None.

Integration

image

Acceptance

image

@github-actions github-actions bot added the area/connectors Connector related issues label Oct 20, 2022
@isaacharrisholt isaacharrisholt changed the title Coingecko coins 🎉 New Source: CoinGecko Coins Oct 20, 2022
@sajarin sajarin added the bounty-XL Maintainer program: claimable extra large bounty PR label Oct 20, 2022
@sajarin
Copy link
Contributor

sajarin commented Oct 20, 2022

Thanks for the PR @isaacharrisholt, this PR is part of AIrbyte's Community Maintainer program and someone from our community will be assigned to help get this PR merged into our main branch. Please ping me if you don't hear anything back within 48 hours!

Happy Hacktober! :)

@sajarin
Copy link
Contributor

sajarin commented Oct 20, 2022

assigned to @jacqueskpoty

@jacqueskpoty
Copy link
Contributor

@isaacharrisholt Great work. Thanks for your contribution. Could you add the connector's documentation to the docs/integrations/sources folder? It should be named coinGecko.md
Please follow other connectors documentation examples in the same folder to complete the documentation.

@isaacharrisholt
Copy link
Contributor Author

isaacharrisholt commented Oct 24, 2022

@isaacharrisholt Great work. Thanks for your contribution. Could you add the connector's documentation to the docs/integrations/sources folder? It should be named coinGecko.md Please follow other connectors documentation examples in the same folder to complete the documentation.

Done! I named it coingecko-coins.md to follow the format of the others. Please let me know if this is an issue @jacqueskpoty

@github-actions github-actions bot added the area/documentation Improvements or additions to documentation label Oct 24, 2022
@jacqueskpoty
Copy link
Contributor

@isaacharrisholt It 'is not an issue. I took a look at it and it looks good. We will take it from here. We will get back to you if needs be. Thanks again for your contributions.

@jacqueskpoty
Copy link
Contributor

@isaacharrisholt Could you follow the step-11 in this document (https://docs.airbyte.com/connector-development/tutorials/building-a-python-source) so as to add a sourcceDefinitionId to the your connector. Let me know if you need any help with it. Thanks

@isaacharrisholt
Copy link
Contributor Author

@isaacharrisholt Could you follow the step-11 in this document (https://docs.airbyte.com/connector-development/tutorials/building-a-python-source) so as to add a sourcceDefinitionId to the your connector. Let me know if you need any help with it. Thanks

@jacqueskpoty All done!

dockerRepository: airbyte/source-coingecko-coins
dockerImageTag: 0.1.0
documentationUrl: https://docs.airbyte.com/integrations/sources/coingecko-coins
icon: coingeckocoins.svg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@isaacharrisholt Please add this icon to the following folder :
airbyte-config/init/src/main/resources/icons

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@isaacharrisholt
Copy link
Contributor Author

Hey, is there any update on this?

@jacqueskpoty
Copy link
Contributor

jacqueskpoty commented Nov 9, 2022 via email

@isaacharrisholt
Copy link
Contributor Author

The team is working on testing now.

On Wed, Nov 9, 2022 at 9:54 AM Isaac Harris-Holt @.> wrote: Hey, is there any update on this? — Reply to this email directly, view it on GitHub <#18248 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZEBEVHIBJQEXMGGL2FI23WHO3KDANCNFSM6AAAAAARKJIMRE . You are receiving this because you were mentioned.Message ID: @.>

Great, thank you!

@sajarin
Copy link
Contributor

sajarin commented Nov 14, 2022

@isaacharrisholt can you share any screenshots of passing tests? (Or can you share any credentials with our team?)

@isaacharrisholt
Copy link
Contributor Author

@isaacharrisholt can you share any screenshots of passing tests? (Or can you share any credentials with our team?)

There are screenshots in the pull request description above.

@marcosmarxm
Copy link
Member

marcosmarxm commented Nov 17, 2022

/test connector=connectors/source-coingecko-coins

🕑 connectors/source-coingecko-coins https://github.com/airbytehq/airbyte/actions/runs/3492765254
✅ connectors/source-coingecko-coins https://github.com/airbytehq/airbyte/actions/runs/3492765254
Python tests coverage:

	 Name                                                 Stmts   Miss  Cover   Missing
	 ----------------------------------------------------------------------------------
	 source_acceptance_test/base.py                          12      4    67%   16-19
	 source_acceptance_test/config.py                       139      5    96%   87, 93, 235, 239-240
	 source_acceptance_test/conftest.py                     196     92    53%   35, 41-43, 48, 54, 60, 66, 72-74, 93, 98-100, 106-108, 114-115, 120-121, 126, 132, 141-150, 156-161, 176, 200, 231, 237, 243-248, 256-261, 269-282, 287-293, 300-311, 318-334
	 source_acceptance_test/plugin.py                        69     25    64%   22-23, 31, 36, 120-140, 144-148
	 source_acceptance_test/tests/test_core.py              394    111    72%   53, 58, 87-95, 100-107, 111-112, 116-117, 293, 331-348, 357-365, 369-374, 380, 413-418, 456-463, 506-508, 511, 576-584, 596-599, 604, 660-661, 667, 670, 706-716, 729-754
	 source_acceptance_test/tests/test_incremental.py       158     14    91%   52-59, 64-77, 240
	 source_acceptance_test/utils/asserts.py                 37      2    95%   57-58
	 source_acceptance_test/utils/common.py                  94     10    89%   16-17, 32-38, 72, 75
	 source_acceptance_test/utils/compare.py                 62     23    63%   21-51, 68, 97-99
	 source_acceptance_test/utils/connector_runner.py       112     50    55%   23-26, 32, 36, 39-68, 71-73, 76-78, 81-83, 86-88, 91-93, 96-114, 148-150
	 source_acceptance_test/utils/json_schema_helper.py     105     13    88%   30-31, 38, 41, 65-68, 96, 120, 190-192
	 ----------------------------------------------------------------------------------
	 TOTAL                                                 1557    349    78%

Build Passed

Test summary info:

=========================== short test summary info ============================
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestIncremental.test_two_sequential_reads: not found in the config.
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/tests/test_core.py:88: The previous connector image could not be retrieved.
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/tests/test_core.py:358: The previous connector image could not be retrieved.
================= 26 passed, 3 skipped, 29 warnings in 24.96s ==================

@marcosmarxm
Copy link
Member

marcosmarxm commented Nov 18, 2022

/publish connector=connectors/source-coingecko-coins

🕑 Publishing the following connectors:
connectors/source-coingecko-coins
https://github.com/airbytehq/airbyte/actions/runs/3493227570


Connector Did it publish? Were definitions generated?
connectors/source-coingecko-coins

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@octavia-squidington-iii octavia-squidington-iii requested a review from a team November 18, 2022 01:04
Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcosmarxm marcosmarxm merged commit 4946ce7 into airbytehq:master Nov 18, 2022
@marcosmarxm marcosmarxm changed the title 🎉 New Source: CoinGecko Coins 🎉 New Source: CoinGecko Coins [low-code cdk] Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation bounty bounty-XL Maintainer program: claimable extra large bounty PR community hacktober low-code reward-200
Projects
Development

Successfully merging this pull request may close these issues.

None yet

7 participants