概述
名词解释
- 业务工程包:指平台提供的内置基础包和内置功能包。
- 设计器工程包:指模型设计器、界面设计器、流程设计器等相关依赖包。
- 父POM:仅声明依赖包版本的pom文件
- 启动工程POM:仅声明具体依赖包的pom文件,一般不用于指定版本。
业务工程部署
Oinone平台向合作伙伴提供前后端业务工程所需的全部依赖,依赖项的具体说明下面会分别介绍。
设计器部署
Oinone平台向合作伙伴提供了两种设计器部署方式:
Docker镜像
:支持amd64
和arm64
两种架构的操作系统。(推荐)JAR包
:与Docker镜像中的内容完全一致。
使用JAR包
直接启动需要使用Oinone专属启动器,Docker镜像
已内置Oinone专属启动器。
PS:如遇到以上部署方式或提供的镜像无法满足部署需求时,请联系Oinone平台售后获取技术支持。
Docker镜像
体验镜像
- 包括所有设计器。
- 内置所有所需中间件,包括Mysql、Redis、Zookeeper、RocketMQ。
适用场景:用于快速体验Oinone平台全部功能
docker pull harbor.oinone.top/oinone/oinone-designer-full-v4.8:TAG
前后端一体部署镜像
- 包括所有设计器。
- 无内置中间件。
适用场景:用于便捷部署Oinone平台的前后端服务
docker pull harbor.oinone.top/oinone/oinone-designer-mini-v4.8:TAG
前后端一体部署镜像 - 流程设计器
- 仅包括流程设计器。
- 无内置中间件。
适用场景:用于便捷部署仅需流程设计器的Oinone平台的前后端服务。
docker pull harbor.oinone.top/oinone/workflow-designer-v4.8:TAG
镜像拉取
以体验镜像为例,Oinone平台提供多种拉取镜像的方式。
# 获取混合架构镜像,支持amd64和arm64架构的操作系统
docker pull harbor.oinone.top/oinone/oinone-designer-full-v4.8:4.8.19
# 仅获取amd64架构镜像
docker pull harbor.oinone.top/oinone/oinone-designer-full-v4.8:4.8.19-amd64
# 仅获取arm64架构镜像
docker pull harbor.oinone.top/oinone/oinone-designer-full-v4.8:4.8.19-arm64
# 获取最新版镜像(每次拉取自动更新)
docker pull harbor.oinone.top/oinone/oinone-designer-full-v4.8
PS:如镜像拉取过慢,可在确定操作系统架构的情况下获取amd64
或arm64
架构镜像。
JAR包获取
- $VERSION:对应镜像版本号
包含所有设计器的后端JAR包下载路径示例
https://oinone-jar.oss-cn-zhangjiakou.aliyuncs.com/install/oinone-designer/pamirs-designer-boot-v4.8-$VERSION.jar
仅包含流程设计器的后端JAR包下载路径示例
https://oinone-jar.oss-cn-zhangjiakou.aliyuncs.com/install/workflow-designer/pamirs-workflow-designer-boot-v4.8-$VERSION.jar
后端依赖
Oinone平台后端使用Maven管理工具对所有依赖包进行版本管理。
版本说明
下面是在每个版本升级说明中提供的所有依赖版本,最新版本请查看对应的最新升级说明文档。
<!-- 平台基础 -->
<pamirs.middleware.version>4.7.8.5</pamirs.middleware.version>
<pamirs.k2.version>4.7.8.7</pamirs.k2.version>
<pamirs.framework.version>4.7.8.19</pamirs.framework.version>
<pamirs.boot.version>4.7.8.12</pamirs.boot.version>
<pamirs.distribution.version>4.7.8.5</pamirs.distribution.version>
<!-- 平台功能 -->
<pamirs.metadata.manager>4.7.8</pamirs.metadata.manager>
<pamirs.core.version>4.7.8.19</pamirs.core.version>
<pamirs.workflow.version>4.7.8.16</pamirs.workflow.version>
<pamirs.workbench.version>4.7.8</pamirs.workbench.version>
<pamirs.data.visualization.version>4.7.8.1</pamirs.data.visualization.version>
<!-- 设计器 -->
<pamirs.designer.common.version>4.7.8</pamirs.designer.common.version>
<pamirs.flow.designer.base.version>4.7.8.1</pamirs.flow.designer.base.version>
<pamirs.workflow.designer.version>4.7.8</pamirs.workflow.designer.version>
<pamirs.model.designer.version>4.7.8</pamirs.model.designer.version>
<pamirs.ui.designer.version>4.7.8.9</pamirs.ui.designer.version>
<pamirs.data.designer.version>4.7.8</pamirs.data.designer.version>
<pamirs.dataflow.designer.version>4.7.8.1</pamirs.dataflow.designer.version>
<pamirs.eip.designer.version>4.7.8.1</pamirs.eip.designer.version>
完整依赖管理示例
以下列举了除了设计器相关依赖外的全部依赖管理项,其通常使用在父POM中。
<dependency>
<groupId>pro.shushi.pamirs</groupId>
<artifactId>pamirs-k2</artifactId>
<version>${pamirs.k2.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs</groupId>
<artifactId>pamirs-framework</artifactId>
<version>${pamirs.framework.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.boot</groupId>
<artifactId>pamirs-boot-dependencies</artifactId>
<version>${pamirs.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-core-dependencies</artifactId>
<version>${pamirs.core.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs</groupId>
<artifactId>pamirs-distribution</artifactId>
<version>${pamirs.distribution.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.middleware</groupId>
<artifactId>pamirs-middleware-dependencies</artifactId>
<version>${pamirs.middleware.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--metadata manager-->
<dependency>
<groupId>pro.shushi.pamirs.metadata.manager</groupId>
<artifactId>pamirs-metadata-manager</artifactId>
<version>${pamirs.metadata.manager}</version>
</dependency>
<!--workflow-->
<dependency>
<groupId>pro.shushi.pamirs.workflow</groupId>
<artifactId>pamirs-workflow</artifactId>
<version>${pamirs.workflow.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--workbench-->
<dependency>
<groupId>pro.shushi.pamirs.work.bench</groupId>
<artifactId>pamirs-work-bench</artifactId>
<version>${pamirs.workbench.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--data-vi-->
<dependency>
<groupId>pro.shushi.pamirs.data.visualization</groupId>
<artifactId>pamirs-data-visualization</artifactId>
<version>${pamirs.data.visualization.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
完整功能依赖示例
以下列举了除了设计器相关依赖外的全部依赖管理项,其通常使用在启动工程POM中。
<dependency>
<groupId>pro.shushi.pamirs</groupId>
<artifactId>a</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.boot</groupId>
<artifactId>pamirs-boot-standard</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.metadata.manager</groupId>
<artifactId>pamirs-metadata-manager</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.framework</groupId>
<artifactId>pamirs-connectors-event</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.boot</groupId>
<artifactId>pamirs-distribution-id</artifactId>
</dependency>
<!--<dependency>-->
<!-- <groupId>pro.shushi.pamirs.distribution</groupId>-->
<!-- <artifactId>pamirs-distribution-faas</artifactId>-->
<!--</dependency>-->
<!--<dependency>-->
<!-- <groupId>pro.shushi.pamirs.distribution</groupId>-->
<!-- <artifactId>pamirs-distribution-gateway</artifactId>-->
<!--</dependency>-->
<!--<dependency>-->
<!-- <groupId>pro.shushi.pamirs.distribution</groupId>-->
<!-- <artifactId>pamirs-distribution-session</artifactId>-->
<!--</dependency>-->
<!--<dependency>-->
<!-- <groupId>pro.shushi.pamirs.distribution</groupId>-->
<!-- <artifactId>pamirs-distribution-session-cd</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-sequence</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-expression-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-core-common</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-resource-core</artifactId>
</dependency>
<!-- user -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-user-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-user-view</artifactId>
</dependency>
<!-- auth -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-auth-core</artifactId>
</dependency>
<!-- business -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-business-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-business-view</artifactId>
</dependency>
<!-- message -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-message-core</artifactId>
</dependency>
<!-- translate -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-translate</artifactId>
</dependency>
<!-- file -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-file2-core</artifactId>
</dependency>
<!-- sql_record -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-sql-record-core</artifactId>
</dependency>
<!-- data_audit -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-data-audit-core</artifactId>
</dependency>
<!-- sys_setting -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-sys-setting-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-sys-setting-view</artifactId>
</dependency>
<!-- my_center -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-my-center-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-my-center-view</artifactId>
</dependency>
<!-- apps -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-apps-core</artifactId>
</dependency>
<!-- trigger -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-trigger-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-trigger-bridge-tbschedule</artifactId>
</dependency>
<!-- eip -->
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-eip2-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-eip2-view</artifactId>
</dependency>
<!-- workflow -->
<dependency>
<groupId>pro.shushi.pamirs.workflow</groupId>
<artifactId>pamirs-workflow-core</artifactId>
</dependency>
<!-- workbench -->
<dependency>
<groupId>pro.shushi.pamirs.work.bench</groupId>
<artifactId>pamirs-work-bench-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.work.bench</groupId>
<artifactId>pamirs-work-bench-view</artifactId>
</dependency>
<!-- datavi -->
<dependency>
<groupId>pro.shushi.pamirs.data.visualization</groupId>
<artifactId>pamirs-data-visualization-core</artifactId>
</dependency>
对应的启动模块配置如下:
pamirs:
boot:
modules:
- base # 基础模块(必须)
- sequence # 序列(非应用)
- expression # 表达式(非应用)
- common # 公共资源
- resource # 资源
- user # 用户
- auth # 权限
- business # 合作伙伴中心
- message # 消息
- translate # 翻译
- file # 文件
- sql_record # SDC(非应用)
- data_audit # 业务审计
- sys_setting # 系统配置
- my_center # 个人中心
- apps # 应用中心
- trigger # 触发器
- eip # 集成接口
- workflow # 工作流
- workbench # 工作台
- datavi # 数据可视化运行(非应用)
前端依赖
Oinone平台前端使用Npm管理工具对所有依赖包进行版本管理。
PS:前端更新最新版本仅需重新npm install
即可获取最新版本。
完整依赖项示例
{
"dependencies": {
"@kunlun/dependencies": "~4.7.0",
"@kunlun/vue-ui-antd": "~4.7.0",
"@kunlun/vue-ui-el": "~4.7.0",
"@kunlun/mobile-dependencies": "~4.7.0",
"@kunlun/vue-ui-mobile-vant": "~4.7.0",
"@kunlun/workflow": "~4.7.0",
"@kunlun/designer-common": "~4.7.0",
"@kunlun/ui-designer-dependencies": "~4.7.0",
"@kunlun/data-designer": "~4.7.0",
"@kunlun/data-designer-core": "~4.7.0",
"@kunlun/data-designer-open-pc": "~4.7.0"
}
}
前后端版本说明
Oinone平台前后端版本号管理基于以下原则:(以版本号z.y.x
为例)
- z:存在重大版本更新时;一般以年为单位进行升级。
- y:功能迭代;
- x:一般功能迭代;Bug修复;
PS:前后端版本总是以中版本进行完全兼容的,即4.7.x
表示可以使用任意版本的前后端启动服务。
Oinone社区 作者:张博昊原创文章,如若转载,请注明出处:https://doc.oinone.top/yun-wei-shi-jian/16986.html
访问Oinone官网:https://www.oinone.top获取数式Oinone低代码应用平台体验