spring: activiti: deployment-mode: never-fail # 关闭 SpringAutoDeployment

以上配置可以关闭自动部署名为SpringAutoDeployment的部署记录

另外还有几个值可以配置:

default: 
    源码是注释:Default implementation of {@link AutoDeploymentStrategy} that groups all {@link Resource}s into a single deployment. 
    This implementation is equivalent to the previously used implementation.
    尝试翻译:意思是默认的AutoDeploymentStrategy实现,会把所有的资源 分组到一个单独的部署,这个实现和以前使用的实现是一样的
    
fail-on-no-process:FailOnNoProcessAutoDeploymentStrategy

never-fail:NeverFailAutoDeploymentStrategy

single-resource:
    源码是注释:Implementation of {@link AutoDeploymentStrategy} that performs a separate deployment for each resource by name.
    尝试翻译: 就是会为每一个资源根据名字单独进行部署
    
resource-parent-folder:
    源码是注释:Implementation of {@link AutoDeploymentStrategy} that performs a separate deployment for each set of {@link Resource}s that share the same parent folder. The namehint is used to prefix the names of
    deployments. If the parent folder for a {@link Resource} cannot be determined, the resource's name is used.
    尝试翻译:就是会为同一个父目录下的所有资源进行单独的部署,目录的名字会被用作部署名称的前缀,如果不能确定资源父目录,就用资源的名称替代

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐