更新了配置模块
This commit is contained in:
parent
54f6f6cdea
commit
e1d009479e
3394
.gitignore
vendored
3394
.gitignore
vendored
File diff suppressed because it is too large
Load Diff
23
Dockerfile
23
Dockerfile
@ -1,18 +1,19 @@
|
|||||||
FROM registry.cn-qingdao.aliyuncs.com/dataease/alpine-openjdk21-jre
|
FROM registry.cn-qingdao.aliyuncs.com/dataease/alpine-openjdk21-jre
|
||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
RUN mkdir -p /opt/apps/config \
|
RUN mkdir -p /opt/apps/config \
|
||||||
/opt/gisbi1.0/drivers/ \
|
/opt/gisbi2.0/drivers/ \
|
||||||
/opt/gisbi1.0/cache/ \
|
/opt/gisbi2.0/cache/ \
|
||||||
/opt/gisbi1.0/data/map \
|
/opt/gisbi2.0/data/map \
|
||||||
/opt/gisbi1.0/data/static-resource/ \
|
/opt/gisbi2.0/data/static-resource/ \
|
||||||
/opt/gisbi1.0/data/appearance/ \
|
/opt/gisbi2.0/data/appearance/ \
|
||||||
/opt/gisbi1.0/data/exportData/ \
|
/opt/gisbi2.0/data/exportData/ \
|
||||||
/opt/gisbi1.0/data/i8n/ \
|
/opt/gisbi2.0/data/excel/ \
|
||||||
/opt/gisbi1.0/data/plugin/
|
/opt/gisbi2.0/data/i8n/ \
|
||||||
|
/opt/gisbi2.0/data/plugin/
|
||||||
|
|
||||||
ADD drivers/* /opt/gisbi1.0/drivers/
|
ADD drivers/* /opt/gisbi2.0/drivers/
|
||||||
ADD mapFiles/ /opt/gisbi1.0/data/map/
|
ADD mapFiles/ /opt/gisbi2.0/data/map/
|
||||||
ADD staticResource/ /opt/gisbi1.0/data/static-resource/
|
ADD staticResource/ /opt/gisbi2.0/data/static-resource/
|
||||||
|
|
||||||
WORKDIR /opt/apps
|
WORKDIR /opt/apps
|
||||||
|
|
||||||
|
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
|
|
||||||
## 什么是 GIS-BI开发平台?
|
|
||||||
|
|
||||||
基于GIS的BI(商业智能)低代码开发平台是一个集成地理信息系统(GIS)和商业智能(BI)功能的应用配置开发平台,
|
|
||||||
旨在通过低代码或无代码的方式快速构建具备地理空间数据可视化、分析与业务洞察能力的应用。
|
|
||||||
该平台支持用户通过直观的界面和可配置组件,将空间数据与业务数据相结合,
|
|
||||||
进行可视化展示、动态交互、空间分析与多维数据探索,帮助决策者高效地获取空间相关的商业洞察,
|
|
||||||
同时降低开发复杂度和技术门槛。
|
|
||||||
|
|
||||||
**GIS-BI 的价值:**
|
|
||||||
|
|
||||||
- 提升开发效率:平台提供GIS、BI功能模块和可视化组件库,通过拖拽式操作和模板复用,显著减少从零开发的时间和成本。
|
|
||||||
- 缩短开发周期:低代码特性让开发团队专注于核心功能的实现,大幅缩短项目的研发周期,提升整体开发效率。
|
|
||||||
- 减少技术门槛:非专业开发人员也可以参与平台应用的配置和开发,优化技术资源配置。
|
|
||||||
- 一致的用户体验:统一的开发框架和组件库确保项目交付的界面美观性和功能一致性,增强客户满意度。
|
|
||||||
|
|
||||||
|
|
||||||
**GIS-BI 支持的数据源:**
|
|
||||||
|
|
||||||
- OLTP 数据库: MySQL、Oracle、SQL Server、PostgreSQL、MariaDB、Db2、TiDB、MongoDB-BI 等;
|
|
||||||
- OLAP 数据库: ClickHouse、Apache Doris、Apache Impala、StarRocks 等;
|
|
||||||
- 数据仓库/数据湖: Amazon RedShift 等;
|
|
||||||
- 数据文件: Excel、CSV 等;
|
|
||||||
- API 数据源。
|
|
||||||
|
|
||||||
## 平台技术架构
|
|
||||||
综合考虑技术生态、团队能力和平台功能需求,初步考虑以下的技术组合:
|
|
||||||
|
|
||||||
- 前端:Vue + ElementUI + Mapbox GL(可结合已有GIS资源选择) + ECharts/AntV
|
|
||||||
-- 前端库安装 yarn install
|
|
||||||
- 后端:Spring Boot3.0 + PostgreSQL + PostGIS
|
|
||||||
- 低代码支持:DataEase 开源二次开发
|
|
||||||
- DevOps:Docker + Kubernetes
|
|
||||||
|
|
||||||
|
|
||||||
## 平台功能框架
|
|
||||||

|
|
BIN
gis-bi.png
BIN
gis-bi.png
Binary file not shown.
Before Width: | Height: | Size: 5.2 MiB |
@ -2,7 +2,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
DE_MYSQL_HOST:
|
DE_MYSQL_HOST:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/dataease/mysql:8.4.0
|
image: registry.cn-qingdao.aliyuncs.com/dataease/mysql:8.4.5
|
||||||
container_name: ${DE_MYSQL_HOST}
|
container_name: ${DE_MYSQL_HOST}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-u${DE_MYSQL_USER}", "-p${DE_MYSQL_PASSWORD}", "--protocol","tcp"]
|
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-u${DE_MYSQL_USER}", "-p${DE_MYSQL_PASSWORD}", "--protocol","tcp"]
|
||||||
|
@ -19,7 +19,6 @@ services:
|
|||||||
- ${DE_BASE}/dataease2.0/data/plugin:/opt/dataease2.0/data/plugin
|
- ${DE_BASE}/dataease2.0/data/plugin:/opt/dataease2.0/data/plugin
|
||||||
- ${DE_BASE}/dataease2.0/data/font:/opt/dataease2.0/data/font
|
- ${DE_BASE}/dataease2.0/data/font:/opt/dataease2.0/data/font
|
||||||
- ${DE_BASE}/dataease2.0/data/i18n:/opt/dataease2.0/data/i18n
|
- ${DE_BASE}/dataease2.0/data/i18n:/opt/dataease2.0/data/i18n
|
||||||
- ${DE_BASE}/dataease2.0/logs/dataease/sync-task:/opt/dataease2.0/logs/sync-task
|
|
||||||
depends_on:
|
depends_on:
|
||||||
DE_MYSQL_HOST:
|
DE_MYSQL_HOST:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
@ -15,6 +15,7 @@ innodb_flush_method=O_DIRECT
|
|||||||
innodb_lock_wait_timeout=1800
|
innodb_lock_wait_timeout=1800
|
||||||
innodb_flush_log_at_trx_commit=0
|
innodb_flush_log_at_trx_commit=0
|
||||||
sync_binlog=0
|
sync_binlog=0
|
||||||
|
binlog_expire_logs_seconds=432000
|
||||||
|
|
||||||
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
|
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ function usage() {
|
|||||||
echo " backup 备份 DATAEASE 服务"
|
echo " backup 备份 DATAEASE 服务"
|
||||||
echo " restore xxx.tar.gz 还原 DATAEASE 服务"
|
echo " restore xxx.tar.gz 还原 DATAEASE 服务"
|
||||||
echo " clear-images 清理 DATAEASE 旧版本的相关镜像"
|
echo " clear-images 清理 DATAEASE 旧版本的相关镜像"
|
||||||
|
echo " clear-logs 清理 DATAEASE 历史日志"
|
||||||
echo " version 查看 DATAEASE 版本"
|
echo " version 查看 DATAEASE 版本"
|
||||||
}
|
}
|
||||||
function _generate_compose_file_args() {
|
function _generate_compose_file_args() {
|
||||||
@ -319,6 +320,14 @@ function clear_images() {
|
|||||||
echo "清理完毕"
|
echo "清理完毕"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
function clear_logs() {
|
||||||
|
echo "开始清理 DataEase 历史日志"
|
||||||
|
rm -rf ${DE_RUNNING_BASE}/logs/dataease/*.????-??-??.*.log
|
||||||
|
rm -rf ${DE_RUNNING_BASE}/logs/dataease/sync-task/task-handler-log/*
|
||||||
|
echo "" > ${DE_RUNNING_BASE}/logs/dataease/info.log
|
||||||
|
echo "" > ${DE_RUNNING_BASE}/logs/dataease/error.log
|
||||||
|
echo "清理完毕"
|
||||||
|
}
|
||||||
function backup() {
|
function backup() {
|
||||||
need_stop=0
|
need_stop=0
|
||||||
if [[ -z $1 ]];then
|
if [[ -z $1 ]];then
|
||||||
@ -408,6 +417,9 @@ function main() {
|
|||||||
clear-images)
|
clear-images)
|
||||||
clear_images
|
clear_images
|
||||||
;;
|
;;
|
||||||
|
clear-logs)
|
||||||
|
clear_logs
|
||||||
|
;;
|
||||||
version)
|
version)
|
||||||
version
|
version
|
||||||
;;
|
;;
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"devDependencies": {
|
|
||||||
"cross-env": "^7.0.3"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@form-create/vant": "^3.2.25"
|
|
||||||
}
|
|
||||||
}
|
|
5
pom.xml
5
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>gisbi</artifactId>
|
<artifactId>gisbi</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
<mybatis-plus.version>3.5.6</mybatis-plus.version>
|
<mybatis-plus.version>3.5.6</mybatis-plus.version>
|
||||||
<h2.version>2.2.220</h2.version>
|
<h2.version>2.2.220</h2.version>
|
||||||
<knife4j.version>4.4.0</knife4j.version>
|
<knife4j.version>4.4.0</knife4j.version>
|
||||||
<calcite-core.version>1.35.18</calcite-core.version>
|
<calcite-core.version>1.35.19</calcite-core.version>
|
||||||
<commons-dbcp2.version>2.6.0</commons-dbcp2.version>
|
<commons-dbcp2.version>2.6.0</commons-dbcp2.version>
|
||||||
<antlr.version>3.5.2</antlr.version>
|
<antlr.version>3.5.2</antlr.version>
|
||||||
<java-jwt.version>3.12.1</java-jwt.version>
|
<java-jwt.version>3.12.1</java-jwt.version>
|
||||||
@ -44,6 +44,7 @@
|
|||||||
<flatten-maven.version>1.3.0</flatten-maven.version>
|
<flatten-maven.version>1.3.0</flatten-maven.version>
|
||||||
<maven.exec.version>3.1.0</maven.exec.version>
|
<maven.exec.version>3.1.0</maven.exec.version>
|
||||||
<guava.version>33.0.0-jre</guava.version>
|
<guava.version>33.0.0-jre</guava.version>
|
||||||
|
<commons-net.version>3.8.0</commons-net.version>
|
||||||
<selenium-java.version>4.19.1</selenium-java.version>
|
<selenium-java.version>4.19.1</selenium-java.version>
|
||||||
<angus-mail.version>2.0.3</angus-mail.version>
|
<angus-mail.version>2.0.3</angus-mail.version>
|
||||||
<mysql-connector-j.version>8.2.0</mysql-connector-j.version>
|
<mysql-connector-j.version>8.2.0</mysql-connector-j.version>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>extensions</artifactId>
|
<artifactId>extensions</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>extensions-datafilling</artifactId>
|
<artifactId>extensions-datafilling</artifactId>
|
||||||
@ -21,13 +21,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>common</artifactId>
|
<artifactId>common</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>extensions-datasource</artifactId>
|
<artifactId>extensions-datasource</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@ -38,11 +38,4 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>fit2cloud-public</id>
|
|
||||||
<name>Fit2cloud Public</name>
|
|
||||||
<url>https://repository.fit2cloud.com/repository/fit2cloud-public/</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>sdk</artifactId>
|
<artifactId>sdk</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>gisbi</artifactId>
|
<artifactId>gisbi</artifactId>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<version>1.0.0</version>
|
<version>2.0.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
Loading…
Reference in New Issue
Block a user