Closed v-kkhuang closed 9 months ago
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
WeChat Assistant | WeChat Public Account |
---|---|
Name | Description | Subscribe | Unsubscribe | Archive |
---|---|---|---|---|
dev@linkis.apache.org | community activity information | subscribe | unsubscribe | archive |
需求背景
目前运维人员需要修正配置项的一些分类、校验范围时,需要通过手动执行sql 方式来实现,操作起来不便捷,为了方便运维人员更加便捷操作基础数据配置项,linkis新增基础数据配置管理页面,页面可对配置项进行修改、新增、删除等功能
目标
1.页面需展示所有配置项信息 2.图形化界面提供新增、修改、删除、条件查询功能 3.查询功能支持:引擎类型(下拉选择框)、配置key(模糊搜索)类型筛选
处理方案
前端: 1.展示配置项列表数据 支持数据增删改查功能 2.查询: 引擎类型(下拉选择框)、配置key(模糊搜索)类型筛选 后端: 新增restful接口: 1.查询数据:baseKeyValue接口,请求方式:get 接口支持参数筛选,默认查询所有数据,数据以分页方式返回,提供页码,仅管理员可查询数据 2.删除数据:baseKeyValue接口,请求方式:delete 仅管理员可删除数据 3.保存数据(新增、修改):baseKeyValue接口,请求方式:post 仅管理员可新增数据,保证数据唯一性,新增修改前查询数据是否存在,存在则拒绝新增,修改则使用唯一索引限制重复数据
Requirement background
At present, when operation and maintenance personnel need to modify some classifications and verification ranges of configuration items, they need to manually execute SQL, which is not convenient to operate. In order to facilitate operation and maintenance personnel to operate basic data configuration items more conveniently, Linkis has added a basic data configuration management page, which can modify, add, and delete configuration items
Goal
Processing plan
Front end: