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 df2783d1750f..eeb4a2d3e02e 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 379c3e8c7ff8..85ef798f5373 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 72bdc620ca4c..5482f6491ed9 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 b9a7dc0f3245..6eb11bcd5a3e 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 f03f99f7c46e..b8a8150b507f 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 545776693290..52accc9d8498 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 379c3e8c7ff8..85ef798f5373 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 903ea6752ac2..477962e76728 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 5c0def73f9c6..9112fc8c0c9e 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 f03f99f7c46e..b8a8150b507f 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 df2783d1750f..eeb4a2d3e02e 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 6e752104685c..5d7cec274c6e 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 3041c1fd0ea1..5e6bc88d3b56 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 240caca78c33..1960c953766b 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 f03f99f7c46e..b8a8150b507f 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 545776693290..52accc9d8498 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 66dc58763bd6..750c40029bae 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 439ca2348f01..6e1fa0780181 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 37e4a1783cf1..89772c429035 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 f03f99f7c46e..b8a8150b507f 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 f9729d97ff77..7b44054abbfc 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 897839c1b4b0..ae0cc45e2eb4 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