diff --git a/README.md b/README.md index 41cf96de65cfd42250dc19e86c5298ecd53e631f..c8da8083f432a36924456384f44b96d5792fdd5e 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,46 @@ ``` +- 在Resource根目录下加入HTTP加载方式的配置文件 `rec-http-spi-load.properties`,配置如下 +```properties +# Service address for loading data +rec-http-request-url=http://localhost:9999 +``` + +- 并且需要将此文件打包进去 +```xml + + + + true + src/main/resources + + **/*.properties + + + + + +``` +- 然后添加 application.yaml 配置文件 + +```yaml +# 接入方需要上报自己的信息给注册中心 +rec: + env: test + load: true + load-all: true + client-port: 12000 + server-ips: 127.0.0.1 + server-port: 9999 + app-name: rec-sample-sdk-test + domain: rec + +``` + +- 示例项目:https://gitee.com/loopstack/rec-sample +- ## 迭代版本 - 0.0.0.3.RELEASE: 支持服务端和客户端,支持SDK、提供HTTP SDK SPI的实现 diff --git a/pom.xml b/pom.xml index 048c399cd1674e64439ad1ff7b78b8f6a392bb0d..ade556872f824e91dba83d1feb1ab68d7996443d 100644 --- a/pom.xml +++ b/pom.xml @@ -342,19 +342,19 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - verify - - sign - - - - + + + + + + + + + + + + + @@ -447,19 +447,19 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - verify - - sign - - - - + + + + + + + + + + + + +