You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2021/07/25 15:27:23 UTC

[dubbo-go-samples] branch 3.0 updated: add multi-zone run/debug configuration (#181)

This is an automated email from the ASF dual-hosted git repository.

laurence pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 242b869  add multi-zone run/debug configuration (#181)
242b869 is described below

commit 242b869130744dae6a5a3afe83ad96ce27f0987b
Author: Mulavar <97...@qq.com>
AuthorDate: Sun Jul 25 23:27:13 2021 +0800

    add multi-zone run/debug configuration (#181)
---
 .run/multi-zone/multi-zone-go-client.run.xml    | 15 +++++++++++++++
 .run/multi-zone/multi-zone-go-server-hz.run.xml | 15 +++++++++++++++
 .run/multi-zone/multi-zone-go-server-sh.run.xml | 15 +++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/.run/multi-zone/multi-zone-go-client.run.xml b/.run/multi-zone/multi-zone-go-client.run.xml
new file mode 100644
index 0000000..4c93ff6
--- /dev/null
+++ b/.run/multi-zone/multi-zone-go-client.run.xml
@@ -0,0 +1,15 @@
+<component name="ProjectRunConfigurationManager">
+  <configuration default="false" name="multi-zone-go-client" type="GoApplicationRunConfiguration" factoryName="Go Application" folderName="multi-zone">
+    <module name="dubbo-go-samples" />
+    <working_directory value="$PROJECT_DIR$" />
+    <envs>
+      <env name="CONF_CONSUMER_FILE_PATH" value="$PROJECT_DIR$/multi-zone/go-client/conf/client.yml" />
+      <env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/multi-zone/go-client/conf/log.yml" />
+    </envs>
+    <kind value="PACKAGE" />
+    <filePath value="$PROJECT_DIR$/multi-zone/go-client/cmd/client.go" />
+    <package value="github.com/apache/dubbo-go-samples/multi-zone/go-client/cmd" />
+    <directory value="$PROJECT_DIR$" />
+    <method v="2" />
+  </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/multi-zone/multi-zone-go-server-hz.run.xml b/.run/multi-zone/multi-zone-go-server-hz.run.xml
new file mode 100644
index 0000000..4ca96e3
--- /dev/null
+++ b/.run/multi-zone/multi-zone-go-server-hz.run.xml
@@ -0,0 +1,15 @@
+<component name="ProjectRunConfigurationManager">
+  <configuration default="false" name="multi-zone-go-server-hz" type="GoApplicationRunConfiguration" factoryName="Go Application" folderName="multi-zone">
+    <module name="dubbo-go-samples" />
+    <working_directory value="$PROJECT_DIR$" />
+    <envs>
+      <env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/multi-zone/go-server-hz/conf/log.yml" />
+      <env name="CONF_PROVIDER_FILE_PATH" value="$PROJECT_DIR$/multi-zone/go-server-hz/conf/server.yml" />
+    </envs>
+    <kind value="PACKAGE" />
+    <filePath value="$PROJECT_DIR$/multi-zone/go-server-hz/cmd/server.go" />
+    <package value="github.com/apache/dubbo-go-samples/multi-zone/go-server-hz/cmd" />
+    <directory value="$PROJECT_DIR$" />
+    <method v="2" />
+  </configuration>
+</component>
\ No newline at end of file
diff --git a/.run/multi-zone/multi-zone-go-server-sh.run.xml b/.run/multi-zone/multi-zone-go-server-sh.run.xml
new file mode 100644
index 0000000..f7962af
--- /dev/null
+++ b/.run/multi-zone/multi-zone-go-server-sh.run.xml
@@ -0,0 +1,15 @@
+<component name="ProjectRunConfigurationManager">
+  <configuration default="false" name="multi-zone-go-server-sh" type="GoApplicationRunConfiguration" factoryName="Go Application" folderName="multi-zone">
+    <module name="dubbo-go-samples" />
+    <working_directory value="$PROJECT_DIR$" />
+    <envs>
+      <env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/multi-zone/go-server-sh/conf/log.yml" />
+      <env name="CONF_PROVIDER_FILE_PATH" value="$PROJECT_DIR$/multi-zone/go-server-sh/conf/server.yml" />
+    </envs>
+    <kind value="PACKAGE" />
+    <filePath value="$PROJECT_DIR$/multi-zone/go-server-sh/cmd/server.go" />
+    <package value="github.com/apache/dubbo-go-samples/multi-zone/go-server-sh/cmd" />
+    <directory value="$PROJECT_DIR$" />
+    <method v="2" />
+  </configuration>
+</component>
\ No newline at end of file