From b8ca1471a01fafa79180dbaf2f5ce01e2d0f9052 Mon Sep 17 00:00:00 2001 From: icanci Date: Mon, 9 Oct 2023 15:04:25 +0800 Subject: [PATCH] readme --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ pom.xml | 52 ++++++++++++++++++++++++++-------------------------- 2 files changed, 65 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 41cf96d..c8da808 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 048c399..ade5568 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 - - - - + + + + + + + + + + + + + -- Gitee