Skip to content

Commit

Permalink
add service discovery .run (apache#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyunxing92 authored Jun 27, 2021
1 parent a1da198 commit 2b0b10b
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 30 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions .run/configcenter/configcenter-nacos-server.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="configcenter-nacos-server" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="dubbo-go-samples" />
<working_directory value="$PROJECT_DIR$" />
<kind value="PACKAGE" />
<envs>
<env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/configcenter/nacos/go-server/conf/conf/log.yml" />
<env name="CONF_PROVIDER_FILE_PATH" value="$PROJECT_DIR$/configcenter/nacos/go-server/conf/server.yml" />
</envs>
<package value="github.com/apache/dubbo-go-samples/configcenter/nacos/go-server/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/configcenter/nacos/go-server/cmd/server.go" />
<method v="2" />
</configuration>
</component>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions .run/service-discovery/discovery-nacos-server.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="discovery-nacos-go-server" type="GoApplicationRunConfiguration" factoryName="Go Application" folderName="service-discovery">
<module name="dubbo-go-samples" />
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/registry/servicediscovery/nacos/go-server/conf/log.yml" />
<env name="CONF_PROVIDER_FILE_PATH" value="$PROJECT_DIR$/registry/servicediscovery/nacos/go-server/conf/server.yml" />
</envs>
<kind value="PACKAGE" />
<package value="github.com/apache/dubbo-go-samples/registry/servicediscovery/nacos/go-server/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/registry/servicediscovery/nacos/go-server/cmd/server.go" />
<method v="2" />
</configuration>
</component>
15 changes: 15 additions & 0 deletions .run/service-discovery/zk-client.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="zk-client" type="GoApplicationRunConfiguration" factoryName="Go Application" folderName="service-discovery">
<module name="dubbo-go-samples" />
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/registry/serviecdiscovery/zookeeper/go-client/conf/log.yml" />
<env name="CONF_CONSUMER_FILE_PATH" value="$PROJECT_DIR$/registry/servicediscovery/zookeeper/go-client/conf/client.yml" />
</envs>
<kind value="PACKAGE" />
<package value="github.com/apache/dubbo-go-samples/registry/servicediscovery/zookeeper/go-client/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
</component>
15 changes: 15 additions & 0 deletions .run/service-discovery/zk-server.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="zk-server" type="GoApplicationRunConfiguration" factoryName="Go Application" folderName="service-discovery">
<module name="dubbo-go-samples" />
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="APP_LOG_CONF_FILE" value="$PROJECT_DIR$/registry/serviecdiscovery/zookeeper/go-server/conf/log.yml" />
<env name="CONF_PROVIDER_FILE_PATH" value="$PROJECT_DIR$/registry/servicediscovery/zookeeper/go-server/conf/server.yml" />
</envs>
<kind value="PACKAGE" />
<package value="github.com/apache/dubbo-go-samples/registry/servicediscovery/zookeeper/go-server/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
</component>
15 changes: 0 additions & 15 deletions .run/zk-client.run.xml

This file was deleted.

15 changes: 0 additions & 15 deletions .run/zk-server.run.xml

This file was deleted.

0 comments on commit 2b0b10b

Please sign in to comment.