1
0
mirror of synced 2026-01-08 03:06:34 -05:00
Commit Graph

239 Commits

Author SHA1 Message Date
Andrii Leonets
4c0d1a0399 🎉 New Source: Big Query (#4457)
New Source: BigQuery
2021-07-22 15:39:37 +03:00
Daniel Mateus Pires
c4de62e77a 🎉 New source: US census (#4228)
Co-authored-by: Sherif Nada <snadalive@gmail.com>
2021-07-20 00:17:53 -07:00
Sherif A. Nada
35806d9640 use new AMI ID for connector builds (#4855) 2021-07-19 21:42:23 -07:00
Sherif A. Nada
a4bb30430d Python Demo Destination: KVDB (#4786) 2021-07-19 09:44:36 -07:00
Davin Chia
1648fbc827 Explicitly pin ec2 runner version to 2.2.1. (#4823)
This was a mismash before, partially my fault. Explicitly pinning for now.
2021-07-19 21:03:02 +08:00
Vadym
24be682163 🎉 New source: Pipedrive connector (#4686)
* Add pipedrive source initial

* Add initial schemas.
Add MVP source implementation.

* Implement MVP streams

* Complete MVP streams implementation

* Apply schema format

* Add test creds

* Update streams.py
Fix schemas

* Update replication_start_date format.
Add extra pagination condition

* Refactor streams, remove unused classes.

* Add pipedrive.md docs file.
Add Pipedrive source definitions.

* Add json source definition.

* Update spec.json

* Add docs mentions throughout the project files
2021-07-19 15:08:23 +03:00
LiRen Tu
a8308c4061 🎉 New Destination: Google Cloud Storage (#4784)
* Adding Google Cloud Storage as destination

* Removed few comments and amended the version

* Added documentation in docs/integrations/destinations/gcs.md

* Amended gcs.md with the right pull id

* Implemented all the fixes requested by tuliren as per https://github.com/airbytehq/airbyte/pull/4329

* Renaming all the files

* Branch alligned to S3 0.1.7 (with Avro and Jsonl). Removed redundant file by making S3 a dependency for GCS

* Removed some additional duplicates between GCS and S3

* Revert changes in the root files

* Revert jdbc files

* Fix package names

* Refactor gcs config

* Format code

* Fix gcs connection

* Format code

* Add acceptance tests

* Fix parquet acceptance test

* Add ci credentials

* Register the connector and update documentations

* Fix typo

* Format code

* Add unit test

* Add comments

* Update readme

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

Co-authored-by: Marco Fontana <marco.fontana@sohohouse.com>
Co-authored-by: marcofontana.ing@gmail.com <marcofontana.ing@gmail.com>
Co-authored-by: Marco Fontana <MaxwellJK@users.noreply.github.com>
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-07-16 19:22:12 -07:00
Anna Lvova
28239a87a1 🎉 Stripe Source: Fix subscriptions stream to return all kinds of subscriptions (including expired and canceled) (#4669)
#4669 Stripe Source: Fix subscriptions stream to return all kinds of subscriptions (including expired and canceled)
Co-authored-by: Oleksandr Bazarnov <oleksandr.bazarnov@globallogic.com>
2021-07-16 20:49:57 +03:00
Charles
d279ae3796 Restore template generator and fix formatting. (#4768) 2021-07-15 14:08:18 -07:00
Charles
7f5e5908f9 remove second docs check in build(#4766) 2021-07-15 10:57:21 -07:00
Charles
76adc25820 Split Platform and Connector Builds (#4514) 2021-07-15 10:49:15 -07:00
Subodh Kant Chaturvedi
005c89faca increase sleep duration + show logs in CI (#4756) 2021-07-15 14:16:50 +05:30
Yaroslav Dudar
20f9c2da62 🎉 New source: Typeform (#4541)
Typeform source: Forms and Responses streams
2021-07-13 13:06:50 +03:00
Sherif A. Nada
099865bca9 allow launching integration tests from workflow dispatch (#4723) 2021-07-12 23:30:55 -07:00
vovavovavovavova
db223a4d06 🎉 New Source: Zendesk Sunshine (#4359)
* pre-PR

* add git config

* format

* Update airbyte-integrations/connectors/source-zendesk-sunshine/requirements.txt

upd requirements.txt remove extra

Co-authored-by: Eugene Kulak <widowmakerreborn@gmail.com>

* Update airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/streams.py

backoff time int to float (btw real return type in headers is integer)

Co-authored-by: Eugene Kulak <widowmakerreborn@gmail.com>

* requested changes

* fix newline absence && rm unnecessary temp file

* url_base to property

* rm extra var coming property

* rm extra var coming property

* save

* finishing updating the documentation

* forgotten definition

* add nullable to pass the test

* fix date in the log

Co-authored-by: Eugene Kulak <widowmakerreborn@gmail.com>
2021-07-09 09:55:40 +03:00
midavadim
ca3befee14 🎉 New Source: Paypal Transaction (#4240)
* Added spec.json

* Initialization

* added oauth2 autorization

* added spec, check, discover + catalogs/configurared_catalogs

* updated request_params

* added paging, slicing (1d)

* Use oath2 for paypal

* incremental sync, acceptance test

* incremental sync, acceptance test

* Added spec.json

* Initialization

* added oauth2 autorization

* added spec, check, discover + catalogs/configurared_catalogs

* updated request_params

* added paging, slicing (1d)

* Use oath2 for paypal

* incremental sync, acceptance test

* incremental sync, acceptance test

* Added spec.json

* Initialization

* added oauth2 autorization

* added spec, check, discover + catalogs/configurared_catalogs

* updated request_params

* added paging, slicing (1d)

* Use oath2 for paypal

* incremental sync, acceptance test

* updated slices and api limits, added validation for input dates

* added tests, fixed cursor related information in schemas and configured catalogs, removed old comments, re-arranged Base PaypalTransactionStream class

* added input param 'env' to support production and sandbox envs

* added support for sandbox option, updated pattern for optional end date option

* added github secrets

* added support for sandbox option, updated pattern for optional end date option

* fixed Copyright date, removed debug mesages

* added docs

* fix for test failure - The sync should produce at least one STATE message

* removed optional parameter 'end_date'

* removed detailed info about balances schema

* Delete employees.json

* Delete customers.json

* Added requests_per_minute rate limit

* added unit tests, added custom backoff

* added test for stream slices with stream state

* removed comments

* updated docs pages

* fixed format for json files

* fixed types in schemas and link to the schema. fixed primary key for Transactions stream

* updated stream slices

* Updated tests, unified stream_slices for both streams, all instance variables instantiated directly in __init__ method

* added CHANGELOG.md

* Added build seeds

* fixed closing double quotation mark

* added paypal entry in builds.md

* add fixture helper

* added paypal transaction generator script

* fixed styling

* maximum allowed start_date is extracted from API response now.

* fixed schemas

* fixed schemas - removed datetime

* now maximum_allowed_start_date is identified by last_refreshed_datetime attr in API response.

* added possibility to specify additional properties

Co-authored-by: Sherif Nada <snadalive@gmail.com>
2021-07-08 18:47:00 +03:00
Sherif A. Nada
3aebe55cd5 🎉 Python CDK: Allow setting network adapter args on outgoing HTTP requests (#4493) 2021-07-07 15:17:58 -07:00
Dmytro
b8b205a3ff 🎉 New source: Square (#4439) 2021-07-07 20:20:18 +03:00
Davin Chia
e2074a4dc1 Logging to GCS. (#4501)
Add the ability to log to GCS.
2021-07-07 21:06:25 +08:00
oleh.zorenko
84ba3e79b3 🎉 Native GitHub connector (#4174)
* GitHub source initial version

All streams are in `full_refresh` mode only.

* Run format command

* Add handling for 404 error in Teams stream

* Update creds naming for github

* Update acceptance tests

* Update check_connection()

* Code review fixes

Remove `/integration_tests/catalog.json` file.
Use `Collaborators` class in `check_connection()` function.
Remove excessive data from GithubStream class.

* Remove unused import

* Implement requested changes

* Add incremental streams

* Remove `supports_incremental`

* Update docs

* Implement requested changes

* Implement requested changes

* Implement requested changes

* Bump connector version
2021-07-06 17:06:34 +03:00
Davin Chia
b39670d73c Move frontend test to ec2 runner. (#4562)
* Move frontend test to run on ec2-runner.
2021-07-06 16:24:30 +08:00
Davin Chia
c83b134d1a Stablise Python Builds. (#4558)
See the PR description or issue 4559 for context.
2021-07-06 13:53:17 +08:00
vovavovavovavova
08b32d18ed 🎉 New Source: SurveyMonkey (#4097)
* add base files

* upd base

* save

* save sample files

* save & todo resolve state

* save the stage

* save the stage

* pre-gradle save

* fix catalogs

* merge && format

* normal stream slices

* apply requested changes

* requested_changes

* postfix

* update comment

* expand question stream add page_id

* upd typing once + rm missed inactual todo

* upd: caching with temp file

* upd requirements (requested)

* latest requested fixes

* posttext fix retn tempfile

* apply changes && comment

* newly requested changes

* return back spec -> changes to be set in new issue

* merge && usage comment

* add unit_test for get_updated_state function

* add simple date test

* parametrized (?) unittest

* upd comment on record_mode usage

* replace config with custom var

* pytest mark parametrized use

* rm unneeded var

* upd tests (requested)

* merge && upd texts

* add env airbyte_entrypoint
2021-07-05 19:35:46 +03:00
Davin Chia
71637a27c8 Improve Python Build. (#4540)
* Remove old pip build command. Deconflict Pydantic.

* Run test on ec2 instance.
2021-07-05 16:25:33 +08:00
LiRen Tu
3d3988b1e3 Destination MySQL: bump version (#4531)
* Bump mysql destination version to pick up normalization

* Also change the publish command to run on ec2-runners to try and avoid build errors with gradle unable to find the right volume.

Co-authored-by: Davin Chia <davinchia@gmail.com>
2021-07-04 21:54:01 +08:00
Marcos Marx
78acd7e97e Add Airbyte Entrypoint to Intercom (#4524) 2021-07-03 21:21:39 +08:00
Davin Chia
c5a02810d1 Various build updates. (#4425)
* Stop pushing dev images. Pin actions to the v2 release track to get latest updates.

* Update gradle git workflow comments.
2021-06-30 11:16:00 +08:00
Marcos Marx
4bace33322 Add comments on issue templates and reframe bug-report template (#3203)
* add comments and reframe bug-report issue

* add suggestion using details tag for log

* change abhi comments

* add more example os vrson/instance

* correct tag

* remove hidden comments and add submit pr

* correct some points

* correct details log block
2021-06-29 18:37:18 -03:00
Subodh Kant Chaturvedi
887752822c 🎉 introduce automatic migration at the startup of server for docker environment (#3980)
* introduce automatic migration at the startup of server

* handle versions with non-zero patch

* it works!!!

* add dummy data

* cleanup orphan configs

* add more assertions

* format + add comments

* move migration acceptance test to acceptance test directory

* add automatic migration test to the build

* address review comments

* missed out on these

* format

* add more assertions

* format

* fix test

* format

* use default port for temporal

* move seed to server + introduce atomice replacement for config

* make tests better

* remove unwanted changes

* move atomic replacement logic behind persistence + pass path to latest seeds

* format

* update seeds

* review comments

* update seeds

* merge latest seeds with configs

* fix bug around latest seed

* update seed

* update seed

* seeds should be populated by separate container

* address review comment + change latest definition url

* update seeds

* format

* update seed references

* update seed

* update seed

* update seed

* update seed references

* update seed references + add Migration Acceptance Test

* update seed container in kube + disable automatic migration for kube + update docs

* update docs

* address review comments from Michel

* update doc

* temporary commmit to see if build becomes green

* delete seeds from airbyte config + undo temp commit
2021-06-29 23:50:00 +05:30
Davin Chia
bb189cf896 Migrate actions to the fix the paginate bug. (#4398)
Fix a bug in ec2 runner that I committed to the underlying library in machulav/ec2-github-runner#51.

This points to master because the action's maintainer has yet to release a version. I'll move it to a proper version when one is released.
2021-06-29 18:16:18 +08:00
Charles
97c0ee83df run docker acceptance tests once (#4362) 2021-06-28 13:48:20 -07:00
Charles
8ebc3dc73b Build Core Docker Images and Run Tests should only do composeBuild (#4361) 2021-06-28 09:33:26 -07:00
Sherif A. Nada
767f40b82e Publish Pubsub (#4354) 2021-06-25 11:48:30 -07:00
Sherif A. Nada
8bce17470c add missing items to PR template 2021-06-25 11:28:03 -07:00
Davin Chia
683a67c023 Upgrade Gradle Python plugin + explicitly install PyEnv to fix transient checkPython error. (#3362)
This is what the plugin's maintainer suggested: xvik/gradle-use-python-plugin#19.

I ran the build 10 times in a row without any checkPython error so this does seem to have fixed it.
2021-06-25 17:32:41 +08:00
Yaroslav Dudar
2ccb1c2de0 🎉 New source: AWS CloudTrail (#4122)
AWS CloudTrail connector initial release
2021-06-25 11:10:07 +03:00
Jared Rhizor
a824323df2 use kind instead of minikube for kube integration tests (#4333)
* use docker driver for minikube

* try out kind

* remove minikube post-step
2021-06-24 17:48:27 -07:00
Sherif A. Nada
ebbef5e3ef update PR template 2021-06-23 08:01:23 -07:00
Davin Chia
e60f5369e0 🎉 Kube Logs support stored and reading from S3. (#4053)
Use Log4j2 appender to support routing logs to S3.

Create LogClient to support reading from S3.

Some clean up of the Log4j2 xml variables.

Several dependency changes to be more explicit when configuring jackson.
2021-06-19 12:15:15 +08:00
Jared Rhizor
883166a6c2 use ec2 runner for kube acceptance tests (#4058)
* use ec2 runner for kube acceptance tests

* add missing newline

* log outputs

* add user and home env vars

* log more

* use root user

* fix ec2 runner

* remaining debugging

* try overwrite forcing

* fail fast

* get kubectl location

* even more

* just look for it

* see if it's a symlink

* symlink

* make sure it's started

* try with overrides

* Revert "try with overrides"

This reverts commit 123e3c033e.

* clean up

* describe pods

* display exception when getting address in use error

* retry installing socat

* try inet4 address specifically

* switch order of install

* use unique ports for each

* try to detect locations with home and user set

* STOPTTTTTTTTTTT

* fix typo

* move socat back up one more

* add update
2021-06-17 22:48:52 -07:00
Marcos Marx
83a0ad1c32 Correct pattern for connector label (#4112)
* correct pattern for connector label

* add label for API
2021-06-14 18:38:28 -03:00
Harshith Mullapudi
bad2fb14e3 🎉 New source: Google Ads API (#3842)
* New source: Google Ads API

Co-authored-by: Sherif Nada <snadalive@gmail.com>
2021-06-14 16:16:32 +08:00
Sherif A. Nada
4ffa1bb6ab add item in PR checklist for documenting build status 2021-06-10 07:42:49 -07:00
Davin Chia
8d97ea2f01 Do not run acceptance tests on every merge to master. Gradle build on master runs hourly. (#3979) 2021-06-10 14:57:19 +08:00
Davin Chia
b04c080c95 Kube Queueing POC (#3464)
* Use CDK to generate source that can be configured to emit a certain number of records and always works.

* Checkpoint: socat works from inside the docker container.

* Override the entry point.

* Clean up and add ReadMe.

* Clean up socat.

* Checkpoint: connect to Kube cluster and list all the pods.

* Checkpoint: Sync worker pod is able to send output to the destination pod.

* Checkpoint: Sync worker creates Dest pod if none existed previously. It also waits for the pod to be ready before doing anything else. Sync worker will also remove the pod on termination.

* update readme

* Checkpoint: Dest pod does nott restart after finishing. Comment out delete command in Sync worker.

* working towards named pipes

* named pipes working

* update readme

* WIP named pipe / socat sidecar kube port forwarding (#3518)

* nearly working sources

* update

* stdin example

* move all kube testing yamls into the airbyte-workers directories. sort the airbyte-workers resource folder; place all the poc yamls together.

* Format.

* Put back the original KubeProcessBuilderFactory.

* Fix slight errors.

* Checkpoint: Worker pod knows its own IP. Successfully starts and writes to Dest pod after refactor.

* remove unused file and update readme

* Dest pod loops back into worker pod. However, the right messages do not seem to be passing in.

* Switch back to worker ip.

* SWEET VICTORY!.

* wrap kube pod in process (#3540)

also clean up kubernetes deploys.

* More clean up. (#3586)

The first 6 points of #3464.

The only interesting thing about this PR is the kube pod shutdown. For whatever reason, the OkHttpPool isn't respecting the evictAll call and 1 idle thread remains. So instead of shutting down immediately, the worker pod shuts down after 5 mins when the idle thread id reaped. There isn't an easy way to modify the pool's idle reap configuration now. I do not think this issue is blocking since it's relatively benign, so I vote we create a ticket and come back to this once we do an e2e test.

* Implements redirecting standard error as well. (#3623)

* Clean up before next implementation.

* kube process launching (#3790)

* processes must handle file mounting

* remove comment

* default to base entrypoint

* use process builder factory / select stdin / use a pool of ports

* fix up

* add super hacky copying example

* Checkpoint: Works end to end!

* Checkpoint: Use API to make sure init container is ready instead of blind sleep. Propagate exception in DefaultCheckConnectionWorker.

* Refactor KubePodProcess. Checked to make sure everything still works.

* Format.

* Clean up code. Begin putting this into variables and breaking up long constructor function.

* Add comments to explain what is happening.

* fix normalization test

* increase timeout for initcontainer

Co-authored-by: Davin Chia <davinchia@gmail.com>

* facepalm moment

* clean up kube poc pr (#3834)

* clean up

* remove source-always-works

* create separate commons-docker

* fix test

* enable kube e2e tests (#3866)

* enable kube e2e tests

* use more generally accepted env definition

* use new runners

* use its own runner and install minikube differently

* update name

* use kubectl alias

* use link instead of alias that doesn't propagate

* start minikube

* use driver=none

* go back to using action

* mess with versions

* revert runner

* install socat

* print logs after run

* also try re-runnining tasks

* always wait for file transfer

* use ports

* increase wait timeout for kube

* use different localhost ips and bump normalization to include an entrypoint

* proposed fix

* all working locally

* revert temporary changes

* revert normalization image change that's happening in a separate pr

* readability

* final comment

* Working Kube Cancel. (#3983)

* Port over the basic changes.

* Add logic to return proper exit code in the event of termination. Add comments to explain why.

* revert envs change and merge master to fix kube acceptance tests (#4012)

* use older env format

* fix build

Co-authored-by: jrhizor <me@jaredrhizor.com>
Co-authored-by: Jared Rhizor <jared@dataline.io>
2021-06-09 18:12:39 -07:00
Jared Rhizor
b4793b2510 add AIRBYTE_ENTRYPOINT for kubernetes support (#3973)
* add AIRBYTE_ENTRYPOINT for kubernetes support

* bump versions

* bump version in seed

* Update generic template

* keep scaffold sources at 0.1.0

* add missing newline

* handle python base versions correctly

* re-bump mysql and postgres sources

* re-bump snowflake destination

* add skip tests option

* switch to running tests

* reverse conditional to make it safer

* fix publish to include the test running

* fix iterable version

* fix file generation

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-06-09 13:01:45 -07:00
Charles
b5bb4efb57 remove auto assign bot (#3974) 2021-06-09 08:39:43 -07:00
vovavovavovavova
07b09a9a12 🎉 Posthog: New Source (#3768)
Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com>
2021-06-08 16:55:05 -07:00
Sherif A. Nada
4ce67f43e7 fix PR template formatting 2021-06-08 10:28:01 -07:00
Marcos Marx
bbac373713 Correct labeler pattern finder (#3952)
* correct labeler pattern to get subfolder

* folder and subfolders

* remove normalization from connectors

* add normalization label
2021-06-08 13:51:05 -03:00