From 60966b62b98924d438534e0f45aa1034ad96312a Mon Sep 17 00:00:00 2001 From: iamshen Date: Fri, 17 May 2024 14:11:45 +0800 Subject: [PATCH 1/5] Remove Directory.Build.props comment --- Directory.Build.props | 2 +- Directory.Packages.props.bakup | 125 --------------------------------- 2 files changed, 1 insertion(+), 126 deletions(-) delete mode 100644 Directory.Packages.props.bakup diff --git a/Directory.Build.props b/Directory.Build.props index 402a830..a2dd21d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - + none false diff --git a/Directory.Packages.props.bakup b/Directory.Packages.props.bakup deleted file mode 100644 index 2dac5cf..0000000 --- a/Directory.Packages.props.bakup +++ /dev/null @@ -1,125 +0,0 @@ - - - true - - - 8.0.0 - 8.0.0 - 8.0.4 - 1.13.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - \ No newline at end of file -- Gitee From 7a8560fd8a91a0c5447c4f6defecfac37657992b Mon Sep 17 00:00:00 2001 From: iamshen Date: Fri, 17 May 2024 14:12:24 +0800 Subject: [PATCH 2/5] Update Directory.Build.props --- Directory.Build.props | 1 - 1 file changed, 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index a2dd21d..e8fe430 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,6 @@ - none false -- Gitee From 9c2bb88421ca7ffa45ba6ab3a81ea5fd1c2854fe Mon Sep 17 00:00:00 2001 From: iamshen Date: Fri, 17 May 2024 14:12:50 +0800 Subject: [PATCH 3/5] Delete useless files --- .dockerignore | 25 ------------------------- .env | 17 ----------------- dapr.tool.ordering.schema.json | 3 --- 3 files changed, 45 deletions(-) delete mode 100644 .dockerignore delete mode 100644 .env delete mode 100644 dapr.tool.ordering.schema.json diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 3729ff0..0000000 --- a/.dockerignore +++ /dev/null @@ -1,25 +0,0 @@ -**/.classpath -**/.dockerignore -**/.env -**/.git -**/.gitignore -**/.project -**/.settings -**/.toolstarget -**/.vs -**/.vscode -**/*.*proj.user -**/*.dbmdl -**/*.jfm -**/azds.yaml -**/bin -**/charts -**/docker-compose* -**/Dockerfile* -**/node_modules -**/npm-debug.log -**/obj -**/secrets.dev.yaml -**/values.dev.yaml -LICENSE -README.md \ No newline at end of file diff --git a/.env b/.env deleted file mode 100644 index f038dc0..0000000 --- a/.env +++ /dev/null @@ -1,17 +0,0 @@ -# Compose supports declaring default environment variables in an environment file named .env placed in the folder docker-compose command is executed from (current working directory). -# Compose expects each line in an env file to be in VAR=VAL format. Lines beginning with # (i.e. comments) are ignored, as are blank lines. -# Note: Values present in the environment at runtime will always override those defined inside the .env file. Similarly, values passed via command-line arguments take precedence as well. - -# Compose 支持在名为 .env 的环境文件中声明默认环境变量,该文件放置在执行 docker-compose 命令的文件夹(当前工作目录)中 -# Compose 希望 env 文件中的每一行都是 VAR=VAL 格式。以 # 开头的行(即注释)和空行都将被忽略 -# 注意:运行时环境中的值总是优先于 .env 文件中定义的值。同样,通过命令行参数传递的值也具有优先权。 - - -# The IP below should be swapped to your real IP or DNS name, like 192.168.88.248, etc. if testing from remote browsers or mobile devices -# 如果通过远程浏览器或移动设备进行测试,应将下面的 IP 替换为您的真实 IP 或 DNS 名称,如 192.168.88.248 等 - -GOLD_EXTERNAL_DNS_NAME_OR_IP=localhost - -# If the NAMESPACE env var is set, Dapr does not load any -# component that does not specify the same namespace. -NAMESPACE=gold \ No newline at end of file diff --git a/dapr.tool.ordering.schema.json b/dapr.tool.ordering.schema.json deleted file mode 100644 index 0e0dcd2..0000000 --- a/dapr.tool.ordering.schema.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - -} \ No newline at end of file -- Gitee From 8f6cc1dc4335f166dad4884e73535daafdcaa3cc Mon Sep 17 00:00:00 2001 From: iamshen Date: Fri, 17 May 2024 14:17:18 +0800 Subject: [PATCH 4/5] Update CONFIGURATION.md --- CONFIGURATION.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CONFIGURATION.md b/CONFIGURATION.md index 63004bb..e5ec66a 100644 --- a/CONFIGURATION.md +++ b/CONFIGURATION.md @@ -16,7 +16,13 @@ - 这些组件配置文件会被 Dapr 运行时自动加载,并根据配置初始化相应的组件。 -#### `dapr postgres` 配置 +#### 2.1 State stores + +> 如果需要 使用 `postgres` 作为 `statestore` 请使用以下脚本创建表 + + +> 详情可以参考 [`Dapr 文档`](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-postgresql-v2/) + ```postgresql -- # -- Gitee From 6bf907cea1746da1b8d635290cbe8e2007aeb2ea Mon Sep 17 00:00:00 2001 From: iamshen Date: Fri, 17 May 2024 14:18:57 +0800 Subject: [PATCH 5/5] Update Dapr .net sdk samples --- samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/README.md b/samples/README.md index 1613d85..f4d8399 100644 --- a/samples/README.md +++ b/samples/README.md @@ -1,4 +1,4 @@ - +这是 dapr .net sdk 使用的 简单示例 ### Step 1: Run Service -- Gitee