mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
docs: fix stale references post v2.0.17 alignment
- Update deploy/README.md: remove NincaCrkStdRibbonConfiguration ref, update JAR naming, add v2.0.17 config instructions - Update elevator-v1-v2-init-timing-config-audit.md: add baseline note - Update org-policy-verify-manual.md: JAR path + AppApplication class - Update release script comment with current baseline version - docs/AGENTS.md and service-discovery spec already updated in v2.0.17
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
| 目录 | JAR | 端口(见配置首行) |
|
||||
|------|-----|-------------------|
|
||||
| `v1-legacy/` | `cw-elevator-application-V1.0.0.20211103.jar` | **18080** |
|
||||
| `v2-maven/` | `cw-elevator-application-2.0.7.jar` | **18081** |
|
||||
| `v2-maven/` | `cw-elevator-application-V1.0.0.20211103.jar`(固定名,与 V1 一致) | **18081** |
|
||||
|
||||
**`application.properties`**:在验证环境常用的 JDBC / Redis / Ribbon / Kafka / 端口等覆盖(数据库为生产还原时,请把 **jdbc-url、账号** 指到承载还原库的实例)。
|
||||
|
||||
@@ -56,11 +56,19 @@ cd v2-maven && ./run.sh
|
||||
|
||||
验证 Consul:`curl -s http://192.168.3.12:8500/v1/status/leader`。浏览器打开 **`http://192.168.3.12:8500`** 可看 UI。
|
||||
|
||||
**说明**:jar 内 **Dubbo / ZooKeeper** 仍可能指向旧 IP(如 `10.128.161.95:2181`);若启动报 ZK 连接失败,需在 **`application.properties`** 中另行改 Dubbo 注册中心(本次仅处理 Consul)。
|
||||
**Dubbo 属性说明**:`bootstrap.properties` 中的 `dubbo.*` 属性为历史遗留(V1 携带),当前运行时**未启用 Dubbo**(POM 中无 Dubbo 依赖),这些属性不生效。
|
||||
|
||||
### Feign `ninca-crk-std`(Ribbon)
|
||||
### Feign 上游服务(Ribbon 静态列表)
|
||||
|
||||
在 **`spring.cloud.consul.discovery.enabled=false`**(与 V1 对齐)时,不从 Consul 拉 **`ninca-crk-std`** 实例,需在 **`application.properties`** 中配置 **Ribbon 静态列表**(`ninca-crk-std.ribbon.*` 与 `ninca-crk-std.ip`),按环境改成可访问的 **`主机:端口`**。Maven 构建的 `cw-elevator-application-2.0.7.jar` 另含 `NincaCrkStdRibbonConfiguration`,避免 Edgware 下静态列表被忽略。
|
||||
在 **`spring.cloud.consul.discovery.enabled=false`**(与 V1 对齐)时,不从 Consul 拉取上游服务实例。Feign 通过 **Ribbon + ConfigurationBasedServerList** 从 **`application.properties`** 中 **`{服务名}.ribbon.listOfServers`** 读取静态 IP 列表,按环境配置:
|
||||
|
||||
```properties
|
||||
ninca-crk-std.ribbon.listOfServers=10.0.22.102:16106
|
||||
ninca-common-component-organization.ribbon.listOfServers=...
|
||||
ninca-common.ribbon.listOfServers=...
|
||||
```
|
||||
|
||||
(V2 v2.0.17 起不再需要 `NIWSServerListClassName` 或 `NincaCrkStdRibbonConfiguration`,Ribbon 默认 `ConfigurationBasedServerList`。)
|
||||
|
||||
## Redis 与 `SPRING_APPLICATION_JSON`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user