From 58839397931a678edc5c2bde6efdd590a860604c Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:24:35 +0200 Subject: [PATCH 1/8] Add version to config and contract #1938 --- docs/configuration/flags.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/flags.md b/docs/configuration/flags.md index f5ff432..c4c5f5b 100644 --- a/docs/configuration/flags.md +++ b/docs/configuration/flags.md @@ -15,7 +15,7 @@ home_dir: ./.dozer_custom Determines the name of the Dozer application. **Type**: String -#### `app_name` +#### `version` Determines the version of the Dozer application. **Type**: Integer From 58227ef58105f1c260670bcfeb478542054fbd13 Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:28:40 +0200 Subject: [PATCH 2/8] Add version to config and contract #1938 --- docs/sources/ethereum.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sources/ethereum.md b/docs/sources/ethereum.md index d10a191..56e2d9b 100644 --- a/docs/sources/ethereum.md +++ b/docs/sources/ethereum.md @@ -12,6 +12,7 @@ Traces provide a step-by-step account of all operations in a transaction, from g ### Configuration ```yaml app_name: dozer-eth-dashboard +version: 1 connections: - config: !Ethereum provider: !Trace From da9f3e83f5fbc93f3760dd5fc1bba076a7af72eb Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:31:21 +0200 Subject: [PATCH 3/8] Add version to config and contract #1938 --- static/examples/4_supabase_s3/dozer-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/examples/4_supabase_s3/dozer-config.yaml b/static/examples/4_supabase_s3/dozer-config.yaml index 0dd09c0..75f1ced 100644 --- a/static/examples/4_supabase_s3/dozer-config.yaml +++ b/static/examples/4_supabase_s3/dozer-config.yaml @@ -1,4 +1,5 @@ app_name: aws-s3-sample +version: 1 connections: - config : !S3Storage details: From 0e2f712db4c9cd9155b2d4d341c8124806993002 Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:33:06 +0200 Subject: [PATCH 4/8] Add version to config and contract #1938 --- docs/getting_started/core/connecting-to-sources.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/getting_started/core/connecting-to-sources.mdx b/docs/getting_started/core/connecting-to-sources.mdx index c3810db..c1ed870 100644 --- a/docs/getting_started/core/connecting-to-sources.mdx +++ b/docs/getting_started/core/connecting-to-sources.mdx @@ -132,6 +132,7 @@ Now edit your `dozer-config.yaml` and add a new PostgreSQL connection, a new sou ```yaml cache_max_map_size: 10000000000 app_name: ny-taxi-sample +version: 1 connections: - config: !LocalStorage details: From 5f702386414508b83955673b21f52fb846ae792c Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:34:45 +0200 Subject: [PATCH 5/8] Add version to config and contract #1938 --- static/examples/3_snowflake_sample/dozer-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/examples/3_snowflake_sample/dozer-config.yaml b/static/examples/3_snowflake_sample/dozer-config.yaml index bd610ba..edd45be 100644 --- a/static/examples/3_snowflake_sample/dozer-config.yaml +++ b/static/examples/3_snowflake_sample/dozer-config.yaml @@ -1,4 +1,5 @@ app_name: snowflake-tutorial +version: 1 connections: - config: !Snowflake server: "{{SN_SERVER}}" From ebd8b589a2b69bf22e7c1d3169ed9be024ee35c5 Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:35:42 +0200 Subject: [PATCH 6/8] Add version to config and contract #1938 --- static/examples/1_hypercharge_postgres/dozer-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/examples/1_hypercharge_postgres/dozer-config.yaml b/static/examples/1_hypercharge_postgres/dozer-config.yaml index 1e8ba5a..7f7624a 100644 --- a/static/examples/1_hypercharge_postgres/dozer-config.yaml +++ b/static/examples/1_hypercharge_postgres/dozer-config.yaml @@ -1,4 +1,5 @@ app_name: postgres-sample +version: 1 connections: - config: !Postgres user: postgres From a94664330a7eafa04aa9f2edb0b9f53c2dbd95c2 Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 14:36:43 +0200 Subject: [PATCH 7/8] Add version to config and contract #1938 --- static/examples/2_eth_stats_sample/dozer-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/static/examples/2_eth_stats_sample/dozer-config.yaml b/static/examples/2_eth_stats_sample/dozer-config.yaml index 62ec211..68e66cc 100644 --- a/static/examples/2_eth_stats_sample/dozer-config.yaml +++ b/static/examples/2_eth_stats_sample/dozer-config.yaml @@ -1,4 +1,5 @@ app_name: eth-smartcontracts-sample +version: 1 connections: - config: !Ethereum provider: !Log From 8884907c027e800363ce40403bd98026e51d299e Mon Sep 17 00:00:00 2001 From: Sidita Duli Date: Fri, 29 Sep 2023 15:25:30 +0200 Subject: [PATCH 8/8] Flag --locked in cli-reference --- docs/cli-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli-reference.md b/docs/cli-reference.md index 9bbb9b0..eae6fe8 100644 --- a/docs/cli-reference.md +++ b/docs/cli-reference.md @@ -20,8 +20,8 @@ Initializes a new Dozer project by generating the foundational `dozer-config.yam #### `dozer live` Initiates an in-browser interface for real-time Dozer application development. As the source code is modified in the IDE, changes are immediately reflected in this interface, enabling instant visualization and interactive testing. It streamlines the feedback loop, offering insights into data flows, configurations, and endpoints, all within the context of the live application. -#### `dozer run` -Initiates Dozer in a non-interactive way, but starting both `app` and `api` as different threads of the same process. +#### `dozer run [--locked]` +Initiates Dozer in a non-interactive way, but starting both `app` and `api` as different threads of the same process. It is optional the `--locked` flag to `dozer run`. ## Self-Hosted Deployment