版本升级,oinone设计器版本5.0.1 怎么升级 到5.1.14

利江 环境配置 260

版本号:

镜像版本harbor.oinone.top/oinone/oinone-designer-mini-v5.0:5.0.1

错误信息:

你的期望:

当前oinone设计器版本5.0.1 ,怎么全面升级 到5.1.14版本
如何重现问题:

回复

共1条回复 我来回复
  • 利江的头像
    利江
    数式Oinone用户
    评论

    设计器升级
    数据库确定是否在容器外,如果在容器内需要将数据导出来备份
    docker升级
    修改 startup.sh
    # 修改
    version=5.1.14

    # 新增
    -e PROGRAM_ARGS=-PmetaProtected=pamirs \

    # 修改
    -v $configDir/lib:/opt/pamirs/outlib harbor.oinone.top/oinone/oinone-designer-mini-v5.1:$version

    设计器yml文件增加元数据导出模块
    - pamirs.boot.modules:designer_metadata

    本地服务升级
    pom修改
    父pom

    <!--metadata manager-->
    <dependency>
    <groupId>pro.shushi.pamirs.metadata.manager</groupId>
    <artifactId>pamirs-metadata-manager</artifactId>
    <version>${pamirs.metadata.manager}</version>
    </dependency>
    <!-- designer_metadata -->
    <dependency>
    <groupId>pro.shushi.pamirs.designer</groupId>
    <artifactId>pamirs-designer-metadata</artifactId>
    <version>${pamirs.designer.metadata.version}</version>
    <type>pom</type>
    <scope>import</scope>
    </dependency>

    启动工程

    <!-- designer_metadata -->
    <dependency>
    <groupId>pro.shushi.pamirs.designer</groupId>
    <artifactId>pamirs-designer-metadata-core</artifactId>
    </dependency>

    <!-- auth -->
    <dependency>
    <groupId>pro.shushi.pamirs.core</groupId>
    <artifactId>pamirs-auth3-rbac-core</artifactId>
    </dependency>
    <dependency>
    <groupId>pro.shushi.pamirs.core</groupId>
    <artifactId>pamirs-auth3-rbac-view</artifactId>
    </dependency>

    配置文件

    pamirs:
    distribution:
    session:
    allMetaRefresh: false
    ownSign: wangxian

    升级版本(设计器和本地前后端)

    后端配置项

    <!-- 平台基础 -->
    <pamirs.middleware.version>5.0.3</pamirs.middleware.version>
    <pamirs.k2.version>5.1.7</pamirs.k2.version>
    <pamirs.framework.version>5.1.14</pamirs.framework.version>
    <pamirs.boot.version>5.1.8</pamirs.boot.version>
    <pamirs.distribution.version>5.1.8</pamirs.distribution.version>
    <!-- 平台功能 -->
    <pamirs.metadata.manager>5.1.2</pamirs.metadata.manager>
    <pamirs.designer.metadata.version>5.1.3</pamirs.designer.metadata.version>
    <pamirs.core.version>5.1.21</pamirs.core.version>
    <pamirs.workflow.version>5.1.9</pamirs.workflow.version>
    <pamirs.workbench.version>5.1.0</pamirs.workbench.version>
    <pamirs.data.visualization.version>5.1.4</pamirs.data.visualization.version>

     

    前端更改package.json

    "@kunlun/dependencies": "~5.1.0",
    "@kunlun/designer-common": "~5.1.0",
    "@kunlun/ui-designer-dependencies": "~5.1.0",
    "@kunlun/vue-ui-antd": "~5.1.0",
    "@kunlun/vue-ui-el": "~5.1.0",

    2个月前 0条评论