Template generation for new Source using the Santa CDK - provide basic scaffolding for someone implementing a new source. General approach is to buff up comments in the original SDK, and add TODOs with secondary comments in the generated stub methods, as well as links to existing examples (e.g. Stripe or ExchangeRate api) users can look at. Checked in and added tests for the generated modules.
17 lines
503 B
Docker
17 lines
503 B
Docker
FROM airbyte/integration-base-python:0.1.5
|
|
|
|
# Bash is installed for more convenient debugging.
|
|
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV CODE_PATH="source_{{snakeCase name}}"
|
|
ENV AIRBYTE_IMPL_MODULE="source_{{snakeCase name}}"
|
|
ENV AIRBYTE_IMPL_PATH="Source{{properCase name}}"
|
|
|
|
WORKDIR /airbyte/integration_code
|
|
COPY $CODE_PATH ./$CODE_PATH
|
|
COPY setup.py ./
|
|
RUN pip install .
|
|
|
|
LABEL io.airbyte.version=0.1.0
|
|
LABEL io.airbyte.name=airbyte/source-{{dashCase name}}
|