You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
## 介绍
|
|
|
|
|
- 支持多数据源,内置mysql、elasticsearch、kudu等多种驱动 <br>
|
|
|
|
|
- 可动态扩展
|
|
|
|
|
![source.png](../picture/datasource/img_1.png)
|
|
|
|
|
|
|
|
|
|
## 数据源类型
|
|
|
|
|
查看已有的数据源类型 <br>
|
|
|
|
|
![img2](../picture/datasource/img_2.png) <br>
|
|
|
|
|
![img3](../picture/datasource/img_3.png) <br>
|
|
|
|
|
```text
|
|
|
|
|
可以在此页面进行新增数据源配置,也可以去数据库中增加你需要的数据源类型。
|
|
|
|
|
表aj_report.gaea_dict_item,字段dict_code:SOURCE_TYPE
|
|
|
|
|
表aj_report.gaea_dict_item, item_extend字段是下拉选择后动态表单渲染的json数据
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 操作
|
|
|
|
|
- 只有测试通过的数据源才可以保存
|
|
|
|
|
![An image](../picture/datasource/img.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 扩展
|
|
|
|
|
- 以kudu impala 为例,在lib文件夹下加入kudu impala相关的JDBC连接相关的包,如图在数据库中新增数据源类型,参考数据源类型(上方)
|
|
|
|
|
|
|
|
|
|
![An image](../picture/datasource/kudu-impala-lib.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|