This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galaxy-deployment-schema-up…/README.md
2023-11-21 06:03:23 +00:00

29 lines
814 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Schema Updater Tool
## 简介
Galaxy-qgw-service Schema版本更新工具包用于不同版本之间的Schema更新保留用户已配置的TTL和字段状态信息。
对ttl和visibility进行远程配置的拉取进行对应规则的修改并保存本地配置文件和推送修改后的文件到nacos
## 规则
- TTL状态均以线上为准更新本地Schema属性。
- Visibility状态共三种hidden、enabled、disabled
- 若为hidden状态则以本地Schema为准不予处理。
- 若为enabled/disabled状态则以线上为准更新本地Schema属性。
## 启动方式
```
java -jar schema-updater-tool-{version}.jar {schema folder} {nacos address} {nacos namespcae}
```
样例:
```
java -jar schema-updater-tool-3.1.jar schema/ 192.168.44.12 test
```