diff --git a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py index df2783d1750..eeb4a2d3e02 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import pytest diff --git a/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs index 379c3e8c7ff..85ef798f537 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import sys diff --git a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs index 72bdc620ca4..5482f6491ed 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# from setuptools import find_packages, setup diff --git a/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs index b9a7dc0f324..6eb11bcd5a3 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# from abc import ABC diff --git a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/unit_test.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/unit_test.py.hbs index f03f99f7c46..b8a8150b507 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/unit_test.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/unit_test.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# def test_example_method(): diff --git a/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py index 54577669329..52accc9d849 100644 --- a/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import pytest diff --git a/airbyte-integrations/connector-templates/source-python/main.py.hbs b/airbyte-integrations/connector-templates/source-python/main.py.hbs index 379c3e8c7ff..85ef798f537 100644 --- a/airbyte-integrations/connector-templates/source-python/main.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/main.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import sys diff --git a/airbyte-integrations/connector-templates/source-python/setup.py.hbs b/airbyte-integrations/connector-templates/source-python/setup.py.hbs index 903ea6752ac..477962e7672 100644 --- a/airbyte-integrations/connector-templates/source-python/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/setup.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# from setuptools import find_packages, setup diff --git a/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs b/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs index 5c0def73f9c..9112fc8c0c9 100644 --- a/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import json diff --git a/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs b/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs index f03f99f7c46..b8a8150b507 100644 --- a/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# def test_example_method(): diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py index df2783d1750..eeb4a2d3e02 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import pytest diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/main.py b/airbyte-integrations/connectors/source-scaffold-source-http/main.py index 6e752104685..5d7cec274c6 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/main.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/main.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import sys diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py index 3041c1fd0ea..5e6bc88d3b5 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# from setuptools import find_packages, setup diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py index 240caca78c3..1960c953766 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# from abc import ABC diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py index f03f99f7c46..b8a8150b507 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/unit_test.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# def test_example_method(): diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py index 54577669329..52accc9d849 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import pytest diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/main.py b/airbyte-integrations/connectors/source-scaffold-source-python/main.py index 66dc58763bd..750c40029ba 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/main.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/main.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import sys diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py index 439ca2348f0..6e1fa078018 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# from setuptools import find_packages, setup diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py index 37e4a1783cf..89772c42903 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# import json diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py index f03f99f7c46..b8a8150b507 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py @@ -1,3 +1,4 @@ +# # MIT License # # Copyright (c) 2020 Airbyte @@ -19,6 +20,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# def test_example_method(): diff --git a/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/balance_transactions.json b/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/balance_transactions.json index f9729d97ff7..7b44054abbf 100644 --- a/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/balance_transactions.json +++ b/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/balance_transactions.json @@ -72,4 +72,4 @@ "format": "date-time" } } -} \ No newline at end of file +} diff --git a/settings.gradle b/settings.gradle index 897839c1b4b..ae0cc45e2eb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -52,6 +52,23 @@ if(!System.getenv().containsKey("SUB_BUILD") || System.getenv().get("SUB_BUILD") include ':airbyte-server' include ':airbyte-webapp' include ':airbyte-tests' + + // acceptance tests + include ':airbyte-integrations:bases:airbyte-protocol' + include ':airbyte-integrations:bases:base' + include ':airbyte-integrations:bases:base-java' + include ':airbyte-integrations:bases:base-normalization' + include ':airbyte-integrations:bases:standard-destination-test' + include ':airbyte-integrations:bases:standard-source-test' + include ':airbyte-integrations:bases:debezium' + include ':airbyte-integrations:connectors:source-jdbc' + include ':airbyte-integrations:connectors:source-postgres' + include ':airbyte-integrations:connectors:destination-postgres' + include ':airbyte-integrations:connectors:source-relational-db' + include ':airbyte-integrations:connectors:destination-e2e-test' + include ':airbyte-integrations:connectors:destination-jdbc' + include ':airbyte-integrations:connectors:source-e2e-test' + include ':tools:code-generator' } // connectors base