From 6563a47f54dc6ea4ff2b8d502ddc925ead5f7937 Mon Sep 17 00:00:00 2001 From: Pat Nadolny Date: Thu, 20 Oct 2022 16:31:09 -0400 Subject: [PATCH] fix(templates): add environment support to the cookie cutter for `meltano.yml` (#1093) --- .../tap-template/{{cookiecutter.tap_id}}/meltano.yml | 5 +++++ .../{{cookiecutter.target_id}}/meltano.yml | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/meltano.yml b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/meltano.yml index 1ca496a86..e6a1cfba5 100644 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/meltano.yml +++ b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/meltano.yml @@ -1,6 +1,9 @@ version: 1 send_anonymous_usage_stats: true project_id: "{{cookiecutter.tap_id}}" +default_environment: test +environments: +- name: test plugins: extractors: - name: "{{cookiecutter.tap_id}}" @@ -10,6 +13,8 @@ plugins: - state - catalog - discover + - about + - stream-maps config: start_date: '2010-01-01T00:00:00Z' settings: diff --git a/cookiecutter/target-template/{{cookiecutter.target_id}}/meltano.yml b/cookiecutter/target-template/{{cookiecutter.target_id}}/meltano.yml index 000712603..da876d4df 100644 --- a/cookiecutter/target-template/{{cookiecutter.target_id}}/meltano.yml +++ b/cookiecutter/target-template/{{cookiecutter.target_id}}/meltano.yml @@ -1,6 +1,9 @@ version: 1 send_anonymous_usage_stats: true project_id: "{{cookiecutter.target_id}}" +default_environment: test +environments: +- name: test plugins: extractors: [] loaders: @@ -8,9 +11,9 @@ plugins: namespace: "{{cookiecutter.library_name}}" pip_url: -e . capabilities: - - state - - catalog - - discover + - about + - stream-maps + - record-flattening config: start_date: '2010-01-01T00:00:00Z' settings: