An open API service indexing awesome lists of open source software.

https://github.com/odboy-tianjun/kenaito-config

A lightweight Config server that makes changing resolution records simple and elegant! Born for the pure blood self-developed DevOps platform.
https://github.com/odboy-tianjun/kenaito-config

dns dns-server go golang server web

Last synced: about 1 month ago
JSON representation

A lightweight Config server that makes changing resolution records simple and elegant! Born for the pure blood self-developed DevOps platform.

Awesome Lists containing this project

README

          

# Kenaito Config
> 学习使用,切勿上生产,后果自负

## 简介

Kenaito Config 是一个轻量级的配置中心,旨在简化应用配置,使其更加优雅。它专为自研 DevOps 平台设计。

## 技术栈

- **后端**:
- Spring Boot 2.7.18
- Mybatis-Plus
- JWT
- Spring Security
- Redis
- **前端**:
- Vue 2

## 系统功能

- **用户管理**: 提供用户相关配置,新增用户默认密码为 `123456`。
- **角色管理**: 分配权限与菜单,支持按部门设置角色数据权限。
- **菜单管理**: 实现菜单动态路由,支持多级菜单配置。
- **部门管理**: 配置系统组织架构,以树形表格展示。
- **岗位管理**: 配置各部门职位。
- **字典管理**: 维护常用固定数据,如状态、性别等。
- **SQL 监控**: 使用 Druid 监控数据库访问性能,默认用户名和密码均为 `admin`。
- **邮件工具**: 支持发送 HTML 格式的富文本邮件。
- **服务监控**: 监控服务器负载情况。

## 默认账号与密码

admin / 123456

## 待办事项

### 客户端

- **2024-12-05**: 启动后主动拉取远程配置
- **2024-12-05**: 定时刷盘(刷到一个文件中)
- **2024-12-06**: 同步锁加载配置
- **2024-12-06**: 定时刷盘(刷到多个文件中)
- **2024-12-06**: 读取本地配置缓存(连接服务端失败后的兜底操作)
- **2024-12-07**: 动态更新 `@Value` 注解的属性
- 感想:太艰难了
- 感谢:感谢 `spring-cloud-context` 的灵感
- 耗时:4 小时
- **2024-12-07**: 动态更新 `@ConfigurationProperties` 注解类中的属性
- **2024-12-xx**: 动态替换配置指令实现 [loading]

### 服务端

- **客户端注册、注销** [已完成]
- **多客户端支持** [已完成]
- **发布配置** [进行中]
- **获取客户端节点列表** [已完成]

## 更新记录

- **2024-12-05**: 成功获取远程配置并启动子应用
![2024-12-05](/doc/d20241205223929.png)
- **2024-12-10**: Web 页面大成
![2024-12-10](/doc/d20241210215050.png)

## 贡献指南

欢迎贡献代码!请遵循以下步骤:

1. **Fork 仓库**
2. **创建新分支**: `git checkout -b feature/your-feature`
3. **提交更改**: `git commit -m 'Add some feature'`
4. **推送分支**: `git push origin feature/your-feature`
5. **发起 Pull Request**

## 许可证

本项目采用 [MIT License](LICENSE) 许可证。

## 联系我们

如果有任何问题或建议,请通过 [GitHub Issues](https://github.com/odboy-tianjun/kenaito-config/issues) 联系我。