diff --git a/README.md b/README.md index 8ec1b2da4..1ec007e38 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Nacos 2.0.3 License Apache 2.0 码匠君 - Version 2.5.5.50 + Version 2.5.5.60 Gitee star Gitee fork

diff --git a/configurations/docker/docker-compose/herodotus/.env b/configurations/docker/docker-compose/herodotus/.env index bbf007e21..f26ec8f37 100644 --- a/configurations/docker/docker-compose/herodotus/.env +++ b/configurations/docker/docker-compose/herodotus/.env @@ -1,4 +1,4 @@ -VERSION=2.5.5.50 +VERSION=2.5.5.60 GATEWAY_SERVICE_NAME=eurynome-cloud-gateway GATEWAY_SERVICE_PORT=8847 UAA_SERVICE_NAME=eurynome-cloud-uaa diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 5f16e68b7..a190ef0d6 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -35,7 +35,7 @@ cn.herodotus.eurynome dependencies - 2.5.5.50 + 2.5.5.60 pom eurynome-cloud-dependencies @@ -89,15 +89,15 @@ 2.0.3 - 5.7.13 - 3.1.5 - 1.16.4 + 5.7.14 + 3.2.0 + 1.16.5 3.0.3 1.6.2 3.0.4 - 7.15.0 + 7.16.0 3.4.3.4 3.5.1 2.3 @@ -129,11 +129,6 @@ - - ${project.groupId} - eurynome-cloud-common - ${project.version} - ${project.groupId} eurynome-cloud-assistant diff --git a/docs/404.html b/docs/404.html index f330a7b29..e7e8fb424 100644 --- a/docs/404.html +++ b/docs/404.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();Eurynome Cloud - + -

404

That's a Four-Oh-Four.
Take me home
- +

404

How did we get here?
Take me home
+ diff --git a/docs/assets/js/app.4a9b47f8.js b/docs/assets/js/app.4a9b47f8.js deleted file mode 100644 index 470d943d1..000000000 --- a/docs/assets/js/app.4a9b47f8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[143],{3131:(e,l,t)=>{t.d(l,{g:()=>r});var i=t(2009),n=t(6971),d=t(1598),s=t(1843);const r=[i.Z,n.Z,d.Z,s.Z]},9947:(e,l,t)=>{t.d(l,{p:()=>d});var i=t(3051),n=t(8341);const d=[i.Z,n.Z]},4611:(e,l,t)=>{t.d(l,{l:()=>r});var i=t(8866),n=t(1263),d=t(6243),s=t(4862);const r=[i.Z,n.Z,d.Z,s.Z]},4150:(e,l,t)=>{t.d(l,{Z:()=>n});var i=t(6252);const n={404:(0,i.RC)((()=>t.e(491).then(t.bind(t,8491)))),Layout:(0,i.RC)((()=>t.e(293).then(t.bind(t,3293))))}},6056:(e,l,t)=>{t.d(l,{b:()=>n});var i=t(6252);const n={"v-8daa1a0e":(0,i.RC)((()=>t.e(509).then(t.bind(t,6797)))),"v-3297977c":(0,i.RC)((()=>t.e(189).then(t.bind(t,4425)))),"v-344b5769":(0,i.RC)((()=>t.e(861).then(t.bind(t,8497)))),"v-9a0d6c6c":(0,i.RC)((()=>t.e(247).then(t.bind(t,5190)))),"v-4c5db979":(0,i.RC)((()=>t.e(334).then(t.bind(t,4612)))),"v-d0b8a61e":(0,i.RC)((()=>t.e(216).then(t.bind(t,9132)))),"v-05e1cd7a":(0,i.RC)((()=>t.e(934).then(t.bind(t,7745)))),"v-c0f957a0":(0,i.RC)((()=>t.e(781).then(t.bind(t,2957)))),"v-b68b64a4":(0,i.RC)((()=>t.e(892).then(t.bind(t,132)))),"v-96fd052e":(0,i.RC)((()=>t.e(709).then(t.bind(t,6031)))),"v-392e2ac6":(0,i.RC)((()=>t.e(939).then(t.bind(t,5037)))),"v-cff5f184":(0,i.RC)((()=>t.e(243).then(t.bind(t,2197)))),"v-01ef07a3":(0,i.RC)((()=>t.e(812).then(t.bind(t,7029)))),"v-6430ce6c":(0,i.RC)((()=>t.e(4).then(t.bind(t,683)))),"v-f283941e":(0,i.RC)((()=>t.e(658).then(t.bind(t,784)))),"v-4331d874":(0,i.RC)((()=>t.e(979).then(t.bind(t,7276)))),"v-eef3d90a":(0,i.RC)((()=>t.e(701).then(t.bind(t,4454)))),"v-04a4871c":(0,i.RC)((()=>t.e(148).then(t.bind(t,7314)))),"v-c6b464d4":(0,i.RC)((()=>t.e(815).then(t.bind(t,9375)))),"v-23340e69":(0,i.RC)((()=>t.e(152).then(t.bind(t,3212)))),"v-5fe0d252":(0,i.RC)((()=>t.e(188).then(t.bind(t,8739)))),"v-49381304":(0,i.RC)((()=>t.e(925).then(t.bind(t,2604)))),"v-0fc7dbdb":(0,i.RC)((()=>t.e(923).then(t.bind(t,4082)))),"v-150eedcd":(0,i.RC)((()=>t.e(779).then(t.bind(t,6372)))),"v-5f81e486":(0,i.RC)((()=>t.e(951).then(t.bind(t,9138)))),"v-040481e0":(0,i.RC)((()=>t.e(365).then(t.bind(t,4749)))),"v-661abe0c":(0,i.RC)((()=>t.e(129).then(t.bind(t,6621)))),"v-1b984d6f":(0,i.RC)((()=>t.e(295).then(t.bind(t,2467)))),"v-3413cbec":(0,i.RC)((()=>t.e(90).then(t.bind(t,2875)))),"v-31203a50":(0,i.RC)((()=>t.e(398).then(t.bind(t,7403)))),"v-25b47c13":(0,i.RC)((()=>t.e(446).then(t.bind(t,6207)))),"v-34232cb1":(0,i.RC)((()=>t.e(201).then(t.bind(t,9932)))),"v-5b482e3b":(0,i.RC)((()=>t.e(961).then(t.bind(t,3706)))),"v-3706649a":(0,i.RC)((()=>t.e(88).then(t.bind(t,3881))))}},9706:(e,l,t)=>{t.d(l,{T:()=>i});const i={"v-8daa1a0e":()=>t.e(509).then(t.bind(t,6464)).then((({data:e})=>e)),"v-3297977c":()=>t.e(189).then(t.bind(t,7958)).then((({data:e})=>e)),"v-344b5769":()=>t.e(861).then(t.bind(t,484)).then((({data:e})=>e)),"v-9a0d6c6c":()=>t.e(247).then(t.bind(t,6281)).then((({data:e})=>e)),"v-4c5db979":()=>t.e(334).then(t.bind(t,4484)).then((({data:e})=>e)),"v-d0b8a61e":()=>t.e(216).then(t.bind(t,875)).then((({data:e})=>e)),"v-05e1cd7a":()=>t.e(934).then(t.bind(t,9131)).then((({data:e})=>e)),"v-c0f957a0":()=>t.e(781).then(t.bind(t,3597)).then((({data:e})=>e)),"v-b68b64a4":()=>t.e(892).then(t.bind(t,4548)).then((({data:e})=>e)),"v-96fd052e":()=>t.e(709).then(t.bind(t,2203)).then((({data:e})=>e)),"v-392e2ac6":()=>t.e(939).then(t.bind(t,4988)).then((({data:e})=>e)),"v-cff5f184":()=>t.e(243).then(t.bind(t,7738)).then((({data:e})=>e)),"v-01ef07a3":()=>t.e(812).then(t.bind(t,4432)).then((({data:e})=>e)),"v-6430ce6c":()=>t.e(4).then(t.bind(t,890)).then((({data:e})=>e)),"v-f283941e":()=>t.e(658).then(t.bind(t,5517)).then((({data:e})=>e)),"v-4331d874":()=>t.e(979).then(t.bind(t,8002)).then((({data:e})=>e)),"v-eef3d90a":()=>t.e(701).then(t.bind(t,4954)).then((({data:e})=>e)),"v-04a4871c":()=>t.e(148).then(t.bind(t,8871)).then((({data:e})=>e)),"v-c6b464d4":()=>t.e(815).then(t.bind(t,8593)).then((({data:e})=>e)),"v-23340e69":()=>t.e(152).then(t.bind(t,7341)).then((({data:e})=>e)),"v-5fe0d252":()=>t.e(188).then(t.bind(t,3133)).then((({data:e})=>e)),"v-49381304":()=>t.e(925).then(t.bind(t,6445)).then((({data:e})=>e)),"v-0fc7dbdb":()=>t.e(923).then(t.bind(t,6018)).then((({data:e})=>e)),"v-150eedcd":()=>t.e(779).then(t.bind(t,2236)).then((({data:e})=>e)),"v-5f81e486":()=>t.e(951).then(t.bind(t,9865)).then((({data:e})=>e)),"v-040481e0":()=>t.e(365).then(t.bind(t,6424)).then((({data:e})=>e)),"v-661abe0c":()=>t.e(129).then(t.bind(t,5251)).then((({data:e})=>e)),"v-1b984d6f":()=>t.e(295).then(t.bind(t,1087)).then((({data:e})=>e)),"v-3413cbec":()=>t.e(90).then(t.bind(t,7635)).then((({data:e})=>e)),"v-31203a50":()=>t.e(398).then(t.bind(t,3657)).then((({data:e})=>e)),"v-25b47c13":()=>t.e(446).then(t.bind(t,3166)).then((({data:e})=>e)),"v-34232cb1":()=>t.e(201).then(t.bind(t,6803)).then((({data:e})=>e)),"v-5b482e3b":()=>t.e(961).then(t.bind(t,7149)).then((({data:e})=>e)),"v-3706649a":()=>t.e(88).then(t.bind(t,1801)).then((({data:e})=>e))}},4634:(e,l,t)=>{t.d(l,{g:()=>n});var i=t(4802);const n=[["v-8daa1a0e","/","",["/index.html","/README.md"]],["v-3297977c","/basic-knowledge/postgresql.html","为什么默认使用PostgreSQL数据库?",["/basic-knowledge/postgresql","/basic-knowledge/postgresql.md"]],["v-344b5769","/basic-knowledge/","介绍",["/basic-knowledge/index.html","/basic-knowledge/README.md"]],["v-9a0d6c6c","/basic-knowledge/spring-data-jpa.html","Spring Data JPA",["/basic-knowledge/spring-data-jpa","/basic-knowledge/spring-data-jpa.md"]],["v-4c5db979","/configurations/","快速配置",["/configurations/index.html","/configurations/README.md"]],["v-d0b8a61e","/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE.html","系统配置",["/configurations/系统配置.html","/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE","/configurations/系统配置.md","/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE.md"]],["v-05e1cd7a","/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE.html","组件配置",["/configurations/组件配置.html","/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE","/configurations/组件配置.md","/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE.md"]],["v-c0f957a0","/documents/","介绍",["/documents/index.html","/documents/README.md"]],["v-b68b64a4","/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6.html","依赖组件",["/documents/依赖组件.html","/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6","/documents/依赖组件.md","/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6.md"]],["v-96fd052e","/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D.html","前端概览",["/documents/前端介绍.html","/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D","/documents/前端介绍.md","/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D.md"]],["v-392e2ac6","/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98.html","前端问题",["/documents/前端问题.html","/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98","/documents/前端问题.md","/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98.md"]],["v-cff5f184","/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html","多环境配置",["/documents/多环境配置.html","/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE","/documents/多环境配置.md","/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.md"]],["v-01ef07a3","/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4.html","常用命令",["/documents/常用命令.html","/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4","/documents/常用命令.md","/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4.md"]],["v-6430ce6c","/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3.html","快速了解",["/documents/快速了解.html","/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3","/documents/快速了解.md","/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3.md"]],["v-f283941e","/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.html","数据初始化",["/documents/数据初始化.html","/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96","/documents/数据初始化.md","/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.md"]],["v-4331d874","/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97.html","新建子模块",["/documents/新建子模块.html","/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97","/documents/新建子模块.md","/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97.md"]],["v-eef3d90a","/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.html","更换数据库",["/documents/更换数据库.html","/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93","/documents/更换数据库.md","/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.md"]],["v-04a4871c","/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9.html","注意事项",["/documents/注意事项.html","/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9","/documents/注意事项.md","/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9.md"]],["v-c6b464d4","/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97.html","添加模块",["/documents/添加模块.html","/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97","/documents/添加模块.md","/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97.md"]],["v-23340e69","/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html","环境部署",["/documents/环境部署.html","/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2","/documents/环境部署.md","/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.md"]],["v-5fe0d252","/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D.html","项目介绍",["/documents/项目介绍.html","/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D","/documents/项目介绍.md","/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D.md"]],["v-49381304","/documents-athena/","介绍",["/documents-athena/index.html","/documents-athena/README.md"]],["v-0fc7dbdb","/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html","环境部署",["/documents-athena/环境部署.html","/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2","/documents-athena/环境部署.md","/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.md"]],["v-150eedcd","/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.html","OAuth2",["/microservices/OAuth2授权标准.html","/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86","/microservices/OAuth2授权标准.md","/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.md"]],["v-5f81e486","/microservices/","介绍",["/microservices/index.html","/microservices/README.md"]],["v-040481e0","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.html","容器化技术",["/microservices/容器化技术.html","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF","/microservices/容器化技术.md","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.md"]],["v-661abe0c","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2.html","容器化部署",["/microservices/容器化部署.html","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2","/microservices/容器化部署.md","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2.md"]],["v-1b984d6f","/others/Idea.html","Idea",["/others/Idea","/others/Idea.md"]],["v-3413cbec","/others/MySQL.html","MySQL 常见问题",["/others/MySQL","/others/MySQL.md"]],["v-31203a50","/others/Nacos.html","Nacos 常见问题",["/others/Nacos","/others/Nacos.md"]],["v-25b47c13","/others/","说明",["/others/index.html","/others/README.md"]],["v-34232cb1","/others/Redis.html","Redis 常见问题",["/others/Redis","/others/Redis.md"]],["v-5b482e3b","/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.html","更新日志",["/others/更新日志.html","/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97","/others/更新日志.md","/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.md"]],["v-3706649a","/404.html","",["/404"]]].reduce(((e,[l,t,n,d])=>(e.push({name:l,path:t,component:i.Y,meta:{title:n}},...d.map((e=>({path:e,redirect:t})))),e)),[{name:"404",path:"/:catchAll(.*)",component:i.Y}])},5472:(e,l,t)=>{t.d(l,{D:()=>i});const i=[{title:"",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"为什么默认使用PostgreSQL数据库?",headers:[{level:2,title:"PostgreSQL VS MySQL",slug:"postgresql-vs-mysql",children:[{level:3,title:"MySQL",slug:"mysql",children:[]},{level:3,title:"PostgreSQL",slug:"postgresql",children:[]}]},{level:2,title:"PostgreSQL相对于MySQL的优势",slug:"postgresql相对于mysql的优势",children:[{level:3,title:"[1]、不仅仅是关系型数据库",slug:"_1-、不仅仅是关系型数据库",children:[]},{level:3,title:"[2]、支持地理信息处理扩展",slug:"_2-、支持地理信息处理扩展",children:[]},{level:3,title:"[3]、可以快速构建REST API",slug:"_3-、可以快速构建rest-api",children:[]},{level:3,title:"[4]、支持树状结构",slug:"_4-、支持树状结构",children:[]},{level:3,title:"[5]、有极其强悍的 SQL 编程能力",slug:"_5-、有极其强悍的-sql-编程能力",children:[]},{level:3,title:"[6]、外部数据源支持",slug:"_6-、外部数据源支持",children:[]},{level:3,title:"[7]、没有字符串长度限制",slug:"_7-、没有字符串长度限制",children:[]},{level:3,title:"[8]、支持图结构数据存储",slug:"_8-、支持图结构数据存储",children:[]},{level:3,title:"[9]、支持窗口函数",slug:"_9-、支持窗口函数",children:[]},{level:3,title:"[10]、对索引的支持更强",slug:"_10-、对索引的支持更强",children:[]},{level:3,title:"[11]、集群支持更好",slug:"_11-、集群支持更好",children:[]},{level:3,title:"[12]、事务隔离做的更好",slug:"_12-、事务隔离做的更好",children:[]},{level:3,title:"[13]、对于字符支持更好一些",slug:"_13-、对于字符支持更好一些",children:[]},{level:3,title:"[14]、对表连接支持较完整",slug:"_14-、对表连接支持较完整",children:[]},{level:3,title:"[15]、存储方式支持更大的数据量",slug:"_15-、存储方式支持更大的数据量",children:[]},{level:3,title:"[16]、时间精度更高",slug:"_16-、时间精度更高",children:[]},{level:3,title:"[17]、优化器的功能较完整",slug:"_17-、优化器的功能较完整",children:[]},{level:3,title:"[18]、序列支持更好",slug:"_18-、序列支持更好",children:[]},{level:3,title:"[19]、对子查询支持更好",slug:"_19-、对子查询支持更好",children:[]},{level:3,title:"[20]、增加列更加简单",slug:"_20-、增加列更加简单",children:[]}]},{level:2,title:"MySQL相对于PostgreSQL的优势",slug:"mysql相对于postgresql的优势",children:[{level:3,title:"[1]、MySQL比PostgreSQL更流行",slug:"_1-、mysql比postgresql更流行",children:[]},{level:3,title:"[2]、回滚实现更优",slug:"_2-、回滚实现更优",children:[]},{level:3,title:"[3]、在Windows上运行更可靠",slug:"_3-、在windows上运行更可靠",children:[]},{level:3,title:"[4]、线程模式相比进程模式的优势",slug:"_4-、线程模式相比进程模式的优势",children:[]},{level:3,title:"[5]、权限设置上更加完善",slug:"_5-、权限设置上更加完善",children:[]},{level:3,title:"[6]、存储引擎插件化机制",slug:"_6-、存储引擎插件化机制",children:[]},{level:3,title:"[7]、适应24/7运行",slug:"_7-、适应24-7运行",children:[]},{level:3,title:"[8]、更加试用于简单的场景",slug:"_8-、更加试用于简单的场景",children:[]}]},{level:2,title:"总结",slug:"总结",children:[]}],path:"/basic-knowledge/postgresql.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[],path:"/basic-knowledge/",pathLocale:"/",extraFields:[]},{title:"Spring Data JPA",headers:[{level:2,title:"JPA",slug:"jpa",children:[{level:3,title:"Spring Data Jpa",slug:"spring-data-jpa-1",children:[]},{level:3,title:"Jpa、Hibernate、Spring Data Jpa三者之间的关系",slug:"jpa、hibernate、spring-data-jpa三者之间的关系",children:[]},{level:3,title:"Spring Data Jpa的java配置方案",slug:"spring-data-jpa的java配置方案",children:[]},{level:3,title:"Spring Boot整合Spring Data Jpa",slug:"spring-boot整合spring-data-jpa",children:[]}]},{level:2,title:"Spring Data Jpa的使用",slug:"spring-data-jpa的使用",children:[{level:3,title:"Spring Data Jpa UML类图",slug:"spring-data-jpa-uml类图",children:[]},{level:3,title:"简单的REST CRUD示例",slug:"简单的rest-crud示例",children:[]}]},{level:2,title:"Spring Data Jpa使用详解",slug:"spring-data-jpa使用详解",children:[{level:3,title:"Spring Data查询方法",slug:"spring-data查询方法",children:[]},{level:3,title:"查询方法",slug:"查询方法",children:[]},{level:3,title:"多表查询",slug:"多表查询",children:[]}]},{level:2,title:"审计Auditing",slug:"审计auditing",children:[{level:3,title:"实现AuditorAware接口",slug:"实现auditoraware接口",children:[]},{level:3,title:"启用Jpa审计功能",slug:"启用jpa审计功能",children:[]}]}],path:"/basic-knowledge/spring-data-jpa.html",pathLocale:"/",extraFields:[]},{title:"快速配置",headers:[{level:2,title:"eurynome-cloud-environment.yaml",slug:"eurynome-cloud-environment-yaml",children:[{level:3,title:"herodotus.environment.logstash-server-addr",slug:"herodotus-environment-logstash-server-addr",children:[]},{level:3,title:"herodotus.environment.gateway-server-addr",slug:"herodotus-environment-gateway-server-addr",children:[]},{level:3,title:"herodotus.environment.database.host",slug:"herodotus-environment-database-host",children:[]},{level:3,title:"herodotus.environment.database.port",slug:"herodotus-environment-database-port",children:[]},{level:3,title:"herodotus.environment.database.name",slug:"herodotus-environment-database-name",children:[]},{level:3,title:"herodotus.environment.database.username",slug:"herodotus-environment-database-username",children:[]},{level:3,title:"herodotus.environment.database.password",slug:"herodotus-environment-database-password",children:[]},{level:3,title:"herodotus.environment.redis.host",slug:"herodotus-environment-redis-host",children:[]},{level:3,title:"herodotus.environment.redis.port",slug:"herodotus-environment-redis-port",children:[]},{level:3,title:"herodotus.environment.redis.password",slug:"herodotus-environment-redis-password",children:[]},{level:3,title:"herodotus.environment.kafka.bootstrap-servers",slug:"herodotus-environment-kafka-bootstrap-servers",children:[]},{level:3,title:"herodotus.switch.database.ddl-auto",slug:"herodotus-switch-database-ddl-auto",children:[]},{level:3,title:"herodotus.switch.database.init-mode",slug:"herodotus-switch-database-init-mode",children:[]},{level:3,title:"herodotus.switch.database.use-second-level-cache",slug:"herodotus-switch-database-use-second-level-cache",children:[]},{level:3,title:"herodotus.switch.database.show-sql",slug:"herodotus-switch-database-show-sql",children:[]},{level:3,title:"herodotus.switch.database.format-sql",slug:"herodotus-switch-database-format-sql",children:[]},{level:3,title:"herodotus.switch.database.generate-statistics",slug:"herodotus-switch-database-generate-statistics",children:[]},{level:3,title:"herodotus.switch.swagger.enabled",slug:"herodotus-switch-swagger-enabled",children:[]},{level:3,title:"herodotus.management.log-center.server-addr",slug:"herodotus-management-log-center-server-addr",children:[]},{level:3,title:"herodotus.management.log-center.loggers",slug:"herodotus-management-log-center-loggers",children:[]}]}],path:"/configurations/",pathLocale:"/",extraFields:[]},{title:"系统配置",headers:[],path:"/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE.html",pathLocale:"/",extraFields:[]},{title:"组件配置",headers:[{level:2,title:"Spring Boot",slug:"spring-boot",children:[{level:3,title:"v2.5.5",slug:"v2-5-5",children:[]}]},{level:2,title:"Camunda",slug:"camunda",children:[{level:3,title:"v7.15.0",slug:"v7-15-0",children:[]}]}],path:"/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[{level:2,title:"总体架构",slug:"总体架构",children:[]},{level:2,title:"功能演示",slug:"功能演示",children:[{level:3,title:"[1]、基于URL的方法级动态权限配置",slug:"_1-、基于url的方法级动态权限配置",children:[]},{level:3,title:"[2]、服务调用链监控",slug:"_2-、服务调用链监控",children:[]}]},{level:2,title:"版本号说明",slug:"版本号说明",children:[]},{level:2,title:"交流反馈",slug:"交流反馈",children:[]}],path:"/documents/",pathLocale:"/",extraFields:[]},{title:"依赖组件",headers:[{level:2,title:"前端框架",slug:"前端框架",children:[]},{level:2,title:"基础框架组件",slug:"基础框架组件",children:[]},{level:2,title:"IOC组件",slug:"ioc组件",children:[]},{level:2,title:"表单校验组件",slug:"表单校验组件",children:[]},{level:2,title:"离线存储组件",slug:"离线存储组件",children:[]},{level:2,title:"消息提示框组件",slug:"消息提示框组件",children:[]},{level:2,title:"工作流编辑器组件",slug:"工作流编辑器组件",children:[]},{level:2,title:"通用工具库组件",slug:"通用工具库组件",children:[]},{level:2,title:"图标库",slug:"图标库",children:[]}],path:"/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6.html",pathLocale:"/",extraFields:[]},{title:"前端概览",headers:[{level:2,title:"项目简介",slug:"项目简介",children:[{level:3,title:"为什么没有使用 Vue 3",slug:"为什么没有使用-vue-3",children:[]}]},{level:2,title:"主要特性",slug:"主要特性",children:[]},{level:2,title:"技术介绍",slug:"技术介绍",children:[{level:3,title:"Vuetify",slug:"vuetify",children:[]},{level:3,title:"Typescript",slug:"typescript",children:[]},{level:3,title:"Monorepo",slug:"monorepo",children:[]},{level:3,title:"Lerna",slug:"lerna",children:[]},{level:3,title:"Rollup",slug:"rollup",children:[]}]},{level:2,title:"模块说明",slug:"模块说明",children:[{level:3,title:"@hecate/h-bpmn-moddle",slug:"hecate-h-bpmn-moddle",children:[]},{level:3,title:"@hecate/h-button",slug:"hecate-h-button",children:[]},{level:3,title:"@hecate/h-table",slug:"hecate-h-table",children:[]},{level:3,title:"@hecate/plugins",slug:"hecate-plugins",children:[]},{level:3,title:"@hecate/utils",slug:"hecate-utils",children:[]},{level:3,title:"@herodotus/ui",slug:"herodotus-ui",children:[]}]}],path:"/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D.html",pathLocale:"/",extraFields:[]},{title:"前端问题",headers:[{level:2,title:"暂时不要升级的依赖包",slug:"暂时不要升级的依赖包",children:[]},{level:2,title:"问题一:升级依赖包时出错",slug:"问题一-升级依赖包时出错",children:[{level:3,title:"(1)解决办法一",slug:"_1-解决办法一",children:[]},{level:3,title:"(2)解决办法二",slug:"_2-解决办法二",children:[]}]},{level:2,title:"问题二:运行命令是出现禁止脚本运行的错误",slug:"问题二-运行命令是出现禁止脚本运行的错误",children:[]}],path:"/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98.html",pathLocale:"/",extraFields:[]},{title:"多环境配置",headers:[{level:2,title:"什么是多环境配置?",slug:"什么是多环境配置",children:[]},{level:2,title:"Maven 多环境配置",slug:"maven-多环境配置",children:[]},{level:2,title:"Spring Boot 多环境配置",slug:"spring-boot-多环境配置",children:[{level:3,title:"Spring Boot 环境设置机制",slug:"spring-boot-环境设置机制",children:[]},{level:3,title:"配置多环境",slug:"配置多环境",children:[]},{level:3,title:"指定环境",slug:"指定环境",children:[]},{level:3,title:"单一文件写法",slug:"单一文件写法",children:[]}]},{level:2,title:"Nacos 多环境配置",slug:"nacos-多环境配置",children:[{level:3,title:"Data Id",slug:"data-id",children:[]},{level:3,title:"Group",slug:"group",children:[]},{level:3,title:"Namespace",slug:"namespace",children:[]}]},{level:2,title:"Docker和K8S 多环境配置",slug:"docker和k8s-多环境配置",children:[]},{level:2,title:"Eurynome Cloud 的多环境配置",slug:"eurynome-cloud-的多环境配置",children:[{level:3,title:"Eurynome Cloud 中的Maven多环境配置",slug:"eurynome-cloud-中的maven多环境配置",children:[]},{level:3,title:"Eurynome Cloud 中的Spring Boot和Nacos多环境配置",slug:"eurynome-cloud-中的spring-boot和nacos多环境配置",children:[]}]}],path:"/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html",pathLocale:"/",extraFields:[]},{title:"常用命令",headers:[{level:2,title:"前端工程涉及命令",slug:"前端工程涉及命令",children:[{level:3,title:"指定包",slug:"指定包",children:[]},{level:3,title:"依赖工程内组件",slug:"依赖工程内组件",children:[]},{level:3,title:"根目录添加依赖",slug:"根目录添加依赖",children:[]},{level:3,title:"升级依赖包",slug:"升级依赖包",children:[]},{level:3,title:"编译所有组件",slug:"编译所有组件",children:[]},{level:3,title:"清空组件 dist",slug:"清空组件-dist",children:[]},{level:3,title:"清除组件中的 node_modules",slug:"清除组件中的-node-modules",children:[]},{level:3,title:"让各个组件中重新关联依赖包",slug:"让各个组件中重新关联依赖包",children:[]},{level:3,title:"提交代码",slug:"提交代码",children:[]}]}],path:"/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4.html",pathLocale:"/",extraFields:[]},{title:"快速了解",headers:[{level:2,title:"项目简介",slug:"项目简介",children:[]},{level:2,title:"主要特性",slug:"主要特性",children:[]},{level:2,title:"技术选型",slug:"技术选型",children:[]},{level:2,title:"内置功能",slug:"内置功能",children:[]}],path:"/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3.html",pathLocale:"/",extraFields:[]},{title:"数据初始化",headers:[{level:2,title:"知识铺垫",slug:"知识铺垫",children:[{level:3,title:"基础原理",slug:"基础原理",children:[]},{level:3,title:"Spring Data JPA 更换数据库",slug:"spring-data-jpa-更换数据库",children:[]},{level:3,title:"Spring Data JPA 初始化数据库",slug:"spring-data-jpa-初始化数据库",children:[]},{level:3,title:"特别说明",slug:"特别说明",children:[]}]},{level:2,title:"操作步骤",slug:"操作步骤",children:[{level:3,title:"步骤一:创建数据表",slug:"步骤一-创建数据表",children:[]},{level:3,title:"步骤二:初始默认数据",slug:"步骤二-初始默认数据",children:[]},{level:3,title:"步骤三:回置配置",slug:"步骤三-回置配置",children:[]},{level:3,title:"总结",slug:"总结",children:[]}]},{level:2,title:"配置参数对应关系",slug:"配置参数对应关系",children:[]}],path:"/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.html",pathLocale:"/",extraFields:[]},{title:"新建子模块",headers:[{level:2,title:"在现有工程内,新建常规模块",slug:"在现有工程内-新建常规模块",children:[{level:3,title:"手工新建子模块(非微服务模块)",slug:"手工新建子模块-非微服务模块",children:[]},{level:3,title:"IDEA新建子模块(非微服务模块)",slug:"idea新建子模块-非微服务模块",children:[]}]},{level:2,title:"在现有工程内,新建微服务模块",slug:"在现有工程内-新建微服务模块",children:[{level:3,title:"手工新建子模块(非常规模块)",slug:"手工新建子模块-非常规模块",children:[]},{level:3,title:"IDEA新建子模块(非常规模块)",slug:"idea新建子模块-非常规模块",children:[]}]},{level:2,title:"在现有工程外,新建微服务独立模块工程",slug:"在现有工程外-新建微服务独立模块工程",children:[]}],path:"/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97.html",pathLocale:"/",extraFields:[]},{title:"更换数据库",headers:[{level:2,title:"步骤一:判断是否需要添加数据库方言配置",slug:"步骤一-判断是否需要添加数据库方言配置",children:[]},{level:2,title:"步骤二:修改环境参数",slug:"步骤二-修改环境参数",children:[]},{level:2,title:"步骤三:修改pom.xml",slug:"步骤三-修改pom-xml",children:[]},{level:2,title:"步骤四:添加数据库JDBC Driver",slug:"步骤四-添加数据库jdbc-driver",children:[]},{level:2,title:"步骤五:编译工程代码",slug:"步骤五-编译工程代码",children:[]},{level:2,title:"步骤六:修改工作流服务数据库类型",slug:"步骤六-修改工作流服务数据库类型",children:[]}],path:"/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.html",pathLocale:"/",extraFields:[]},{title:"注意事项",headers:[{level:2,title:"v2.5.5.0 版本注意事项",slug:"v2-5-5-0-版本注意事项",children:[{level:3,title:"[1]、一定要修改Nacos配置后再运行服务",slug:"_1-、一定要修改nacos配置后再运行服务",children:[]}]}],path:"/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9.html",pathLocale:"/",extraFields:[]},{title:"添加模块",headers:[{level:2,title:"添加一般模块",slug:"添加一般模块",children:[]},{level:2,title:"添加Vue工程",slug:"添加vue工程",children:[]}],path:"/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97.html",pathLocale:"/",extraFields:[]},{title:"环境部署",headers:[{level:2,title:"准备工作",slug:"准备工作",children:[{level:3,title:"后端运行所需的基础设施",slug:"后端运行所需的基础设施",children:[]},{level:3,title:"前端运行所需的基础设施",slug:"前端运行所需的基础设施",children:[]}]},{level:2,title:"后端运行",slug:"后端运行",children:[{level:3,title:"[1]、检出代码创建工程",slug:"_1-、检出代码创建工程",children:[]},{level:3,title:"[2]、创建数据库",slug:"_2-、创建数据库",children:[]},{level:3,title:"[3]、创建或导入Nacos配置",slug:"_3-、创建或导入nacos配置",children:[]},{level:3,title:"[4]、修改Nacos配置",slug:"_4-、修改nacos配置",children:[]},{level:3,title:"[5]、修改pom.xml配置",slug:"_5-、修改pom-xml配置",children:[]},{level:3,title:"[6]、编译代码",slug:"_6-、编译代码",children:[]},{level:3,title:"[7]、数据库创建和数据初始化",slug:"_7-、数据库创建和数据初始化",children:[]},{level:3,title:"[8]、运行服务模块",slug:"_8-、运行服务模块",children:[]},{level:3,title:"[9]、运行ELK(可选)",slug:"_9-、运行elk-可选",children:[]},{level:3,title:"[10]、以Docker方式部署(可选)",slug:"_10-、以docker方式部署-可选",children:[]},{level:3,title:"[11]、部署验证",slug:"_11-、部署验证",children:[]}]},{level:2,title:"前端运行",slug:"前端运行",children:[{level:3,title:"[1]、检出代码",slug:"_1-、检出代码",children:[]},{level:3,title:"[2]、修改配置",slug:"_2-、修改配置",children:[]},{level:3,title:"[3]、前端运行命令",slug:"_3-、前端运行命令",children:[]},{level:3,title:"[4]、运行验证",slug:"_4-、运行验证",children:[]}]}],path:"/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html",pathLocale:"/",extraFields:[]},{title:"项目介绍",headers:[{level:2,title:"工程结构",slug:"工程结构",children:[{level:3,title:"后端工程结构",slug:"后端工程结构",children:[]},{level:3,title:"前端工程结构",slug:"前端工程结构",children:[]}]},{level:2,title:"核心技术",slug:"核心技术",children:[{level:3,title:"后端核心技术",slug:"后端核心技术",children:[]},{level:3,title:"前端核心技术",slug:"前端核心技术",children:[]}]},{level:2,title:"版本关系",slug:"版本关系",children:[{level:3,title:"组件版本关系",slug:"组件版本关系",children:[]},{level:3,title:"毕业版本关系(推荐使用)",slug:"毕业版本关系-推荐使用",children:[]}]},{level:2,title:"功能介绍",slug:"功能介绍",children:[{level:3,title:"[1]、统一安全认证中心",slug:"_1-、统一安全认证中心",children:[]},{level:3,title:"[2]、统一服务访问网关",slug:"_2-、统一服务访问网关",children:[]},{level:3,title:"[3]、微服务架构支撑",slug:"_3-、微服务架构支撑",children:[]},{level:3,title:"[4]、微服务运行监控",slug:"_4-、微服务运行监控",children:[]},{level:3,title:"[5]、数据自动化处理",slug:"_5-、数据自动化处理",children:[]},{level:3,title:"[6]、服务开发支撑",slug:"_6-、服务开发支撑",children:[]},{level:3,title:"[7]、信息发送集成",slug:"_7-、信息发送集成",children:[]},{level:3,title:"[8]、内容审核集成",slug:"_8-、内容审核集成",children:[]}]}],path:"/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[{level:2,title:"Athena 是什么?",slug:"athena-是什么",children:[]},{level:2,title:"Athena 不是什么?",slug:"athena-不是什么",children:[]},{level:2,title:"为什么 Athena 和 Eurynome Cloud 共享代码?",slug:"为什么-athena-和-eurynome-cloud-共享代码",children:[]},{level:2,title:"为什么构建 Athena?",slug:"为什么构建-athena",children:[]}],path:"/documents-athena/",pathLocale:"/",extraFields:[]},{title:"环境部署",headers:[{level:2,title:"后端运行",slug:"后端运行",children:[{level:3,title:"[1]、检出代码创建工程",slug:"_1-、检出代码创建工程",children:[]},{level:3,title:"[2]、创建数据库",slug:"_2-、创建数据库",children:[]},{level:3,title:"[3]、修改配置",slug:"_3-、修改配置",children:[]},{level:3,title:"[4]、编译代码",slug:"_4-、编译代码",children:[]},{level:3,title:"[5]、数据库创建和数据初始化",slug:"_5-、数据库创建和数据初始化",children:[]}]},{level:2,title:"前端运行",slug:"前端运行",children:[]}],path:"/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html",pathLocale:"/",extraFields:[]},{title:"OAuth2",headers:[{level:2,title:"介绍",slug:"介绍",children:[{level:3,title:"OAuth2授权流程中的角色",slug:"oauth2授权流程中的角色",children:[]},{level:3,title:"令牌与密码",slug:"令牌与密码",children:[]}]},{level:2,title:"四种模式",slug:"四种模式",children:[{level:3,title:"授权码模式(Authorization Code Grant)",slug:"授权码模式-authorization-code-grant",children:[]},{level:3,title:"隐式模式(Implicit Grant)",slug:"隐式模式-implicit-grant",children:[]},{level:3,title:"密码模式(Resource Owner Password Credentials Grant)",slug:"密码模式-resource-owner-password-credentials-grant",children:[]},{level:3,title:"客户端凭证模式(Client Credentials Grant)",slug:"客户端凭证模式-client-credentials-grant",children:[]}]},{level:2,title:"模式验证",slug:"模式验证",children:[{level:3,title:"授权码模式验证",slug:"授权码模式验证",children:[]},{level:3,title:"隐式模式验证",slug:"隐式模式验证",children:[]},{level:3,title:"密码模式验证",slug:"密码模式验证",children:[]},{level:3,title:"客户端凭证模式验证",slug:"客户端凭证模式验证",children:[]}]}],path:"/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[],path:"/microservices/",pathLocale:"/",extraFields:[]},{title:"容器化技术",headers:[{level:2,title:"Docker能解决什么问题?",slug:"docker能解决什么问题",children:[{level:3,title:"麻烦的环境配置",slug:"麻烦的环境配置",children:[]},{level:3,title:"现在的应用程序",slug:"现在的应用程序",children:[]},{level:3,title:"新架构的挑战",slug:"新架构的挑战",children:[]},{level:3,title:"统一的管理",slug:"统一的管理",children:[]}]},{level:2,title:"“容器”",slug:"容器",children:[{level:3,title:"虚拟化技术",slug:"虚拟化技术",children:[]},{level:3,title:"容器技术",slug:"容器技术",children:[]}]},{level:2,title:"Docker",slug:"docker",children:[{level:3,title:"Docker架构",slug:"docker架构",children:[]},{level:3,title:"Docker底层实现",slug:"docker底层实现",children:[]},{level:3,title:"Docker核心技术",slug:"docker核心技术",children:[]},{level:3,title:"Docker VS VM",slug:"docker-vs-vm",children:[]}]}],path:"/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.html",pathLocale:"/",extraFields:[]},{title:"容器化部署",headers:[{level:2,title:"本地容器部署",slug:"本地容器部署",children:[{level:3,title:"[1]、本地Docker安装(Windows版)",slug:"_1-、本地docker安装-windows版",children:[]},{level:3,title:"[2]、安装配置MySQL",slug:"_2-、安装配置mysql",children:[]},{level:3,title:"[2]、安装配置PostgreSQL",slug:"_2-、安装配置postgresql",children:[]},{level:3,title:"[3]、安装配置Redis",slug:"_3-、安装配置redis",children:[]},{level:3,title:"[4]、部署Kafka、Zookeeper、Nacos、ELK、Sentinel Dashboard",slug:"_4-、部署kafka、zookeeper、nacos、elk、sentinel-dashboard",children:[]},{level:3,title:"[5]、部署Skywalking",slug:"_5-、部署skywalking",children:[]},{level:3,title:"[6]、服务打包部署",slug:"_6-、服务打包部署",children:[]}]},{level:2,title:"服务器容器部署",slug:"服务器容器部署",children:[]},{level:2,title:"Docker打包设计",slug:"docker打包设计",children:[{level:3,title:"Eurynome Cloud Docker 打包设计初衷",slug:"eurynome-cloud-docker-打包设计初衷",children:[]},{level:3,title:"Eurynome Cloud Docker 打包的设计",slug:"eurynome-cloud-docker-打包的设计",children:[]},{level:3,title:"Eurynome Cloud Docker 打包使用方法",slug:"eurynome-cloud-docker-打包使用方法",children:[]}]}],path:"/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2.html",pathLocale:"/",extraFields:[]},{title:"Idea",headers:[{level:2,title:"[1]、found character '@' that cannot start any token. (Do not use @ for indentation)",slug:"_1-、found-character-that-cannot-start-any-token-do-not-use-for-indentation",children:[{level:3,title:"解决办法",slug:"解决办法",children:[]}]},{level:2,title:"[2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.",slug:"_2-、error-running-xxxapplication-command-line-is-too-long-shorten-the-command-line-via-jar-manifest-or-via-a-classpath-file-and-rerun",children:[{level:3,title:"步骤一",slug:"步骤一",children:[]},{level:3,title:"步骤二",slug:"步骤二",children:[]}]}],path:"/others/Idea.html",pathLocale:"/",extraFields:[]},{title:"MySQL 常见问题",headers:[{level:2,title:"[1]、 java.sql.SQLSyntaxErrorException: Duplicate key name 'xxx_idx'",slug:"_1-、-java-sql-sqlsyntaxerrorexception-duplicate-key-name-xxx-idx",children:[{level:3,title:"Hibernate方言",slug:"hibernate方言",children:[]},{level:3,title:"说明",slug:"说明",children:[]}]}],path:"/others/MySQL.html",pathLocale:"/",extraFields:[]},{title:"Nacos 常见问题",headers:[{level:2,title:"[1]、failover switch is not found, failover00-00---000-VIPSRV_FAILOVER_SWITCH-000---00-00",slug:"_1-、failover-switch-is-not-found-failover00-00-000-vipsrv-failover-switch-000-00-00",children:[]}],path:"/others/Nacos.html",pathLocale:"/",extraFields:[]},{title:"说明",headers:[],path:"/others/",pathLocale:"/",extraFields:[]},{title:"Redis 常见问题",headers:[{level:2,title:"[1]、本地Redis使用127.0.0.1可以访问,使用IP地址无法访问",slug:"_1-、本地redis使用127-0-0-1可以访问-使用ip地址无法访问",children:[]},{level:2,title:"[2]、io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required",slug:"_2-、io-lettuce-core-rediscommandexecutionexception-noauth-authentication-required",children:[]},{level:2,title:"[3]、NOAUTH HELLO must be called with the client already authenticated, otherwise the HELLO AUTH <user>",slug:"_3-、noauth-hello-must-be-called-with-the-client-already-authenticated-otherwise-the-hello-auth-user",children:[]}],path:"/others/Redis.html",pathLocale:"/",extraFields:[]},{title:"更新日志",headers:[{level:2,title:"v2.5.5.50",slug:"v2-5-5-50",children:[]},{level:2,title:"v2.5.5.40",slug:"v2-5-5-40",children:[]},{level:2,title:"v2.5.5.30",slug:"v2-5-5-30",children:[]},{level:2,title:"v2.5.5.20",slug:"v2-5-5-20",children:[]},{level:2,title:"v2.5.5.10",slug:"v2-5-5-10",children:[]},{level:2,title:"v2.5.5.0",slug:"v2-5-5-0",children:[]},{level:2,title:"v2.5.4.140",slug:"v2-5-4-140",children:[]},{level:2,title:"v2.5.4.130",slug:"v2-5-4-130",children:[]},{level:2,title:"v2.5.4.120",slug:"v2-5-4-120",children:[]},{level:2,title:"v2.5.4.110",slug:"v2-5-4-110",children:[]},{level:2,title:"v2.5.4.100",slug:"v2-5-4-100",children:[]},{level:2,title:"v2.5.4.90",slug:"v2-5-4-90",children:[]},{level:2,title:"v2.5.4.80",slug:"v2-5-4-80",children:[]},{level:2,title:"v2.5.4.65",slug:"v2-5-4-65",children:[]},{level:2,title:"v2.5.4.60",slug:"v2-5-4-60",children:[]},{level:2,title:"v2.5.4.55",slug:"v2-5-4-55",children:[]},{level:2,title:"v2.5.4.50",slug:"v2-5-4-50",children:[]},{level:2,title:"v2.5.4.40",slug:"v2-5-4-40",children:[]},{level:2,title:"v2.5.4.30",slug:"v2-5-4-30",children:[]},{level:2,title:"v2.5.4.20",slug:"v2-5-4-20",children:[]},{level:2,title:"v2.5.4.10",slug:"v2-5-4-10",children:[]},{level:2,title:"v2.5.3.60",slug:"v2-5-3-60",children:[]},{level:2,title:"v2.5.3.50",slug:"v2-5-3-50",children:[]},{level:2,title:"v2.5.3.40",slug:"v2-5-3-40",children:[]},{level:2,title:"v2.5.3.30",slug:"v2-5-3-30",children:[]},{level:2,title:"v2.5.3.10",slug:"v2-5-3-10",children:[]},{level:2,title:"2.5.2.40",slug:"_2-5-2-40",children:[]},{level:2,title:"v2.5.2.30",slug:"v2-5-2-30",children:[]},{level:2,title:"v2.5.2.25",slug:"v2-5-2-25",children:[]},{level:2,title:"v2.5.2.20",slug:"v2-5-2-20",children:[]},{level:2,title:"v2.5.1.0",slug:"v2-5-1-0",children:[]},{level:2,title:"v2.4.5.60",slug:"v2-4-5-60",children:[]},{level:2,title:"v2.4.5.48",slug:"v2-4-5-48",children:[]}],path:"/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}]},5220:(e,l,t)=>{t.d(l,{H:()=>i});const i={base:"/eurynome-cloud/",lang:"zh-CN",title:"Eurynome Cloud",description:"Eurynome Cloud, 在线文档, 微服务, 微服务架构, Spring Boot,Spring Cloud,Spring Cloud Alibaba, Spring Security, OAuth 2, Skywalking, Nacos",head:[["link",{rel:"icon",href:"/eurynome-cloud/images/logo.png"}],["link",{rel:"manifest",href:"/manifest.webmanifest"}],["meta",{name:"keywords",content:"Eurynome Cloud,微服务,Spring Boot,Spirng Cloud,Spring Cloud Alibaba,Spring Security,OAuth2,Nacos,Skywalking"}],["script",{},'var _hmt = _hmt || [];\n (function() {\n var hm = document.createElement("script");\n hm.src = "https://hm.baidu.com/hm.js?376190fed0f613f413a39d7aa19f387d";\n var s = document.getElementsByTagName("script")[0];\n s.parentNode.insertBefore(hm, s);\n })();']],locales:{}}},2232:(e,l,t)=>{t.d(l,{f:()=>i});const i={logo:"/images/logo.png",darkMode:!0,lastUpdatedText:"更新时间",contributorsText:"贡献者",navbar:[{text:"指南",link:"/documents/"},{text:"配置参考",link:"/configurations/"},{text:"单体版",link:"/documents-athena/"},{text:"微服务技术栈",link:"/microservices/"},{text:"了解更多",children:[{text:"延伸",children:[{text:"了解基础知识",link:"/basic-knowledge/"},{text:"了解PostgreSQL",link:"/basic-knowledge/postgresql.md"}]},{text:"帮助",children:[{text:"我要提问",link:"https://gitee.com/herodotus/eurynome-cloud/issues"},{text:"常见问题",link:"/others/README.md"},{text:"更新日志",link:"/others/更新日志.md"},{text:"加入QQ群",link:"https://jq.qq.com/?_wv=1027&k=bIerJVy8"}]}]},{text:"Gitee",children:[{text:"后端源码",link:"https://gitee.com/herodotus/eurynome-cloud",target:"_blank"},{text:"前端源码",link:"https://gitee.com/herodotus/eurynome-cloud-ui",target:"_blank"},{text:"单体版源码",link:"https://gitee.com/herodotus/herodotus-cloud-athena",target:"_blank"}]},{text:"Github",children:[{text:"后端源码",link:"https://github.com/herodotus-cloud/eurynome-cloud",target:"_blank"},{text:"前端源码",link:"https://github.com/herodotus-cloud/eurynome-cloud-ui",target:"_blank"},{text:"单体版源码",link:"https://github.com/herodotus-cloud/herodotus-cloud-athena",target:"_blank"}]}],sidebar:{"/documents/":[{text:"指南",children:["/documents/README.md","/documents/快速了解.md","/documents/项目介绍.md","/documents/环境部署.md","/documents/注意事项.md"]},{text:"后端手册",children:["/documents/数据初始化.md","/documents/更换数据库.md","/documents/多环境配置.md","/documents/新建子模块.md"]},{text:"前端手册",children:["/documents/前端介绍.md","/documents/依赖组件.md","/documents/添加模块.md","/documents/常用命令.md","/documents/前端问题.md"]}],"/documents-athena/":[{text:"单体版",children:["/documents-athena/README.md","/documents-athena/环境部署.md"]}],"/microservices/":[{text:"微服务技术栈",children:["/microservices/README.md","/microservices/OAuth2授权标准.md","/microservices/容器化技术.md","/microservices/容器化部署.md"]}],"/basic-knowledge/":[{text:"基础知识",children:["/basic-knowledge/README.md","/basic-knowledge/postgresql.md","/basic-knowledge/spring-data-jpa.md"]}],"/configurations/":[{text:"配置参考",children:["/configurations/README.md","/configurations/系统配置.md","/configurations/组件配置.md"]}],"/others/":[{text:"其它内容",children:["/others/README.md","/others/Idea.md","/others/Nacos.md","/others/Redis.md","/others/MySQL.md","/others/更新日志.md"]}]},locales:{"/":{selectLanguageName:"English"}},repo:null,selectLanguageText:"Languages",selectLanguageAriaLabel:"Select language",sidebarDepth:2,editLink:!0,editLinkText:"Edit this page",lastUpdated:!0,contributors:!0,notFound:["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],backToHome:"Take me home",openInNewWindow:"open in new window",toggleDarkMode:"toggle dark mode",toggleSidebar:"toggle sidebar"}}},e=>{e.O(0,[369,287],(()=>(5698,e(e.s=5698)))),e.O()}]); \ No newline at end of file diff --git a/docs/assets/js/app.4c820efd.js b/docs/assets/js/app.4c820efd.js new file mode 100644 index 000000000..3b6aa076f --- /dev/null +++ b/docs/assets/js/app.4c820efd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[143],{3131:(e,l,t)=>{t.d(l,{g:()=>r});var i=t(2009),n=t(6971),d=t(1598),s=t(1843);const r=[i.Z,n.Z,d.Z,s.Z]},9947:(e,l,t)=>{t.d(l,{p:()=>d});var i=t(3051),n=t(8341);const d=[i.Z,n.Z]},4611:(e,l,t)=>{t.d(l,{l:()=>r});var i=t(8866),n=t(1263),d=t(6243),s=t(4862);const r=[i.Z,n.Z,d.Z,s.Z]},4150:(e,l,t)=>{t.d(l,{Z:()=>n});var i=t(6252);const n={404:(0,i.RC)((()=>t.e(491).then(t.bind(t,8491)))),Layout:(0,i.RC)((()=>t.e(293).then(t.bind(t,3293))))}},6056:(e,l,t)=>{t.d(l,{b:()=>n});var i=t(6252);const n={"v-8daa1a0e":(0,i.RC)((()=>t.e(509).then(t.bind(t,6797)))),"v-62970b72":(0,i.RC)((()=>t.e(707).then(t.bind(t,4867)))),"v-3297977c":(0,i.RC)((()=>t.e(189).then(t.bind(t,4425)))),"v-344b5769":(0,i.RC)((()=>t.e(861).then(t.bind(t,8497)))),"v-9a0d6c6c":(0,i.RC)((()=>t.e(247).then(t.bind(t,5190)))),"v-4c5db979":(0,i.RC)((()=>t.e(334).then(t.bind(t,4612)))),"v-d0b8a61e":(0,i.RC)((()=>t.e(216).then(t.bind(t,9132)))),"v-05e1cd7a":(0,i.RC)((()=>t.e(934).then(t.bind(t,7745)))),"v-c0f957a0":(0,i.RC)((()=>t.e(781).then(t.bind(t,8189)))),"v-b68b64a4":(0,i.RC)((()=>t.e(892).then(t.bind(t,132)))),"v-96fd052e":(0,i.RC)((()=>t.e(709).then(t.bind(t,6031)))),"v-392e2ac6":(0,i.RC)((()=>t.e(939).then(t.bind(t,5037)))),"v-cff5f184":(0,i.RC)((()=>t.e(243).then(t.bind(t,2197)))),"v-01ef07a3":(0,i.RC)((()=>t.e(812).then(t.bind(t,7029)))),"v-6430ce6c":(0,i.RC)((()=>t.e(4).then(t.bind(t,683)))),"v-f283941e":(0,i.RC)((()=>t.e(658).then(t.bind(t,784)))),"v-4331d874":(0,i.RC)((()=>t.e(979).then(t.bind(t,7276)))),"v-eef3d90a":(0,i.RC)((()=>t.e(701).then(t.bind(t,4454)))),"v-04a4871c":(0,i.RC)((()=>t.e(148).then(t.bind(t,7314)))),"v-c6b464d4":(0,i.RC)((()=>t.e(815).then(t.bind(t,9375)))),"v-23340e69":(0,i.RC)((()=>t.e(152).then(t.bind(t,3212)))),"v-5fe0d252":(0,i.RC)((()=>t.e(188).then(t.bind(t,8739)))),"v-49381304":(0,i.RC)((()=>t.e(925).then(t.bind(t,2604)))),"v-0fc7dbdb":(0,i.RC)((()=>t.e(923).then(t.bind(t,4082)))),"v-150eedcd":(0,i.RC)((()=>t.e(779).then(t.bind(t,6372)))),"v-5f81e486":(0,i.RC)((()=>t.e(951).then(t.bind(t,9138)))),"v-040481e0":(0,i.RC)((()=>t.e(365).then(t.bind(t,4749)))),"v-661abe0c":(0,i.RC)((()=>t.e(129).then(t.bind(t,6621)))),"v-1b984d6f":(0,i.RC)((()=>t.e(295).then(t.bind(t,8717)))),"v-3413cbec":(0,i.RC)((()=>t.e(90).then(t.bind(t,2875)))),"v-31203a50":(0,i.RC)((()=>t.e(398).then(t.bind(t,7403)))),"v-25b47c13":(0,i.RC)((()=>t.e(446).then(t.bind(t,6207)))),"v-34232cb1":(0,i.RC)((()=>t.e(201).then(t.bind(t,9932)))),"v-5b482e3b":(0,i.RC)((()=>t.e(961).then(t.bind(t,7325)))),"v-3706649a":(0,i.RC)((()=>t.e(88).then(t.bind(t,3881))))}},9706:(e,l,t)=>{t.d(l,{T:()=>i});const i={"v-8daa1a0e":()=>t.e(509).then(t.bind(t,6464)).then((({data:e})=>e)),"v-62970b72":()=>t.e(707).then(t.bind(t,8301)).then((({data:e})=>e)),"v-3297977c":()=>t.e(189).then(t.bind(t,7958)).then((({data:e})=>e)),"v-344b5769":()=>t.e(861).then(t.bind(t,484)).then((({data:e})=>e)),"v-9a0d6c6c":()=>t.e(247).then(t.bind(t,6281)).then((({data:e})=>e)),"v-4c5db979":()=>t.e(334).then(t.bind(t,4484)).then((({data:e})=>e)),"v-d0b8a61e":()=>t.e(216).then(t.bind(t,875)).then((({data:e})=>e)),"v-05e1cd7a":()=>t.e(934).then(t.bind(t,9131)).then((({data:e})=>e)),"v-c0f957a0":()=>t.e(781).then(t.bind(t,3597)).then((({data:e})=>e)),"v-b68b64a4":()=>t.e(892).then(t.bind(t,4548)).then((({data:e})=>e)),"v-96fd052e":()=>t.e(709).then(t.bind(t,2203)).then((({data:e})=>e)),"v-392e2ac6":()=>t.e(939).then(t.bind(t,4988)).then((({data:e})=>e)),"v-cff5f184":()=>t.e(243).then(t.bind(t,7738)).then((({data:e})=>e)),"v-01ef07a3":()=>t.e(812).then(t.bind(t,4432)).then((({data:e})=>e)),"v-6430ce6c":()=>t.e(4).then(t.bind(t,890)).then((({data:e})=>e)),"v-f283941e":()=>t.e(658).then(t.bind(t,5517)).then((({data:e})=>e)),"v-4331d874":()=>t.e(979).then(t.bind(t,8002)).then((({data:e})=>e)),"v-eef3d90a":()=>t.e(701).then(t.bind(t,4954)).then((({data:e})=>e)),"v-04a4871c":()=>t.e(148).then(t.bind(t,8871)).then((({data:e})=>e)),"v-c6b464d4":()=>t.e(815).then(t.bind(t,8593)).then((({data:e})=>e)),"v-23340e69":()=>t.e(152).then(t.bind(t,7341)).then((({data:e})=>e)),"v-5fe0d252":()=>t.e(188).then(t.bind(t,3133)).then((({data:e})=>e)),"v-49381304":()=>t.e(925).then(t.bind(t,6445)).then((({data:e})=>e)),"v-0fc7dbdb":()=>t.e(923).then(t.bind(t,6018)).then((({data:e})=>e)),"v-150eedcd":()=>t.e(779).then(t.bind(t,2236)).then((({data:e})=>e)),"v-5f81e486":()=>t.e(951).then(t.bind(t,9865)).then((({data:e})=>e)),"v-040481e0":()=>t.e(365).then(t.bind(t,6424)).then((({data:e})=>e)),"v-661abe0c":()=>t.e(129).then(t.bind(t,5251)).then((({data:e})=>e)),"v-1b984d6f":()=>t.e(295).then(t.bind(t,1087)).then((({data:e})=>e)),"v-3413cbec":()=>t.e(90).then(t.bind(t,7635)).then((({data:e})=>e)),"v-31203a50":()=>t.e(398).then(t.bind(t,3657)).then((({data:e})=>e)),"v-25b47c13":()=>t.e(446).then(t.bind(t,3166)).then((({data:e})=>e)),"v-34232cb1":()=>t.e(201).then(t.bind(t,6803)).then((({data:e})=>e)),"v-5b482e3b":()=>t.e(961).then(t.bind(t,7149)).then((({data:e})=>e)),"v-3706649a":()=>t.e(88).then(t.bind(t,1801)).then((({data:e})=>e))}},4634:(e,l,t)=>{t.d(l,{g:()=>n});var i=t(4802);const n=[["v-8daa1a0e","/","",["/index.html","/README.md"]],["v-62970b72","/basic-knowledge/dev-environment.html","本地开发环境搭建",["/basic-knowledge/dev-environment","/basic-knowledge/dev-environment.md"]],["v-3297977c","/basic-knowledge/postgresql.html","为什么默认使用PostgreSQL数据库?",["/basic-knowledge/postgresql","/basic-knowledge/postgresql.md"]],["v-344b5769","/basic-knowledge/","介绍",["/basic-knowledge/index.html","/basic-knowledge/README.md"]],["v-9a0d6c6c","/basic-knowledge/spring-data-jpa.html","Spring Data JPA",["/basic-knowledge/spring-data-jpa","/basic-knowledge/spring-data-jpa.md"]],["v-4c5db979","/configurations/","快速配置",["/configurations/index.html","/configurations/README.md"]],["v-d0b8a61e","/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE.html","系统配置",["/configurations/系统配置.html","/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE","/configurations/系统配置.md","/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE.md"]],["v-05e1cd7a","/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE.html","组件配置",["/configurations/组件配置.html","/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE","/configurations/组件配置.md","/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE.md"]],["v-c0f957a0","/documents/","介绍",["/documents/index.html","/documents/README.md"]],["v-b68b64a4","/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6.html","依赖组件",["/documents/依赖组件.html","/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6","/documents/依赖组件.md","/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6.md"]],["v-96fd052e","/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D.html","前端概览",["/documents/前端介绍.html","/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D","/documents/前端介绍.md","/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D.md"]],["v-392e2ac6","/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98.html","前端问题",["/documents/前端问题.html","/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98","/documents/前端问题.md","/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98.md"]],["v-cff5f184","/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html","多环境配置",["/documents/多环境配置.html","/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE","/documents/多环境配置.md","/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.md"]],["v-01ef07a3","/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4.html","常用命令",["/documents/常用命令.html","/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4","/documents/常用命令.md","/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4.md"]],["v-6430ce6c","/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3.html","快速了解",["/documents/快速了解.html","/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3","/documents/快速了解.md","/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3.md"]],["v-f283941e","/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.html","数据初始化",["/documents/数据初始化.html","/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96","/documents/数据初始化.md","/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.md"]],["v-4331d874","/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97.html","新建子模块",["/documents/新建子模块.html","/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97","/documents/新建子模块.md","/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97.md"]],["v-eef3d90a","/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.html","更换数据库",["/documents/更换数据库.html","/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93","/documents/更换数据库.md","/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.md"]],["v-04a4871c","/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9.html","注意事项",["/documents/注意事项.html","/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9","/documents/注意事项.md","/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9.md"]],["v-c6b464d4","/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97.html","添加模块",["/documents/添加模块.html","/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97","/documents/添加模块.md","/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97.md"]],["v-23340e69","/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html","环境部署",["/documents/环境部署.html","/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2","/documents/环境部署.md","/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.md"]],["v-5fe0d252","/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D.html","项目介绍",["/documents/项目介绍.html","/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D","/documents/项目介绍.md","/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D.md"]],["v-49381304","/documents-athena/","介绍",["/documents-athena/index.html","/documents-athena/README.md"]],["v-0fc7dbdb","/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html","环境部署",["/documents-athena/环境部署.html","/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2","/documents-athena/环境部署.md","/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.md"]],["v-150eedcd","/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.html","OAuth2",["/microservices/OAuth2授权标准.html","/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86","/microservices/OAuth2授权标准.md","/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.md"]],["v-5f81e486","/microservices/","介绍",["/microservices/index.html","/microservices/README.md"]],["v-040481e0","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.html","容器化技术",["/microservices/容器化技术.html","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF","/microservices/容器化技术.md","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.md"]],["v-661abe0c","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2.html","容器化部署",["/microservices/容器化部署.html","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2","/microservices/容器化部署.md","/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2.md"]],["v-1b984d6f","/others/Idea.html","Idea",["/others/Idea","/others/Idea.md"]],["v-3413cbec","/others/MySQL.html","MySQL 常见问题",["/others/MySQL","/others/MySQL.md"]],["v-31203a50","/others/Nacos.html","Nacos 常见问题",["/others/Nacos","/others/Nacos.md"]],["v-25b47c13","/others/","说明",["/others/index.html","/others/README.md"]],["v-34232cb1","/others/Redis.html","Redis 常见问题",["/others/Redis","/others/Redis.md"]],["v-5b482e3b","/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.html","更新日志",["/others/更新日志.html","/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97","/others/更新日志.md","/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.md"]],["v-3706649a","/404.html","",["/404"]]].reduce(((e,[l,t,n,d])=>(e.push({name:l,path:t,component:i.Y,meta:{title:n}},...d.map((e=>({path:e,redirect:t})))),e)),[{name:"404",path:"/:catchAll(.*)",component:i.Y}])},5472:(e,l,t)=>{t.d(l,{D:()=>i});const i=[{title:"",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"本地开发环境搭建",headers:[{level:2,title:"Java 开发环境",slug:"java-开发环境",children:[{level:3,title:"[1]、JDK 安装及配置",slug:"_1-、jdk-安装及配置",children:[]},{level:3,title:"[2]、Maven 安装及配置",slug:"_2-、maven-安装及配置",children:[]},{level:3,title:"[3]、Git 安装",slug:"_3-、git-安装",children:[]},{level:3,title:"[4]、Idea 安装及配置",slug:"_4-、idea-安装及配置",children:[]},{level:3,title:"[5]、检出代码和编译",slug:"_5-、检出代码和编译",children:[]}]},{level:2,title:"Node 开发环境",slug:"node-开发环境",children:[{level:3,title:"[1]、Nodejs 安装",slug:"_1-、nodejs-安装",children:[]},{level:3,title:"[2]、Nodejs 配置",slug:"_2-、nodejs-配置",children:[]},{level:3,title:"[3]、Yarn 简介",slug:"_3-、yarn-简介",children:[]},{level:3,title:"[4]、Yarn 安装",slug:"_4-、yarn-安装",children:[]},{level:3,title:"[5]、Yarn 配置",slug:"_5-、yarn-配置",children:[]}]}],path:"/basic-knowledge/dev-environment.html",pathLocale:"/",extraFields:[]},{title:"为什么默认使用PostgreSQL数据库?",headers:[{level:2,title:"PostgreSQL VS MySQL",slug:"postgresql-vs-mysql",children:[{level:3,title:"MySQL",slug:"mysql",children:[]},{level:3,title:"PostgreSQL",slug:"postgresql",children:[]}]},{level:2,title:"PostgreSQL相对于MySQL的优势",slug:"postgresql相对于mysql的优势",children:[{level:3,title:"[1]、不仅仅是关系型数据库",slug:"_1-、不仅仅是关系型数据库",children:[]},{level:3,title:"[2]、支持地理信息处理扩展",slug:"_2-、支持地理信息处理扩展",children:[]},{level:3,title:"[3]、可以快速构建REST API",slug:"_3-、可以快速构建rest-api",children:[]},{level:3,title:"[4]、支持树状结构",slug:"_4-、支持树状结构",children:[]},{level:3,title:"[5]、有极其强悍的 SQL 编程能力",slug:"_5-、有极其强悍的-sql-编程能力",children:[]},{level:3,title:"[6]、外部数据源支持",slug:"_6-、外部数据源支持",children:[]},{level:3,title:"[7]、没有字符串长度限制",slug:"_7-、没有字符串长度限制",children:[]},{level:3,title:"[8]、支持图结构数据存储",slug:"_8-、支持图结构数据存储",children:[]},{level:3,title:"[9]、支持窗口函数",slug:"_9-、支持窗口函数",children:[]},{level:3,title:"[10]、对索引的支持更强",slug:"_10-、对索引的支持更强",children:[]},{level:3,title:"[11]、集群支持更好",slug:"_11-、集群支持更好",children:[]},{level:3,title:"[12]、事务隔离做的更好",slug:"_12-、事务隔离做的更好",children:[]},{level:3,title:"[13]、对于字符支持更好一些",slug:"_13-、对于字符支持更好一些",children:[]},{level:3,title:"[14]、对表连接支持较完整",slug:"_14-、对表连接支持较完整",children:[]},{level:3,title:"[15]、存储方式支持更大的数据量",slug:"_15-、存储方式支持更大的数据量",children:[]},{level:3,title:"[16]、时间精度更高",slug:"_16-、时间精度更高",children:[]},{level:3,title:"[17]、优化器的功能较完整",slug:"_17-、优化器的功能较完整",children:[]},{level:3,title:"[18]、序列支持更好",slug:"_18-、序列支持更好",children:[]},{level:3,title:"[19]、对子查询支持更好",slug:"_19-、对子查询支持更好",children:[]},{level:3,title:"[20]、增加列更加简单",slug:"_20-、增加列更加简单",children:[]}]},{level:2,title:"MySQL相对于PostgreSQL的优势",slug:"mysql相对于postgresql的优势",children:[{level:3,title:"[1]、MySQL比PostgreSQL更流行",slug:"_1-、mysql比postgresql更流行",children:[]},{level:3,title:"[2]、回滚实现更优",slug:"_2-、回滚实现更优",children:[]},{level:3,title:"[3]、在Windows上运行更可靠",slug:"_3-、在windows上运行更可靠",children:[]},{level:3,title:"[4]、线程模式相比进程模式的优势",slug:"_4-、线程模式相比进程模式的优势",children:[]},{level:3,title:"[5]、权限设置上更加完善",slug:"_5-、权限设置上更加完善",children:[]},{level:3,title:"[6]、存储引擎插件化机制",slug:"_6-、存储引擎插件化机制",children:[]},{level:3,title:"[7]、适应24/7运行",slug:"_7-、适应24-7运行",children:[]},{level:3,title:"[8]、更加试用于简单的场景",slug:"_8-、更加试用于简单的场景",children:[]}]},{level:2,title:"总结",slug:"总结",children:[]}],path:"/basic-knowledge/postgresql.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[],path:"/basic-knowledge/",pathLocale:"/",extraFields:[]},{title:"Spring Data JPA",headers:[{level:2,title:"JPA",slug:"jpa",children:[{level:3,title:"Spring Data Jpa",slug:"spring-data-jpa-1",children:[]},{level:3,title:"Jpa、Hibernate、Spring Data Jpa三者之间的关系",slug:"jpa、hibernate、spring-data-jpa三者之间的关系",children:[]},{level:3,title:"Spring Data Jpa的java配置方案",slug:"spring-data-jpa的java配置方案",children:[]},{level:3,title:"Spring Boot整合Spring Data Jpa",slug:"spring-boot整合spring-data-jpa",children:[]}]},{level:2,title:"Spring Data Jpa的使用",slug:"spring-data-jpa的使用",children:[{level:3,title:"Spring Data Jpa UML类图",slug:"spring-data-jpa-uml类图",children:[]},{level:3,title:"简单的REST CRUD示例",slug:"简单的rest-crud示例",children:[]}]},{level:2,title:"Spring Data Jpa使用详解",slug:"spring-data-jpa使用详解",children:[{level:3,title:"Spring Data查询方法",slug:"spring-data查询方法",children:[]},{level:3,title:"查询方法",slug:"查询方法",children:[]},{level:3,title:"多表查询",slug:"多表查询",children:[]}]},{level:2,title:"审计Auditing",slug:"审计auditing",children:[{level:3,title:"实现AuditorAware接口",slug:"实现auditoraware接口",children:[]},{level:3,title:"启用Jpa审计功能",slug:"启用jpa审计功能",children:[]}]}],path:"/basic-knowledge/spring-data-jpa.html",pathLocale:"/",extraFields:[]},{title:"快速配置",headers:[{level:2,title:"eurynome-cloud-environment.yaml",slug:"eurynome-cloud-environment-yaml",children:[{level:3,title:"herodotus.environment.logstash-server-addr",slug:"herodotus-environment-logstash-server-addr",children:[]},{level:3,title:"herodotus.environment.gateway-server-addr",slug:"herodotus-environment-gateway-server-addr",children:[]},{level:3,title:"herodotus.environment.database.host",slug:"herodotus-environment-database-host",children:[]},{level:3,title:"herodotus.environment.database.port",slug:"herodotus-environment-database-port",children:[]},{level:3,title:"herodotus.environment.database.name",slug:"herodotus-environment-database-name",children:[]},{level:3,title:"herodotus.environment.database.username",slug:"herodotus-environment-database-username",children:[]},{level:3,title:"herodotus.environment.database.password",slug:"herodotus-environment-database-password",children:[]},{level:3,title:"herodotus.environment.redis.host",slug:"herodotus-environment-redis-host",children:[]},{level:3,title:"herodotus.environment.redis.port",slug:"herodotus-environment-redis-port",children:[]},{level:3,title:"herodotus.environment.redis.password",slug:"herodotus-environment-redis-password",children:[]},{level:3,title:"herodotus.environment.kafka.bootstrap-servers",slug:"herodotus-environment-kafka-bootstrap-servers",children:[]},{level:3,title:"herodotus.switch.database.ddl-auto",slug:"herodotus-switch-database-ddl-auto",children:[]},{level:3,title:"herodotus.switch.database.init-mode",slug:"herodotus-switch-database-init-mode",children:[]},{level:3,title:"herodotus.switch.database.use-second-level-cache",slug:"herodotus-switch-database-use-second-level-cache",children:[]},{level:3,title:"herodotus.switch.database.show-sql",slug:"herodotus-switch-database-show-sql",children:[]},{level:3,title:"herodotus.switch.database.format-sql",slug:"herodotus-switch-database-format-sql",children:[]},{level:3,title:"herodotus.switch.database.generate-statistics",slug:"herodotus-switch-database-generate-statistics",children:[]},{level:3,title:"herodotus.switch.swagger.enabled",slug:"herodotus-switch-swagger-enabled",children:[]},{level:3,title:"herodotus.management.log-center.server-addr",slug:"herodotus-management-log-center-server-addr",children:[]},{level:3,title:"herodotus.management.log-center.loggers",slug:"herodotus-management-log-center-loggers",children:[]}]}],path:"/configurations/",pathLocale:"/",extraFields:[]},{title:"系统配置",headers:[],path:"/configurations/%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE.html",pathLocale:"/",extraFields:[]},{title:"组件配置",headers:[{level:2,title:"Spring Boot",slug:"spring-boot",children:[{level:3,title:"v2.5.5",slug:"v2-5-5",children:[]}]},{level:2,title:"Camunda",slug:"camunda",children:[{level:3,title:"v7.15.0",slug:"v7-15-0",children:[]}]}],path:"/configurations/%E7%BB%84%E4%BB%B6%E9%85%8D%E7%BD%AE.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[{level:2,title:"总体架构",slug:"总体架构",children:[]},{level:2,title:"功能演示",slug:"功能演示",children:[{level:3,title:"[1]、基于URL的方法级动态权限配置",slug:"_1-、基于url的方法级动态权限配置",children:[]},{level:3,title:"[2]、服务调用链监控",slug:"_2-、服务调用链监控",children:[]}]},{level:2,title:"版本号说明",slug:"版本号说明",children:[]},{level:2,title:"交流反馈",slug:"交流反馈",children:[]}],path:"/documents/",pathLocale:"/",extraFields:[]},{title:"依赖组件",headers:[{level:2,title:"前端框架",slug:"前端框架",children:[]},{level:2,title:"基础框架组件",slug:"基础框架组件",children:[]},{level:2,title:"IOC组件",slug:"ioc组件",children:[]},{level:2,title:"表单校验组件",slug:"表单校验组件",children:[]},{level:2,title:"离线存储组件",slug:"离线存储组件",children:[]},{level:2,title:"消息提示框组件",slug:"消息提示框组件",children:[]},{level:2,title:"工作流编辑器组件",slug:"工作流编辑器组件",children:[]},{level:2,title:"通用工具库组件",slug:"通用工具库组件",children:[]},{level:2,title:"图标库",slug:"图标库",children:[]}],path:"/documents/%E4%BE%9D%E8%B5%96%E7%BB%84%E4%BB%B6.html",pathLocale:"/",extraFields:[]},{title:"前端概览",headers:[{level:2,title:"项目简介",slug:"项目简介",children:[{level:3,title:"为什么没有使用 Vue 3",slug:"为什么没有使用-vue-3",children:[]}]},{level:2,title:"主要特性",slug:"主要特性",children:[]},{level:2,title:"技术介绍",slug:"技术介绍",children:[{level:3,title:"Vuetify",slug:"vuetify",children:[]},{level:3,title:"Typescript",slug:"typescript",children:[]},{level:3,title:"Monorepo",slug:"monorepo",children:[]},{level:3,title:"Lerna",slug:"lerna",children:[]},{level:3,title:"Rollup",slug:"rollup",children:[]}]},{level:2,title:"模块说明",slug:"模块说明",children:[{level:3,title:"@hecate/h-bpmn-moddle",slug:"hecate-h-bpmn-moddle",children:[]},{level:3,title:"@hecate/h-button",slug:"hecate-h-button",children:[]},{level:3,title:"@hecate/h-table",slug:"hecate-h-table",children:[]},{level:3,title:"@hecate/plugins",slug:"hecate-plugins",children:[]},{level:3,title:"@hecate/utils",slug:"hecate-utils",children:[]},{level:3,title:"@herodotus/ui",slug:"herodotus-ui",children:[]}]}],path:"/documents/%E5%89%8D%E7%AB%AF%E4%BB%8B%E7%BB%8D.html",pathLocale:"/",extraFields:[]},{title:"前端问题",headers:[{level:2,title:"暂时不要升级的依赖包",slug:"暂时不要升级的依赖包",children:[]},{level:2,title:"问题一:升级依赖包时出错",slug:"问题一-升级依赖包时出错",children:[{level:3,title:"(1)解决办法一",slug:"_1-解决办法一",children:[]},{level:3,title:"(2)解决办法二",slug:"_2-解决办法二",children:[]}]},{level:2,title:"问题二:运行命令是出现禁止脚本运行的错误",slug:"问题二-运行命令是出现禁止脚本运行的错误",children:[]}],path:"/documents/%E5%89%8D%E7%AB%AF%E9%97%AE%E9%A2%98.html",pathLocale:"/",extraFields:[]},{title:"多环境配置",headers:[{level:2,title:"什么是多环境配置?",slug:"什么是多环境配置",children:[]},{level:2,title:"Maven 多环境配置",slug:"maven-多环境配置",children:[]},{level:2,title:"Spring Boot 多环境配置",slug:"spring-boot-多环境配置",children:[{level:3,title:"Spring Boot 环境设置机制",slug:"spring-boot-环境设置机制",children:[]},{level:3,title:"配置多环境",slug:"配置多环境",children:[]},{level:3,title:"指定环境",slug:"指定环境",children:[]},{level:3,title:"单一文件写法",slug:"单一文件写法",children:[]}]},{level:2,title:"Nacos 多环境配置",slug:"nacos-多环境配置",children:[{level:3,title:"Data Id",slug:"data-id",children:[]},{level:3,title:"Group",slug:"group",children:[]},{level:3,title:"Namespace",slug:"namespace",children:[]}]},{level:2,title:"Docker和K8S 多环境配置",slug:"docker和k8s-多环境配置",children:[]},{level:2,title:"Eurynome Cloud 的多环境配置",slug:"eurynome-cloud-的多环境配置",children:[{level:3,title:"Eurynome Cloud 中的Maven多环境配置",slug:"eurynome-cloud-中的maven多环境配置",children:[]},{level:3,title:"Eurynome Cloud 中的Spring Boot和Nacos多环境配置",slug:"eurynome-cloud-中的spring-boot和nacos多环境配置",children:[]}]}],path:"/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html",pathLocale:"/",extraFields:[]},{title:"常用命令",headers:[{level:2,title:"前端工程涉及命令",slug:"前端工程涉及命令",children:[{level:3,title:"指定包",slug:"指定包",children:[]},{level:3,title:"依赖工程内组件",slug:"依赖工程内组件",children:[]},{level:3,title:"根目录添加依赖",slug:"根目录添加依赖",children:[]},{level:3,title:"升级依赖包",slug:"升级依赖包",children:[]},{level:3,title:"编译所有组件",slug:"编译所有组件",children:[]},{level:3,title:"清空组件 dist",slug:"清空组件-dist",children:[]},{level:3,title:"清除组件中的 node_modules",slug:"清除组件中的-node-modules",children:[]},{level:3,title:"让各个组件中重新关联依赖包",slug:"让各个组件中重新关联依赖包",children:[]},{level:3,title:"提交代码",slug:"提交代码",children:[]}]}],path:"/documents/%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4.html",pathLocale:"/",extraFields:[]},{title:"快速了解",headers:[{level:2,title:"项目简介",slug:"项目简介",children:[]},{level:2,title:"主要特性",slug:"主要特性",children:[]},{level:2,title:"技术选型",slug:"技术选型",children:[]},{level:2,title:"内置功能",slug:"内置功能",children:[]}],path:"/documents/%E5%BF%AB%E9%80%9F%E4%BA%86%E8%A7%A3.html",pathLocale:"/",extraFields:[]},{title:"数据初始化",headers:[{level:2,title:"知识铺垫",slug:"知识铺垫",children:[{level:3,title:"基础原理",slug:"基础原理",children:[]},{level:3,title:"Spring Data JPA 更换数据库",slug:"spring-data-jpa-更换数据库",children:[]},{level:3,title:"Spring Data JPA 初始化数据库",slug:"spring-data-jpa-初始化数据库",children:[]},{level:3,title:"特别说明",slug:"特别说明",children:[]}]},{level:2,title:"操作步骤",slug:"操作步骤",children:[{level:3,title:"步骤一:创建数据表",slug:"步骤一-创建数据表",children:[]},{level:3,title:"步骤二:初始默认数据",slug:"步骤二-初始默认数据",children:[]},{level:3,title:"步骤三:回置配置",slug:"步骤三-回置配置",children:[]},{level:3,title:"总结",slug:"总结",children:[]}]},{level:2,title:"配置参数对应关系",slug:"配置参数对应关系",children:[]}],path:"/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.html",pathLocale:"/",extraFields:[]},{title:"新建子模块",headers:[{level:2,title:"在现有工程内,新建常规模块",slug:"在现有工程内-新建常规模块",children:[{level:3,title:"手工新建子模块(非微服务模块)",slug:"手工新建子模块-非微服务模块",children:[]},{level:3,title:"IDEA新建子模块(非微服务模块)",slug:"idea新建子模块-非微服务模块",children:[]}]},{level:2,title:"在现有工程内,新建微服务模块",slug:"在现有工程内-新建微服务模块",children:[{level:3,title:"手工新建子模块(非常规模块)",slug:"手工新建子模块-非常规模块",children:[]},{level:3,title:"IDEA新建子模块(非常规模块)",slug:"idea新建子模块-非常规模块",children:[]}]},{level:2,title:"在现有工程外,新建微服务独立模块工程",slug:"在现有工程外-新建微服务独立模块工程",children:[]}],path:"/documents/%E6%96%B0%E5%BB%BA%E5%AD%90%E6%A8%A1%E5%9D%97.html",pathLocale:"/",extraFields:[]},{title:"更换数据库",headers:[{level:2,title:"步骤一:判断是否需要添加数据库方言配置",slug:"步骤一-判断是否需要添加数据库方言配置",children:[]},{level:2,title:"步骤二:修改环境参数",slug:"步骤二-修改环境参数",children:[]},{level:2,title:"步骤三:修改pom.xml",slug:"步骤三-修改pom-xml",children:[]},{level:2,title:"步骤四:添加数据库JDBC Driver",slug:"步骤四-添加数据库jdbc-driver",children:[]},{level:2,title:"步骤五:编译工程代码",slug:"步骤五-编译工程代码",children:[]},{level:2,title:"步骤六:修改工作流服务数据库类型",slug:"步骤六-修改工作流服务数据库类型",children:[]}],path:"/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.html",pathLocale:"/",extraFields:[]},{title:"注意事项",headers:[{level:2,title:"v2.5.5.0 版本注意事项",slug:"v2-5-5-0-版本注意事项",children:[{level:3,title:"[1]、一定要修改Nacos配置后再运行服务",slug:"_1-、一定要修改nacos配置后再运行服务",children:[]}]}],path:"/documents/%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9.html",pathLocale:"/",extraFields:[]},{title:"添加模块",headers:[{level:2,title:"添加一般模块",slug:"添加一般模块",children:[]},{level:2,title:"添加Vue工程",slug:"添加vue工程",children:[]}],path:"/documents/%E6%B7%BB%E5%8A%A0%E6%A8%A1%E5%9D%97.html",pathLocale:"/",extraFields:[]},{title:"环境部署",headers:[{level:2,title:"准备工作",slug:"准备工作",children:[{level:3,title:"后端运行所需的基础设施",slug:"后端运行所需的基础设施",children:[]},{level:3,title:"前端运行所需的基础设施",slug:"前端运行所需的基础设施",children:[]}]},{level:2,title:"后端运行",slug:"后端运行",children:[{level:3,title:"[1]、检出代码创建工程",slug:"_1-、检出代码创建工程",children:[]},{level:3,title:"[2]、创建数据库",slug:"_2-、创建数据库",children:[]},{level:3,title:"[3]、创建或导入Nacos配置",slug:"_3-、创建或导入nacos配置",children:[]},{level:3,title:"[4]、修改Nacos配置",slug:"_4-、修改nacos配置",children:[]},{level:3,title:"[5]、修改pom.xml配置",slug:"_5-、修改pom-xml配置",children:[]},{level:3,title:"[6]、编译代码",slug:"_6-、编译代码",children:[]},{level:3,title:"[7]、数据库创建和数据初始化",slug:"_7-、数据库创建和数据初始化",children:[]},{level:3,title:"[8]、运行服务模块",slug:"_8-、运行服务模块",children:[]},{level:3,title:"[9]、运行ELK(可选)",slug:"_9-、运行elk-可选",children:[]},{level:3,title:"[10]、以Docker方式部署(可选)",slug:"_10-、以docker方式部署-可选",children:[]},{level:3,title:"[11]、部署验证",slug:"_11-、部署验证",children:[]}]},{level:2,title:"前端运行",slug:"前端运行",children:[{level:3,title:"[1]、检出代码",slug:"_1-、检出代码",children:[]},{level:3,title:"[2]、修改配置",slug:"_2-、修改配置",children:[]},{level:3,title:"[3]、前端运行命令",slug:"_3-、前端运行命令",children:[]},{level:3,title:"[4]、运行验证",slug:"_4-、运行验证",children:[]}]}],path:"/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html",pathLocale:"/",extraFields:[]},{title:"项目介绍",headers:[{level:2,title:"工程结构",slug:"工程结构",children:[{level:3,title:"后端工程结构",slug:"后端工程结构",children:[]},{level:3,title:"前端工程结构",slug:"前端工程结构",children:[]}]},{level:2,title:"核心技术",slug:"核心技术",children:[{level:3,title:"后端核心技术",slug:"后端核心技术",children:[]},{level:3,title:"前端核心技术",slug:"前端核心技术",children:[]}]},{level:2,title:"版本关系",slug:"版本关系",children:[{level:3,title:"组件版本关系",slug:"组件版本关系",children:[]},{level:3,title:"毕业版本关系(推荐使用)",slug:"毕业版本关系-推荐使用",children:[]}]},{level:2,title:"功能介绍",slug:"功能介绍",children:[{level:3,title:"[1]、统一安全认证中心",slug:"_1-、统一安全认证中心",children:[]},{level:3,title:"[2]、统一服务访问网关",slug:"_2-、统一服务访问网关",children:[]},{level:3,title:"[3]、微服务架构支撑",slug:"_3-、微服务架构支撑",children:[]},{level:3,title:"[4]、微服务运行监控",slug:"_4-、微服务运行监控",children:[]},{level:3,title:"[5]、数据自动化处理",slug:"_5-、数据自动化处理",children:[]},{level:3,title:"[6]、服务开发支撑",slug:"_6-、服务开发支撑",children:[]},{level:3,title:"[7]、信息发送集成",slug:"_7-、信息发送集成",children:[]},{level:3,title:"[8]、内容审核集成",slug:"_8-、内容审核集成",children:[]}]}],path:"/documents/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[{level:2,title:"Athena 是什么?",slug:"athena-是什么",children:[]},{level:2,title:"Athena 不是什么?",slug:"athena-不是什么",children:[]},{level:2,title:"为什么 Athena 和 Eurynome Cloud 共享代码?",slug:"为什么-athena-和-eurynome-cloud-共享代码",children:[]},{level:2,title:"为什么构建 Athena?",slug:"为什么构建-athena",children:[]}],path:"/documents-athena/",pathLocale:"/",extraFields:[]},{title:"环境部署",headers:[{level:2,title:"后端运行",slug:"后端运行",children:[{level:3,title:"[1]、检出代码创建工程",slug:"_1-、检出代码创建工程",children:[]},{level:3,title:"[2]、创建数据库",slug:"_2-、创建数据库",children:[]},{level:3,title:"[3]、修改配置",slug:"_3-、修改配置",children:[]},{level:3,title:"[4]、编译代码",slug:"_4-、编译代码",children:[]},{level:3,title:"[5]、数据库创建和数据初始化",slug:"_5-、数据库创建和数据初始化",children:[]}]},{level:2,title:"前端运行",slug:"前端运行",children:[]}],path:"/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html",pathLocale:"/",extraFields:[]},{title:"OAuth2",headers:[{level:2,title:"介绍",slug:"介绍",children:[{level:3,title:"OAuth2授权流程中的角色",slug:"oauth2授权流程中的角色",children:[]},{level:3,title:"令牌与密码",slug:"令牌与密码",children:[]}]},{level:2,title:"四种模式",slug:"四种模式",children:[{level:3,title:"授权码模式(Authorization Code Grant)",slug:"授权码模式-authorization-code-grant",children:[]},{level:3,title:"隐式模式(Implicit Grant)",slug:"隐式模式-implicit-grant",children:[]},{level:3,title:"密码模式(Resource Owner Password Credentials Grant)",slug:"密码模式-resource-owner-password-credentials-grant",children:[]},{level:3,title:"客户端凭证模式(Client Credentials Grant)",slug:"客户端凭证模式-client-credentials-grant",children:[]}]},{level:2,title:"模式验证",slug:"模式验证",children:[{level:3,title:"授权码模式验证",slug:"授权码模式验证",children:[]},{level:3,title:"隐式模式验证",slug:"隐式模式验证",children:[]},{level:3,title:"密码模式验证",slug:"密码模式验证",children:[]},{level:3,title:"客户端凭证模式验证",slug:"客户端凭证模式验证",children:[]}]}],path:"/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.html",pathLocale:"/",extraFields:[]},{title:"介绍",headers:[],path:"/microservices/",pathLocale:"/",extraFields:[]},{title:"容器化技术",headers:[{level:2,title:"Docker能解决什么问题?",slug:"docker能解决什么问题",children:[{level:3,title:"麻烦的环境配置",slug:"麻烦的环境配置",children:[]},{level:3,title:"现在的应用程序",slug:"现在的应用程序",children:[]},{level:3,title:"新架构的挑战",slug:"新架构的挑战",children:[]},{level:3,title:"统一的管理",slug:"统一的管理",children:[]}]},{level:2,title:"“容器”",slug:"容器",children:[{level:3,title:"虚拟化技术",slug:"虚拟化技术",children:[]},{level:3,title:"容器技术",slug:"容器技术",children:[]}]},{level:2,title:"Docker",slug:"docker",children:[{level:3,title:"Docker架构",slug:"docker架构",children:[]},{level:3,title:"Docker底层实现",slug:"docker底层实现",children:[]},{level:3,title:"Docker核心技术",slug:"docker核心技术",children:[]},{level:3,title:"Docker VS VM",slug:"docker-vs-vm",children:[]}]}],path:"/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.html",pathLocale:"/",extraFields:[]},{title:"容器化部署",headers:[{level:2,title:"本地容器部署",slug:"本地容器部署",children:[{level:3,title:"[1]、本地Docker安装(Windows版)",slug:"_1-、本地docker安装-windows版",children:[]},{level:3,title:"[2]、安装配置MySQL",slug:"_2-、安装配置mysql",children:[]},{level:3,title:"[2]、安装配置PostgreSQL",slug:"_2-、安装配置postgresql",children:[]},{level:3,title:"[3]、安装配置Redis",slug:"_3-、安装配置redis",children:[]},{level:3,title:"[4]、部署Kafka、Zookeeper、Nacos、ELK、Sentinel Dashboard",slug:"_4-、部署kafka、zookeeper、nacos、elk、sentinel-dashboard",children:[]},{level:3,title:"[5]、部署Skywalking",slug:"_5-、部署skywalking",children:[]},{level:3,title:"[6]、服务打包部署",slug:"_6-、服务打包部署",children:[]}]},{level:2,title:"服务器容器部署",slug:"服务器容器部署",children:[]},{level:2,title:"Docker打包设计",slug:"docker打包设计",children:[{level:3,title:"Eurynome Cloud Docker 打包设计初衷",slug:"eurynome-cloud-docker-打包设计初衷",children:[]},{level:3,title:"Eurynome Cloud Docker 打包的设计",slug:"eurynome-cloud-docker-打包的设计",children:[]},{level:3,title:"Eurynome Cloud Docker 打包使用方法",slug:"eurynome-cloud-docker-打包使用方法",children:[]}]}],path:"/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E9%83%A8%E7%BD%B2.html",pathLocale:"/",extraFields:[]},{title:"Idea",headers:[{level:2,title:"[1]、found character '@' that cannot start any token. (Do not use @ for indentation)",slug:"_1-、found-character-that-cannot-start-any-token-do-not-use-for-indentation",children:[{level:3,title:"解决办法",slug:"解决办法",children:[]}]},{level:2,title:"[2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.",slug:"_2-、error-running-xxxapplication-command-line-is-too-long-shorten-the-command-line-via-jar-manifest-or-via-a-classpath-file-and-rerun",children:[{level:3,title:"步骤一",slug:"步骤一",children:[]},{level:3,title:"步骤二",slug:"步骤二",children:[]}]}],path:"/others/Idea.html",pathLocale:"/",extraFields:[]},{title:"MySQL 常见问题",headers:[{level:2,title:"[1]、 java.sql.SQLSyntaxErrorException: Duplicate key name 'xxx_idx'",slug:"_1-、-java-sql-sqlsyntaxerrorexception-duplicate-key-name-xxx-idx",children:[{level:3,title:"Hibernate方言",slug:"hibernate方言",children:[]},{level:3,title:"说明",slug:"说明",children:[]}]}],path:"/others/MySQL.html",pathLocale:"/",extraFields:[]},{title:"Nacos 常见问题",headers:[{level:2,title:"[1]、failover switch is not found, failover00-00---000-VIPSRV_FAILOVER_SWITCH-000---00-00",slug:"_1-、failover-switch-is-not-found-failover00-00-000-vipsrv-failover-switch-000-00-00",children:[]}],path:"/others/Nacos.html",pathLocale:"/",extraFields:[]},{title:"说明",headers:[],path:"/others/",pathLocale:"/",extraFields:[]},{title:"Redis 常见问题",headers:[{level:2,title:"[1]、本地Redis使用127.0.0.1可以访问,使用IP地址无法访问",slug:"_1-、本地redis使用127-0-0-1可以访问-使用ip地址无法访问",children:[]},{level:2,title:"[2]、io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required",slug:"_2-、io-lettuce-core-rediscommandexecutionexception-noauth-authentication-required",children:[]},{level:2,title:"[3]、NOAUTH HELLO must be called with the client already authenticated, otherwise the HELLO AUTH <user>",slug:"_3-、noauth-hello-must-be-called-with-the-client-already-authenticated-otherwise-the-hello-auth-user",children:[]}],path:"/others/Redis.html",pathLocale:"/",extraFields:[]},{title:"更新日志",headers:[{level:2,title:"v2.5.5.60",slug:"v2-5-5-60",children:[]},{level:2,title:"v2.5.5.50",slug:"v2-5-5-50",children:[]},{level:2,title:"v2.5.5.40",slug:"v2-5-5-40",children:[]},{level:2,title:"v2.5.5.30",slug:"v2-5-5-30",children:[]},{level:2,title:"v2.5.5.20",slug:"v2-5-5-20",children:[]},{level:2,title:"v2.5.5.10",slug:"v2-5-5-10",children:[]},{level:2,title:"v2.5.5.0",slug:"v2-5-5-0",children:[]},{level:2,title:"v2.5.4.140",slug:"v2-5-4-140",children:[]},{level:2,title:"v2.5.4.130",slug:"v2-5-4-130",children:[]},{level:2,title:"v2.5.4.120",slug:"v2-5-4-120",children:[]},{level:2,title:"v2.5.4.110",slug:"v2-5-4-110",children:[]},{level:2,title:"v2.5.4.100",slug:"v2-5-4-100",children:[]},{level:2,title:"v2.5.4.90",slug:"v2-5-4-90",children:[]},{level:2,title:"v2.5.4.80",slug:"v2-5-4-80",children:[]},{level:2,title:"v2.5.4.65",slug:"v2-5-4-65",children:[]},{level:2,title:"v2.5.4.60",slug:"v2-5-4-60",children:[]},{level:2,title:"v2.5.4.55",slug:"v2-5-4-55",children:[]},{level:2,title:"v2.5.4.50",slug:"v2-5-4-50",children:[]},{level:2,title:"v2.5.4.40",slug:"v2-5-4-40",children:[]},{level:2,title:"v2.5.4.30",slug:"v2-5-4-30",children:[]},{level:2,title:"v2.5.4.20",slug:"v2-5-4-20",children:[]},{level:2,title:"v2.5.4.10",slug:"v2-5-4-10",children:[]},{level:2,title:"v2.5.3.60",slug:"v2-5-3-60",children:[]},{level:2,title:"v2.5.3.50",slug:"v2-5-3-50",children:[]},{level:2,title:"v2.5.3.40",slug:"v2-5-3-40",children:[]},{level:2,title:"v2.5.3.30",slug:"v2-5-3-30",children:[]},{level:2,title:"v2.5.3.10",slug:"v2-5-3-10",children:[]},{level:2,title:"2.5.2.40",slug:"_2-5-2-40",children:[]},{level:2,title:"v2.5.2.30",slug:"v2-5-2-30",children:[]},{level:2,title:"v2.5.2.25",slug:"v2-5-2-25",children:[]},{level:2,title:"v2.5.2.20",slug:"v2-5-2-20",children:[]},{level:2,title:"v2.5.1.0",slug:"v2-5-1-0",children:[]},{level:2,title:"v2.4.5.60",slug:"v2-4-5-60",children:[]},{level:2,title:"v2.4.5.48",slug:"v2-4-5-48",children:[]}],path:"/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}]},5220:(e,l,t)=>{t.d(l,{H:()=>i});const i={base:"/eurynome-cloud/",lang:"zh-CN",title:"Eurynome Cloud",description:"Eurynome Cloud, 在线文档, 微服务, 微服务架构, Spring Boot,Spring Cloud,Spring Cloud Alibaba, Spring Security, OAuth 2, Skywalking, Nacos",head:[["link",{rel:"icon",href:"/eurynome-cloud/images/logo.png"}],["link",{rel:"manifest",href:"/manifest.webmanifest"}],["meta",{name:"keywords",content:"Eurynome Cloud,微服务,Spring Boot,Spirng Cloud,Spring Cloud Alibaba,Spring Security,OAuth2,Nacos,Skywalking"}],["script",{},'var _hmt = _hmt || [];\n (function() {\n var hm = document.createElement("script");\n hm.src = "https://hm.baidu.com/hm.js?376190fed0f613f413a39d7aa19f387d";\n var s = document.getElementsByTagName("script")[0];\n s.parentNode.insertBefore(hm, s);\n })();']],locales:{}}},2232:(e,l,t)=>{t.d(l,{f:()=>i});const i={logo:"/images/logo.png",darkMode:!0,lastUpdatedText:"更新时间",contributorsText:"贡献者",navbar:[{text:"指南",link:"/documents/"},{text:"配置参考",link:"/configurations/"},{text:"单体版",link:"/documents-athena/"},{text:"微服务技术栈",link:"/microservices/"},{text:"了解更多",children:[{text:"延伸",children:[{text:"了解基础知识",link:"/basic-knowledge/"},{text:"了解PostgreSQL",link:"/basic-knowledge/postgresql.md"}]},{text:"帮助",children:[{text:"我要提问",link:"https://gitee.com/herodotus/eurynome-cloud/issues"},{text:"常见问题",link:"/others/README.md"},{text:"更新日志",link:"/others/更新日志.md"},{text:"加入QQ群",link:"https://jq.qq.com/?_wv=1027&k=bIerJVy8"}]}]},{text:"Gitee",children:[{text:"后端源码",link:"https://gitee.com/herodotus/eurynome-cloud",target:"_blank"},{text:"前端源码",link:"https://gitee.com/herodotus/eurynome-cloud-ui",target:"_blank"},{text:"单体版源码",link:"https://gitee.com/herodotus/herodotus-cloud-athena",target:"_blank"}]},{text:"Github",children:[{text:"后端源码",link:"https://github.com/herodotus-cloud/eurynome-cloud",target:"_blank"},{text:"前端源码",link:"https://github.com/herodotus-cloud/eurynome-cloud-ui",target:"_blank"},{text:"单体版源码",link:"https://github.com/herodotus-cloud/herodotus-cloud-athena",target:"_blank"}]}],sidebar:{"/documents/":[{text:"指南",children:["/documents/README.md","/documents/快速了解.md","/documents/项目介绍.md","/documents/环境部署.md","/documents/注意事项.md"]},{text:"后端手册",children:["/documents/数据初始化.md","/documents/更换数据库.md","/documents/多环境配置.md","/documents/新建子模块.md"]},{text:"前端手册",children:["/documents/前端介绍.md","/documents/依赖组件.md","/documents/添加模块.md","/documents/常用命令.md","/documents/前端问题.md"]}],"/documents-athena/":[{text:"单体版",children:["/documents-athena/README.md","/documents-athena/环境部署.md"]}],"/microservices/":[{text:"微服务技术栈",children:["/microservices/README.md","/microservices/OAuth2授权标准.md","/microservices/容器化技术.md","/microservices/容器化部署.md"]}],"/basic-knowledge/":[{text:"基础知识",children:["/basic-knowledge/README.md","/basic-knowledge/dev-environment.md","/basic-knowledge/postgresql.md","/basic-knowledge/spring-data-jpa.md"]}],"/configurations/":[{text:"配置参考",children:["/configurations/README.md","/configurations/系统配置.md","/configurations/组件配置.md"]}],"/others/":[{text:"其它内容",children:["/others/README.md","/others/Idea.md","/others/Nacos.md","/others/Redis.md","/others/MySQL.md","/others/更新日志.md"]}]},locales:{"/":{selectLanguageName:"English"}},repo:null,selectLanguageText:"Languages",selectLanguageAriaLabel:"Select language",sidebarDepth:2,editLink:!0,editLinkText:"Edit this page",lastUpdated:!0,contributors:!0,notFound:["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],backToHome:"Take me home",openInNewWindow:"open in new window",toggleDarkMode:"toggle dark mode",toggleSidebar:"toggle sidebar"}}},e=>{e.O(0,[369,287],(()=>(5698,e(e.s=5698)))),e.O()}]); \ No newline at end of file diff --git a/docs/assets/js/runtime~app.14515848.js b/docs/assets/js/runtime~app.14515848.js deleted file mode 100644 index c2f84586f..000000000 --- a/docs/assets/js/runtime~app.14515848.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,a,r,t={},c={};function o(e){var a=c[e];if(void 0!==a)return a.exports;var r=c[e]={exports:{}};return t[e].call(r.exports,r,r.exports,o),r.exports}o.m=t,e=[],o.O=(a,r,t,c)=>{if(!r){var d=1/0;for(b=0;b=c)&&Object.keys(o.O).every((e=>o.O[e](r[f])))?r.splice(f--,1):(n=!1,c0&&e[b-1][2]>c;b--)e[b]=e[b-1];e[b]=[r,t,c]},o.d=(e,a)=>{for(var r in a)o.o(a,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,r)=>(o.f[r](e,a),a)),[])),o.u=e=>"assets/js/"+({4:"v-6430ce6c",88:"v-3706649a",90:"v-3413cbec",129:"v-661abe0c",148:"v-04a4871c",152:"v-23340e69",188:"v-5fe0d252",189:"v-3297977c",201:"v-34232cb1",216:"v-d0b8a61e",243:"v-cff5f184",247:"v-9a0d6c6c",295:"v-1b984d6f",334:"v-4c5db979",365:"v-040481e0",398:"v-31203a50",446:"v-25b47c13",509:"v-8daa1a0e",658:"v-f283941e",701:"v-eef3d90a",709:"v-96fd052e",779:"v-150eedcd",781:"v-c0f957a0",812:"v-01ef07a3",815:"v-c6b464d4",861:"v-344b5769",892:"v-b68b64a4",923:"v-0fc7dbdb",925:"v-49381304",934:"v-05e1cd7a",939:"v-392e2ac6",951:"v-5f81e486",961:"v-5b482e3b",979:"v-4331d874"}[e]||e)+"."+{4:"1de67da1",88:"7c7f390b",90:"b35dffed",129:"31ad52d8",148:"10bc9869",152:"3985a398",188:"85f22c75",189:"e712a968",201:"a16c51b9",205:"1241a419",216:"d94faa1a",243:"792b970a",247:"b218c0df",293:"b4539685",295:"e273d872",334:"e8d6892c",365:"06a9e811",398:"7c6f0960",446:"78dfea1d",491:"972827fa",509:"5c646a5b",658:"5ab5ebed",701:"a515c5ba",709:"ecbc8c5a",779:"1b8f991c",781:"47c85b57",812:"8ac29f95",815:"5f88529b",861:"298808d9",892:"996c8dea",923:"c4791901",925:"5f7bf04f",934:"a7fdfe69",939:"ba5c39f9",951:"8aef46c8",961:"8ec796b3",979:"9dd6945c"}[e]+".js",o.miniCssF=e=>"assets/css/styles.d9dc5387.css",o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),a={},r="eurynome-cloud-document:",o.l=(e,t,c,d)=>{if(a[e])a[e].push(t);else{var n,f;if(void 0!==c)for(var v=document.getElementsByTagName("script"),b=0;b{n.onerror=n.onload=null,clearTimeout(l);var c=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),c&&c.forEach((e=>e(t))),r)return r(t)},l=setTimeout(i.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=i.bind(null,n.onerror),n.onload=i.bind(null,n.onload),f&&document.head.appendChild(n)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/eurynome-cloud/",(()=>{var e={523:0,369:0};o.f.j=(a,r)=>{var t=o.o(e,a)?e[a]:void 0;if(0!==t)if(t)r.push(t[2]);else if(/^(369|523)$/.test(a))e[a]=0;else{var c=new Promise(((r,c)=>t=e[a]=[r,c]));r.push(t[2]=c);var d=o.p+o.u(a),n=new Error;o.l(d,(r=>{if(o.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var c=r&&("load"===r.type?"missing":r.type),d=r&&r.target&&r.target.src;n.message="Loading chunk "+a+" failed.\n("+c+": "+d+")",n.name="ChunkLoadError",n.type=c,n.request=d,t[1](n)}}),"chunk-"+a,a)}},o.O.j=a=>0===e[a];var a=(a,r)=>{var t,c,[d,n,f]=r,v=0;if(d.some((a=>0!==e[a]))){for(t in n)o.o(n,t)&&(o.m[t]=n[t]);if(f)var b=f(o)}for(a&&a(r);v{"use strict";var e,a,r,t={},c={};function d(e){var a=c[e];if(void 0!==a)return a.exports;var r=c[e]={exports:{}};return t[e].call(r.exports,r,r.exports,d),r.exports}d.m=t,e=[],d.O=(a,r,t,c)=>{if(!r){var o=1/0;for(b=0;b=c)&&Object.keys(d.O).every((e=>d.O[e](r[f])))?r.splice(f--,1):(n=!1,c0&&e[b-1][2]>c;b--)e[b]=e[b-1];e[b]=[r,t,c]},d.d=(e,a)=>{for(var r in a)d.o(a,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,r)=>(d.f[r](e,a),a)),[])),d.u=e=>"assets/js/"+({4:"v-6430ce6c",88:"v-3706649a",90:"v-3413cbec",129:"v-661abe0c",148:"v-04a4871c",152:"v-23340e69",188:"v-5fe0d252",189:"v-3297977c",201:"v-34232cb1",216:"v-d0b8a61e",243:"v-cff5f184",247:"v-9a0d6c6c",295:"v-1b984d6f",334:"v-4c5db979",365:"v-040481e0",398:"v-31203a50",446:"v-25b47c13",509:"v-8daa1a0e",658:"v-f283941e",701:"v-eef3d90a",707:"v-62970b72",709:"v-96fd052e",779:"v-150eedcd",781:"v-c0f957a0",812:"v-01ef07a3",815:"v-c6b464d4",861:"v-344b5769",892:"v-b68b64a4",923:"v-0fc7dbdb",925:"v-49381304",934:"v-05e1cd7a",939:"v-392e2ac6",951:"v-5f81e486",961:"v-5b482e3b",979:"v-4331d874"}[e]||e)+"."+{4:"1de67da1",88:"7c7f390b",90:"b35dffed",129:"31ad52d8",148:"10bc9869",152:"72882fb1",188:"85f22c75",189:"e712a968",201:"a16c51b9",205:"1241a419",216:"d94faa1a",243:"792b970a",247:"b218c0df",293:"b4539685",295:"daaf7f30",334:"e8d6892c",365:"06a9e811",398:"7c6f0960",446:"78dfea1d",491:"972827fa",509:"5c646a5b",658:"5ab5ebed",701:"a515c5ba",707:"5a6e474b",709:"ecbc8c5a",779:"1b8f991c",781:"02d867d1",812:"8ac29f95",815:"5f88529b",861:"298808d9",892:"996c8dea",923:"c4791901",925:"5f7bf04f",934:"a7fdfe69",939:"ba5c39f9",951:"8aef46c8",961:"20a5c5a5",979:"9dd6945c"}[e]+".js",d.miniCssF=e=>"assets/css/styles.d9dc5387.css",d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),a={},r="eurynome-cloud-document:",d.l=(e,t,c,o)=>{if(a[e])a[e].push(t);else{var n,f;if(void 0!==c)for(var v=document.getElementsByTagName("script"),b=0;b{n.onerror=n.onload=null,clearTimeout(l);var c=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),c&&c.forEach((e=>e(t))),r)return r(t)},l=setTimeout(i.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=i.bind(null,n.onerror),n.onload=i.bind(null,n.onload),f&&document.head.appendChild(n)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/eurynome-cloud/",(()=>{var e={523:0,369:0};d.f.j=(a,r)=>{var t=d.o(e,a)?e[a]:void 0;if(0!==t)if(t)r.push(t[2]);else if(/^(369|523)$/.test(a))e[a]=0;else{var c=new Promise(((r,c)=>t=e[a]=[r,c]));r.push(t[2]=c);var o=d.p+d.u(a),n=new Error;d.l(o,(r=>{if(d.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var c=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;n.message="Loading chunk "+a+" failed.\n("+c+": "+o+")",n.name="ChunkLoadError",n.type=c,n.request=o,t[1](n)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,r)=>{var t,c,[o,n,f]=r,v=0;if(o.some((a=>0!==e[a]))){for(t in n)d.o(n,t)&&(d.m[t]=n[t]);if(f)var b=f(d)}for(a&&a(r);v{s.r(a),s.d(a,{data:()=>p});const p={key:"v-1b984d6f",path:"/others/Idea.html",title:"Idea",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"[1]、found character '@' that cannot start any token. (Do not use @ for indentation)",slug:"_1-、found-character-that-cannot-start-any-token-do-not-use-for-indentation",children:[{level:3,title:"解决办法",slug:"解决办法",children:[]}]},{level:2,title:"[2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.",slug:"_2-、error-running-xxxapplication-command-line-is-too-long-shorten-the-command-line-via-jar-manifest-or-via-a-classpath-file-and-rerun",children:[{level:3,title:"步骤一",slug:"步骤一",children:[]},{level:3,title:"步骤二",slug:"步骤二",children:[]}]}],filePathRelative:"others/Idea.md",git:{updatedTime:163265271e4,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:1}]}}},2467:(n,a,s)=>{s.r(a),s.d(a,{default:()=>t});const p=(0,s(6252).uE)('

Idea

[1]、found character '@' that cannot start any token. (Do not use @ for indentation)

启动服务时,出现以下错误

16:01:05.726 [main] ERROR org.springframework.boot.SpringApplication - Application run failed\norg.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token\nfound character '@' that cannot start any token. (Do not use @ for indentation)\n in 'reader', line 7, column 13:\n        active: @profile.name@\n                ^\n\n\tat org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:439)\n\tat org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:248)\n\tat org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:633)\n\tat org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:165)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:59)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:45)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:140)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:119)\n\tat org.yaml.snakeyaml.composer.Composer.composeScalarNode(Composer.java:221)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:191)\n\tat org.yaml.snakeyaml.composer.Composer.composeKeyNode(Composer.java:309)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:300)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:288)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:195)\n\tat org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:313)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:304)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:288)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:195)\n\tat org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:313)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:304)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:288)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:195)\n\tat org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:115)\n\tat org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:135)\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$OriginTrackingConstructor.getData(OriginTrackedYamlLoader.java:99)\n\tat org.yaml.snakeyaml.Yaml$1.next(Yaml.java:512)\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

该问题主要是由于 bootstrap.yml 中使用了 @ @ 变量,而在 target 目录中生成的 bootstrap.yml中的 @ @ 变量没有被正确替换。

解决办法

办法一

使用 mvn installmvn package 命令重新编译工程。

办法二

在IDEA中,打开Maven面板,点击刷新按钮。如下图所示:

架构图

[2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.

可以查询到的解决版本,基本上是通过修改 .idea 文件夹下的 idea/workspace.xml 文件解决。

这种办法并不是特比优雅,而且在最新的版本中不一定会起效。

比较简单的办法,是通过 IDEA 界面,修改配置即可以解决。具体操作如下:

步骤一

在 IDEA 工具栏中,找到 Edit Configurations ...,如下图所示。

![Edit]](/eurynome-cloud/images/idea/application-run-01.png)

步骤二

在弹出的 Edit Configurations ... 对话框中,首先找到运行时会出现 Command line is too long 应用名称。

UpmsApplication 为例,选中该应用,在右侧面板中,找到 Environment --> Shortent command line, 将该设置的值修改为 JAR manifest 即可解决。如下图所示:

![Edit]](/eurynome-cloud/images/idea/application-run-02.png)

',22),t={render:function(n,a){return p}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[295],{1087:(n,a,s)=>{s.r(a),s.d(a,{data:()=>p});const p={key:"v-1b984d6f",path:"/others/Idea.html",title:"Idea",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"[1]、found character '@' that cannot start any token. (Do not use @ for indentation)",slug:"_1-、found-character-that-cannot-start-any-token-do-not-use-for-indentation",children:[{level:3,title:"解决办法",slug:"解决办法",children:[]}]},{level:2,title:"[2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.",slug:"_2-、error-running-xxxapplication-command-line-is-too-long-shorten-the-command-line-via-jar-manifest-or-via-a-classpath-file-and-rerun",children:[{level:3,title:"步骤一",slug:"步骤一",children:[]},{level:3,title:"步骤二",slug:"步骤二",children:[]}]}],filePathRelative:"others/Idea.md",git:{updatedTime:163439633e4,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:2}]}}},8717:(n,a,s)=>{s.r(a),s.d(a,{default:()=>t});const p=(0,s(6252).uE)('

Idea

[1]、found character '@' that cannot start any token. (Do not use @ for indentation)

启动服务时,出现以下错误

16:01:05.726 [main] ERROR org.springframework.boot.SpringApplication - Application run failed\norg.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token\nfound character '@' that cannot start any token. (Do not use @ for indentation)\n in 'reader', line 7, column 13:\n        active: @profile.name@\n                ^\n\n\tat org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:439)\n\tat org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:248)\n\tat org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:633)\n\tat org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:165)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:59)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:45)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:140)\n\tat org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:119)\n\tat org.yaml.snakeyaml.composer.Composer.composeScalarNode(Composer.java:221)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:191)\n\tat org.yaml.snakeyaml.composer.Composer.composeKeyNode(Composer.java:309)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:300)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:288)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:195)\n\tat org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:313)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:304)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:288)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:195)\n\tat org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:313)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:304)\n\tat org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:288)\n\tat org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:195)\n\tat org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:115)\n\tat org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:135)\n\tat org.springframework.boot.env.OriginTrackedYamlLoader$OriginTrackingConstructor.getData(OriginTrackedYamlLoader.java:99)\n\tat org.yaml.snakeyaml.Yaml$1.next(Yaml.java:512)\n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

该问题主要是由于 bootstrap.yml 中使用了 @ @ 变量,而在 target 目录中生成的 bootstrap.yml中的 @ @ 变量没有被正确替换。

解决办法

办法一

使用 mvn installmvn package 命令重新编译工程。

办法二

在IDEA中,打开Maven面板,点击刷新按钮。如下图所示:

架构图

[2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.

可以查询到的解决版本,基本上是通过修改 .idea 文件夹下的 idea/workspace.xml 文件解决。

这种办法并不是特比优雅,而且在最新的版本中不一定会起效。

比较简单的办法,是通过 IDEA 界面,修改配置即可以解决。具体操作如下:

步骤一

在 IDEA 工具栏中,找到 Edit Configurations ...,如下图所示。

Edit01

步骤二

在弹出的 Edit Configurations ... 对话框中,首先找到运行时会出现 Command line is too long 应用名称。

UpmsApplication 为例,选中该应用,在右侧面板中,找到 Environment --> Shortent command line, 将该设置的值修改为 JAR manifest 即可解决。如下图所示:

Edit01

',22),t={render:function(n,a){return p}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-23340e69.3985a398.js b/docs/assets/js/v-23340e69.3985a398.js deleted file mode 100644 index 9ae189459..000000000 --- a/docs/assets/js/v-23340e69.3985a398.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[152],{7341:(n,a,e)=>{e.r(a),e.d(a,{data:()=>s});const s={key:"v-23340e69",path:"/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html",title:"环境部署",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"准备工作",slug:"准备工作",children:[{level:3,title:"后端运行所需的基础设施",slug:"后端运行所需的基础设施",children:[]},{level:3,title:"前端运行所需的基础设施",slug:"前端运行所需的基础设施",children:[]}]},{level:2,title:"后端运行",slug:"后端运行",children:[{level:3,title:"[1]、检出代码创建工程",slug:"_1-、检出代码创建工程",children:[]},{level:3,title:"[2]、创建数据库",slug:"_2-、创建数据库",children:[]},{level:3,title:"[3]、创建或导入Nacos配置",slug:"_3-、创建或导入nacos配置",children:[]},{level:3,title:"[4]、修改Nacos配置",slug:"_4-、修改nacos配置",children:[]},{level:3,title:"[5]、修改pom.xml配置",slug:"_5-、修改pom-xml配置",children:[]},{level:3,title:"[6]、编译代码",slug:"_6-、编译代码",children:[]},{level:3,title:"[7]、数据库创建和数据初始化",slug:"_7-、数据库创建和数据初始化",children:[]},{level:3,title:"[8]、运行服务模块",slug:"_8-、运行服务模块",children:[]},{level:3,title:"[9]、运行ELK(可选)",slug:"_9-、运行elk-可选",children:[]},{level:3,title:"[10]、以Docker方式部署(可选)",slug:"_10-、以docker方式部署-可选",children:[]},{level:3,title:"[11]、部署验证",slug:"_11-、部署验证",children:[]}]},{level:2,title:"前端运行",slug:"前端运行",children:[{level:3,title:"[1]、检出代码",slug:"_1-、检出代码",children:[]},{level:3,title:"[2]、修改配置",slug:"_2-、修改配置",children:[]},{level:3,title:"[3]、前端运行命令",slug:"_3-、前端运行命令",children:[]},{level:3,title:"[4]、运行验证",slug:"_4-、运行验证",children:[]}]}],filePathRelative:"documents/环境部署.md",git:{updatedTime:1632924477e3,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:5}]}}},3212:(n,a,e)=>{e.r(a),e.d(a,{default:()=>Fn});var s=e(6252);const t=(0,s.uE)('

环境部署

准备工作

后端运行所需的基础设施

设施当前版本说明
Nacos2.0.3分布式版本使用的Nacos作为配置中心和服务发现中心,所以需要安装Nacos。不管本地运行还是Docker、K8S环境都需要。
Redis3.2.100+运行的必须组件,分布式版本、单体版本;本地运行还是还是Docker、K8S环境都需要
Kafka2.6.0+运行的必须组件,分布式版本、单体版本;本地运行还是还是Docker、K8S环境都需要。(虽然本系统使用的是spring cloud bus同时兼容RabbitMQ和Kafka,由于使用Debezium来支持工作流、ElasticSearch数据同步,所以如果没有特殊的使用需求还是建议使用Kafka)
PostgreSQL 数据库建议使用最新版,其它版本也可以运行个人多年项目经验,感觉PostgreSQL更好用和顺手,所以默认数据为PostgreSQL。基础代码都是使用spring data jpa(Mybatis Plus也支持),所以其它数据库也支持,修改一下配置就行
MySQL 数据库5.6.5+Nacos 运行需要依赖数据库,长久运行需要依赖于MySQL(目前Nacos不支持其它数据库,虽说Nacos RoadMap有多数据库支持,不知道什么时候开发完成)。本地运行为了省事,也可以用Nacos的内置数据库,这样减少本地运行资源占用
Sentinel Dashboard1.8.0本地调试运行可以不需要
Skywalking8.7.0本地运行可以不需要
ELK7.0.0 +日志中心中心所需基础环境,本地运行可以不需要,需要在配置关闭日志收集
  • (1) 后端本地运行所需标准最小环境
Nacos >= 1.1.0 (推荐使用最新版Nacos)\nRedis >= 3.0.0\nKafka >= 2.6.0 (目前Kafka运行还需要依赖Zookeeper)\nPostgreSQL >= 10\n
1
2
3
4
  • (2) 开发环境
IDEA 或 Eclipse (推荐IDEA)\nJDK >= 1.8 (推荐1.8版本)\nMaven >= 1.3\nGit 使用最新版\n
1
2
3
4

前端运行所需的基础设施

设施当前版本说明
Nodejs14.17.0 +运行前端Vue工程必须依赖,如果不需要运行前端可以忽略
Yarn1.22.10前端包管理工具,如果习惯使用Yarn,用Npm或其它工具也都可以
  • (1) 前端端本地运行所需标准最小环境
Nodejs>= 10\nYarn>= 1.22.10 (Yarn2 目前会有很多问题,劣势太多不建议使用)\n
1
2
  • (2) 开发环境
Visual Studio Code (Vscode)或其它 (推荐Vscode)\n
1
  • (3) 环境配置
',15),l={href:"https://blog.csdn.net/Pointer_v/article/details/105432529?spm=1001.2014.3001.5501",target:"_blank",rel:"noopener noreferrer"},o=(0,s.Uk)("参见个人博客"),c=(0,s.uE)('

后端运行

说明

开展以下各项工作以前,请确保数据库应用、Redis、Nacos、ELK 套件已经正确安装和运行。

[1]、检出代码创建工程

方式一

',4),p=(0,s.Uk)("前往"),r={href:"https://gitee.com/herodotus/eurynome-cloud",target:"_blank",rel:"noopener noreferrer"},i=(0,s.Uk)("Gitee下载页面"),d=(0,s.Uk)("下载解压到工作目录"),u=(0,s.uE)("
  • 打开IDE导入工程

  • Eclipse,菜单 File -> Import,然后选择 Maven -> Existing Maven Projects,点击 Next 按钮,选择工作目录,然后点击 Finish 按钮,即可成功导入。

  • IDEA,菜单 File -> Open,然后选择已解压工程所在的目录,点击 OK 即可。

  • ",3),g=(0,s._)("blockquote",null,[(0,s._)("p",null,"IDE会自动加载相关的依赖包,具体要依据网络以及个人本地Maven缓存情况而定。")],-1),h=(0,s._)("h4",{id:"方式二",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#方式二","aria-hidden":"true"},"#"),(0,s.Uk)(" 方式二")],-1),k=(0,s._)("code",null,"IDEA",-1),m=(0,s.Uk)(" 菜单 "),b=(0,s._)("code",null,"File -> New -> Project From Version Control...",-1),_=(0,s.Uk)(", 在弹出框中输入本工程Git地址:"),v={href:"https://gitee.com/herodotus/eurynome-cloud.git",target:"_blank",rel:"noopener noreferrer"},E=(0,s.Uk)("https://gitee.com/herodotus/eurynome-cloud.git"),f=(0,s.Uk)(",然后设置放置目录,点击 "),A=(0,s._)("strong",null,"OK",-1),U=(0,s.Uk)(" 即可"),x=(0,s.uE)('

    [2]、创建数据库

    进入PostgreSQLSQL Shell(psql) (在Windows的菜单中可以找到),使用超级管理员账号和密码登录进入数据库,执行以下脚本:

    CREATE USER herodotus WITH PASSWORD 'herodotus';\nCREATE DATABASE herodotus OWNER herodotus;\nGRANT ALL PRIVILEGES ON DATABASE herodotus TO herodotus;\n
    1
    2
    3

    注意

    要分步、一条一条地执行,不要全部复制,一把全部执行。一定要注意每个语句结尾要以“;”结束。

    说明

    • 这里不管是用户名、用户密码还是数据库名均使用herodotus是为了方便,请根据自己实际情况修改。
    • 这里没有进行分库(即:所有的服务使用同一个数据库),如不满足需求,请在整体部署完成可以正常运行后,再结合自己的实际情况修改。
    • 以上是均是以 PostgreSQL 作为默认数据库进行说明,如果要使用其它数据库,具体安装和建库步骤请自行探索。
    ',5),y={class:"custom-container tip"},N=(0,s._)("p",{class:"custom-container-title"},"提示",-1),D=(0,s.Uk)("系统默认使用 "),S=(0,s._)("code",null,"PostgreSQL",-1),P=(0,s.Uk)(" 数据库,如果想要使用其它数据库,建议详细全面阅读本章节,对整体部署过程有了详细了解之后,再来了解如何切换数据库。参阅:"),L=(0,s.Uk)("更换数据库"),w=(0,s._)("div",{class:"custom-container tip"},[(0,s._)("p",{class:"custom-container-title"},"提示"),(0,s._)("p",null,[(0,s._)("code",null,"Linux"),(0,s.Uk)(" 环境下在命令行中,以管理员账号登录 "),(0,s._)("code",null,"PostgreSQL"),(0,s.Uk)("数据库")])],-1),C=(0,s._)("h3",{id:"_3-、创建或导入nacos配置",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_3-、创建或导入nacos配置","aria-hidden":"true"},"#"),(0,s.Uk)(" [3]、创建或导入Nacos配置")],-1),K={class:"custom-container warning"},T=(0,s._)("p",{class:"custom-container-title"},"说明",-1),I=(0,s.Uk)("再进行以下操作之前,请确保对Nacos中 Namespace、Group等基础概念和具体操作有所了解。"),W={href:"https://nacos.io/zh-cn/docs/concepts.html",target:"_blank",rel:"noopener noreferrer"},O=(0,s.Uk)("【官方文档】"),R=(0,s._)("h4",{id:"方式一-手动创建nacos配置信息",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#方式一-手动创建nacos配置信息","aria-hidden":"true"},"#"),(0,s.Uk)(" 方式一:手动创建Nacos配置信息")],-1),B=(0,s._)("p",null,[(0,s.Uk)("工程的 "),(0,s._)("code",null,"${project_home}/platform/eurynome-cloud-management/resources/configs"),(0,s.Uk)(" 目录下,放置着所有需要导入到 "),(0,s._)("code",null,"Nacos"),(0,s.Uk)(" 中的默认配置。开始其它工作之前,需要先在Nacos中创建所有配置")],-1),M=(0,s.Uk)("访问 "),V=(0,s._)("code",null,"Nacos",-1),G=(0,s.Uk)(" 后台管理,"),j={href:"http://localhost:8848/nacos",target:"_blank",rel:"noopener noreferrer"},q=(0,s.Uk)("默认本机地址"),F=(0,s.Uk)(", 使用默认账号"),Q=(0,s._)("code",null,"nacos/nacos",-1),Y=(0,s.Uk)("登录。"),H=(0,s._)("li",null,[(0,s._)("p",null,[(0,s.Uk)("在 "),(0,s._)("code",null,"Nacos"),(0,s.Uk)(" 后台中,在 "),(0,s._)("code",null,"配置管理 --\x3e 配置列表"),(0,s.Uk)(" 功能中,点击"),(0,s._)("strong",null,"添加"),(0,s.Uk)("按钮,手动添加所有配置文件,操作如下图所示:")])],-1),$=(0,s.uE)('

    创建Nacos配置

    注意

    • 创建配置之前,请提前规划配置放置的命名空间(Namespace)。默认是放到 Nacos public命名空间中,如果不符合您的需求,可以在新建命名空间之后,再进行配置的创建。
    • ${project_home}/platform/eurynome-cloud-management/resources/configs 目录下,还有一级目录。这级目录的名称,是配置文件对应 Nacos 中的 Group 名称。所以在 Nacos 中新建配置时,一定要注意 Group 的创建和匹配。切勿全部新建到 DEFAULT 组下,这样会导致无法正常运行。

    提示

    本项目所有Nacos配置,均是采用yaml格式。如需使用其它格式请自行修改

    方式二:批量导入Nacos配置

    手动方式创建Nacos配置,比较繁琐和容易出错。为了使用提升使用的便捷性,在工程 ${project_home}/platform/eurynome-cloud-management/resources/imports 目录下提供可以直接导入的配置包。可以方便的完成导入配置、创建Group等操作。

    ',5),z=(0,s.Uk)("访问 "),J=(0,s._)("code",null,"Nacos",-1),Z=(0,s.Uk)(" 后台管理,"),X={href:"http://localhost:8848/nacos",target:"_blank",rel:"noopener noreferrer"},nn=(0,s.Uk)("默认本机地址"),an=(0,s.Uk)(", 使用默认账号"),en=(0,s._)("code",null,"nacos/nacos",-1),sn=(0,s.Uk)("登录。"),tn=(0,s._)("li",null,[(0,s._)("p",null,[(0,s.Uk)("在 "),(0,s._)("code",null,"Nacos"),(0,s.Uk)(" 后台中,在 "),(0,s._)("code",null,"配置管理 --\x3e 配置列表"),(0,s.Uk)(" 功能中,点击"),(0,s._)("strong",null,"导入配置"),(0,s.Uk)("按钮,选择配置导入包即可,完成配置文件导入和Group的创建,操作如下图所示:")])],-1),ln=(0,s.uE)('

    导入Nacos配置

    注意

    • 创建配置之前,请提前规划配置放置的命名空间(Namespace)。默认是放到 Nacos public命名空间中,如果不符合您的需求,可以在新建命名空间之后,再进行配置的创建。

    [4]、修改Nacos配置

    上一步所导入的配置信息均是使用默认的、本地化的配置,需要根据自己搭建的基础设施环境,对相关的配置进行修改。

    ',4),on=(0,s.Uk)("访问 "),cn=(0,s._)("code",null,"Nacos",-1),pn=(0,s.Uk)(" 后台管理,"),rn={href:"http://localhost:8848/nacos",target:"_blank",rel:"noopener noreferrer"},dn=(0,s.Uk)("默认本机地址"),un=(0,s.Uk)(", 使用默认账号"),gn=(0,s._)("code",null,"nacos/nacos",-1),hn=(0,s.Uk)("登录。"),kn=(0,s._)("li",null,[(0,s._)("p",null,[(0,s.Uk)("找到对应的配置文件进行修改。常用的设置在 "),(0,s._)("code",null,"eurynome-cloud-environment.yaml"),(0,s.Uk)(" 中即可修改完成,如果不满足您实际需求,可再到其它的配置文件中详细修改。")])],-1),mn={class:"custom-container tip"},bn=(0,s.uE)('

    说明

    为了方便使用,Eurynome Cloud 所有的配置采用**“共享式、统一化多环境配置模式”**设计,大多数配置在对应 多环境eurynome-cloud-environment.yaml 配置中就可以完成修改。例如,您当前使用的是 development 环境,那么在Nacos后台管理中,找到 Group 是 developmenteurynome-cloud-environment.yaml 配置修改。

    ',2),_n=(0,s._)("strong",null,"Eurynome Cloud",-1),vn=(0,s.Uk)(" 多环境配置设计及使用,参阅:"),En=(0,s.Uk)("多环境配置"),fn=(0,s.uE)('

    [5]、修改pom.xml配置

    在工程根目录下,找到 pom.xml, 修改对应 profile 中参数。由于使用的多环境,所以在该文件中,需要找到应环境的配置,修改该环境下的对应的配置信息。主要结构如下所示:

    <!-- 开发 -->\n<profile>\n    <id>development</id>\n    <activation>\n        <activeByDefault>true</activeByDefault>\n    </activation>\n    <properties>\n        <profile.name>development</profile.name>\n        <database.type>postgresql</database.type>\n        <skip.build.source.package>false</skip.build.source.package>\n        <skip.copy.docker.resource>false</skip.copy.docker.resource>\n        <skip.build.git.commit.info>false</skip.build.git.commit.info>\n        <config.server-addr>127.0.0.1:8848</config.server-addr>\n        <config.namespace></config.namespace>\n        <discovery.server-addr>127.0.0.1:8848</discovery.server-addr>\n        <sentinel.server-addr>127.0.0.1:8858</sentinel.server-addr>\n    </properties>\n</profile>\n
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18

    必须要修改的参数涉及以下几项:

    • config.server-addr:配置中心地址,即Nacos服务端地址
    • config.namespace:Nacos 命名空间ID。如果要使用的是默认的命名空间,该参数不设置任何值。
    • discovery.server-addr:服务发现地址,即Nacos服务端地址
    • sentinel.server-addr:Sentinel Dashborad 地址
    ',5),An=(0,s.Uk)("详细参数说明,参阅:"),Un=(0,s.Uk)("多环境配置"),xn=(0,s.uE)('

    [6]、编译代码

    编译方式一

    用命令行进入到工程代码所在根据目录,通过执行下面命令进行编译

    mvn install\n\n或 \n\nmvn package\n
    1
    2
    3
    4
    5

    提示

    推荐使用install命令,进行编译。使用该命令编译完成之后,会在Maven本地缓存中,生成响应的包,这样eurynome-cloud-athena功能就可以直接使用。

    提示

    在第一次编译的时候,因为在本地缓存缺少相关的包,所以在执行 mvn clean 操作时会提示错误。因此,在第一次编译时只使用 mvn packagemvn install。第一次编译完成之后,就可以使用 mvn clean packagemvn clean install 命令进行编译。IDE界面操作也是同理。

    编译方式二

    在IDE工程中,利用IDE提供的界面操作进行编译。

    IDEA为例,在右侧Maven Panel中,选择eurynome-cloud(root)节点,点击Lifecycle节点下的install 或者 package 进行编译。参考下图:

    输入图片说明

    [7]、数据库创建和数据初始化

    ',11),yn=(0,s.Uk)("具体操作方法,参阅:"),Nn=(0,s.Uk)("数据初始化"),Dn=(0,s.uE)('

    [8]、运行服务模块

    说明

    各个服务的启动顺序并没有严格的要求,启动的先后顺序并不影响实际的使用,但是部分核心代码逻辑以及组件存在“时机性”问题,启动顺序的不同会略有时机差异性。

    如果您对时机性没有要求,那么请忽略启动顺序问题,随意启动。

    如果您对时机性有较高要求,那么请详细阅读各个服务对应的备注说明。

    • ManagementApplication (监控中心服务 可选。)

    说明

    本质上 ManagementApplication 服务先启动还是后启动,并不影响平台的实际使用。仅有的影响是

    • 先启动ManagementApplication服务,然后再启动其它服务,Spring Boot Admin会马上收到服务的运行监控信息,进行及时的展示;
    • 如果后启动ManagementApplication服务,其它在ManagementApplication之前运行服务的监控信息会间隔一段时间才会展现。

    如果要使用该服务中的Spring Boot Admin监控,建议最先启动该服务。

    • UpmsApplication (用户中心服务 必须)
    • GatewayApplication (服务网关服务 必须)
    • UaaApplication (统一认证服务 必须)
    • BpmnApplication (分布式工作流 可选)

    [9]、运行ELK(可选)

    完整运行本套微服务架构,需要搭建 ELK 套件,作为日志中心以及 Skywalking 链路追踪的数据存储介质。

    目前已有基础功能尚未涉及到搜索,只有日志中心和链路追踪功能涉及到 Elasticsearch。如果本地开发不要相关功能,就不需要安装和运行ELK套件。

    提示

    如果本地不想使用 ELK,那么需要关闭微服务的日志收集功能。

    修改你所使用 多环境 对应的 eurynome-cloud-environment.yaml 配置中的 herodotus.environment.logstash-server-addr 属性的值,将其值设置成 false ,即可关闭日志收集功能,就解除服务对 ELK 的依赖

    [8]、运行Skywalking(可选)

    完整运行本套微服务架构,需要搭建 ELK 套件,作为日志中心以及Skywalking链路追踪的数据存储介质。正式环境运行建议使用 DockerK8S 的方式运行 Skywalking,并以 Docker 的形式运行服务。

    如果仅是在本地运行调试服务与 Skywalking 的联动,可以在IDE中增加参数后,再运行服务即可。

    以IDEA为例,点开 Edit Configurations...,在对应服务的 VM Options 输入框中添加如下参数即可调试 Skywalking

    -javaagent:D:/Workspaces/Java/herodotus-cloud/configurations/docker/context/agent/skywalking-agent-es7-8.6.0.jar=agent.service_name=herodotus-cloud-upms-ability,collector.backend_service=192.168.101.10:11800\n
    1

    操作界面如下图所示,IDEA版本不同配置方式会有差异

    输入图片说明

    [10]、以Docker方式部署(可选)

    ',17),Sn=(0,s.Uk)("参见:"),Pn=(0,s.Uk)("容器化部署"),Ln=(0,s._)("h3",{id:"_11-、部署验证",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_11-、部署验证","aria-hidden":"true"},"#"),(0,s.Uk)(" [11]、部署验证")],-1),wn=(0,s._)("p",null,[(0,s.Uk)("以上步骤完成之后,工程后端整体搭建部署完成。可以通过运行前端界面进行操作或者用 "),(0,s._)("code",null,"Postman"),(0,s.Uk)(" 调用接口的方式进行验证。")],-1),Cn=(0,s.Uk)("如果界面操作正常,或者接口调用正常,则说明工程已经正确部署。更多验证,参阅:"),Kn=(0,s.Uk)("OAuth2授权标准"),Tn=(0,s._)("h2",{id:"前端运行",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#前端运行","aria-hidden":"true"},"#"),(0,s.Uk)(" 前端运行")],-1),In=(0,s._)("h3",{id:"_1-、检出代码",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_1-、检出代码","aria-hidden":"true"},"#"),(0,s.Uk)(" [1]、检出代码")],-1),Wn=(0,s.Uk)("在合适位置上,使用Git检出前端工程代码。"),On={href:"https://gitee.com/herodotus/eurynome-cloud-ui",target:"_blank",rel:"noopener noreferrer"},Rn=(0,s.Uk)("项目地址"),Bn=(0,s.uE)('

    [2]、修改配置

    在前端工程 ${project_home}/packages/@herodotus/ui 录下,找到 .env.development 或者 .env.production 文件。修改其中的参数

    参数说明

    • NODE_ENV:当前多环境名称
    • VUE_APP_SYSTEM_NAME:界面显示的系统名称
    • VUE_APP_GATEWAY:服务网关访问地址
    • VUE_APP_PROJECT:地址切换名称。通过该参数以动态修改域名以外的地址,以实现单体版等使用同一套操作界面。eurynome指定是微服务版,其它任意值指定是单体版
    • VUE_APP_OAUTH_CLIENT_ID:OAuth2 密码模式 Client Id。
    • VUE_APP_OAUTH_CLIENT_SECRET:OAuth2 密码模式 Client 密码
    • VUE_APP_OAUTH_GRANT_TYPE:OAuth2 授权模式
    • VUE_APP_SECRET_KEY:前端关键信息 AES 加密秘钥

    注意

    VUE_APP_SECRET_KEY 秘钥,并不是本系统前后端数据加密传输使用的秘钥,只是对前端临时存储的关键信息加密的秘钥。

    本系统前后端数据加密传输,是基于自主设计的自定义数据传输 Session,实现 AES 加密秘钥的动态生成、加密传输、一人一钥机制。每次使用系统都会动态重新生成,采用 RSA 前后端加密传输,临时存储至前端。缓存时间与 OAuth 2 Token 设置时间相同,正常退出系统后,会清除前端临时存储数据。

    并没有绝对安全的加密措施,前后端数据加密传输也仅仅是相对提升安全性。毕竟不管如何处理,前端都要存储一定的关键信息,而且前端是最容易破解的。正式环境使用还是要配合 Https 以及其它安全防护措施。

    [3]、前端运行命令

    // 进入目录\ncd eurynome-cloud-ui\n\n// 安装依赖\nyarn install\n\n// 如果要使用`.env.development`中的配置值,使用下面命令\nyarn e:ui dev\n\n// 如果要使用`.env.production`中的配置值,使用下面命令\n\nyarn e:ui prod\n\n
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

    [4]、运行验证

    ',6),Mn=(0,s.Uk)("打开浏览器,输入:"),Vn={href:"http://localhost:3000",target:"_blank",rel:"noopener noreferrer"},Gn=(0,s.Uk)("http://localhost:3000"),jn=(0,s.Uk)(" 默认账户/密码 system/123456"),qn=(0,s._)("p",null,"若能正确展示登录页面,并能成功登录,菜单及页面展示正常,则表明环境搭建成功",-1),Fn={render:function(n,a){const e=(0,s.up)("OutboundLink"),Fn=(0,s.up)("RouterLink");return(0,s.wg)(),(0,s.iD)(s.HY,null,[t,(0,s._)("p",null,[(0,s._)("a",l,[o,(0,s.Wm)(e)])]),c,(0,s._)("ul",null,[(0,s._)("li",null,[(0,s._)("p",null,[p,(0,s._)("a",r,[i,(0,s.Wm)(e)]),d])]),u]),g,h,(0,s._)("p",null,[k,m,b,_,(0,s._)("a",v,[E,(0,s.Wm)(e)]),f,A,U]),x,(0,s._)("div",y,[N,(0,s._)("p",null,[D,S,P,(0,s.Wm)(Fn,{to:"/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.html"},{default:(0,s.w5)((()=>[L])),_:1})])]),w,C,(0,s._)("div",K,[T,(0,s._)("p",null,[I,(0,s._)("a",W,[O,(0,s.Wm)(e)])])]),R,B,(0,s._)("ol",null,[(0,s._)("li",null,[(0,s._)("p",null,[M,V,G,(0,s._)("a",j,[q,(0,s.Wm)(e)]),F,Q,Y])]),H]),$,(0,s._)("ol",null,[(0,s._)("li",null,[(0,s._)("p",null,[z,J,Z,(0,s._)("a",X,[nn,(0,s.Wm)(e)]),an,en,sn])]),tn]),ln,(0,s._)("ol",null,[(0,s._)("li",null,[(0,s._)("p",null,[on,cn,pn,(0,s._)("a",rn,[dn,(0,s.Wm)(e)]),un,gn,hn])]),kn]),(0,s._)("div",mn,[bn,(0,s._)("p",null,[_n,vn,(0,s.Wm)(Fn,{to:"/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html"},{default:(0,s.w5)((()=>[En])),_:1})])]),fn,(0,s._)("p",null,[An,(0,s.Wm)(Fn,{to:"/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html"},{default:(0,s.w5)((()=>[Un])),_:1})]),xn,(0,s._)("p",null,[yn,(0,s.Wm)(Fn,{to:"/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.html"},{default:(0,s.w5)((()=>[Nn])),_:1})]),Dn,(0,s._)("p",null,[Sn,(0,s.Wm)(Fn,{to:"/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.html"},{default:(0,s.w5)((()=>[Pn])),_:1})]),Ln,wn,(0,s._)("p",null,[Cn,(0,s.Wm)(Fn,{to:"/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.html#%E6%A8%A1%E5%BC%8F%E9%AA%8C%E8%AF%81"},{default:(0,s.w5)((()=>[Kn])),_:1})]),Tn,In,(0,s._)("p",null,[Wn,(0,s._)("a",On,[Rn,(0,s.Wm)(e)])]),Bn,(0,s._)("p",null,[Mn,(0,s._)("a",Vn,[Gn,(0,s.Wm)(e)]),jn]),qn],64)}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-23340e69.72882fb1.js b/docs/assets/js/v-23340e69.72882fb1.js new file mode 100644 index 000000000..3e55556e3 --- /dev/null +++ b/docs/assets/js/v-23340e69.72882fb1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[152],{7341:(n,a,e)=>{e.r(a),e.d(a,{data:()=>s});const s={key:"v-23340e69",path:"/documents/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html",title:"环境部署",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"准备工作",slug:"准备工作",children:[{level:3,title:"后端运行所需的基础设施",slug:"后端运行所需的基础设施",children:[]},{level:3,title:"前端运行所需的基础设施",slug:"前端运行所需的基础设施",children:[]}]},{level:2,title:"后端运行",slug:"后端运行",children:[{level:3,title:"[1]、检出代码创建工程",slug:"_1-、检出代码创建工程",children:[]},{level:3,title:"[2]、创建数据库",slug:"_2-、创建数据库",children:[]},{level:3,title:"[3]、创建或导入Nacos配置",slug:"_3-、创建或导入nacos配置",children:[]},{level:3,title:"[4]、修改Nacos配置",slug:"_4-、修改nacos配置",children:[]},{level:3,title:"[5]、修改pom.xml配置",slug:"_5-、修改pom-xml配置",children:[]},{level:3,title:"[6]、编译代码",slug:"_6-、编译代码",children:[]},{level:3,title:"[7]、数据库创建和数据初始化",slug:"_7-、数据库创建和数据初始化",children:[]},{level:3,title:"[8]、运行服务模块",slug:"_8-、运行服务模块",children:[]},{level:3,title:"[9]、运行ELK(可选)",slug:"_9-、运行elk-可选",children:[]},{level:3,title:"[10]、以Docker方式部署(可选)",slug:"_10-、以docker方式部署-可选",children:[]},{level:3,title:"[11]、部署验证",slug:"_11-、部署验证",children:[]}]},{level:2,title:"前端运行",slug:"前端运行",children:[{level:3,title:"[1]、检出代码",slug:"_1-、检出代码",children:[]},{level:3,title:"[2]、修改配置",slug:"_2-、修改配置",children:[]},{level:3,title:"[3]、前端运行命令",slug:"_3-、前端运行命令",children:[]},{level:3,title:"[4]、运行验证",slug:"_4-、运行验证",children:[]}]}],filePathRelative:"documents/环境部署.md",git:{updatedTime:163439633e4,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:6}]}}},3212:(n,a,e)=>{e.r(a),e.d(a,{default:()=>Fn});var s=e(6252);const t=(0,s.uE)('

    环境部署

    准备工作

    后端运行所需的基础设施

    设施当前版本说明
    Nacos2.0.3分布式版本使用的Nacos作为配置中心和服务发现中心,所以需要安装Nacos。不管本地运行还是Docker、K8S环境都需要。
    Redis3.2.100+运行的必须组件,分布式版本、单体版本;本地运行还是还是Docker、K8S环境都需要
    Kafka2.6.0+运行的必须组件,分布式版本、单体版本;本地运行还是还是Docker、K8S环境都需要。(虽然本系统使用的是spring cloud bus同时兼容RabbitMQ和Kafka,由于使用Debezium来支持工作流、ElasticSearch数据同步,所以如果没有特殊的使用需求还是建议使用Kafka)
    PostgreSQL 数据库建议使用最新版,其它版本也可以运行个人多年项目经验,感觉PostgreSQL更好用和顺手,所以默认数据为PostgreSQL。基础代码都是使用spring data jpa(Mybatis Plus也支持),所以其它数据库也支持,修改一下配置就行
    MySQL 数据库5.6.5+Nacos 运行需要依赖数据库,长久运行需要依赖于MySQL(目前Nacos不支持其它数据库,虽说Nacos RoadMap有多数据库支持,不知道什么时候开发完成)。本地运行为了省事,也可以用Nacos的内置数据库,这样减少本地运行资源占用
    Sentinel Dashboard1.8.0本地调试运行可以不需要
    Skywalking8.7.0本地运行可以不需要
    ELK7.0.0 +日志中心中心所需基础环境,本地运行可以不需要,需要在配置关闭日志收集
    • (1) 后端本地运行所需标准最小环境
    Nacos >= 1.1.0 (推荐使用最新版Nacos)\nRedis >= 3.0.0\nKafka >= 2.6.0 (目前Kafka运行还需要依赖Zookeeper)\nPostgreSQL >= 10\n
    1
    2
    3
    4
    • (2) 开发环境
    IDEA 或 Eclipse (推荐IDEA)\nJDK >= 1.8 (推荐1.8版本)\nMaven >= 1.3\nGit 使用最新版\n
    1
    2
    3
    4

    前端运行所需的基础设施

    设施当前版本说明
    Nodejs14.17.0 +运行前端Vue工程必须依赖,如果不需要运行前端可以忽略
    Yarn1.22.10前端包管理工具,如果习惯使用Yarn,用Npm或其它工具也都可以
    • (1) 前端端本地运行所需标准最小环境
    Nodejs>= 10\nYarn>= 1.22.10 (Yarn2 目前会有很多问题,劣势太多不建议使用)\n
    1
    2
    • (2) 开发环境
    Visual Studio Code (Vscode)或其它 (推荐Vscode)\n
    1
    • (3) 环境配置
    ',15),l={href:"https://blog.csdn.net/Pointer_v/article/details/105432529?spm=1001.2014.3001.5501",target:"_blank",rel:"noopener noreferrer"},o=(0,s.Uk)("参见个人博客"),c=(0,s.uE)('

    后端运行

    说明

    开展以下各项工作以前,请确保数据库应用、Redis、Nacos、ELK 套件已经正确安装和运行。

    [1]、检出代码创建工程

    方式一

    ',4),p=(0,s.Uk)("前往"),r={href:"https://gitee.com/herodotus/eurynome-cloud",target:"_blank",rel:"noopener noreferrer"},i=(0,s.Uk)("Gitee下载页面"),d=(0,s.Uk)("下载解压到工作目录"),u=(0,s.uE)("
  • 打开IDE导入工程

  • Eclipse,菜单 File -> Import,然后选择 Maven -> Existing Maven Projects,点击 Next 按钮,选择工作目录,然后点击 Finish 按钮,即可成功导入。

  • IDEA,菜单 File -> Open,然后选择已解压工程所在的目录,点击 OK 即可。

  • ",3),g=(0,s._)("blockquote",null,[(0,s._)("p",null,"IDE会自动加载相关的依赖包,具体要依据网络以及个人本地Maven缓存情况而定。")],-1),h=(0,s._)("h4",{id:"方式二",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#方式二","aria-hidden":"true"},"#"),(0,s.Uk)(" 方式二")],-1),k=(0,s._)("code",null,"IDEA",-1),m=(0,s.Uk)(" 菜单 "),b=(0,s._)("code",null,"File -> New -> Project From Version Control...",-1),_=(0,s.Uk)(", 在弹出框中输入本工程Git地址:"),v={href:"https://gitee.com/herodotus/eurynome-cloud.git",target:"_blank",rel:"noopener noreferrer"},E=(0,s.Uk)("https://gitee.com/herodotus/eurynome-cloud.git"),f=(0,s.Uk)(",然后设置放置目录,点击 "),A=(0,s._)("strong",null,"OK",-1),U=(0,s.Uk)(" 即可"),x=(0,s.uE)('

    [2]、创建数据库

    进入PostgreSQLSQL Shell(psql) (在Windows的菜单中可以找到),使用超级管理员账号和密码登录进入数据库,执行以下脚本:

    CREATE USER herodotus WITH PASSWORD 'herodotus';\nCREATE DATABASE herodotus OWNER herodotus;\nGRANT ALL PRIVILEGES ON DATABASE herodotus TO herodotus;\n
    1
    2
    3

    注意

    要分步、一条一条地执行,不要全部复制,一把全部执行。一定要注意每个语句结尾要以“;”结束。

    说明

    • 这里不管是用户名、用户密码还是数据库名均使用herodotus是为了方便,请根据自己实际情况修改。
    • 这里没有进行分库(即:所有的服务使用同一个数据库),如不满足需求,请在整体部署完成可以正常运行后,再结合自己的实际情况修改。
    • 以上是均是以 PostgreSQL 作为默认数据库进行说明,如果要使用其它数据库,具体安装和建库步骤请自行探索。
    ',5),y={class:"custom-container tip"},N=(0,s._)("p",{class:"custom-container-title"},"提示",-1),D=(0,s.Uk)("系统默认使用 "),S=(0,s._)("code",null,"PostgreSQL",-1),P=(0,s.Uk)(" 数据库,如果想要使用其它数据库,建议详细全面阅读本章节,对整体部署过程有了详细了解之后,再来了解如何切换数据库。参阅:"),L=(0,s.Uk)("更换数据库"),w=(0,s._)("div",{class:"custom-container tip"},[(0,s._)("p",{class:"custom-container-title"},"提示"),(0,s._)("p",null,[(0,s._)("code",null,"Linux"),(0,s.Uk)(" 环境下在命令行中,以管理员账号登录 "),(0,s._)("code",null,"PostgreSQL"),(0,s.Uk)("数据库")])],-1),C=(0,s._)("h3",{id:"_3-、创建或导入nacos配置",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_3-、创建或导入nacos配置","aria-hidden":"true"},"#"),(0,s.Uk)(" [3]、创建或导入Nacos配置")],-1),K={class:"custom-container warning"},T=(0,s._)("p",{class:"custom-container-title"},"说明",-1),I=(0,s.Uk)("再进行以下操作之前,请确保对Nacos中 Namespace、Group等基础概念和具体操作有所了解。"),W={href:"https://nacos.io/zh-cn/docs/concepts.html",target:"_blank",rel:"noopener noreferrer"},O=(0,s.Uk)("【官方文档】"),R=(0,s._)("h4",{id:"方式一-手动创建nacos配置信息",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#方式一-手动创建nacos配置信息","aria-hidden":"true"},"#"),(0,s.Uk)(" 方式一:手动创建Nacos配置信息")],-1),B=(0,s._)("p",null,[(0,s.Uk)("工程的 "),(0,s._)("code",null,"${project_home}/platform/eurynome-cloud-management/resources/configs"),(0,s.Uk)(" 目录下,放置着所有需要导入到 "),(0,s._)("code",null,"Nacos"),(0,s.Uk)(" 中的默认配置。开始其它工作之前,需要先在Nacos中创建所有配置")],-1),M=(0,s.Uk)("访问 "),V=(0,s._)("code",null,"Nacos",-1),G=(0,s.Uk)(" 后台管理,"),j={href:"http://localhost:8848/nacos",target:"_blank",rel:"noopener noreferrer"},q=(0,s.Uk)("默认本机地址"),F=(0,s.Uk)(", 使用默认账号"),Q=(0,s._)("code",null,"nacos/nacos",-1),Y=(0,s.Uk)("登录。"),H=(0,s._)("li",null,[(0,s._)("p",null,[(0,s.Uk)("在 "),(0,s._)("code",null,"Nacos"),(0,s.Uk)(" 后台中,在 "),(0,s._)("code",null,"配置管理 --\x3e 配置列表"),(0,s.Uk)(" 功能中,点击"),(0,s._)("strong",null,"添加"),(0,s.Uk)("按钮,手动添加所有配置文件,操作如下图所示:")])],-1),$=(0,s.uE)('

    创建Nacos配置

    注意

    • 创建配置之前,请提前规划配置放置的命名空间(Namespace)。默认是放到 Nacos public命名空间中,如果不符合您的需求,可以在新建命名空间之后,再进行配置的创建。
    • ${project_home}/platform/eurynome-cloud-management/resources/configs 目录下,还有一级目录。这级目录的名称,是配置文件对应 Nacos 中的 Group 名称。所以在 Nacos 中新建配置时,一定要注意 Group 的创建和匹配。切勿全部新建到 DEFAULT 组下,这样会导致无法正常运行。

    提示

    本项目所有Nacos配置,均是采用yaml格式。如需使用其它格式请自行修改

    方式二:批量导入Nacos配置

    手动方式创建Nacos配置,比较繁琐和容易出错。为了使用提升使用的便捷性,在工程 ${project_home}/platform/eurynome-cloud-management/resources/imports 目录下提供可以直接导入的配置包。可以方便的完成导入配置、创建Group等操作。

    ',5),z=(0,s.Uk)("访问 "),J=(0,s._)("code",null,"Nacos",-1),Z=(0,s.Uk)(" 后台管理,"),X={href:"http://localhost:8848/nacos",target:"_blank",rel:"noopener noreferrer"},nn=(0,s.Uk)("默认本机地址"),an=(0,s.Uk)(", 使用默认账号"),en=(0,s._)("code",null,"nacos/nacos",-1),sn=(0,s.Uk)("登录。"),tn=(0,s._)("li",null,[(0,s._)("p",null,[(0,s.Uk)("在 "),(0,s._)("code",null,"Nacos"),(0,s.Uk)(" 后台中,在 "),(0,s._)("code",null,"配置管理 --\x3e 配置列表"),(0,s.Uk)(" 功能中,点击"),(0,s._)("strong",null,"导入配置"),(0,s.Uk)("按钮,选择配置导入包即可,完成配置文件导入和Group的创建,操作如下图所示:")])],-1),ln=(0,s.uE)('

    导入Nacos配置

    注意

    • 创建配置之前,请提前规划配置放置的命名空间(Namespace)。默认是放到 Nacos public命名空间中,如果不符合您的需求,可以在新建命名空间之后,再进行配置的创建。

    [4]、修改Nacos配置

    上一步所导入的配置信息均是使用默认的、本地化的配置,需要根据自己搭建的基础设施环境,对相关的配置进行修改。

    ',4),on=(0,s.Uk)("访问 "),cn=(0,s._)("code",null,"Nacos",-1),pn=(0,s.Uk)(" 后台管理,"),rn={href:"http://localhost:8848/nacos",target:"_blank",rel:"noopener noreferrer"},dn=(0,s.Uk)("默认本机地址"),un=(0,s.Uk)(", 使用默认账号"),gn=(0,s._)("code",null,"nacos/nacos",-1),hn=(0,s.Uk)("登录。"),kn=(0,s._)("li",null,[(0,s._)("p",null,[(0,s.Uk)("找到对应的配置文件进行修改。常用的设置在 "),(0,s._)("code",null,"eurynome-cloud-environment.yaml"),(0,s.Uk)(" 中即可修改完成,如果不满足您实际需求,可再到其它的配置文件中详细修改。")])],-1),mn={class:"custom-container tip"},bn=(0,s.uE)('

    说明

    为了方便使用,Eurynome Cloud 所有的配置采用**“共享式、统一化多环境配置模式”**设计,大多数配置在对应 多环境eurynome-cloud-environment.yaml 配置中就可以完成修改。例如,您当前使用的是 development 环境,那么在Nacos后台管理中,找到 Group 是 developmenteurynome-cloud-environment.yaml 配置修改。

    ',2),_n=(0,s._)("strong",null,"Eurynome Cloud",-1),vn=(0,s.Uk)(" 多环境配置设计及使用,参阅:"),En=(0,s.Uk)("多环境配置"),fn=(0,s.uE)('

    [5]、修改pom.xml配置

    在工程根目录下,找到 pom.xml, 修改对应 profile 中参数。由于使用的多环境,所以在该文件中,需要找到应环境的配置,修改该环境下的对应的配置信息。主要结构如下所示:

    <!-- 开发 -->\n<profile>\n    <id>development</id>\n    <activation>\n        <activeByDefault>true</activeByDefault>\n    </activation>\n    <properties>\n        <profile.name>development</profile.name>\n        <database.type>postgresql</database.type>\n        <skip.build.source.package>false</skip.build.source.package>\n        <skip.copy.docker.resource>false</skip.copy.docker.resource>\n        <skip.build.git.commit.info>false</skip.build.git.commit.info>\n        <config.server-addr>127.0.0.1:8848</config.server-addr>\n        <config.namespace></config.namespace>\n        <discovery.server-addr>127.0.0.1:8848</discovery.server-addr>\n        <sentinel.server-addr>127.0.0.1:8858</sentinel.server-addr>\n    </properties>\n</profile>\n
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18

    必须要修改的参数涉及以下几项:

    • config.server-addr:配置中心地址,即Nacos服务端地址
    • config.namespace:Nacos 命名空间ID。如果要使用的是默认的命名空间,该参数不设置任何值。
    • discovery.server-addr:服务发现地址,即Nacos服务端地址
    • sentinel.server-addr:Sentinel Dashborad 地址
    ',5),An=(0,s.Uk)("详细参数说明,参阅:"),Un=(0,s.Uk)("多环境配置"),xn=(0,s.uE)('

    [6]、编译代码

    编译方式一

    用命令行进入到工程代码所在根据目录,通过执行下面命令进行编译

    mvn install\n\n或 \n\nmvn package\n
    1
    2
    3
    4
    5

    提示

    推荐使用install命令,进行编译。使用该命令编译完成之后,会在Maven本地缓存中,生成响应的包,这样eurynome-cloud-athena功能就可以直接使用。

    提示

    在第一次编译的时候,因为在本地缓存缺少相关的包,所以在执行 mvn clean 操作时会提示错误。因此,在第一次编译时只使用 mvn packagemvn install。第一次编译完成之后,就可以使用 mvn clean packagemvn clean install 命令进行编译。IDE界面操作也是同理。

    编译方式二

    在IDE工程中,利用IDE提供的界面操作进行编译。

    IDEA为例,在右侧Maven Panel中,选择eurynome-cloud(root)节点,点击Lifecycle节点下的install 或者 package 进行编译。参考下图:

    输入图片说明

    [7]、数据库创建和数据初始化

    ',11),yn=(0,s.Uk)("具体操作方法,参阅:"),Nn=(0,s.Uk)("数据初始化"),Dn=(0,s.uE)('

    [8]、运行服务模块

    说明

    各个服务的启动顺序并没有严格的要求,启动的先后顺序并不影响实际的使用,但是部分核心代码逻辑以及组件存在“时机性”问题,启动顺序的不同会略有时机差异性。

    如果您对时机性没有要求,那么请忽略启动顺序问题,随意启动。

    如果您对时机性有较高要求,那么请详细阅读各个服务对应的备注说明。

    • ManagementApplication (监控中心服务 可选。)

    说明

    本质上 ManagementApplication 服务先启动还是后启动,并不影响平台的实际使用。仅有的影响是

    • 先启动ManagementApplication服务,然后再启动其它服务,Spring Boot Admin会马上收到服务的运行监控信息,进行及时的展示;
    • 如果后启动ManagementApplication服务,其它在ManagementApplication之前运行服务的监控信息会间隔一段时间才会展现。

    如果要使用该服务中的Spring Boot Admin监控,建议最先启动该服务。

    • UpmsApplication (用户中心服务 必须)
    • GatewayApplication (服务网关服务 必须)
    • UaaApplication (统一认证服务 必须)
    • BpmnApplication (分布式工作流 可选)

    [9]、运行ELK(可选)

    完整运行本套微服务架构,需要搭建 ELK 套件,作为日志中心以及 Skywalking 链路追踪的数据存储介质。

    目前已有基础功能尚未涉及到搜索,只有日志中心和链路追踪功能涉及到 Elasticsearch。如果本地开发不要相关功能,就不需要安装和运行ELK套件。

    提示

    如果本地不想使用 ELK,那么需要关闭微服务的日志收集功能。

    修改你所使用 多环境 对应的 eurynome-cloud-environment.yaml 配置中的 herodotus.environment.logstash-server-addr 属性的值,将其值设置成 false ,即可关闭日志收集功能,就解除服务对 ELK 的依赖

    [8]、运行Skywalking(可选)

    完整运行本套微服务架构,需要搭建 ELK 套件,作为日志中心以及Skywalking链路追踪的数据存储介质。正式环境运行建议使用 DockerK8S 的方式运行 Skywalking,并以 Docker 的形式运行服务。

    如果仅是在本地运行调试服务与 Skywalking 的联动,可以在IDE中增加参数后,再运行服务即可。

    以IDEA为例,点开 Edit Configurations...,在对应服务的 VM Options 输入框中添加如下参数即可调试 Skywalking

    -javaagent:D:/Workspaces/Java/herodotus-cloud/configurations/docker/context/agent/skywalking-agent-es7-8.6.0.jar=agent.service_name=herodotus-cloud-upms-ability,collector.backend_service=192.168.101.10:11800\n
    1

    操作界面如下图所示,IDEA版本不同配置方式会有差异

    输入图片说明

    [10]、以Docker方式部署(可选)

    ',17),Sn=(0,s.Uk)("参见:"),Pn=(0,s.Uk)("容器化部署"),Ln=(0,s._)("h3",{id:"_11-、部署验证",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_11-、部署验证","aria-hidden":"true"},"#"),(0,s.Uk)(" [11]、部署验证")],-1),wn=(0,s._)("p",null,[(0,s.Uk)("以上步骤完成之后,工程后端整体搭建部署完成。可以通过运行前端界面进行操作或者用 "),(0,s._)("code",null,"Postman"),(0,s.Uk)(" 调用接口的方式进行验证。")],-1),Cn=(0,s.Uk)("如果界面操作正常,或者接口调用正常,则说明工程已经正确部署。更多验证,参阅:"),Kn=(0,s.Uk)("OAuth2授权标准"),Tn=(0,s._)("h2",{id:"前端运行",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#前端运行","aria-hidden":"true"},"#"),(0,s.Uk)(" 前端运行")],-1),In=(0,s._)("h3",{id:"_1-、检出代码",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_1-、检出代码","aria-hidden":"true"},"#"),(0,s.Uk)(" [1]、检出代码")],-1),Wn=(0,s.Uk)("在合适位置上,使用Git检出前端工程代码。"),On={href:"https://gitee.com/herodotus/eurynome-cloud-ui",target:"_blank",rel:"noopener noreferrer"},Rn=(0,s.Uk)("项目地址"),Bn=(0,s.uE)('

    [2]、修改配置

    在前端工程 ${project_home}/packages/@herodotus/ui 录下,找到 .env.development 或者 .env.production 文件。修改其中的参数

    参数说明

    • NODE_ENV:当前多环境名称
    • VUE_APP_SYSTEM_NAME:界面显示的系统名称
    • VUE_APP_GATEWAY:服务网关访问地址
    • VUE_APP_PROJECT:地址切换名称。通过该参数以动态修改域名以外的地址,以实现单体版等使用同一套操作界面。eurynome指定是微服务版,其它任意值指定是单体版
    • VUE_APP_OAUTH_CLIENT_ID:OAuth2 密码模式 Client Id。
    • VUE_APP_OAUTH_CLIENT_SECRET:OAuth2 密码模式 Client 密码
    • VUE_APP_OAUTH_GRANT_TYPE:OAuth2 授权模式
    • VUE_APP_SECRET_KEY:前端关键信息 AES 加密秘钥

    注意

    VUE_APP_SECRET_KEY 秘钥,并不是本系统前后端数据加密传输使用的秘钥,只是对前端临时存储的关键信息加密的秘钥。

    本系统前后端数据加密传输,是基于自主设计的自定义数据传输 Session,实现 AES 加密秘钥的动态生成、加密传输、一人一钥机制。每次使用系统都会动态重新生成,采用 RSA 前后端加密传输,临时存储至前端。缓存时间与 OAuth 2 Token 设置时间相同,正常退出系统后,会清除前端临时存储数据。

    并没有绝对安全的加密措施,前后端数据加密传输也仅仅是相对提升安全性。毕竟不管如何处理,前端都要存储一定的关键信息,而且前端是最容易破解的。正式环境使用还是要配合 Https 以及其它安全防护措施。

    [3]、前端运行命令

    // 进入目录\ncd eurynome-cloud-ui\n\n// 安装依赖\nyarn install\n\n// 如果要使用`.env.development`中的配置值,使用下面命令\nyarn e:ui dev\n\n// 如果要使用`.env.production`中的配置值,使用下面命令\n\nyarn e:ui prod\n\n
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

    [4]、运行验证

    ',6),Mn=(0,s.Uk)("打开浏览器,输入:"),Vn={href:"http://localhost:3000",target:"_blank",rel:"noopener noreferrer"},Gn=(0,s.Uk)("http://localhost:3000"),jn=(0,s.Uk)(" 默认账户/密码 system/123456"),qn=(0,s._)("p",null,"若能正确展示登录页面,并能成功登录,菜单及页面展示正常,则表明环境搭建成功",-1),Fn={render:function(n,a){const e=(0,s.up)("OutboundLink"),Fn=(0,s.up)("RouterLink");return(0,s.wg)(),(0,s.iD)(s.HY,null,[t,(0,s._)("p",null,[(0,s._)("a",l,[o,(0,s.Wm)(e)])]),c,(0,s._)("ul",null,[(0,s._)("li",null,[(0,s._)("p",null,[p,(0,s._)("a",r,[i,(0,s.Wm)(e)]),d])]),u]),g,h,(0,s._)("p",null,[k,m,b,_,(0,s._)("a",v,[E,(0,s.Wm)(e)]),f,A,U]),x,(0,s._)("div",y,[N,(0,s._)("p",null,[D,S,P,(0,s.Wm)(Fn,{to:"/documents/%E6%9B%B4%E6%8D%A2%E6%95%B0%E6%8D%AE%E5%BA%93.html"},{default:(0,s.w5)((()=>[L])),_:1})])]),w,C,(0,s._)("div",K,[T,(0,s._)("p",null,[I,(0,s._)("a",W,[O,(0,s.Wm)(e)])])]),R,B,(0,s._)("ol",null,[(0,s._)("li",null,[(0,s._)("p",null,[M,V,G,(0,s._)("a",j,[q,(0,s.Wm)(e)]),F,Q,Y])]),H]),$,(0,s._)("ol",null,[(0,s._)("li",null,[(0,s._)("p",null,[z,J,Z,(0,s._)("a",X,[nn,(0,s.Wm)(e)]),an,en,sn])]),tn]),ln,(0,s._)("ol",null,[(0,s._)("li",null,[(0,s._)("p",null,[on,cn,pn,(0,s._)("a",rn,[dn,(0,s.Wm)(e)]),un,gn,hn])]),kn]),(0,s._)("div",mn,[bn,(0,s._)("p",null,[_n,vn,(0,s.Wm)(Fn,{to:"/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html"},{default:(0,s.w5)((()=>[En])),_:1})])]),fn,(0,s._)("p",null,[An,(0,s.Wm)(Fn,{to:"/documents/%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE.html"},{default:(0,s.w5)((()=>[Un])),_:1})]),xn,(0,s._)("p",null,[yn,(0,s.Wm)(Fn,{to:"/documents/%E6%95%B0%E6%8D%AE%E5%88%9D%E5%A7%8B%E5%8C%96.html"},{default:(0,s.w5)((()=>[Nn])),_:1})]),Dn,(0,s._)("p",null,[Sn,(0,s.Wm)(Fn,{to:"/microservices/%E5%AE%B9%E5%99%A8%E5%8C%96%E6%8A%80%E6%9C%AF.html"},{default:(0,s.w5)((()=>[Pn])),_:1})]),Ln,wn,(0,s._)("p",null,[Cn,(0,s.Wm)(Fn,{to:"/microservices/OAuth2%E6%8E%88%E6%9D%83%E6%A0%87%E5%87%86.html#%E6%A8%A1%E5%BC%8F%E9%AA%8C%E8%AF%81"},{default:(0,s.w5)((()=>[Kn])),_:1})]),Tn,In,(0,s._)("p",null,[Wn,(0,s._)("a",On,[Rn,(0,s.Wm)(e)])]),Bn,(0,s._)("p",null,[Mn,(0,s._)("a",Vn,[Gn,(0,s.Wm)(e)]),jn]),qn],64)}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-5b482e3b.20a5c5a5.js b/docs/assets/js/v-5b482e3b.20a5c5a5.js new file mode 100644 index 000000000..0c9db9527 --- /dev/null +++ b/docs/assets/js/v-5b482e3b.20a5c5a5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[961],{7149:(i,l,e)=>{e.r(l),e.d(l,{data:()=>a});const a={key:"v-5b482e3b",path:"/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.html",title:"更新日志",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"v2.5.5.60",slug:"v2-5-5-60",children:[]},{level:2,title:"v2.5.5.50",slug:"v2-5-5-50",children:[]},{level:2,title:"v2.5.5.40",slug:"v2-5-5-40",children:[]},{level:2,title:"v2.5.5.30",slug:"v2-5-5-30",children:[]},{level:2,title:"v2.5.5.20",slug:"v2-5-5-20",children:[]},{level:2,title:"v2.5.5.10",slug:"v2-5-5-10",children:[]},{level:2,title:"v2.5.5.0",slug:"v2-5-5-0",children:[]},{level:2,title:"v2.5.4.140",slug:"v2-5-4-140",children:[]},{level:2,title:"v2.5.4.130",slug:"v2-5-4-130",children:[]},{level:2,title:"v2.5.4.120",slug:"v2-5-4-120",children:[]},{level:2,title:"v2.5.4.110",slug:"v2-5-4-110",children:[]},{level:2,title:"v2.5.4.100",slug:"v2-5-4-100",children:[]},{level:2,title:"v2.5.4.90",slug:"v2-5-4-90",children:[]},{level:2,title:"v2.5.4.80",slug:"v2-5-4-80",children:[]},{level:2,title:"v2.5.4.65",slug:"v2-5-4-65",children:[]},{level:2,title:"v2.5.4.60",slug:"v2-5-4-60",children:[]},{level:2,title:"v2.5.4.55",slug:"v2-5-4-55",children:[]},{level:2,title:"v2.5.4.50",slug:"v2-5-4-50",children:[]},{level:2,title:"v2.5.4.40",slug:"v2-5-4-40",children:[]},{level:2,title:"v2.5.4.30",slug:"v2-5-4-30",children:[]},{level:2,title:"v2.5.4.20",slug:"v2-5-4-20",children:[]},{level:2,title:"v2.5.4.10",slug:"v2-5-4-10",children:[]},{level:2,title:"v2.5.3.60",slug:"v2-5-3-60",children:[]},{level:2,title:"v2.5.3.50",slug:"v2-5-3-50",children:[]},{level:2,title:"v2.5.3.40",slug:"v2-5-3-40",children:[]},{level:2,title:"v2.5.3.30",slug:"v2-5-3-30",children:[]},{level:2,title:"v2.5.3.10",slug:"v2-5-3-10",children:[]},{level:2,title:"2.5.2.40",slug:"_2-5-2-40",children:[]},{level:2,title:"v2.5.2.30",slug:"v2-5-2-30",children:[]},{level:2,title:"v2.5.2.25",slug:"v2-5-2-25",children:[]},{level:2,title:"v2.5.2.20",slug:"v2-5-2-20",children:[]},{level:2,title:"v2.5.1.0",slug:"v2-5-1-0",children:[]},{level:2,title:"v2.4.5.60",slug:"v2-4-5-60",children:[]},{level:2,title:"v2.4.5.48",slug:"v2-4-5-48",children:[]}],filePathRelative:"others/更新日志.md",git:{updatedTime:163439633e4,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:7}]}}},7325:(i,l,e)=>{e.r(l),e.d(l,{default:()=>t});const a=(0,e(6252).uE)('

    更新日志

    v2.5.5.60

    1. 整合职责相近代码包,删除eurynome-cloud-common代码包,让各个代码包职责更明晰、逻辑更清楚。
    2. 增加开发环境配置基础知识文档,帮助萌新少走弯路,可以更快地投入到系统的使用和代码研究学习的过程中来。
    3. 依赖组件升级
      • Hutool 升级至 5.7.14
      • JustAuth 升级至 1.6.5
      • Camunda 升级至 7.16.0
      • okhttps 升级至 3.2.0
      • bce-java-sdk 升级至 0.10.179
      • jpush-client 升级至 3.5.3
    4. Camunda 数据库脚本升级至 7.16.0

    v2.5.5.50

    1. 新增 Social Authentication 自定义授权模式方式,替代传统Filter过滤器方式,优化手机验证码、微信小程序、第三方认证的集成与Token的分派。代码更加简洁易于维护,解决了第三方认证游离于 OAuth 2 管控体系之外的问题。
    2. 本着“高内聚、低耦合”的原则,调整代码,优化代码分包。提升代码分包的合理性,降低各代码包之间的耦合性。
    3. 清除大量无用代码。
    4. 前端代码升级大量依赖包版本,重新编译库。
    5. 新增 Social Authentication 授权模式配置功能。
    6. 回滚compression-webpack-plugin组件版本,解决高版本运行错误问题。
    7. 补充在线文档IDEA使用常见问题章节。
    8. 解决 MySQL 数据更新脚本数据类型不兼容问题

    v2.5.5.40

    1. 简化 OAuth2 资源服务器 ResourceServerConfigure 配置,代码更简洁规范。
    2. 进一步融合 OAuth2 错误体系,解决 OAuth2 部分错误提示与系统自定义错误体系不一致、不融合的问题。
    3. 解决包含路径参数的接口,可以跳过鉴权机制直接访问问题
    4. 解决人员与用户 @OneToOne 映射,由Jackson 反序列化实体导致 JPA 保存或修改失败问题。
    5. 优化接口统一信息反馈类别,新增空数据信息结果反馈,让信息反馈内容更加友好
    6. 补充常用正则表达式库
    7. 优化人员管理、角色管理关键信息异步校验功能,解决人员管理,使用枚举作为数据类型类型导致的修改数据错误问题。
    8. 新增为组织机构人员分配默认用户功能。
    9. 新增系统默认角色配置功能。支持机构人员、手机验证码、微信小程序、QQ、微博、百度、微信开放平台、微信公众号、企业微信二维码、企业微信网页、钉钉、钉钉账号、阿里云、淘宝、支付宝、Teambition、华为、飞书、京东、抖音、今日头条、小米、人人、美团、饿了么、酷家乐、喜马拉雅、码云、开源中国、Github、Gitlab、Stackoverflow、Coding、谷歌、微软、脸书、领英、推特、亚马逊、Slack、Line、Okta、Pinterest等多种途径或第三方登录默认角色的配置。

    v2.5.5.30

    1. Debezimu 升级至 1.7.0.Final
    2. 优化统一结果返回实体封装,使用更加便捷。
    3. 使用统一结果返回实体新接口,替换已有代码。
    4. 优化接口数据前后端加密传输机制,全面支持使用 Spring @RequestParam 注解接口数据加解密。
    5. 统一使用 @RequestParam 注解接口加解密方式,改进 OAuth 2 密码模式,用户名、密码参数加密,不再使用传统Filter方式,代码更加简洁规范清晰。
    6. 重新调整 WebMvc 配置核心代码,依赖关系更合理,代码逻辑更清晰。
    7. 优化完善前端用户管理相关功能。
    8. 增加基于 VeeValidate 组件的服务端异步校验机制

    v2.5.5.20

    • 重大更新

      1. Spring Boot Admin 升级至 2.5.2
      2. 基于最新版Axios定义,所有Delete接口,修改为路径参数形式
      3. 混合 RSA(非对称) 和 AES(对称加密) 算法,基于自定义注解,设计接口数据前后端加密传输机制。
      4. 设计自定义数据传输 Session,规避 Vue Session 变化问题。基于自定义Session,实现 AES KEY 动态生成、加密传输、一人一钥的安全机制,提高系统安全性。
      5. 实现 OAuth 2 密码模式,用户名、密码参数加密传输。
    • 其它更新

      1. 修复 Spring Validation 错误信息不会抛出,循环引用问题。
      2. 前端 Utils 工具包,新增加密算法模块
      3. 基于最新版Axios定义,优化 Axios 请求通用代码
      4. 实现前端 node-rsa 包 RSA 算法,与后端 Hutool SecureUtil RSA 算法互相加、解密。
    • 依赖包版本升级

      1. Guava 升级至 31.0.1-jre
      2. SpringDoc 升级至 1.5.11
      3. Mybatis Plus Generator 升级至 3.5.1
      4. 前端工程升级大量依赖包

    v2.5.5.10

    1. 解决 OAuth2 自带业务表通过 Spring Data JPA 自动创建,字段名变化为小写问题。
    2. 完善前端 Camnuda 工作流编辑器组件功能。
    3. 完善前端部分功能,解决已知问题。
    4. 更新在线文档,补充前端工程详细介绍。

    v2.5.5.0

    • 重大更新

      1. Spring Boot 升级至 2.5.5
      2. Spring Cloud 升级至 2020.0.4
      3. 大幅改进系统数据库表和数据初始化方式,实现OAuth2业务表自动创建,取消使用脚本的创建方式,提升便捷性
      4. 新增人力资源管理相关功能,功能和模型设计实现与Camunda用户体系统一。便于用户体系数据的同步和管理。
      5. 基于rollup、lerna 和 yarn workspaces,以 monorepo 方式重新构建前端工程。新版前端工程是以Vue2、Typescript开发的,组件库式的前端功能。代码更清晰、组件化和重用化程度更高。为升级至Vue3做前序铺垫。
    • 其它更新

      1. 解决Skywalking UI连接Skywalking OAP Server出错问题。
      2. 修改防刷机制的默认配置
      3. 重新梳理错误体系,优化错误信息,错误提示更加友好。
      4. 解决单体版对Basic模式认证跨域拦截的问题
      5. 实现OAuth2 Password模式部分参数加密传输方式,提升系统安全性。
      6. 修复老版本前端工程已知问题。
      7. 在线文档同步更新。
    • 依赖包版本升级

      1. Hutool 升级至 5.7.13
      2. okhttps 升级至 3.1.5
      3. weixin-java-miniapp 升级至 4.1.9.B
      4. JustAuth 升级至 1.16.4
      5. jasypt-spring-boot-starter 升级至 3.0.4
      6. mybatis-plus-boot-starter 升级至3.4.3.4
      7. dysmsapi20170525 升级至 2.0.5

    v2.5.4.140

    1. 优化Antisamy通用代码,提升Xss分析西能,去除严格拦截导致的JSON解析错误。
    2. 解决本地权限缓存并发写入冲突,抛出com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException问题。
    3. 解决OAuth Starter引入Upms Logic 重复导入权限数据问题。
    4. 修改默认验证码字体配置
    5. 去除无用依赖包
    6. 新增MySQL57数据库切换配置。更新Nacos 配置SQL脚本,增加最新导入包。
    7. 新增Camunda 官方脚本
    8. 优化数据导入脚本

    v2.5.4.130

    1. 修复单体版Knife4j依赖错误问题
    2. 修复单体版配置错误问题
    3. 增加Gitee流程模版
    4. 修复OAuth2自定义confirm_access.html,error.html,login.html页面,数据类型编译错误。
    5. 优化自定义页面显示内容,增加Exception StackTrace输出
    6. 修复XssUtils校验出错问题。
    7. 优化ResourceServer安全配置
    8. 修复OAuth2 四种模式中授权码模式(Authorization Code)、隐式授权模式(Implicit Grant)模式出错问题。
    9. 解决前端控制台出错问题
    10. 更新在线文档,增加OAuth2 四种模式验证说明

    v2.5.4.120

    1. 使用Springdoc全面替换Springfox,配置更灵活、配置更多样
    2. Swagger文档注解全面升级为支持OpenAPI
    3. 使用Springdoc重构文档聚合功能,支持聚合查阅和服务独立查阅。Knife4j同步升级至3.0.3版本。
    4. Swagger文档默认支持OAuth2 Password、Authorization Code 两种认证流程
    5. 整合Camunda Engine Rest 与Swagger,实现Camunda API接口文档查阅,支持聚合查阅。
    6. 修复Bpmn服务默认启动Tomcat问题。
    7. 升级前端依赖包版本
    8. 更新Nacos配置文件及导入包
    9. 更新在线文档

    v2.5.4.110

    1. 重新构建项目文档体系,使用纯静态页面,替代已有 Gitee Wiki 文档。优化文档结构,提升文档阅读体验。提供全文搜索,便于文档查阅。支持文档独立部署,方便使用者搭建独立的文档服务查阅。
    2. 更换Nacos导入包,解决上一版本导入包导入重复问题
    3. Update Readme

    v2.5.4.100

    1. 重新梳理所有Nacos配置,提取共性配置至统一配置文件,优化配置属性结构和归类,便于参数修改,降低维护复杂度
    2. 重构数据库相关Nacos配置,优化Maven、Nacos多环境配置与数据库切换的联动性,让数据库切换所需修改的参数更少,切换更顺滑
    3. 解决eurynome-cloud-management编译出现的Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on 4. project XXXX: Input length = 1 -> [Help 1]错误
    4. 解决Redis设置密码后,无法连接出现 NOAUTH Authentication required 错误
    5. 增加MySQL数据库默认数据初始化脚本
    6. 增加最新版Nacos配置导入包
    7. 修复前端UI申请APPKEY页面错误
    8. 修复前端UI切换至单体版后,连接错误问题。
    9. 升级前端UI依赖包版本。
    10. 同步更新相关文档,补充新建子模块、常见问题等部分文档。

    v2.5.4.90

    1. 使用Mybatis Plus全面替换已有Mybatis,与Spring Boot Data JPA共存且支持同时使用。使用任何技术都可以无障碍的进行业务代码编写。
    2. 整合Mybatis Plus和Spring Boot Data JPA更换数据库配置属性,一处修改即可以同时修改Mybatis Plus和Spring Boot Data JPA使用数据库类型。
    3. 新增接口XSS脚本攻击过滤机制,同时支持请求参数和JSON请求体过滤。采用Ebay XSS过滤模型,进一步提升防控能力。
    4. 新增SQL 注入攻击防控机制。
    5. 解决eurynome-cloud-gateway和eurynome-cloud-management服务启动调用Kafka问题。
    6. 解决CacheConfigException错误问题,在错误体系中增加配置参数不合理提醒,让信息反馈更加友好。
    7. 解决Spring Boot Admin 不支持Java 8 时间类型问题。
    8. 解决Spring Boot Admin 不显示 Git Properties 信息问题。
    9. 解决修改Redis密码配置生效问题
    10. 梳理dependencies依赖包,对已有依赖进行进行更合理的分类,更加便于依赖包的找寻和维护。
    11. 升级依赖包版本
      • spring-boot-admin 升级至 2.5.1
      • git-commit-id-plugin 升级至 4.9.10
      • docker-maven-plugin 升级至 0.37.0
      • hutool 升级至 5.7.10
      • okhttps 升级至 3.1.4
      • JustAuth 升级至1.16.3
      • aliyun-java-sdk-core 升级至 4.5.25
      • baiducloud-java-sdk 升级至 0.10.175
      • aliyun-java-sdk-oss 升级至 3.13.1
      • cn.jpush.api 升级至 3.5.2
    12. 规范项目文档,增加系统部署、数据库切换等多部分内容
    13. 增加Nacos配置导入包,在没有自动部署功能支持的情况下,也可以更加方便的导入配置。
    14. 替换 UI SweetAlert 过期方法,解决弹出框不会关闭问题
    15. 解决授权码模式(authorization code)验证码被拦截问题

    v2.5.4.80

    • 合并eurynome-cloud-curd包和eurynome-cloud-rest包,减少包数量,提升代码维护便捷度。
    • 增加接口幂等处理机制,防止重复提交。增加接口防刷限制机制,防止接口恶意频繁刷新。
    • 接口幂等和防刷机制,均支持全局配置控制,同时提供@Idempotent和@AccessLimited注解进行灵活的、个性化的配置。
    • 接口幂等和防刷机制,缓存标记采用分布式多级缓存进行存储,将低单一访问Redis带来的访问压力,同时支持多实例数据多级缓存本地数据同步。
    • 接口幂等和防刷机制,所涉及标记缓存时间配置全部统一支持Duration时间格式,简化配置参数,提升配置便捷度。同时,优化平台错误响应体系,返回更加友好的错误信息提示。
    • 定义Stamp签章体系,采用统一体系,对SMS短信验证码、JustAuth State、环信Token以及接口幂等和防刷等需临时存储标记相关应用进行统一实现。同时,采用分布式多级缓存进行数据存储,降低单一访问Redis压力。

    v2.5.4.65

    • 优化Skywalking打包内容,直接使用Skywalking官方容器
    • 补充RequestMappingScanner对应事件代码,解决单体版扫描Rest API接口后不会存储问题
    • 优化数据库脚本以及数据库表结构和默认数据自动初始化机制。解决在第一次运行时,Spring Data JPA JDBC初始化机制与Hibernate 初始化机制冲突问题。
    • 在Gitee Wiki中,增加数据库初始化说明文档
    • 删除部分预留代码,减少暂时不必要的代码对使用者带来的误导。
    • 前端UI中,增加部分配置,使用者可以通过注释部分配置,让前端UI快速支持单体版。

    v2.5.4.60

    • Spring Boot 版本升级至 2.5.4
    • Skywalking 版本升级至 8.7.0
    • 微服务日志输出至日志中心格式。
    • 增加Swagger注入条件注解,优化日志中心相关配置采用统一常量控制
    • 增加自定义Property"助手"数据统一自动编译生成配置,无须额外设置,在IDE中编辑配置属性时可自动弹出提示
    • 修复Kafka配置不生效问题。
    • 解决单体版自动启动Kafka问题。
    • 暂时关闭单体版Swagger,规避Swagger会自动启动Kafka问题。

    v2.5.4.55

    • 整合代码,将constant包代码整合至common包中。删除constant包。
    • 完善Rest接口校验机制,以及相关自定义错误码
    • 统一spring boot validation错误信息,将其整合至平台统一响应实体Result中。无须在各个Rest接口中,添加BindingResult参数。

    v2.5.4.50

    • 优化服务本地权限存储逻辑,解决权限属性数据重复存储,不会替换问题。
    • 重新梳理Spring Security OAuth2 方法级表达式动态权限鉴权逻辑,摒弃无用的权限验证Voter逻辑,使用统一逻辑实现@PreAuthorize注解权限的全面动态可配置化。统一平台接口- 白名单,IP地址白名单,以及Scope绑定URL的管理。
    • 重构UserDetails用户信息组织逻辑,使用Spring Security标准代码,替换自定义逻辑代码,降低代码冗余,与自研方法级动态权限完美融合。
    • 优化平台权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及分布式各服- 务多实例等各种应用场景。
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 清理系统无用代码。
    • 增加方法级动态权限演示动图,更新Readme

    v2.5.4.40

    • 优化自定义多级缓存,实现可以统一设置allowNullValues值,并解决存储空值时卡死问题。
    • 重新梳理、优化系统权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及- - 分布式各服务多实例等各种应用场景。
    • 增加Kafka条件注入配置,将条件转换为@ConditionalOnXXX,方便管理和维护。避免单体版应用相关依赖过度依赖Kafka而导致的无法启动
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 去除传统Kafka Producer 通用类,改为统一使用 Spring Cloud Bus

    v2.5.4.30

    • 重新调整Property配置,规范Property定义。修改相关配置
    • 调整包,以及包相关依赖关系。让包之间的依赖更加合理
    • 增加Kafka配置,增加@KafkaListener动态控制,以避免在不需要的情况下Kafka的自动开启。
    • 调整部分常理代码位置,常量代码基本调整完成
    • 将原有自定义条件,转换为@ConditionalOnXXX注解,让使用更加便捷
    • 日志中心是否开启状态,改为@ConditionalOnLogCenterEnabled注解

    v2.5.4.20

    • 本地权限缓存更换为JetCache,为服务多实例的权限扫描和存储提供更好的支持
    • 将数据访问策略从Conditional类,升级为Conditional注解,使用更加便捷
    • 调整包依赖关系,新建assistant、constant包,删除message包。
    • 逐步将平台中各类非独有常量移入constant包方便管理和修改
    • 采用Spring Boot Event和Spring Cloud Bus Event 机制重构接口收集逻辑。支持单体架构、UPMS、分布式多实例等不同场景接口扫描的特殊需求
    • 优化Docker Compose配置,使用Debezium Kafka 替换已有kafka,以支持Debezium应用
    • 删除无用代码

    v2.5.4.10

    • 全网首个实现Spring Security 动态URL权限与注解表达式权限有机整合,并且可以动态配置的微服务框架。
    • 全面支持方法级权限控制,Security OAuth2 permitAll等方法权限以及@PreAuthorize注解权限,均支持动态配置。目前支持以下权限的动态配置: · hasRole · hasAnyRole · hasAuthority · hasAnyAuthority · hasIpAddress · #oauth2.clientHasRole · #oauth2.clientHasAnyRole · #oauth2.hasScope · #oauth2.hasAnyScope · #oauth2.hasScopeMatching · #oauth2.hasAnyScopeMatching · #oauth2.denyOAuthClient · #oauth2.isOAuth · #oauth2.isUser · #oauth2.isClient
    • 彻底解决使用withObjectPostProcessor方式,会覆盖外部匹配规则问题。
    • 真正实现Scope权限与URL权限的关联与管控,拓展OAuth2默认只进行Scope简单对比的实现逻辑。
    • 实现动态权限配置的多服务同步。
    • 暂时去除JetCache,全面使用自研支持Hibernate二级缓存的多级缓存。
    • 修改配置文件配置
    • 删除无用代码

    v2.5.3.60

    • Nacos版本升级至2.0.3
    • Hutool版本升级至5.7.6
    • 修改部分代码名称
    • 修改配置文件配置参数

    v2.5.3.50

    • 将所有服务包括UAA的权限存储,改为本地和认证中心,多级分布式存储和验证。
    • 增加策略模式,支持认证中心权限数据直连和远程消息两种存储方式动态切换。
    • 改进自研多级缓存,解决Hibernate二级缓存进行数据缓存时产生的事务锁问题。
    • 删除无用代码
    • 为动态Scope权限做铺垫。
    • 全面支持方法级权限控制。

    v2.5.3.40

    • Spring Boot 版本升级至 2.5.3
    • 采用新的Hash算法,缩短权限标识;简化用户权限信息,以缩短平台生成JWT Token的长度
    • git commit 插件由pl.project13.maven » git-commit-id-plugin改为io.github.git-commit-id » git-commit-id-maven-plugin。
    • git commit 插件升级至 5.0.0 版本

    v2.5.3.30

    • 重构用户中心用户人员体系,将平台用户、第三方社交登录用户、人事管理用户以及Camunda工作流用户体系无缝融合。
    • 人事管理体系人员唯一化管理,同时支持企业、党组、团青等多种类型的机构类型,便于企业人事管理。
    • 基于Debezium实现数据库变更数据捕获,实现人事管理信息与Camunda工作流用户实时同步。
    • 树形结构通用代码实现逻辑与Hutool Tree一致,因此采用Hutool Tree 全面替换已有的Tree代码。
    • 删除不再使用的通用类代码。
    • 修改说明文档

    v2.5.3.10

    • 自研基于Caffeine和Redis分布式两级缓存
    • 完美支持JPA Hibernate二级缓存
    • 完美支持各类查询数据缓存以及JPA @ManyToMany, @ManyToOne等关联查询。
    • 实现基于Caffeine的Hibernate二级缓存,可与自研两级缓存快速切换,仅使用本地缓存。
    • 极大的简化了原有自研的基于JetCache的缓存使用方式。
    • 保留JetCache,可根据实际使用需要使用。
    • 已有服务接口相关代码,均已更新自研分布式两级缓存模式。

    2.5.2.40

    • Redis Value 默认序列化工具修改为Jackson2JsonRedisSerializer
    • jetcache valueEncoder 和 valueDecoder 修改为kryo
    • 部分代码的日志改为传统方式,不再使用@Slf4j注解
    • 抽象实体共性属性,拓展基础实体,以支持JPA视图类的ORM映射。
    • 重构基础Service,将基础Service的读操作与其它操作分离,以支持“视图”相关Service的编写。
    • 重构基础Controller,将基础Controller的读操作与其它操作分离,以支持“视图”相关Controller的编写。
    • 将Hibernate Validator替换为spring-boot-starter-validation
    • 删除JPA过期方法封装

    v2.5.2.30

    • Spring Boot 版本升级至2.5.2
    • Spring Boot Admin 版本升级至2.4.2
    • 升级其它相关依赖版本

    v2.5.2.25

    • Skywalking升级至8.6.0

    v2.5.2.20

    • Spring Boot 升级至2.5.1
    • Camunda 升级至7.15.0
    • 其它依赖包版本升级
    • Swagger回滚至2.9.2,解决Swagger接口测试相关问题以及Knife4 Authorize不显示问题
    • 结构性调整平台相关配置属性

    v2.5.1.0

    • Spring Boot 大版本升级至2.5.0

    v2.4.5.60

    • 修改负载均衡不生效问题
    • 调整包依赖关系
    • 升级版本

    v2.4.5.48

    • 正式发布开源版本
    ',69),t={render:function(i,l){return a}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-5b482e3b.8ec796b3.js b/docs/assets/js/v-5b482e3b.8ec796b3.js deleted file mode 100644 index a8723361f..000000000 --- a/docs/assets/js/v-5b482e3b.8ec796b3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[961],{7149:(i,l,e)=>{e.r(l),e.d(l,{data:()=>a});const a={key:"v-5b482e3b",path:"/others/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97.html",title:"更新日志",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"v2.5.5.50",slug:"v2-5-5-50",children:[]},{level:2,title:"v2.5.5.40",slug:"v2-5-5-40",children:[]},{level:2,title:"v2.5.5.30",slug:"v2-5-5-30",children:[]},{level:2,title:"v2.5.5.20",slug:"v2-5-5-20",children:[]},{level:2,title:"v2.5.5.10",slug:"v2-5-5-10",children:[]},{level:2,title:"v2.5.5.0",slug:"v2-5-5-0",children:[]},{level:2,title:"v2.5.4.140",slug:"v2-5-4-140",children:[]},{level:2,title:"v2.5.4.130",slug:"v2-5-4-130",children:[]},{level:2,title:"v2.5.4.120",slug:"v2-5-4-120",children:[]},{level:2,title:"v2.5.4.110",slug:"v2-5-4-110",children:[]},{level:2,title:"v2.5.4.100",slug:"v2-5-4-100",children:[]},{level:2,title:"v2.5.4.90",slug:"v2-5-4-90",children:[]},{level:2,title:"v2.5.4.80",slug:"v2-5-4-80",children:[]},{level:2,title:"v2.5.4.65",slug:"v2-5-4-65",children:[]},{level:2,title:"v2.5.4.60",slug:"v2-5-4-60",children:[]},{level:2,title:"v2.5.4.55",slug:"v2-5-4-55",children:[]},{level:2,title:"v2.5.4.50",slug:"v2-5-4-50",children:[]},{level:2,title:"v2.5.4.40",slug:"v2-5-4-40",children:[]},{level:2,title:"v2.5.4.30",slug:"v2-5-4-30",children:[]},{level:2,title:"v2.5.4.20",slug:"v2-5-4-20",children:[]},{level:2,title:"v2.5.4.10",slug:"v2-5-4-10",children:[]},{level:2,title:"v2.5.3.60",slug:"v2-5-3-60",children:[]},{level:2,title:"v2.5.3.50",slug:"v2-5-3-50",children:[]},{level:2,title:"v2.5.3.40",slug:"v2-5-3-40",children:[]},{level:2,title:"v2.5.3.30",slug:"v2-5-3-30",children:[]},{level:2,title:"v2.5.3.10",slug:"v2-5-3-10",children:[]},{level:2,title:"2.5.2.40",slug:"_2-5-2-40",children:[]},{level:2,title:"v2.5.2.30",slug:"v2-5-2-30",children:[]},{level:2,title:"v2.5.2.25",slug:"v2-5-2-25",children:[]},{level:2,title:"v2.5.2.20",slug:"v2-5-2-20",children:[]},{level:2,title:"v2.5.1.0",slug:"v2-5-1-0",children:[]},{level:2,title:"v2.4.5.60",slug:"v2-4-5-60",children:[]},{level:2,title:"v2.4.5.48",slug:"v2-4-5-48",children:[]}],filePathRelative:"others/更新日志.md",git:{updatedTime:1632924477e3,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:6}]}}},3706:(i,l,e)=>{e.r(l),e.d(l,{default:()=>t});const a=(0,e(6252).uE)('

    更新日志

    v2.5.5.50

    1. 新增 Social Authentication 自定义授权模式方式,替代传统Filter过滤器方式,优化手机验证码、微信小程序、第三方认证的集成与Token的分派。代码更加简洁易于维护,解决了第三方认证游离于 OAuth 2 管控体系之外的问题。
    2. 本着“高内聚、低耦合”的原则,调整代码,优化代码分包。提升代码分包的合理性,降低各代码包之间的耦合性。
    3. 清除大量无用代码。
    4. 前端代码升级大量依赖包版本,重新编译库。
    5. 新增 Social Authentication 授权模式配置功能。
    6. 回滚compression-webpack-plugin组件版本,解决高版本运行错误问题。
    7. 补充在线文档IDEA使用常见问题章节。
    8. 解决 MySQL 数据更新脚本数据类型不兼容问题

    v2.5.5.40

    1. 简化 OAuth2 资源服务器 ResourceServerConfigure 配置,代码更简洁规范。
    2. 进一步融合 OAuth2 错误体系,解决 OAuth2 部分错误提示与系统自定义错误体系不一致、不融合的问题。
    3. 解决包含路径参数的接口,可以跳过鉴权机制直接访问问题
    4. 解决人员与用户 @OneToOne 映射,由Jackson 反序列化实体导致 JPA 保存或修改失败问题。
    5. 优化接口统一信息反馈类别,新增空数据信息结果反馈,让信息反馈内容更加友好
    6. 补充常用正则表达式库
    7. 优化人员管理、角色管理关键信息异步校验功能,解决人员管理,使用枚举作为数据类型类型导致的修改数据错误问题。
    8. 新增为组织机构人员分配默认用户功能。
    9. 新增系统默认角色配置功能。支持机构人员、手机验证码、微信小程序、QQ、微博、百度、微信开放平台、微信公众号、企业微信二维码、企业微信网页、钉钉、钉钉账号、阿里云、淘宝、支付宝、Teambition、华为、飞书、京东、抖音、今日头条、小米、人人、美团、饿了么、酷家乐、喜马拉雅、码云、开源中国、Github、Gitlab、Stackoverflow、Coding、谷歌、微软、脸书、领英、推特、亚马逊、Slack、Line、Okta、Pinterest等多种途径或第三方登录默认角色的配置。

    v2.5.5.30

    1. Debezimu 升级至 1.7.0.Final
    2. 优化统一结果返回实体封装,使用更加便捷。
    3. 使用统一结果返回实体新接口,替换已有代码。
    4. 优化接口数据前后端加密传输机制,全面支持使用 Spring @RequestParam 注解接口数据加解密。
    5. 统一使用 @RequestParam 注解接口加解密方式,改进 OAuth 2 密码模式,用户名、密码参数加密,不再使用传统Filter方式,代码更加简洁规范清晰。
    6. 重新调整 WebMvc 配置核心代码,依赖关系更合理,代码逻辑更清晰。
    7. 优化完善前端用户管理相关功能。
    8. 增加基于 VeeValidate 组件的服务端异步校验机制

    v2.5.5.20

    • 重大更新

      1. Spring Boot Admin 升级至 2.5.2
      2. 基于最新版Axios定义,所有Delete接口,修改为路径参数形式
      3. 混合 RSA(非对称) 和 AES(对称加密) 算法,基于自定义注解,设计接口数据前后端加密传输机制。
      4. 设计自定义数据传输 Session,规避 Vue Session 变化问题。基于自定义Session,实现 AES KEY 动态生成、加密传输、一人一钥的安全机制,提高系统安全性。
      5. 实现 OAuth 2 密码模式,用户名、密码参数加密传输。
    • 其它更新

      1. 修复 Spring Validation 错误信息不会抛出,循环引用问题。
      2. 前端 Utils 工具包,新增加密算法模块
      3. 基于最新版Axios定义,优化 Axios 请求通用代码
      4. 实现前端 node-rsa 包 RSA 算法,与后端 Hutool SecureUtil RSA 算法互相加、解密。
    • 依赖包版本升级

      1. Guava 升级至 31.0.1-jre
      2. SpringDoc 升级至 1.5.11
      3. Mybatis Plus Generator 升级至 3.5.1
      4. 前端工程升级大量依赖包

    v2.5.5.10

    1. 解决 OAuth2 自带业务表通过 Spring Data JPA 自动创建,字段名变化为小写问题。
    2. 完善前端 Camnuda 工作流编辑器组件功能。
    3. 完善前端部分功能,解决已知问题。
    4. 更新在线文档,补充前端工程详细介绍。

    v2.5.5.0

    • 重大更新

      1. Spring Boot 升级至 2.5.5
      2. Spring Cloud 升级至 2020.0.4
      3. 大幅改进系统数据库表和数据初始化方式,实现OAuth2业务表自动创建,取消使用脚本的创建方式,提升便捷性
      4. 新增人力资源管理相关功能,功能和模型设计实现与Camunda用户体系统一。便于用户体系数据的同步和管理。
      5. 基于rollup、lerna 和 yarn workspaces,以 monorepo 方式重新构建前端工程。新版前端工程是以Vue2、Typescript开发的,组件库式的前端功能。代码更清晰、组件化和重用化程度更高。为升级至Vue3做前序铺垫。
    • 其它更新

      1. 解决Skywalking UI连接Skywalking OAP Server出错问题。
      2. 修改防刷机制的默认配置
      3. 重新梳理错误体系,优化错误信息,错误提示更加友好。
      4. 解决单体版对Basic模式认证跨域拦截的问题
      5. 实现OAuth2 Password模式部分参数加密传输方式,提升系统安全性。
      6. 修复老版本前端工程已知问题。
      7. 在线文档同步更新。
    • 依赖包版本升级

      1. Hutool 升级至 5.7.13
      2. okhttps 升级至 3.1.5
      3. weixin-java-miniapp 升级至 4.1.9.B
      4. JustAuth 升级至 1.16.4
      5. jasypt-spring-boot-starter 升级至 3.0.4
      6. mybatis-plus-boot-starter 升级至3.4.3.4
      7. dysmsapi20170525 升级至 2.0.5

    v2.5.4.140

    1. 优化Antisamy通用代码,提升Xss分析西能,去除严格拦截导致的JSON解析错误。
    2. 解决本地权限缓存并发写入冲突,抛出com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException问题。
    3. 解决OAuth Starter引入Upms Logic 重复导入权限数据问题。
    4. 修改默认验证码字体配置
    5. 去除无用依赖包
    6. 新增MySQL57数据库切换配置。更新Nacos 配置SQL脚本,增加最新导入包。
    7. 新增Camunda 官方脚本
    8. 优化数据导入脚本

    v2.5.4.130

    1. 修复单体版Knife4j依赖错误问题
    2. 修复单体版配置错误问题
    3. 增加Gitee流程模版
    4. 修复OAuth2自定义confirm_access.html,error.html,login.html页面,数据类型编译错误。
    5. 优化自定义页面显示内容,增加Exception StackTrace输出
    6. 修复XssUtils校验出错问题。
    7. 优化ResourceServer安全配置
    8. 修复OAuth2 四种模式中授权码模式(Authorization Code)、隐式授权模式(Implicit Grant)模式出错问题。
    9. 解决前端控制台出错问题
    10. 更新在线文档,增加OAuth2 四种模式验证说明

    v2.5.4.120

    1. 使用Springdoc全面替换Springfox,配置更灵活、配置更多样
    2. Swagger文档注解全面升级为支持OpenAPI
    3. 使用Springdoc重构文档聚合功能,支持聚合查阅和服务独立查阅。Knife4j同步升级至3.0.3版本。
    4. Swagger文档默认支持OAuth2 Password、Authorization Code 两种认证流程
    5. 整合Camunda Engine Rest 与Swagger,实现Camunda API接口文档查阅,支持聚合查阅。
    6. 修复Bpmn服务默认启动Tomcat问题。
    7. 升级前端依赖包版本
    8. 更新Nacos配置文件及导入包
    9. 更新在线文档

    v2.5.4.110

    1. 重新构建项目文档体系,使用纯静态页面,替代已有 Gitee Wiki 文档。优化文档结构,提升文档阅读体验。提供全文搜索,便于文档查阅。支持文档独立部署,方便使用者搭建独立的文档服务查阅。
    2. 更换Nacos导入包,解决上一版本导入包导入重复问题
    3. Update Readme

    v2.5.4.100

    1. 重新梳理所有Nacos配置,提取共性配置至统一配置文件,优化配置属性结构和归类,便于参数修改,降低维护复杂度
    2. 重构数据库相关Nacos配置,优化Maven、Nacos多环境配置与数据库切换的联动性,让数据库切换所需修改的参数更少,切换更顺滑
    3. 解决eurynome-cloud-management编译出现的Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on 4. project XXXX: Input length = 1 -> [Help 1]错误
    4. 解决Redis设置密码后,无法连接出现 NOAUTH Authentication required 错误
    5. 增加MySQL数据库默认数据初始化脚本
    6. 增加最新版Nacos配置导入包
    7. 修复前端UI申请APPKEY页面错误
    8. 修复前端UI切换至单体版后,连接错误问题。
    9. 升级前端UI依赖包版本。
    10. 同步更新相关文档,补充新建子模块、常见问题等部分文档。

    v2.5.4.90

    1. 使用Mybatis Plus全面替换已有Mybatis,与Spring Boot Data JPA共存且支持同时使用。使用任何技术都可以无障碍的进行业务代码编写。
    2. 整合Mybatis Plus和Spring Boot Data JPA更换数据库配置属性,一处修改即可以同时修改Mybatis Plus和Spring Boot Data JPA使用数据库类型。
    3. 新增接口XSS脚本攻击过滤机制,同时支持请求参数和JSON请求体过滤。采用Ebay XSS过滤模型,进一步提升防控能力。
    4. 新增SQL 注入攻击防控机制。
    5. 解决eurynome-cloud-gateway和eurynome-cloud-management服务启动调用Kafka问题。
    6. 解决CacheConfigException错误问题,在错误体系中增加配置参数不合理提醒,让信息反馈更加友好。
    7. 解决Spring Boot Admin 不支持Java 8 时间类型问题。
    8. 解决Spring Boot Admin 不显示 Git Properties 信息问题。
    9. 解决修改Redis密码配置生效问题
    10. 梳理dependencies依赖包,对已有依赖进行进行更合理的分类,更加便于依赖包的找寻和维护。
    11. 升级依赖包版本
      • spring-boot-admin 升级至 2.5.1
      • git-commit-id-plugin 升级至 4.9.10
      • docker-maven-plugin 升级至 0.37.0
      • hutool 升级至 5.7.10
      • okhttps 升级至 3.1.4
      • JustAuth 升级至1.16.3
      • aliyun-java-sdk-core 升级至 4.5.25
      • baiducloud-java-sdk 升级至 0.10.175
      • aliyun-java-sdk-oss 升级至 3.13.1
      • cn.jpush.api 升级至 3.5.2
    12. 规范项目文档,增加系统部署、数据库切换等多部分内容
    13. 增加Nacos配置导入包,在没有自动部署功能支持的情况下,也可以更加方便的导入配置。
    14. 替换 UI SweetAlert 过期方法,解决弹出框不会关闭问题
    15. 解决授权码模式(authorization code)验证码被拦截问题

    v2.5.4.80

    • 合并eurynome-cloud-curd包和eurynome-cloud-rest包,减少包数量,提升代码维护便捷度。
    • 增加接口幂等处理机制,防止重复提交。增加接口防刷限制机制,防止接口恶意频繁刷新。
    • 接口幂等和防刷机制,均支持全局配置控制,同时提供@Idempotent和@AccessLimited注解进行灵活的、个性化的配置。
    • 接口幂等和防刷机制,缓存标记采用分布式多级缓存进行存储,将低单一访问Redis带来的访问压力,同时支持多实例数据多级缓存本地数据同步。
    • 接口幂等和防刷机制,所涉及标记缓存时间配置全部统一支持Duration时间格式,简化配置参数,提升配置便捷度。同时,优化平台错误响应体系,返回更加友好的错误信息提示。
    • 定义Stamp签章体系,采用统一体系,对SMS短信验证码、JustAuth State、环信Token以及接口幂等和防刷等需临时存储标记相关应用进行统一实现。同时,采用分布式多级缓存进行数据存储,降低单一访问Redis压力。

    v2.5.4.65

    • 优化Skywalking打包内容,直接使用Skywalking官方容器
    • 补充RequestMappingScanner对应事件代码,解决单体版扫描Rest API接口后不会存储问题
    • 优化数据库脚本以及数据库表结构和默认数据自动初始化机制。解决在第一次运行时,Spring Data JPA JDBC初始化机制与Hibernate 初始化机制冲突问题。
    • 在Gitee Wiki中,增加数据库初始化说明文档
    • 删除部分预留代码,减少暂时不必要的代码对使用者带来的误导。
    • 前端UI中,增加部分配置,使用者可以通过注释部分配置,让前端UI快速支持单体版。

    v2.5.4.60

    • Spring Boot 版本升级至 2.5.4
    • Skywalking 版本升级至 8.7.0
    • 微服务日志输出至日志中心格式。
    • 增加Swagger注入条件注解,优化日志中心相关配置采用统一常量控制
    • 增加自定义Property"助手"数据统一自动编译生成配置,无须额外设置,在IDE中编辑配置属性时可自动弹出提示
    • 修复Kafka配置不生效问题。
    • 解决单体版自动启动Kafka问题。
    • 暂时关闭单体版Swagger,规避Swagger会自动启动Kafka问题。

    v2.5.4.55

    • 整合代码,将constant包代码整合至common包中。删除constant包。
    • 完善Rest接口校验机制,以及相关自定义错误码
    • 统一spring boot validation错误信息,将其整合至平台统一响应实体Result中。无须在各个Rest接口中,添加BindingResult参数。

    v2.5.4.50

    • 优化服务本地权限存储逻辑,解决权限属性数据重复存储,不会替换问题。
    • 重新梳理Spring Security OAuth2 方法级表达式动态权限鉴权逻辑,摒弃无用的权限验证Voter逻辑,使用统一逻辑实现@PreAuthorize注解权限的全面动态可配置化。统一平台接口- 白名单,IP地址白名单,以及Scope绑定URL的管理。
    • 重构UserDetails用户信息组织逻辑,使用Spring Security标准代码,替换自定义逻辑代码,降低代码冗余,与自研方法级动态权限完美融合。
    • 优化平台权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及分布式各服- 务多实例等各种应用场景。
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 清理系统无用代码。
    • 增加方法级动态权限演示动图,更新Readme

    v2.5.4.40

    • 优化自定义多级缓存,实现可以统一设置allowNullValues值,并解决存储空值时卡死问题。
    • 重新梳理、优化系统权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及- - 分布式各服务多实例等各种应用场景。
    • 增加Kafka条件注入配置,将条件转换为@ConditionalOnXXX,方便管理和维护。避免单体版应用相关依赖过度依赖Kafka而导致的无法启动
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 去除传统Kafka Producer 通用类,改为统一使用 Spring Cloud Bus

    v2.5.4.30

    • 重新调整Property配置,规范Property定义。修改相关配置
    • 调整包,以及包相关依赖关系。让包之间的依赖更加合理
    • 增加Kafka配置,增加@KafkaListener动态控制,以避免在不需要的情况下Kafka的自动开启。
    • 调整部分常理代码位置,常量代码基本调整完成
    • 将原有自定义条件,转换为@ConditionalOnXXX注解,让使用更加便捷
    • 日志中心是否开启状态,改为@ConditionalOnLogCenterEnabled注解

    v2.5.4.20

    • 本地权限缓存更换为JetCache,为服务多实例的权限扫描和存储提供更好的支持
    • 将数据访问策略从Conditional类,升级为Conditional注解,使用更加便捷
    • 调整包依赖关系,新建assistant、constant包,删除message包。
    • 逐步将平台中各类非独有常量移入constant包方便管理和修改
    • 采用Spring Boot Event和Spring Cloud Bus Event 机制重构接口收集逻辑。支持单体架构、UPMS、分布式多实例等不同场景接口扫描的特殊需求
    • 优化Docker Compose配置,使用Debezium Kafka 替换已有kafka,以支持Debezium应用
    • 删除无用代码

    v2.5.4.10

    • 全网首个实现Spring Security 动态URL权限与注解表达式权限有机整合,并且可以动态配置的微服务框架。
    • 全面支持方法级权限控制,Security OAuth2 permitAll等方法权限以及@PreAuthorize注解权限,均支持动态配置。目前支持以下权限的动态配置: · hasRole · hasAnyRole · hasAuthority · hasAnyAuthority · hasIpAddress · #oauth2.clientHasRole · #oauth2.clientHasAnyRole · #oauth2.hasScope · #oauth2.hasAnyScope · #oauth2.hasScopeMatching · #oauth2.hasAnyScopeMatching · #oauth2.denyOAuthClient · #oauth2.isOAuth · #oauth2.isUser · #oauth2.isClient
    • 彻底解决使用withObjectPostProcessor方式,会覆盖外部匹配规则问题。
    • 真正实现Scope权限与URL权限的关联与管控,拓展OAuth2默认只进行Scope简单对比的实现逻辑。
    • 实现动态权限配置的多服务同步。
    • 暂时去除JetCache,全面使用自研支持Hibernate二级缓存的多级缓存。
    • 修改配置文件配置
    • 删除无用代码

    v2.5.3.60

    • Nacos版本升级至2.0.3
    • Hutool版本升级至5.7.6
    • 修改部分代码名称
    • 修改配置文件配置参数

    v2.5.3.50

    • 将所有服务包括UAA的权限存储,改为本地和认证中心,多级分布式存储和验证。
    • 增加策略模式,支持认证中心权限数据直连和远程消息两种存储方式动态切换。
    • 改进自研多级缓存,解决Hibernate二级缓存进行数据缓存时产生的事务锁问题。
    • 删除无用代码
    • 为动态Scope权限做铺垫。
    • 全面支持方法级权限控制。

    v2.5.3.40

    • Spring Boot 版本升级至 2.5.3
    • 采用新的Hash算法,缩短权限标识;简化用户权限信息,以缩短平台生成JWT Token的长度
    • git commit 插件由pl.project13.maven » git-commit-id-plugin改为io.github.git-commit-id » git-commit-id-maven-plugin。
    • git commit 插件升级至 5.0.0 版本

    v2.5.3.30

    • 重构用户中心用户人员体系,将平台用户、第三方社交登录用户、人事管理用户以及Camunda工作流用户体系无缝融合。
    • 人事管理体系人员唯一化管理,同时支持企业、党组、团青等多种类型的机构类型,便于企业人事管理。
    • 基于Debezium实现数据库变更数据捕获,实现人事管理信息与Camunda工作流用户实时同步。
    • 树形结构通用代码实现逻辑与Hutool Tree一致,因此采用Hutool Tree 全面替换已有的Tree代码。
    • 删除不再使用的通用类代码。
    • 修改说明文档

    v2.5.3.10

    • 自研基于Caffeine和Redis分布式两级缓存
    • 完美支持JPA Hibernate二级缓存
    • 完美支持各类查询数据缓存以及JPA @ManyToMany, @ManyToOne等关联查询。
    • 实现基于Caffeine的Hibernate二级缓存,可与自研两级缓存快速切换,仅使用本地缓存。
    • 极大的简化了原有自研的基于JetCache的缓存使用方式。
    • 保留JetCache,可根据实际使用需要使用。
    • 已有服务接口相关代码,均已更新自研分布式两级缓存模式。

    2.5.2.40

    • Redis Value 默认序列化工具修改为Jackson2JsonRedisSerializer
    • jetcache valueEncoder 和 valueDecoder 修改为kryo
    • 部分代码的日志改为传统方式,不再使用@Slf4j注解
    • 抽象实体共性属性,拓展基础实体,以支持JPA视图类的ORM映射。
    • 重构基础Service,将基础Service的读操作与其它操作分离,以支持“视图”相关Service的编写。
    • 重构基础Controller,将基础Controller的读操作与其它操作分离,以支持“视图”相关Controller的编写。
    • 将Hibernate Validator替换为spring-boot-starter-validation
    • 删除JPA过期方法封装

    v2.5.2.30

    • Spring Boot 版本升级至2.5.2
    • Spring Boot Admin 版本升级至2.4.2
    • 升级其它相关依赖版本

    v2.5.2.25

    • Skywalking升级至8.6.0

    v2.5.2.20

    • Spring Boot 升级至2.5.1
    • Camunda 升级至7.15.0
    • 其它依赖包版本升级
    • Swagger回滚至2.9.2,解决Swagger接口测试相关问题以及Knife4 Authorize不显示问题
    • 结构性调整平台相关配置属性

    v2.5.1.0

    • Spring Boot 大版本升级至2.5.0

    v2.4.5.60

    • 修改负载均衡不生效问题
    • 调整包依赖关系
    • 升级版本

    v2.4.5.48

    • 正式发布开源版本
    ',67),t={render:function(i,l){return a}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-62970b72.5a6e474b.js b/docs/assets/js/v-62970b72.5a6e474b.js new file mode 100644 index 000000000..fae039d53 --- /dev/null +++ b/docs/assets/js/v-62970b72.5a6e474b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[707],{8301:(e,a,n)=>{n.r(a),n.d(a,{data:()=>s});const s={key:"v-62970b72",path:"/basic-knowledge/dev-environment.html",title:"本地开发环境搭建",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"Java 开发环境",slug:"java-开发环境",children:[{level:3,title:"[1]、JDK 安装及配置",slug:"_1-、jdk-安装及配置",children:[]},{level:3,title:"[2]、Maven 安装及配置",slug:"_2-、maven-安装及配置",children:[]},{level:3,title:"[3]、Git 安装",slug:"_3-、git-安装",children:[]},{level:3,title:"[4]、Idea 安装及配置",slug:"_4-、idea-安装及配置",children:[]},{level:3,title:"[5]、检出代码和编译",slug:"_5-、检出代码和编译",children:[]}]},{level:2,title:"Node 开发环境",slug:"node-开发环境",children:[{level:3,title:"[1]、Nodejs 安装",slug:"_1-、nodejs-安装",children:[]},{level:3,title:"[2]、Nodejs 配置",slug:"_2-、nodejs-配置",children:[]},{level:3,title:"[3]、Yarn 简介",slug:"_3-、yarn-简介",children:[]},{level:3,title:"[4]、Yarn 安装",slug:"_4-、yarn-安装",children:[]},{level:3,title:"[5]、Yarn 配置",slug:"_5-、yarn-配置",children:[]}]}],filePathRelative:"basic-knowledge/dev-environment.md",git:{updatedTime:null,contributors:[]}}},4867:(e,a,n)=>{n.r(a),n.d(a,{default:()=>ce});var s=n(6252);const o=(0,s.uE)('

    本地开发环境搭建

    Java 开发环境

    [1]、JDK 安装及配置

    (1)下载 JDK

    ',4),c=(0,s.Uk)("下载 "),d=(0,s._)("code",null,"Java SE Development Kit",-1),l=(0,s.Uk)(" (JDK) "),i={href:"https://www.oracle.com/java/technologies/downloads/#java8",target:"_blank",rel:"noopener noreferrer"},t=(0,s.Uk)("下载地址"),p=(0,s.Uk)("。"),r=(0,s.uE)('

    说明

    建议下载 JDK 8, 更高的版本逻辑上是向下兼容的,但是本系统还没有进行过验证。

    (2)安装 JDK

    点击安装下载后的JDK安装文件,全部点击下一步即可。

    说明

    建议全部点击下一步安装,不要修改安装目录等内容,全部默认安装。一方面,在没有搞清楚 JDK 和 JRE 区别时,不建议修改安装目录,这经常会导致装错或者漏装;另一方面,个人觉得装在默认目录挺好,方便定位查找,重装系统也一并清除了。

    只是个人建议,请结合自己的实际情况和考虑安装。

    (3)配置JDK环境变量(Windows)

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    1. 系统变量 栏中,点击新建,弹出 编辑系统变量 对话框。
    • 变量名(N) 中,输入变量名称 JAVA_HOME
    • 变量值(V) 中,输入JDK 所在目录 C:\\Program Files\\Java\\jdk1.8.0_301

    注意

    JDK 安装完成之后,会在 C:\\Program Files\\Java 目录中生成两个目录, 以 Java SE Development Kit 8u301 为例,生成的目录就是:jdk1.8.0_301jre1.8.0_301

    变量值(V) 中,我们要配置的是 jdk1.8.0_301 目录地址,而不是 jre1.8.0_301

    点击 编辑系统变量 对话框中的【确定】按钮,保存配置。

    1. 还是在 系统变量 栏中,找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 %JAVA_HOME%\\bin

    说明

    %JAVA_HOME% 的意思,即使引用上一步中,定义的变量 JAVA_HOME 的 变量值。

    点击 编辑环境变量 对话框中的【确定】按钮,保存配置。

    (4)验证JDK安装

    说明

    至此,JDK环境变量已经配置完成。以上这些配置已经可以完全满足JAVA开发的正常需要,除非特别的应用需求,比如说本地运行自定义的、需要独立运行的纯Java程序外,不再需要像网上说的,还要配置什么 .classpathtools.jar 之类的东西。

    新打开一个命令提示符(CMD),输入以下命令:

    java -version\n
    1

    如果可以正确显示版本信息,说明安装成功,如下图所示。

    jdk-validation

    注意

    CMD 自身有 Session 机制,每次打开是以当前的环境变量配置作为依据运行。环境变量配置完成之后,如果使用之前的 CMD 窗口,新的环境变量配置将不会生效。所以一定要注意,重新开一个 CMD 窗口进行安装验证。

    [2]、Maven 安装及配置

    (1)下载Maven

    ',23),u=(0,s.Uk)("下载 "),h=(0,s._)("code",null,"Apache Maven",-1),m=(0,s.Uk)(),g={href:"http://maven.apache.org/download.cgi",target:"_blank",rel:"noopener noreferrer"},v=(0,s.Uk)("下载地址"),b=(0,s.Uk)("。"),k=(0,s.uE)('

    (2)解压缩 Maven

    将下载好的 apache-maven-XXXX-bin.zip, 解压到你想要放置的任何位置。

    说明

    Maven 是 Java 开发常用的工具,建议最好找一个相对固定的位置放置,一方面,不需要频繁修改和更换版本;另一方面,主要是好找,方便反复使用。

    (3)配置Maven环境变量(Windows)

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    1. 系统变量 栏中,点击新建,弹出 编辑系统变量 对话框。
    • 变量名(N) 中,输入变量名称 MAVEN_HOME
    • 变量值(V) 中,输入 Maven 所在目录,这里以 D:\\Environment\\apache-maven-3.8.2 为例,请根据实际情况进行修改。

    点击 编辑系统变量 对话框中的【确定】按钮,保存配置。

    1. 还是在 系统变量 栏中,找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 %MAVEN_HOME%\\bin

    说明

    %MAVEN_HOME% 的意思,即使引用上一步中,定义的变量 MAVEN_HOME 的 变量值。

    点击 编辑环境变量 对话框中的【确定】按钮,保存配置。

    (4)验证Maven安装

    新打开一个命令提示符(CMD),输入以下命令:

    如果可以正确显示版本信息,说明安装成功,如下图所示。

    maven-validation

    注意

    CMD 自身有 Session 机制,每次打开是以当前的环境变量配置作为依据运行。环境变量配置完成之后,如果使用之前的 CMD 窗口,新的环境变量配置将不会生效。所以一定要注意,重新开一个 CMD 窗口进行安装验证。

    (5)创建本地仓库目录

    建议找一个相对固定的位置,创建任意名称的文件夹,作为本地仓库存储 Maven 下载的依赖。

    说明

    使用 Maven 时,Maven 会从中央库,将 pom.xml 中依赖的组件,下载至本地供开发和编译使用。默认情况下,Maven 会将下载的依赖组件,放置到系统盘中的 .m2 目录下。这不仅会慢慢撑大系统盘空间的使用,如果重装系统,相关的组件又需要重新下载。

    指定一个文件夹,作为本地 Maven 存储仓库,可以减少依赖组件的反复下载,起到重复使用的作用。

    这里以 maven-repository 为例,放在与 apache-maven-3.8.2 平级的目录下。只是示例,请根据实际情况修改。

    (6)修改 Maven 配置

    在 Maven 安装目录下,找到 settings.xml 文件,具体路径为 ${maven_home}/conf/settings.xml

    用任意编辑器打开 settings.xml 文件中,找到被注释掉的 <localRepository> 节点,在其下方添加以下配置:

    <localRepository>D:/Environment/maven-repository</localRepository>\n
    1

    说明

    这里的路径,就是上一步中创建的本地 Maven 存储仓库文件夹所在的路径。

    注意:路径的格式,斜杠的方向。不同的操作系统,会略有不同。

    settings.xml 文件中,找到 <mirrors> 节点,在其内部添加以下配置:

    <mirror>\n    <id>aliyunmaven</id>\n    <mirrorOf>*</mirrorOf>\n    <name>阿里云公共仓库</name>\n    <url>https://maven.aliyun.com/repository/public</url>\n</mirror>\n
    1
    2
    3
    4
    5
    6

    说明

    Maven 默认是从中央仓库进行依赖的下载,具体地址为 https://repo.maven.apache.org/maven2。因为涉及到国外网络,下载速度比较慢。通过上面的配置,将 Maven 仓库修改为阿里公共仓库,依赖下载速度会快很多。

    阿里公共仓库会同步中央库的内容,可以放心使用,不用担心内容不全的问题。当然,可以根据你自身的情况添加其它的仓库。

    [3]、Git 安装

    ',30),_=(0,s.Uk)("下载 "),f=(0,s._)("code",null,"Git",-1),x=(0,s.Uk)(),M={href:"https://git-scm.com/download/win",target:"_blank",rel:"noopener noreferrer"},y=(0,s.Uk)("下载地址"),j=(0,s.Uk)("。"),w=(0,s._)("p",null,[(0,s.Uk)("全部使用默认设置,一路 "),(0,s._)("code",null,"Next"),(0,s.Uk)(" 安装即可")],-1),E=(0,s._)("h3",{id:"_4-、idea-安装及配置",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_4-、idea-安装及配置","aria-hidden":"true"},"#"),(0,s.Uk)(" [4]、Idea 安装及配置")],-1),U=(0,s._)("h4",{id:"_1-下载-idea",tabindex:"-1"},[(0,s._)("a",{class:"header-anchor",href:"#_1-下载-idea","aria-hidden":"true"},"#"),(0,s.Uk)(" (1)下载 Idea")],-1),N=(0,s.Uk)("下载 "),J=(0,s._)("code",null,"Idea",-1),D=(0,s.Uk)(),q={href:"https://www.jetbrains.com/idea/",target:"_blank",rel:"noopener noreferrer"},A=(0,s.Uk)("下载地址"),C=(0,s.Uk)("。"),P=(0,s.uE)('

    全部使用默认设置,一路 Next 安装即可

    具体怎么激活,请自行百度

    这里为什么将 Idea 安装放在第四部分说明?

    主要原因是,JDK、Maven 和 Git 均已安装配置好之后,再来安装 Idea,Idea 就会自动读取 JAVA_HOMEMAVEN_HOME 以及 Git的安装路径等信息,并进行自动配置。就无须再手动配置这些信息,使用起来比较方便。

    如果没有按照,上面所说的顺序,已经提前安装好了Idea。可以在JDK、Maven 和 Git 均已安装配置好之后,重新启动 Idea,JAVA_HOMEMAVEN_HOME 以及 Git的安装路径等信息也会被读取并进行设置。

    (2)在 Idea 中修改 Maven 配置

    打开 Idea,点击 File -> Settings... -> Maven,打开 Maven 配置面板,如下图所示:

    maven-config-01

    在 Maven 配置面板中,修改 Maven 的配置。

    1. 设置 Maven home path

    在 Maven 配置面板中,设置 Maven home path 的值,如果 Maven 的环境变量配置正确,那么在 Maven home path 选择下拉框中,就可以找到当前环境变量中配置的 Maven 信息,这个值就是环境变量 MAVEN_HOME 中配置的值。如下图所示:

    maven-config-02

    1. 设置 User setting files

    在 Maven 配置面板中,首先勾选 User setting files 设置后面的 Override,勾选之后 User setting files 的选择框就会变为激活的状态。

    点击 User setting files 设置中的 文件夹 按钮,选择 ${maven_home}/conf/settings.xml 文件,具体如下图所示:

    maven-config-03

    如果 ${maven_home}/conf/settings.xml 文件已经正确配置,并且在 User setting files 设置中也选择正确的情况下,Local repository 配置就会自动显示出自定义本地仓库的路径,这个路径就是刚刚,在 ${maven_home}/conf/settings.xml 中设置的 <localRepository> 的值,这就说明配置成功。如上图所示。

    注意

    当前截图使用的是 Idea 2021.2.3 版本,之前发现有些低版本Idea,不会自动读取 ${maven_home}/conf/settings.xml 中配置的 <localRepository> 值。

    如果出现这种情况,勾选 Local repository 后面的 Override,激活 Local repository 设置的文件选择框,手动选择一下你所定义的本地仓库文件夹,即可解决。

    (3)在 Idea 中修改 Maven 的全局配置

    Idea 中很多设置否分为两种,一种设置只是针对当前工程,这种设置只是针对当前工程有效,打开新的工程或者重新检出当前工程就需要重新配置;一种设置是针对新工程,配置之后所有用 Idea 打开工程都会生效,就不需要重新设置。

    上一步中进行 Maven 设置,就是前一种设置,只对当前工程有效,打开新的工程或者重新检出当前工程就需要重新设置 Maven。

    可以通过下面的方式,进行 Maven 的 “全局” 配置。

    点击 File -> New Projects Setup -> Settings For New Prjects...,会跳出全局设置面板,如下图所示:

    maven-config-04

    在这个面板中,找到 Maven 配置,重复进行上一步的操作即可。

    [5]、检出代码和编译

    ',24),F=(0,s.Uk)("在 "),I=(0,s._)("code",null,"IDEA",-1),O=(0,s.Uk)(" 中,点击菜单 "),V=(0,s._)("code",null,"File -> New -> Project From Version Control...",-1),Y=(0,s.Uk)(", 在弹出框中输入本工程Git地址:"),K={href:"https://gitee.com/herodotus/eurynome-cloud.git",target:"_blank",rel:"noopener noreferrer"},W=(0,s.Uk)("https://gitee.com/herodotus/eurynome-cloud.git"),H=(0,s.Uk)(",然后设置放置目录,点击 "),G=(0,s._)("strong",null,"OK",-1),R=(0,s.Uk)(" 即可。"),S=(0,s._)("p",null,[(0,s.Uk)("在这个过程中,Idea 会从 Git 中检出代码,并且检查 "),(0,s._)("code",null,"pom.xml"),(0,s.Uk)(" 中的依赖,如果本地仓库中没有,就从配置的中央库中重新下载。")],-1),L=(0,s._)("blockquote",null,[(0,s._)("p",null,"检查上文中,自定义的本地 Maven 仓库,如果有依赖包更新,说明全部配置成功。")],-1),$={class:"custom-container tip"},X=(0,s._)("p",{class:"custom-container-title"},"说明",-1),z=(0,s._)("li",null,[(0,s._)("p",null,"如果是初次搭建Java的开发环境,那么本地 Maven 仓库中内容是空的,就会需要一定时间下载所有的依赖库,具体所需时间根据网络情况的不同会有差异。")],-1),T=(0,s.Uk)("如果是初次搭建Java的开发环境,由于下载的依赖包较多,Idea 解析不过来,会导致 Idea 右侧 Maven 面板中有些依赖标成红色。如果已经确定所有的依赖均已下载完成,可以编译一下代码,编译代码参见:"),B=(0,s.Uk)("环境部署"),Q=(0,s.Uk)(",如果可以编译成功,说明环境正常,下次启动 Idea 右侧 Maven 面板中被标成红色依赖就会消失"),Z=(0,s.uE)('

    提示

    如果本地Java开发环境,不是严格按照本文档顺序进行搭建的。特别是已经提前检出了代码,那么有可能不会自动出发 Idea Maven 的更新机制。

    可以根据第三步中的描述,修改完 Maven 的配置之后,点击下图中的刷新按钮,手动触发 Maven 的更新和下载。

    如果发现有编译错误,可以先检查一下 Maven 配置,确保配置没有问题后,尝试点击刷新按钮,多数情况下问题都可以解决。

    在IDEA中,打开 Maven 面板,点击刷新按钮。如下图所示:

    refresh-maven

    Node 开发环境

    [1]、Nodejs 安装

    ',3),ee=(0,s.Uk)("下载 Nodejs,"),ae={href:"https://nodejs.org/zh-cn/",target:"_blank",rel:"noopener noreferrer"},ne=(0,s.Uk)("下载地址"),se=(0,s.Uk)(",按照提示安装即可,记得选择将Nodejs增加到PATH一项,如果界面上没有,应该就是默认帮你搞定了,可以忽略。"),oe=(0,s.uE)('

    安装完成后,通过命令,验证是否安装成:

    node -v\n\nnpm -v\n
    1
    2
    3

    如果正常显示版本号,即安装成功。

    [2]、Nodejs 配置

    Nodejs安装完成之后,默认会将Node.exe的路径,添加到系统的环境变量中,如果没有请手动添加。

    Nodejs 默认的缓存目录和全局安装目录都在系统盘,会占用大量的系统盘空间,所以建议修改,如果不想修改,请跳过此部分内容。

    (1)配置prefix和cache目录

    prefix 就是 Nodejs 来全局安装的位置,cache 就是 Nodejs 依赖下载缓存的目录

    • 改变 npm prefix 全局安装位置
    npm config set prefix "你的磁盘路径"\n
    1

    假设你所指定的根目录地址为:C:\\Program Files\\nodejs

    npm config set prefix “C:\\Program Files\\nodejs\\node_global”\n
    1
    • 改变 npm cache 缓存位置
    npm config set cache "你的磁盘路径"\n
    1

    假设你所指定的根目录地址为:C:\\Program Files\\nodejs

    npm config set cache  “C:\\Program Files\\nodejs\\node_cache\n
    1

    (2)配置环境变量

    Nodejs 在安装过程中,会自动配置 Path 环境变量。但这个环境变量只是针对 NodeNpm 有效。对于一些全局安装的应用,例如 @vue/cli,如果不配置环境变量,它的相关命令是无法正常执行的。

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    1. 系统变量 栏中,点击新建,弹出 编辑系统变量 对话框。
    • 变量名(N) 中,输入变量名称 NODE_PATH
    • 变量值(V) 中,输入上一步中指定的 prefix 加上 node_modules 文件夹,如下所示,请根据实际情况修改
    C:\\Program Files\\nodejs\\node_global\\node_modules\n
    1

    说明

    这个值就是上一步中,通过 “npm config set prefix” 设置的值。可以,用下面命令查看

    npm config get prefix\n
    1

    切记,一定要加上 \\node_modules。因为,有些全局应用是安装在 C:\\Program Files\\nodejs\\node_global\\node_modules 目录下

    点击 编辑系统变量 对话框中的【确定】按钮,保存配置。

    1. 用户变量 栏中, 找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 C:\\Program Files\\nodejs\\node_global\\

    这个值就是上一步中,通过 “npm config set prefix” 设置的值。

    至此,Node 相关的环境变量配置完成。

    (3)配置阿里源

    将 Npm 的下载源,修改为阿里源,可以提升依赖包下载速度,执行一下命令设置。

    npm config set registry https://registry.npm.taobao.org\n
    1

    [3]、Yarn 简介

    Yarn 是 Facebook 发布的一款取代 npm 的包管理工具。

    Yarn的特点:

    • 速度超快。Yarn 缓存了每个下载过的包,所以再次使用时无需重复下载。 同时利用并行下载以最大化资源利用率,因此安装速度更快。
    • 超级安全。在执行代码之前,Yarn 会通过算法校验每个安装包的完整性。
    • 超级可靠。使用详细、简洁的锁文件格式和明确的安装算法,Yarn 能够保证在不同系统上无差异的工作。

    [4]、Yarn 安装

    • 方式一:使用 npm 安装
    npm install -g yarn\n
    1
    • 方式二:使用安装文件安装

    即在官网中下载exe文件安装(Windows),其它系统根据实际情况安装。

    [5]、Yarn 配置

    (1)配置 Yarn prefix 和 cache目录

    使用 Yarn,那么下载依赖包时,将使用 Yarn 的全局 prefix 和 cache目录,同时将 Yarn 的全局安装应用与 Node 进行关联

    • 改变 Yarn 全局安装位置
    yarn config set global-folder "你的磁盘路径"\n
    1

    假设你所指定的根目录为:C:\\Program Files\\yarn

    yarn config set global-folder "C:\\Program Files\\yarn\\global"\n
    1
    • 改变 yarn 缓存位置
    yarn config set cache-folder "你的磁盘路径"\n
    1

    假设你所指定的根目录为:C:\\Program Files\\yarn

    yarn config set cache-folder "C:\\Program Files\\yarn\\cache"\n
    1

    或者在你系统盘的用户目录找到 .yarnrc 的文件,打开它,直接进行编辑

    (2)配置 Yarn 环境变量

    在我们使用全局安装包的时候,会在 C:\\Program Files\\yarn\\global(上面的示例路径,要根据自己的实际情况配置) 目录下生成 node_modules.bin 目录

    需要将 C:\\Program Files\\yarn\\global\\node_modules\\.bin 整个目录 添加到系统环境变量中去,否则通过 yarn 添加的全局包 在cmd 中是找不到的。

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    系统变量 栏中,找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 ``C:\\Program Files\\yarn\\global\\node_modules.bin`

    点击 编辑环境变量 对话框中的【确定】按钮,保存配置。

    提示

    可以通过下面的命令,检查当前 yarn 的 bin 目录的位置

    yarn global bin\n
    1

    (3)Yarn 配置阿里源量

    1. 查看一下当前源
    yarn config get registry\n
    1
    1. 切换为淘宝源
    yarn config set registry https://registry.npm.taobao.org\n\n
    1
    2
    ',65),ce={render:function(e,a){const n=(0,s.up)("OutboundLink"),ce=(0,s.up)("RouterLink");return(0,s.wg)(),(0,s.iD)(s.HY,null,[o,(0,s._)("p",null,[c,d,l,(0,s._)("a",i,[t,(0,s.Wm)(n)]),p]),r,(0,s._)("p",null,[u,h,m,(0,s._)("a",g,[v,(0,s.Wm)(n)]),b]),k,(0,s._)("p",null,[_,f,x,(0,s._)("a",M,[y,(0,s.Wm)(n)]),j]),w,E,U,(0,s._)("p",null,[N,J,D,(0,s._)("a",q,[A,(0,s.Wm)(n)]),C]),P,(0,s._)("p",null,[F,I,O,V,Y,(0,s._)("a",K,[W,(0,s.Wm)(n)]),H,G,R]),S,L,(0,s._)("div",$,[X,(0,s._)("ul",null,[z,(0,s._)("li",null,[(0,s._)("p",null,[T,(0,s.Wm)(ce,{to:"/documents-athena/%E7%8E%AF%E5%A2%83%E9%83%A8%E7%BD%B2.html"},{default:(0,s.w5)((()=>[B])),_:1}),Q])])])]),Z,(0,s._)("p",null,[ee,(0,s._)("a",ae,[ne,(0,s.Wm)(n)]),se]),oe],64)}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-c0f957a0.02d867d1.js b/docs/assets/js/v-c0f957a0.02d867d1.js new file mode 100644 index 000000000..55af41522 --- /dev/null +++ b/docs/assets/js/v-c0f957a0.02d867d1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[781],{3597:(e,a,t)=>{t.r(a),t.d(a,{data:()=>r});const r={key:"v-c0f957a0",path:"/documents/",title:"介绍",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"总体架构",slug:"总体架构",children:[]},{level:2,title:"功能演示",slug:"功能演示",children:[{level:3,title:"[1]、基于URL的方法级动态权限配置",slug:"_1-、基于url的方法级动态权限配置",children:[]},{level:3,title:"[2]、服务调用链监控",slug:"_2-、服务调用链监控",children:[]}]},{level:2,title:"版本号说明",slug:"版本号说明",children:[]},{level:2,title:"交流反馈",slug:"交流反馈",children:[]}],filePathRelative:"documents/README.md",git:{updatedTime:163439633e4,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:8}]}}},8189:(e,a,t)=>{t.r(a),t.d(a,{default:()=>g});var r=t(6252);const i=(0,r.uE)('

    介绍

    Eurynome Cloud 微服务架构


    JDK 1.8+  Spring Boot 2.5.5  Spring Cloud 2020.0.4  Spring Cloud Alibaba 2021.1  Nacos 2.0.3  License Apache 2.0  码匠君  Version 2.5.5.60  Gitee star  Gitee fork

    提示

    有幸负责过一个“中台”项目,彻底告别了SSH。随着微服务以及相关架构使用和研究深入,发现很多方面都不能满足需求。研究过很多优秀的开源项目,感觉都不太适合自己。所以就想自己做一套属于自己的微服务架构,因此就有了Eurynome-Cloud

    Eurynome Cloud 是一款企业级微服务架构和服务能力开发平台。基于 Spring Boot 2.5.5Spring Cloud 2020.0.4Spring Cloud Alibaba 2021.1Nacos 2.0.3 等最新版本开发,遵循 Spring Boot 编程思想,高度模块化和可配置化。具备服务发现、配置、熔断、限流、降级、监控、多级缓存、分布式事务、工作流等功能,代码简洁,架构清晰,非常适合学习和企业作为基础框架使用

    总体架构

    架构图

    功能演示

    提示

    有特点的功能,正在逐步添加。

    [1]、基于URL的方法级动态权限配置

    架构图

    [2]、服务调用链监控

    架构图

    版本号说明

    本系统版本号,分为四段。

    • 第一段和第二段,与 Spring Boot 版本对应,根据采用的 Spring Boot 版本变更。例如,当前采用 Spring Boot 2.4.6 版本,那么就以2.4.X.X开头
    • 第三段,表示系统功能的变化
    • 第四段,表示系统功能维护及优化情况

    交流反馈

    ',18),o=(0,r.Uk)("有问题欢迎提交"),l={href:"https://gitee.com/herodotus/eurynome-cloud/issues",target:"_blank",rel:"noopener noreferrer"},s=(0,r.Uk)("ISSUS"),n=(0,r.Uk)(" ,请写清楚问题的具体原因,重现步骤和环境(上下文)。Gitee评论中有字数限制,稍微复杂的内容不太便于回复。"),d=(0,r._)("li",null,"邮箱:herodotus@aliyun.com",-1),h=(0,r.Uk)("QQ群:"),c={href:"https://jq.qq.com/?_wv=1027&k=bIerJVy8",target:"_blank",rel:"noopener noreferrer"},u=(0,r.Uk)("922565573"),g={render:function(e,a){const t=(0,r.up)("OutboundLink");return(0,r.wg)(),(0,r.iD)(r.HY,null,[i,(0,r._)("ul",null,[(0,r._)("li",null,[o,(0,r._)("a",l,[s,(0,r.Wm)(t)]),n]),d,(0,r._)("li",null,[h,(0,r._)("a",c,[u,(0,r.Wm)(t)])])])],64)}}}}]); \ No newline at end of file diff --git a/docs/assets/js/v-c0f957a0.47c85b57.js b/docs/assets/js/v-c0f957a0.47c85b57.js deleted file mode 100644 index f3e1fe4b5..000000000 --- a/docs/assets/js/v-c0f957a0.47c85b57.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkeurynome_cloud_document=self.webpackChunkeurynome_cloud_document||[]).push([[781],{3597:(e,a,t)=>{t.r(a),t.d(a,{data:()=>r});const r={key:"v-c0f957a0",path:"/documents/",title:"介绍",lang:"zh-CN",frontmatter:{},excerpt:"",headers:[{level:2,title:"总体架构",slug:"总体架构",children:[]},{level:2,title:"功能演示",slug:"功能演示",children:[{level:3,title:"[1]、基于URL的方法级动态权限配置",slug:"_1-、基于url的方法级动态权限配置",children:[]},{level:3,title:"[2]、服务调用链监控",slug:"_2-、服务调用链监控",children:[]}]},{level:2,title:"版本号说明",slug:"版本号说明",children:[]},{level:2,title:"交流反馈",slug:"交流反馈",children:[]}],filePathRelative:"documents/README.md",git:{updatedTime:1632924477e3,contributors:[{name:"herodotus",email:"pointer_v@qq.com",commits:7}]}}},2957:(e,a,t)=>{t.r(a),t.d(a,{default:()=>g});var r=t(6252);const i=(0,r.uE)('

    介绍

    Eurynome Cloud 微服务架构


    JDK 1.8+  Spring Boot 2.5.5  Spring Cloud 2020.0.4  Spring Cloud Alibaba 2021.1  Nacos 2.0.3  License Apache 2.0  码匠君  Version 2.5.5.50  Gitee star  Gitee fork

    提示

    有幸负责过一个“中台”项目,彻底告别了SSH。随着微服务以及相关架构使用和研究深入,发现很多方面都不能满足需求。研究过很多优秀的开源项目,感觉都不太适合自己。所以就想自己做一套属于自己的微服务架构,因此就有了Eurynome-Cloud

    Eurynome Cloud 是一款企业级微服务架构和服务能力开发平台。基于 Spring Boot 2.5.5Spring Cloud 2020.0.4Spring Cloud Alibaba 2021.1Nacos 2.0.3 等最新版本开发,遵循 Spring Boot 编程思想,高度模块化和可配置化。具备服务发现、配置、熔断、限流、降级、监控、多级缓存、分布式事务、工作流等功能,代码简洁,架构清晰,非常适合学习和企业作为基础框架使用

    总体架构

    架构图

    功能演示

    提示

    有特点的功能,正在逐步添加。

    [1]、基于URL的方法级动态权限配置

    架构图

    [2]、服务调用链监控

    架构图

    版本号说明

    本系统版本号,分为四段。

    • 第一段和第二段,与 Spring Boot 版本对应,根据采用的 Spring Boot 版本变更。例如,当前采用 Spring Boot 2.4.6 版本,那么就以2.4.X.X开头
    • 第三段,表示系统功能的变化
    • 第四段,表示系统功能维护及优化情况

    交流反馈

    ',18),o=(0,r.Uk)("有问题欢迎提交"),l={href:"https://gitee.com/herodotus/eurynome-cloud/issues",target:"_blank",rel:"noopener noreferrer"},s=(0,r.Uk)("ISSUS"),n=(0,r.Uk)(" ,请写清楚问题的具体原因,重现步骤和环境(上下文)。Gitee评论中有字数限制,稍微复杂的内容不太便于回复。"),d=(0,r._)("li",null,"邮箱:herodotus@aliyun.com",-1),h=(0,r.Uk)("QQ群:"),c={href:"https://jq.qq.com/?_wv=1027&k=bIerJVy8",target:"_blank",rel:"noopener noreferrer"},u=(0,r.Uk)("922565573"),g={render:function(e,a){const t=(0,r.up)("OutboundLink");return(0,r.wg)(),(0,r.iD)(r.HY,null,[i,(0,r._)("ul",null,[(0,r._)("li",null,[o,(0,r._)("a",l,[s,(0,r.Wm)(t)]),n]),d,(0,r._)("li",null,[h,(0,r._)("a",c,[u,(0,r.Wm)(t)])])])],64)}}}}]); \ No newline at end of file diff --git a/docs/basic-knowledge/dev-environment.html b/docs/basic-knowledge/dev-environment.html new file mode 100644 index 000000000..fcbbed7f2 --- /dev/null +++ b/docs/basic-knowledge/dev-environment.html @@ -0,0 +1,48 @@ + + + + + + + 本地开发环境搭建 | Eurynome Cloud + + + + +

    本地开发环境搭建

    Java 开发环境

    [1]、JDK 安装及配置

    (1)下载 JDK

    下载 Java SE Development Kit (JDK) 下载地址open in new window

    说明

    建议下载 JDK 8, 更高的版本逻辑上是向下兼容的,但是本系统还没有进行过验证。

    (2)安装 JDK

    点击安装下载后的JDK安装文件,全部点击下一步即可。

    说明

    建议全部点击下一步安装,不要修改安装目录等内容,全部默认安装。一方面,在没有搞清楚 JDK 和 JRE 区别时,不建议修改安装目录,这经常会导致装错或者漏装;另一方面,个人觉得装在默认目录挺好,方便定位查找,重装系统也一并清除了。

    只是个人建议,请结合自己的实际情况和考虑安装。

    (3)配置JDK环境变量(Windows)

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    1. 系统变量 栏中,点击新建,弹出 编辑系统变量 对话框。
    • 变量名(N) 中,输入变量名称 JAVA_HOME
    • 变量值(V) 中,输入JDK 所在目录 C:\Program Files\Java\jdk1.8.0_301

    注意

    JDK 安装完成之后,会在 C:\Program Files\Java 目录中生成两个目录, 以 Java SE Development Kit 8u301 为例,生成的目录就是:jdk1.8.0_301jre1.8.0_301

    变量值(V) 中,我们要配置的是 jdk1.8.0_301 目录地址,而不是 jre1.8.0_301

    点击 编辑系统变量 对话框中的【确定】按钮,保存配置。

    1. 还是在 系统变量 栏中,找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 %JAVA_HOME%\bin

    说明

    %JAVA_HOME% 的意思,即使引用上一步中,定义的变量 JAVA_HOME 的 变量值。

    点击 编辑环境变量 对话框中的【确定】按钮,保存配置。

    (4)验证JDK安装

    说明

    至此,JDK环境变量已经配置完成。以上这些配置已经可以完全满足JAVA开发的正常需要,除非特别的应用需求,比如说本地运行自定义的、需要独立运行的纯Java程序外,不再需要像网上说的,还要配置什么 .classpathtools.jar 之类的东西。

    新打开一个命令提示符(CMD),输入以下命令:

    java -version
    +
    1

    如果可以正确显示版本信息,说明安装成功,如下图所示。

    jdk-validation

    注意

    CMD 自身有 Session 机制,每次打开是以当前的环境变量配置作为依据运行。环境变量配置完成之后,如果使用之前的 CMD 窗口,新的环境变量配置将不会生效。所以一定要注意,重新开一个 CMD 窗口进行安装验证。

    [2]、Maven 安装及配置

    (1)下载Maven

    下载 Apache Maven 下载地址open in new window

    (2)解压缩 Maven

    将下载好的 apache-maven-XXXX-bin.zip, 解压到你想要放置的任何位置。

    说明

    Maven 是 Java 开发常用的工具,建议最好找一个相对固定的位置放置,一方面,不需要频繁修改和更换版本;另一方面,主要是好找,方便反复使用。

    (3)配置Maven环境变量(Windows)

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    1. 系统变量 栏中,点击新建,弹出 编辑系统变量 对话框。
    • 变量名(N) 中,输入变量名称 MAVEN_HOME
    • 变量值(V) 中,输入 Maven 所在目录,这里以 D:\Environment\apache-maven-3.8.2 为例,请根据实际情况进行修改。

    点击 编辑系统变量 对话框中的【确定】按钮,保存配置。

    1. 还是在 系统变量 栏中,找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 %MAVEN_HOME%\bin

    说明

    %MAVEN_HOME% 的意思,即使引用上一步中,定义的变量 MAVEN_HOME 的 变量值。

    点击 编辑环境变量 对话框中的【确定】按钮,保存配置。

    (4)验证Maven安装

    新打开一个命令提示符(CMD),输入以下命令:

    如果可以正确显示版本信息,说明安装成功,如下图所示。

    maven-validation

    注意

    CMD 自身有 Session 机制,每次打开是以当前的环境变量配置作为依据运行。环境变量配置完成之后,如果使用之前的 CMD 窗口,新的环境变量配置将不会生效。所以一定要注意,重新开一个 CMD 窗口进行安装验证。

    (5)创建本地仓库目录

    建议找一个相对固定的位置,创建任意名称的文件夹,作为本地仓库存储 Maven 下载的依赖。

    说明

    使用 Maven 时,Maven 会从中央库,将 pom.xml 中依赖的组件,下载至本地供开发和编译使用。默认情况下,Maven 会将下载的依赖组件,放置到系统盘中的 .m2 目录下。这不仅会慢慢撑大系统盘空间的使用,如果重装系统,相关的组件又需要重新下载。

    指定一个文件夹,作为本地 Maven 存储仓库,可以减少依赖组件的反复下载,起到重复使用的作用。

    这里以 maven-repository 为例,放在与 apache-maven-3.8.2 平级的目录下。只是示例,请根据实际情况修改。

    (6)修改 Maven 配置

    在 Maven 安装目录下,找到 settings.xml 文件,具体路径为 ${maven_home}/conf/settings.xml

    用任意编辑器打开 settings.xml 文件中,找到被注释掉的 <localRepository> 节点,在其下方添加以下配置:

    <localRepository>D:/Environment/maven-repository</localRepository>
    +
    1

    说明

    这里的路径,就是上一步中创建的本地 Maven 存储仓库文件夹所在的路径。

    注意:路径的格式,斜杠的方向。不同的操作系统,会略有不同。

    settings.xml 文件中,找到 <mirrors> 节点,在其内部添加以下配置:

    <mirror>
    +    <id>aliyunmaven</id>
    +    <mirrorOf>*</mirrorOf>
    +    <name>阿里云公共仓库</name>
    +    <url>https://maven.aliyun.com/repository/public</url>
    +</mirror>
    +
    1
    2
    3
    4
    5
    6

    说明

    Maven 默认是从中央仓库进行依赖的下载,具体地址为 https://repo.maven.apache.org/maven2。因为涉及到国外网络,下载速度比较慢。通过上面的配置,将 Maven 仓库修改为阿里公共仓库,依赖下载速度会快很多。

    阿里公共仓库会同步中央库的内容,可以放心使用,不用担心内容不全的问题。当然,可以根据你自身的情况添加其它的仓库。

    [3]、Git 安装

    下载 Git 下载地址open in new window

    全部使用默认设置,一路 Next 安装即可

    [4]、Idea 安装及配置

    (1)下载 Idea

    下载 Idea 下载地址open in new window

    全部使用默认设置,一路 Next 安装即可

    具体怎么激活,请自行百度

    这里为什么将 Idea 安装放在第四部分说明?

    主要原因是,JDK、Maven 和 Git 均已安装配置好之后,再来安装 Idea,Idea 就会自动读取 JAVA_HOMEMAVEN_HOME 以及 Git的安装路径等信息,并进行自动配置。就无须再手动配置这些信息,使用起来比较方便。

    如果没有按照,上面所说的顺序,已经提前安装好了Idea。可以在JDK、Maven 和 Git 均已安装配置好之后,重新启动 Idea,JAVA_HOMEMAVEN_HOME 以及 Git的安装路径等信息也会被读取并进行设置。

    (2)在 Idea 中修改 Maven 配置

    打开 Idea,点击 File -> Settings... -> Maven,打开 Maven 配置面板,如下图所示:

    maven-config-01

    在 Maven 配置面板中,修改 Maven 的配置。

    1. 设置 Maven home path

    在 Maven 配置面板中,设置 Maven home path 的值,如果 Maven 的环境变量配置正确,那么在 Maven home path 选择下拉框中,就可以找到当前环境变量中配置的 Maven 信息,这个值就是环境变量 MAVEN_HOME 中配置的值。如下图所示:

    maven-config-02

    1. 设置 User setting files

    在 Maven 配置面板中,首先勾选 User setting files 设置后面的 Override,勾选之后 User setting files 的选择框就会变为激活的状态。

    点击 User setting files 设置中的 文件夹 按钮,选择 ${maven_home}/conf/settings.xml 文件,具体如下图所示:

    maven-config-03

    如果 ${maven_home}/conf/settings.xml 文件已经正确配置,并且在 User setting files 设置中也选择正确的情况下,Local repository 配置就会自动显示出自定义本地仓库的路径,这个路径就是刚刚,在 ${maven_home}/conf/settings.xml 中设置的 <localRepository> 的值,这就说明配置成功。如上图所示。

    注意

    当前截图使用的是 Idea 2021.2.3 版本,之前发现有些低版本Idea,不会自动读取 ${maven_home}/conf/settings.xml 中配置的 <localRepository> 值。

    如果出现这种情况,勾选 Local repository 后面的 Override,激活 Local repository 设置的文件选择框,手动选择一下你所定义的本地仓库文件夹,即可解决。

    (3)在 Idea 中修改 Maven 的全局配置

    Idea 中很多设置否分为两种,一种设置只是针对当前工程,这种设置只是针对当前工程有效,打开新的工程或者重新检出当前工程就需要重新配置;一种设置是针对新工程,配置之后所有用 Idea 打开工程都会生效,就不需要重新设置。

    上一步中进行 Maven 设置,就是前一种设置,只对当前工程有效,打开新的工程或者重新检出当前工程就需要重新设置 Maven。

    可以通过下面的方式,进行 Maven 的 “全局” 配置。

    点击 File -> New Projects Setup -> Settings For New Prjects...,会跳出全局设置面板,如下图所示:

    maven-config-04

    在这个面板中,找到 Maven 配置,重复进行上一步的操作即可。

    [5]、检出代码和编译

    IDEA 中,点击菜单 File -> New -> Project From Version Control..., 在弹出框中输入本工程Git地址:https://gitee.com/herodotus/eurynome-cloud.gitopen in new window,然后设置放置目录,点击 OK 即可。

    在这个过程中,Idea 会从 Git 中检出代码,并且检查 pom.xml 中的依赖,如果本地仓库中没有,就从配置的中央库中重新下载。

    检查上文中,自定义的本地 Maven 仓库,如果有依赖包更新,说明全部配置成功。

    说明

    • 如果是初次搭建Java的开发环境,那么本地 Maven 仓库中内容是空的,就会需要一定时间下载所有的依赖库,具体所需时间根据网络情况的不同会有差异。

    • 如果是初次搭建Java的开发环境,由于下载的依赖包较多,Idea 解析不过来,会导致 Idea 右侧 Maven 面板中有些依赖标成红色。如果已经确定所有的依赖均已下载完成,可以编译一下代码,编译代码参见:环境部署,如果可以编译成功,说明环境正常,下次启动 Idea 右侧 Maven 面板中被标成红色依赖就会消失

    提示

    如果本地Java开发环境,不是严格按照本文档顺序进行搭建的。特别是已经提前检出了代码,那么有可能不会自动出发 Idea Maven 的更新机制。

    可以根据第三步中的描述,修改完 Maven 的配置之后,点击下图中的刷新按钮,手动触发 Maven 的更新和下载。

    如果发现有编译错误,可以先检查一下 Maven 配置,确保配置没有问题后,尝试点击刷新按钮,多数情况下问题都可以解决。

    在IDEA中,打开 Maven 面板,点击刷新按钮。如下图所示:

    refresh-maven

    Node 开发环境

    [1]、Nodejs 安装

    下载 Nodejs,下载地址open in new window,按照提示安装即可,记得选择将Nodejs增加到PATH一项,如果界面上没有,应该就是默认帮你搞定了,可以忽略。

    安装完成后,通过命令,验证是否安装成:

    node -v
    +
    +npm -v
    +
    1
    2
    3

    如果正常显示版本号,即安装成功。

    [2]、Nodejs 配置

    Nodejs安装完成之后,默认会将Node.exe的路径,添加到系统的环境变量中,如果没有请手动添加。

    Nodejs 默认的缓存目录和全局安装目录都在系统盘,会占用大量的系统盘空间,所以建议修改,如果不想修改,请跳过此部分内容。

    (1)配置prefix和cache目录

    prefix 就是 Nodejs 来全局安装的位置,cache 就是 Nodejs 依赖下载缓存的目录

    • 改变 npm prefix 全局安装位置
    npm config set prefix "你的磁盘路径"
    +
    1

    假设你所指定的根目录地址为:C:\Program Files\nodejs

    npm config set prefix “C:\Program Files\nodejs\node_global”
    +
    1
    • 改变 npm cache 缓存位置
    npm config set cache "你的磁盘路径"
    +
    1

    假设你所指定的根目录地址为:C:\Program Files\nodejs

    npm config set cache  “C:\Program Files\nodejs\node_cache
    +
    1

    (2)配置环境变量

    Nodejs 在安装过程中,会自动配置 Path 环境变量。但这个环境变量只是针对 NodeNpm 有效。对于一些全局安装的应用,例如 @vue/cli,如果不配置环境变量,它的相关命令是无法正常执行的。

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    1. 系统变量 栏中,点击新建,弹出 编辑系统变量 对话框。
    • 变量名(N) 中,输入变量名称 NODE_PATH
    • 变量值(V) 中,输入上一步中指定的 prefix 加上 node_modules 文件夹,如下所示,请根据实际情况修改
    C:\Program Files\nodejs\node_global\node_modules
    +
    1

    说明

    这个值就是上一步中,通过 “npm config set prefix” 设置的值。可以,用下面命令查看

    npm config get prefix
    +
    1

    切记,一定要加上 \node_modules。因为,有些全局应用是安装在 C:\Program Files\nodejs\node_global\node_modules 目录下

    点击 编辑系统变量 对话框中的【确定】按钮,保存配置。

    1. 用户变量 栏中, 找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 C:\Program Files\nodejs\node_global\

    这个值就是上一步中,通过 “npm config set prefix” 设置的值。

    至此,Node 相关的环境变量配置完成。

    (3)配置阿里源

    将 Npm 的下载源,修改为阿里源,可以提升依赖包下载速度,执行一下命令设置。

    npm config set registry https://registry.npm.taobao.org
    +
    1

    [3]、Yarn 简介

    Yarn 是 Facebook 发布的一款取代 npm 的包管理工具。

    Yarn的特点:

    • 速度超快。Yarn 缓存了每个下载过的包,所以再次使用时无需重复下载。 同时利用并行下载以最大化资源利用率,因此安装速度更快。
    • 超级安全。在执行代码之前,Yarn 会通过算法校验每个安装包的完整性。
    • 超级可靠。使用详细、简洁的锁文件格式和明确的安装算法,Yarn 能够保证在不同系统上无差异的工作。

    [4]、Yarn 安装

    • 方式一:使用 npm 安装
    npm install -g yarn
    +
    1
    • 方式二:使用安装文件安装

    即在官网中下载exe文件安装(Windows),其它系统根据实际情况安装。

    [5]、Yarn 配置

    (1)配置 Yarn prefix 和 cache目录

    使用 Yarn,那么下载依赖包时,将使用 Yarn 的全局 prefix 和 cache目录,同时将 Yarn 的全局安装应用与 Node 进行关联

    • 改变 Yarn 全局安装位置
    yarn config set global-folder "你的磁盘路径"
    +
    1

    假设你所指定的根目录为:C:\Program Files\yarn

    yarn config set global-folder "C:\Program Files\yarn\global"
    +
    1
    • 改变 yarn 缓存位置
    yarn config set cache-folder "你的磁盘路径"
    +
    1

    假设你所指定的根目录为:C:\Program Files\yarn

    yarn config set cache-folder "C:\Program Files\yarn\cache"
    +
    1

    或者在你系统盘的用户目录找到 .yarnrc 的文件,打开它,直接进行编辑

    (2)配置 Yarn 环境变量

    在我们使用全局安装包的时候,会在 C:\Program Files\yarn\global(上面的示例路径,要根据自己的实际情况配置) 目录下生成 node_modules.bin 目录

    需要将 C:\Program Files\yarn\global\node_modules\.bin 整个目录 添加到系统环境变量中去,否则通过 yarn 添加的全局包 在cmd 中是找不到的。

    右键点击 Windows 左下角的 Windows 图标,选择 系统—>高级系统设置—>环境变量

    系统变量 栏中,找到 Path 变量,点击编辑, 弹出 编辑环境变量 对话框

    编辑环境变量 对话框中,添加 ``C:\Program Files\yarn\global\node_modules.bin`

    点击 编辑环境变量 对话框中的【确定】按钮,保存配置。

    提示

    可以通过下面的命令,检查当前 yarn 的 bin 目录的位置

    yarn global bin
    +
    1

    (3)Yarn 配置阿里源量

    1. 查看一下当前源
    yarn config get registry
    +
    1
    1. 切换为淘宝源
    yarn config set registry https://registry.npm.taobao.org
    +
    +
    1
    2
    + + + diff --git a/docs/basic-knowledge/index.html b/docs/basic-knowledge/index.html index 6e530c0da..da2926598 100644 --- a/docs/basic-knowledge/index.html +++ b/docs/basic-knowledge/index.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();介绍 | Eurynome Cloud - + -

    介绍

    说明

    一部分朋友使用 Eurynome Cloud 是本着学习的目的,以期掌握更多的IT技术技能。因此,开辟了本栏目。

    本栏目会逐步增加 Eurynome Cloud 所涉及各类技术的基础知识,希望可以帮助使用者更好的了解 Eurynome Cloud 所使用的技术,让使用者可以更快速的开展系统的使用和开发。

    很多技术内容单独拿出来都是一个很大的课题,而且市面上也会有较多的书籍供了解和学习。本栏目内容定位是收集整理一些相关技术的入门知识,起到抛砖引玉的作用。

    更新时间: 2021/9/8 上午12:03:33
    贡献者: herodotus
    - +

    介绍

    说明

    一部分朋友使用 Eurynome Cloud 是本着学习的目的,以期掌握更多的IT技术技能。因此,开辟了本栏目。

    本栏目会逐步增加 Eurynome Cloud 所涉及各类技术的基础知识,希望可以帮助使用者更好的了解 Eurynome Cloud 所使用的技术,让使用者可以更快速的开展系统的使用和开发。

    很多技术内容单独拿出来都是一个很大的课题,而且市面上也会有较多的书籍供了解和学习。本栏目内容定位是收集整理一些相关技术的入门知识,起到抛砖引玉的作用。

    更新时间: 2021/9/8 上午12:03:33
    贡献者: herodotus
    + diff --git a/docs/basic-knowledge/postgresql.html b/docs/basic-knowledge/postgresql.html index 81c294156..b94934620 100644 --- a/docs/basic-knowledge/postgresql.html +++ b/docs/basic-knowledge/postgresql.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();为什么默认使用PostgreSQL数据库? | Eurynome Cloud - + -

    为什么默认使用PostgreSQL数据库?

    PostgreSQL VS MySQL

    PostgreSQL VS MySQL

    MySQL的背后是一个成熟的商业公司,而PostgreSQL的背后是一个庞大的志愿开发组。这使得MySQL的开发过程更为慎重,而PostgreSQL的反应更为迅速。这样的两种背景直接导致了各自固有的优点和缺点。

    MySQL

    MySQL声称自己是最流行的开源数据库。LAMP中的M指的就是MySQL。构建在LAMP上的应用都会使用MySQL,如WordPress、Drupal等大多数php开源程序。MySQL最初是由MySQL AB开发的,然后在2008年以10亿美金的价格卖给了Sun公司,Sun公司又在2010年被Oracle收购。Oracle支持MySQL的多个版本:Standard、Enterprise、Classic、Cluster、Embedded与Community。其中有一些是免费下载的,另外一些则是收费的。其核心代码基于GPL许可,由于MySQL被控制在Oracle,社区担心会对MySQL的开源会有影响,所以开发了一些分支,比如: MariaDB和Percona。

    PostgreSQL

    PostgreSQL标榜自己是世界上最先进的开源数据库。PostgreSQL的一些粉丝说它能与Oracle相媲美,而且没有那么昂贵的价格和傲慢的客服。最初是1985年在加利福尼亚大学伯克利分校开发的,作为Ingres数据库的后继。PostgreSQL是完全由社区驱动的开源项目。它提供了单个完整功能的版本,而不像MySQL那样提供了多个不同的社区版、商业版与企业版。PostgreSQL基于自由的BSD/MIT许可,组织可以使用、复制、修改和重新分发代码,只需要提供一个版权声明即可。

    PostgreSQL相对于MySQL的优势

    [1]、不仅仅是关系型数据库

    除了存储正常的数据类型外,还支持存储:

    • array,不管是一位数组还是多为数组均支持
    • json(hStore)和jsonb,相比使用text存储接送要高效很多
    • json和jsonb之间的区别

    jsonb和json在更高的层面上看起来几乎是一样的,但在存储实现上是不同的。

    • json存储完的文本,json列会每次都解析存储的值,它不支持索引,但你可以为查询创建表达式索引。
    • jsonb存储的二进制格式,避免了重新解析数据结构。它支持索引,这意味着你可以不使用指定的索引就能查询任何路径。

    当我们比较写入数据速度时,由于数据存储的方式的原因,jsonb会比json稍微的慢一点。json列会每次都解析存储的值,这意味着键的顺序要和输入的时候一样。但jsonb不同,以二进制格式存储且不保证键的顺序。因此,如果你有软件需要依赖键的顺序,jsonb可能不是你的应用的最佳选择。使用jsonb的优势还在于你可以轻易的整合关系型数据和非关系型数据, PostgreSQL对于mongodb这类的基于文档的数据库是个不小的威胁,毕竟如果一个表中只有一列数据的类型是半结构化的,没有必要为了迁就它而整个表的设计采用schemaless的结构。

    [2]、支持地理信息处理扩展

    PostGIS 为PostgreSQL提供了存储空间地理数据的支持,使PostgreSQL成为了一个空间数据库,能够进行空间数据管理、数量测量与几何拓扑分析。在功能上,和MYSQL对比,PostGIS具有下列优势:

    O2O业务场景中的LBS业务使用PostgreSQL + PostGIS有无法比拟的优势。

    [3]、可以快速构建REST API

    PostgREST 可以方便的为任何 PostgreSQL 数据库提供完全的 RESTful API 服务。

    [4]、支持树状结构

    支持R-trees这样可扩展的索引类型,可以更方便地处理一些特殊数据。MySQL 处理树状的设计会很复杂, 而且需要写很多代码, 而 PostgreSQL 可以高效处理树结构。

    [5]、有极其强悍的 SQL 编程能力

    支持递归,有非常丰富的统计函数和统计语法支持。

    MySQL:支持 CREATE PROCEDURE 和 CREATE FUNCTION 语句。存储过程可以用 SQL 和 C++ 编写。用户定义函数可以用 SQL、C 和 C++ 编写。 PostgreSQL:没有单独的存储过程,都是通过函数实现的。用户定义函数可以用 PL/pgSQL(专用的过程语言)、PL/Tcl、PL/Perl、PL/Python 、SQL 和 C 编写。

    [6]、外部数据源支持

    可以把 70 种外部数据源 (包括 Mysql, Oracle, CSV, hadoop …) 当成自己数据库中的表来查询。Postgres有一个针对这一难题的解决方案:一个名为“外部数据封装器(Foreign Data Wrapper,FDW)”的特性。该特性最初由PostgreSQL社区领袖Dave Page四年前根据SQL标准SQL/MED(SQL Management of External Data)开发。FDW提供了一个SQL接口,用于访问远程数据存储中的远程大数据对象,使DBA可以整合来自不相关数据源的数据,将它们存入Postgres数据库中的一个公共模型。这样,DBA就可以访问和操作其它系统管理的数据,就像在本地Postgres表中一样。例如,使用FDW for MongoDB,数据库管理员可以查询来自文档数据库的数据,并使用SQL将它与来自本地Postgres表的数据相关联。借助这种方法,用户可以将数据作为行、列或JSON文档进行查看、排序和分组。他们甚至可以直接从Postgres向源文档数据库写入(插入、更细或删除)数据,就像一个一体的无缝部署。也可以对Hadoop集群或MySQL部署做同样的事。FDW使Postgres可以充当企业的中央联合数据库或“Hub”。

    [7]、没有字符串长度限制

    一般关系型数据库的字符串有限定长度8k左右,无限长 TEXT 类型的功能受限,只能作为外部大数据访问。而PostgreSQL的 TEXT 类型可以直接访问,SQL语法内置正则表达式,可以索引,还可以全文检索,或使用xml xpath。MySQL 的各种text字段有不同的限制,要手动区分 small text, middle text, large text… PostgreSQL 没有这个限制,text 能支持各种大小。

    [8]、支持图结构数据存储

    没有具体使用过,具体可以自己搜索下。参考链接open in new window

    [9]、支持窗口函数

    窗口函数提供跨行相关的当前查询行集执行计算的能力。仅当调用跟着OVER子句的聚集函数,作为窗口函数;否则它们作为常规的聚合函数。窗口也是一种分组,但和 group by 的分组不同。窗口,可以提供分组之外,还可以执行对每个窗口进行计算。可以想象成是group by 后,然后对每个分组进行计算,而不像Group by ,只是单纯地分组。MySQL 不支持 OVER 子句, 而PostgreSQL支持。OVER 子句能简单的解决 “每组取 top 5” 的这类问题。MySQL支持的SQL语法(ANSI SQL标准)的很小一部分。不支持递归查询、通用表表达式(Oracle的with 语句)或者窗口函数(分析函数)。

    [10]、对索引的支持更强

    PostgreSQL 的可以使用函数和条件索引,这使得PostgreSQL数据库的调优非常灵活,mysql就没有这个功能,条件索引在web应用中很重要。对于索引类型:

    MySQL:取决于存储引擎。MyISAM:BTREE,InnoDB:BTREE。 PostgreSQL:支持 B-树、哈希、R-树和 Gist 索引。 InnoDB的表和索引都是按相同的方式存储。也就是说表都是索引组织表。这一般要求主键不能太长而且插入时的主键最好是按顺序递增,否则对性能有很大影响。PostgreSQL不存在这个问题。

    索引类型方面,MySQL取决于存储引擎。MyISAM:BTREE,InnoDB:B+TREE。PostgreSQL支持 B-树、哈希、R-树和 Gist 索引。

    [11]、集群支持更好

    Mysql Cluster可能与你的想象有较大差异。开源的cluster软件较少。复制(Replication)功能是异步的并且有很大的局限性。例如,它是单线程的(single-threaded),因此一个处理能力更强的Slave的恢复速度也很难跟上处理能力相对较慢的Master。

    PostgreSQL有丰富的开源cluster软件支持。plproxy 可以支持语句级的镜像或分片,slony 可以进行字段级的同步设置,standby 可以构建WAL文件级或流式的读写分离集群,同步频率和集群策略调整方便,操作非常简单。

    另外,PostgreSQL的主备复制属于物理复制,相对于MySQL基于binlog的逻辑复制,数据的一致性更加可靠,复制性能更高,对主机性能的影响也更小。对于WEB应用来说,复制的特性很重要,mysql到现在也是异步复制,pgsql可以做到同步,异步,半同步复制。还有mysql的同步是基于binlog复制,类似oracle golden gate,是基于stream的复制,做到同步很困难,这种方式更加适合异地复制,pgsql的复制基于wal,可以做到同步复制。同时,pgsql还提供stream复制。

    [12]、事务隔离做的更好

    MySQL 的事务隔离级别 repeatable read 并不能阻止常见的并发更新, 得加锁才可以, 但悲观锁会影响性能, 手动实现乐观锁又复杂. 而 PostgreSQL 的列里有隐藏的乐观锁 version 字段, 默认的 repeatable read 级别就能保证并发更新的正确性, 并且又有乐观锁的性能。

    [13]、对于字符支持更好一些

    MySQL 里需要 utf8mb4 才能显示 emoji 的坑, PostgreSQL 没这个坑。

    [14]、对表连接支持较完整

    对表连接支持较完整,MySQL只有一种表连接类型:嵌套循环连接(nested-loop),不支持排序-合并连接(sort-merge join)与散列连接(hash join)。PostgreSQL都支持。

    [15]、存储方式支持更大的数据量

    PostgreSQL主表采用堆表存放,MySQL采用索引组织表,能够支持比MySQL更大的数据量。

    [16]、时间精度更高

    MySQL对于时间、日期、间隔等时间类型没有秒以下级别的存储类型,而PostgreSQL可以精确到秒以下。

    [17]、优化器的功能较完整

    MySQL对复杂查询的处理较弱,查询优化器不够成熟,explain看执行计划的结果简单。性能优化工具与度量信息不足。

    PostgreSQL很强大的查询优化器,支持很复杂的查询处理。explain返回丰富的信息。提供了一些性能视图,可以方便的看到发生在一个表和索引上的select、delete、update、insert统计信息,也可以看到cache命中率。网上有一个开源的pgstatspack工具。

    [18]、序列支持更好

    MySQL 不支持多个表从同一个序列中取 id, 而 PostgreSQL 可以。

    [19]、对子查询支持更好

    对子查询的支持。虽然在很多情况下在SQL语句中使用子查询效率低下,而且绝大多数情况下可以使用带条件的多表连接来替代子查询,但是子查询的存在在很多时候仍然不可避免。而且使用子查询的SQL语句与使用带条件的多表连接相比具有更高的程序可读性。几乎任何数据库的子查询 (subquery) 性能都比 MySQL 好。

    [20]、增加列更加简单

    MySQL表增加列,基本上是重建表和索引,会花很长时间。PostgreSQL表增加列,只是在数据字典中增加表定义,不会重建表.

    MySQL相对于PostgreSQL的优势

    [1]、MySQL比PostgreSQL更流行

    流行对于一个商业软件来说,也是一个很重要的指标,流行意味着更多的用户,意味着经受了更多的考验,意味着更好的商业支持、意味着更多、更完善的文档资料。易用,很容易安装。第三方工具,包括可视化工具,让用户能够很容易入门。

    [2]、回滚实现更优

    innodb的基于回滚段实现的MVCC机制,相对PG新老数据一起存放的基于XID的MVCC机制,是占优的。新老数据一起存放,需要定时触发VACUUM,会带来多余的IO和数据库对象加锁开销,引起数据库整体的并发能力下降。而且VACUUM清理不及时,还可能会引发数据膨胀。

    [3]、在Windows上运行更可靠

    与PostgreSQL相比,MySQL更适宜在Windows环境下运行。MySQL作为一个本地的Windows应用程序运行(在 NT/Win2000/WinXP下,是一个服务),而PostgreSQL是运行在Cygwin模拟环境下。PostgreSQL在Windows下运行没有MySQL稳定,应该是可以想象的。

    [4]、线程模式相比进程模式的优势

    MySQL使用了线程,而PostgreSQL使用的是进程。在不同线程之间的环境转换和访问公用的存储区域显然要比在不同的进程之间要快得多。

    进程模式对多CPU利用率比较高。进程模式共享数据需要用到共享内存,而线程模式数据本身就是在进程空间内都是共享的,不同线程访问只需要控制好线程之间的同步。 线程模式对资源消耗比较少。所以MySQL能支持远比PostgreSQL多的更多的连接。但PostgreSQL中有优秀的连接池软件软件,如pgbouncer和pgpool,所以通过连接池也可以支持很多的连接。

    [5]、权限设置上更加完善

    MySQL在权限系统上比PostgreSQL某些方面更为完善。PostgreSQL只支持对于每一个用户在一个数据库上或一个数据表上的 INSERT、SELECT和UPDATE/DELETE的授权,而MySQL允许你定义一整套的不同的数据级、表级和列级的权限。对于列级的权限, PostgreSQL可以通过建立视图,并确定视图的权限来弥补。MySQL还允许你指定基于主机的权限,这对于目前的PostgreSQL是无法实现的,但是在很多时候,这是有用的。

    [6]、存储引擎插件化机制

    MySQL的存储引擎插件化机制,使得它的应用场景更加广泛,比如除了innodb适合事务处理场景外,myisam适合静态数据的查询场景。

    [7]、适应24/7运行

    MySQL可以适应24/7运行。在绝大多数情况下,你不需要为MySQL运行任何清除程序。PostgreSQL目前仍不完全适应24/7运行,这是因为你必须每隔一段时间运行一次VACUUM。

    [8]、更加试用于简单的场景

    PostgreSQL只支持堆表,不支持索引组织表,Innodb只支持索引组织表。

    • 索引组织表的优势:表内的数据就是按索引的方式组织,数据是有序的,如果数据都是按主键来访问,那么访问数据比较快。而堆表,按主键访问数据时,是需要先按主键索引找到数据的物理位置。
    • 索引组织表的劣势:索引组织表中上再加其它的索引时,其它的索引记录的数据位置不再是物理位置,而是主键值,所以对于索引组织表来说,主键的值不能太大,否则占用的空间比较大。

    对于索引组织表来说,如果每次在中间插入数据,可能会导致索引分裂,索引分裂会大大降低插入的性能。所以对于使用innodb来说,我们一般最好让主键是一个无意义的序列,这样插入每次都发生在最后,以避免这个问题。 由于索引组织表是按一个索引树,一般它访问数据块必须按数据块之间的关系进行访问,而不是按物理块的访问数据的,所以当做全表扫描时要比堆表慢很多,这可能在OLTP中不明显,但在数据仓库的应用中可能是一个问题。

    总结

    MySQL从一开始就没有打算做所有事情,因而它在功能方面有一定的局限性,并不能满足一些先进应用程序的要求。MySQL对某些功能(例如引用、事务、审计等)的实现方式使得它与其他的关系型数据库相比缺少了一些可靠性。对于简单繁重的读取操作,使用PostgreSQL可能有点小题大做,同时性能也比MySQL这样的同类产品要差。除非你需要绝对的数据完整性,ACID遵从性或者设计复杂,否则PostgreSQL对于简单的场景而言有点多余。

    如何你确定只在MySQL和PostgreSQL中进行选择,以下规则总是有效的:

    • 如果你的操作系统是Windows,你应该使用MySQL。
    • 当绝对需要可靠性和数据完整性的时候,PostgreSQL是更好的选择。
    • 如果需要数据库执行定制程序,那么可扩展的PostgreSQL是更好的选择。
    • 你的应用处理的是地理数据,由于R-TREES的存在,你应该使用PostgreSQL。
    • 如果你对数据库并不了十分了解,甚至不知道事务、存储过程等究竟是什么,你应该使用MySQL。
    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - +

    为什么默认使用PostgreSQL数据库?

    PostgreSQL VS MySQL

    PostgreSQL VS MySQL

    MySQL的背后是一个成熟的商业公司,而PostgreSQL的背后是一个庞大的志愿开发组。这使得MySQL的开发过程更为慎重,而PostgreSQL的反应更为迅速。这样的两种背景直接导致了各自固有的优点和缺点。

    MySQL

    MySQL声称自己是最流行的开源数据库。LAMP中的M指的就是MySQL。构建在LAMP上的应用都会使用MySQL,如WordPress、Drupal等大多数php开源程序。MySQL最初是由MySQL AB开发的,然后在2008年以10亿美金的价格卖给了Sun公司,Sun公司又在2010年被Oracle收购。Oracle支持MySQL的多个版本:Standard、Enterprise、Classic、Cluster、Embedded与Community。其中有一些是免费下载的,另外一些则是收费的。其核心代码基于GPL许可,由于MySQL被控制在Oracle,社区担心会对MySQL的开源会有影响,所以开发了一些分支,比如: MariaDB和Percona。

    PostgreSQL

    PostgreSQL标榜自己是世界上最先进的开源数据库。PostgreSQL的一些粉丝说它能与Oracle相媲美,而且没有那么昂贵的价格和傲慢的客服。最初是1985年在加利福尼亚大学伯克利分校开发的,作为Ingres数据库的后继。PostgreSQL是完全由社区驱动的开源项目。它提供了单个完整功能的版本,而不像MySQL那样提供了多个不同的社区版、商业版与企业版。PostgreSQL基于自由的BSD/MIT许可,组织可以使用、复制、修改和重新分发代码,只需要提供一个版权声明即可。

    PostgreSQL相对于MySQL的优势

    [1]、不仅仅是关系型数据库

    除了存储正常的数据类型外,还支持存储:

    • array,不管是一位数组还是多为数组均支持
    • json(hStore)和jsonb,相比使用text存储接送要高效很多
    • json和jsonb之间的区别

    jsonb和json在更高的层面上看起来几乎是一样的,但在存储实现上是不同的。

    • json存储完的文本,json列会每次都解析存储的值,它不支持索引,但你可以为查询创建表达式索引。
    • jsonb存储的二进制格式,避免了重新解析数据结构。它支持索引,这意味着你可以不使用指定的索引就能查询任何路径。

    当我们比较写入数据速度时,由于数据存储的方式的原因,jsonb会比json稍微的慢一点。json列会每次都解析存储的值,这意味着键的顺序要和输入的时候一样。但jsonb不同,以二进制格式存储且不保证键的顺序。因此,如果你有软件需要依赖键的顺序,jsonb可能不是你的应用的最佳选择。使用jsonb的优势还在于你可以轻易的整合关系型数据和非关系型数据, PostgreSQL对于mongodb这类的基于文档的数据库是个不小的威胁,毕竟如果一个表中只有一列数据的类型是半结构化的,没有必要为了迁就它而整个表的设计采用schemaless的结构。

    [2]、支持地理信息处理扩展

    PostGIS 为PostgreSQL提供了存储空间地理数据的支持,使PostgreSQL成为了一个空间数据库,能够进行空间数据管理、数量测量与几何拓扑分析。在功能上,和MYSQL对比,PostGIS具有下列优势:

    O2O业务场景中的LBS业务使用PostgreSQL + PostGIS有无法比拟的优势。

    [3]、可以快速构建REST API

    PostgREST 可以方便的为任何 PostgreSQL 数据库提供完全的 RESTful API 服务。

    [4]、支持树状结构

    支持R-trees这样可扩展的索引类型,可以更方便地处理一些特殊数据。MySQL 处理树状的设计会很复杂, 而且需要写很多代码, 而 PostgreSQL 可以高效处理树结构。

    [5]、有极其强悍的 SQL 编程能力

    支持递归,有非常丰富的统计函数和统计语法支持。

    MySQL:支持 CREATE PROCEDURE 和 CREATE FUNCTION 语句。存储过程可以用 SQL 和 C++ 编写。用户定义函数可以用 SQL、C 和 C++ 编写。 PostgreSQL:没有单独的存储过程,都是通过函数实现的。用户定义函数可以用 PL/pgSQL(专用的过程语言)、PL/Tcl、PL/Perl、PL/Python 、SQL 和 C 编写。

    [6]、外部数据源支持

    可以把 70 种外部数据源 (包括 Mysql, Oracle, CSV, hadoop …) 当成自己数据库中的表来查询。Postgres有一个针对这一难题的解决方案:一个名为“外部数据封装器(Foreign Data Wrapper,FDW)”的特性。该特性最初由PostgreSQL社区领袖Dave Page四年前根据SQL标准SQL/MED(SQL Management of External Data)开发。FDW提供了一个SQL接口,用于访问远程数据存储中的远程大数据对象,使DBA可以整合来自不相关数据源的数据,将它们存入Postgres数据库中的一个公共模型。这样,DBA就可以访问和操作其它系统管理的数据,就像在本地Postgres表中一样。例如,使用FDW for MongoDB,数据库管理员可以查询来自文档数据库的数据,并使用SQL将它与来自本地Postgres表的数据相关联。借助这种方法,用户可以将数据作为行、列或JSON文档进行查看、排序和分组。他们甚至可以直接从Postgres向源文档数据库写入(插入、更细或删除)数据,就像一个一体的无缝部署。也可以对Hadoop集群或MySQL部署做同样的事。FDW使Postgres可以充当企业的中央联合数据库或“Hub”。

    [7]、没有字符串长度限制

    一般关系型数据库的字符串有限定长度8k左右,无限长 TEXT 类型的功能受限,只能作为外部大数据访问。而PostgreSQL的 TEXT 类型可以直接访问,SQL语法内置正则表达式,可以索引,还可以全文检索,或使用xml xpath。MySQL 的各种text字段有不同的限制,要手动区分 small text, middle text, large text… PostgreSQL 没有这个限制,text 能支持各种大小。

    [8]、支持图结构数据存储

    没有具体使用过,具体可以自己搜索下。参考链接open in new window

    [9]、支持窗口函数

    窗口函数提供跨行相关的当前查询行集执行计算的能力。仅当调用跟着OVER子句的聚集函数,作为窗口函数;否则它们作为常规的聚合函数。窗口也是一种分组,但和 group by 的分组不同。窗口,可以提供分组之外,还可以执行对每个窗口进行计算。可以想象成是group by 后,然后对每个分组进行计算,而不像Group by ,只是单纯地分组。MySQL 不支持 OVER 子句, 而PostgreSQL支持。OVER 子句能简单的解决 “每组取 top 5” 的这类问题。MySQL支持的SQL语法(ANSI SQL标准)的很小一部分。不支持递归查询、通用表表达式(Oracle的with 语句)或者窗口函数(分析函数)。

    [10]、对索引的支持更强

    PostgreSQL 的可以使用函数和条件索引,这使得PostgreSQL数据库的调优非常灵活,mysql就没有这个功能,条件索引在web应用中很重要。对于索引类型:

    MySQL:取决于存储引擎。MyISAM:BTREE,InnoDB:BTREE。 PostgreSQL:支持 B-树、哈希、R-树和 Gist 索引。 InnoDB的表和索引都是按相同的方式存储。也就是说表都是索引组织表。这一般要求主键不能太长而且插入时的主键最好是按顺序递增,否则对性能有很大影响。PostgreSQL不存在这个问题。

    索引类型方面,MySQL取决于存储引擎。MyISAM:BTREE,InnoDB:B+TREE。PostgreSQL支持 B-树、哈希、R-树和 Gist 索引。

    [11]、集群支持更好

    Mysql Cluster可能与你的想象有较大差异。开源的cluster软件较少。复制(Replication)功能是异步的并且有很大的局限性。例如,它是单线程的(single-threaded),因此一个处理能力更强的Slave的恢复速度也很难跟上处理能力相对较慢的Master。

    PostgreSQL有丰富的开源cluster软件支持。plproxy 可以支持语句级的镜像或分片,slony 可以进行字段级的同步设置,standby 可以构建WAL文件级或流式的读写分离集群,同步频率和集群策略调整方便,操作非常简单。

    另外,PostgreSQL的主备复制属于物理复制,相对于MySQL基于binlog的逻辑复制,数据的一致性更加可靠,复制性能更高,对主机性能的影响也更小。对于WEB应用来说,复制的特性很重要,mysql到现在也是异步复制,pgsql可以做到同步,异步,半同步复制。还有mysql的同步是基于binlog复制,类似oracle golden gate,是基于stream的复制,做到同步很困难,这种方式更加适合异地复制,pgsql的复制基于wal,可以做到同步复制。同时,pgsql还提供stream复制。

    [12]、事务隔离做的更好

    MySQL 的事务隔离级别 repeatable read 并不能阻止常见的并发更新, 得加锁才可以, 但悲观锁会影响性能, 手动实现乐观锁又复杂. 而 PostgreSQL 的列里有隐藏的乐观锁 version 字段, 默认的 repeatable read 级别就能保证并发更新的正确性, 并且又有乐观锁的性能。

    [13]、对于字符支持更好一些

    MySQL 里需要 utf8mb4 才能显示 emoji 的坑, PostgreSQL 没这个坑。

    [14]、对表连接支持较完整

    对表连接支持较完整,MySQL只有一种表连接类型:嵌套循环连接(nested-loop),不支持排序-合并连接(sort-merge join)与散列连接(hash join)。PostgreSQL都支持。

    [15]、存储方式支持更大的数据量

    PostgreSQL主表采用堆表存放,MySQL采用索引组织表,能够支持比MySQL更大的数据量。

    [16]、时间精度更高

    MySQL对于时间、日期、间隔等时间类型没有秒以下级别的存储类型,而PostgreSQL可以精确到秒以下。

    [17]、优化器的功能较完整

    MySQL对复杂查询的处理较弱,查询优化器不够成熟,explain看执行计划的结果简单。性能优化工具与度量信息不足。

    PostgreSQL很强大的查询优化器,支持很复杂的查询处理。explain返回丰富的信息。提供了一些性能视图,可以方便的看到发生在一个表和索引上的select、delete、update、insert统计信息,也可以看到cache命中率。网上有一个开源的pgstatspack工具。

    [18]、序列支持更好

    MySQL 不支持多个表从同一个序列中取 id, 而 PostgreSQL 可以。

    [19]、对子查询支持更好

    对子查询的支持。虽然在很多情况下在SQL语句中使用子查询效率低下,而且绝大多数情况下可以使用带条件的多表连接来替代子查询,但是子查询的存在在很多时候仍然不可避免。而且使用子查询的SQL语句与使用带条件的多表连接相比具有更高的程序可读性。几乎任何数据库的子查询 (subquery) 性能都比 MySQL 好。

    [20]、增加列更加简单

    MySQL表增加列,基本上是重建表和索引,会花很长时间。PostgreSQL表增加列,只是在数据字典中增加表定义,不会重建表.

    MySQL相对于PostgreSQL的优势

    [1]、MySQL比PostgreSQL更流行

    流行对于一个商业软件来说,也是一个很重要的指标,流行意味着更多的用户,意味着经受了更多的考验,意味着更好的商业支持、意味着更多、更完善的文档资料。易用,很容易安装。第三方工具,包括可视化工具,让用户能够很容易入门。

    [2]、回滚实现更优

    innodb的基于回滚段实现的MVCC机制,相对PG新老数据一起存放的基于XID的MVCC机制,是占优的。新老数据一起存放,需要定时触发VACUUM,会带来多余的IO和数据库对象加锁开销,引起数据库整体的并发能力下降。而且VACUUM清理不及时,还可能会引发数据膨胀。

    [3]、在Windows上运行更可靠

    与PostgreSQL相比,MySQL更适宜在Windows环境下运行。MySQL作为一个本地的Windows应用程序运行(在 NT/Win2000/WinXP下,是一个服务),而PostgreSQL是运行在Cygwin模拟环境下。PostgreSQL在Windows下运行没有MySQL稳定,应该是可以想象的。

    [4]、线程模式相比进程模式的优势

    MySQL使用了线程,而PostgreSQL使用的是进程。在不同线程之间的环境转换和访问公用的存储区域显然要比在不同的进程之间要快得多。

    进程模式对多CPU利用率比较高。进程模式共享数据需要用到共享内存,而线程模式数据本身就是在进程空间内都是共享的,不同线程访问只需要控制好线程之间的同步。 线程模式对资源消耗比较少。所以MySQL能支持远比PostgreSQL多的更多的连接。但PostgreSQL中有优秀的连接池软件软件,如pgbouncer和pgpool,所以通过连接池也可以支持很多的连接。

    [5]、权限设置上更加完善

    MySQL在权限系统上比PostgreSQL某些方面更为完善。PostgreSQL只支持对于每一个用户在一个数据库上或一个数据表上的 INSERT、SELECT和UPDATE/DELETE的授权,而MySQL允许你定义一整套的不同的数据级、表级和列级的权限。对于列级的权限, PostgreSQL可以通过建立视图,并确定视图的权限来弥补。MySQL还允许你指定基于主机的权限,这对于目前的PostgreSQL是无法实现的,但是在很多时候,这是有用的。

    [6]、存储引擎插件化机制

    MySQL的存储引擎插件化机制,使得它的应用场景更加广泛,比如除了innodb适合事务处理场景外,myisam适合静态数据的查询场景。

    [7]、适应24/7运行

    MySQL可以适应24/7运行。在绝大多数情况下,你不需要为MySQL运行任何清除程序。PostgreSQL目前仍不完全适应24/7运行,这是因为你必须每隔一段时间运行一次VACUUM。

    [8]、更加试用于简单的场景

    PostgreSQL只支持堆表,不支持索引组织表,Innodb只支持索引组织表。

    • 索引组织表的优势:表内的数据就是按索引的方式组织,数据是有序的,如果数据都是按主键来访问,那么访问数据比较快。而堆表,按主键访问数据时,是需要先按主键索引找到数据的物理位置。
    • 索引组织表的劣势:索引组织表中上再加其它的索引时,其它的索引记录的数据位置不再是物理位置,而是主键值,所以对于索引组织表来说,主键的值不能太大,否则占用的空间比较大。

    对于索引组织表来说,如果每次在中间插入数据,可能会导致索引分裂,索引分裂会大大降低插入的性能。所以对于使用innodb来说,我们一般最好让主键是一个无意义的序列,这样插入每次都发生在最后,以避免这个问题。 由于索引组织表是按一个索引树,一般它访问数据块必须按数据块之间的关系进行访问,而不是按物理块的访问数据的,所以当做全表扫描时要比堆表慢很多,这可能在OLTP中不明显,但在数据仓库的应用中可能是一个问题。

    总结

    MySQL从一开始就没有打算做所有事情,因而它在功能方面有一定的局限性,并不能满足一些先进应用程序的要求。MySQL对某些功能(例如引用、事务、审计等)的实现方式使得它与其他的关系型数据库相比缺少了一些可靠性。对于简单繁重的读取操作,使用PostgreSQL可能有点小题大做,同时性能也比MySQL这样的同类产品要差。除非你需要绝对的数据完整性,ACID遵从性或者设计复杂,否则PostgreSQL对于简单的场景而言有点多余。

    如何你确定只在MySQL和PostgreSQL中进行选择,以下规则总是有效的:

    • 如果你的操作系统是Windows,你应该使用MySQL。
    • 当绝对需要可靠性和数据完整性的时候,PostgreSQL是更好的选择。
    • 如果需要数据库执行定制程序,那么可扩展的PostgreSQL是更好的选择。
    • 你的应用处理的是地理数据,由于R-TREES的存在,你应该使用PostgreSQL。
    • 如果你对数据库并不了十分了解,甚至不知道事务、存储过程等究竟是什么,你应该使用MySQL。
    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    + diff --git a/docs/basic-knowledge/spring-data-jpa.html b/docs/basic-knowledge/spring-data-jpa.html index 972d48ce4..ec803330d 100644 --- a/docs/basic-knowledge/spring-data-jpa.html +++ b/docs/basic-knowledge/spring-data-jpa.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();Spring Data JPA | Eurynome Cloud - + -

    Spring Data JPA

    JPA

    JPA(Java Persistence API)意即Java持久化API,是Sun官方在JDK5.0后提出的Java持久化规范(JSR 338,这些接口所在包为javax.persistence,详细内容可参考https://github.com/javaee/jpa-specopen in new window

    JPA的出现主要是为了简化持久层开发以及整合ORM技术,结束 HibernateTopLinkJDOORM框架各自为营的局面。JPA是在吸收现有ORM框架的基础上发展而来,易于使用,伸缩性强。总的来说,JPA包括以下3方面的技术:

    • ORM映射元数据: 支持XML和注解两种元数据的形式,元数据描述对象和表之间的映射关系
    • API: 操作实体对象来执行CRUD操作
    • 查询语言: 通过面向对象而非面向数据库的查询语言(JPQL)查询数据,避免程序的SQL语句紧密耦合

    JPA架构

    Spring Data Jpa

    Spring官方的解释https://spring.io/projects/spring-data-jpa#overviewopen in new window

    Spring Data Jpa官方解释

    Spring Data JPASpring Data 家族的一部分,可以轻松实现基于 JPA 的存储库。 此模块处理对基于 JPA 的数据访问层的增强支持。 它使构建使用数据访问技术的Spring驱动应用程序变得更加容易。

    在相当长的一段时间内,实现应用程序的数据访问层一直很麻烦。 必须编写太多样板代码来执行简单查询以及执行分页和审计。 Spring Data JPA 旨在通过减少实际需要的工作量来显著改善数据访问层的实现。 作为开发人员,您编写repository接口,包括自定义查找器方法,Spring将自动提供实现。

    Spring Data生态

    Jpa、Hibernate、Spring Data Jpa三者之间的关系

    这个问题可参考https://stackoverflow.com/questions/16148188/spring-data-jpa-versus-jpa-whats-the-difference及https://blog.csdn.net/u014421556/article/details/52635000open in new window

    总的来说JPAORM规范,HibernateTopLink 等是 JPA 规范的具体实现,这样的好处是开发者可以面向 JPA 规范进行持久层的开发,而底层的实现则是可以切换的。Spring Data Jpa 则是在 JPA 之上添加另一层抽象(Repository层的实现),极大地简化持久层开发及 ORM 框架切换的成本。

    Jpa、Hibernate、Spring Data Jpa三者之间的关系

    Spring Data Jpa的java配置方案

    Spring Boot 没出来之前如果要采用 Java Configuration 来配置 Spring Data Jpa 你需要配置如下的Bean 参考自Spring In Action及Spring Data Jpa官方文档5.1.2. Annotation-based Configurationopen in new window

    import org.springframework.context.annotation.Bean;
    +    

    Spring Data JPA

    JPA

    JPA(Java Persistence API)意即Java持久化API,是Sun官方在JDK5.0后提出的Java持久化规范(JSR 338,这些接口所在包为javax.persistence,详细内容可参考https://github.com/javaee/jpa-specopen in new window

    JPA的出现主要是为了简化持久层开发以及整合ORM技术,结束 HibernateTopLinkJDOORM框架各自为营的局面。JPA是在吸收现有ORM框架的基础上发展而来,易于使用,伸缩性强。总的来说,JPA包括以下3方面的技术:

    • ORM映射元数据: 支持XML和注解两种元数据的形式,元数据描述对象和表之间的映射关系
    • API: 操作实体对象来执行CRUD操作
    • 查询语言: 通过面向对象而非面向数据库的查询语言(JPQL)查询数据,避免程序的SQL语句紧密耦合

    JPA架构

    Spring Data Jpa

    Spring官方的解释https://spring.io/projects/spring-data-jpa#overviewopen in new window

    Spring Data Jpa官方解释

    Spring Data JPASpring Data 家族的一部分,可以轻松实现基于 JPA 的存储库。 此模块处理对基于 JPA 的数据访问层的增强支持。 它使构建使用数据访问技术的Spring驱动应用程序变得更加容易。

    在相当长的一段时间内,实现应用程序的数据访问层一直很麻烦。 必须编写太多样板代码来执行简单查询以及执行分页和审计。 Spring Data JPA 旨在通过减少实际需要的工作量来显著改善数据访问层的实现。 作为开发人员,您编写repository接口,包括自定义查找器方法,Spring将自动提供实现。

    Spring Data生态

    Jpa、Hibernate、Spring Data Jpa三者之间的关系

    这个问题可参考https://stackoverflow.com/questions/16148188/spring-data-jpa-versus-jpa-whats-the-difference及https://blog.csdn.net/u014421556/article/details/52635000open in new window

    总的来说JPAORM规范,HibernateTopLink 等是 JPA 规范的具体实现,这样的好处是开发者可以面向 JPA 规范进行持久层的开发,而底层的实现则是可以切换的。Spring Data Jpa 则是在 JPA 之上添加另一层抽象(Repository层的实现),极大地简化持久层开发及 ORM 框架切换的成本。

    Jpa、Hibernate、Spring Data Jpa三者之间的关系

    Spring Data Jpa的java配置方案

    Spring Boot 没出来之前如果要采用 Java Configuration 来配置 Spring Data Jpa 你需要配置如下的Bean 参考自Spring In Action及Spring Data Jpa官方文档5.1.2. Annotation-based Configurationopen in new window

    import org.springframework.context.annotation.Bean;
     import org.springframework.context.annotation.Configuration;
     import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
     import org.springframework.orm.jpa.JpaTransactionManager;
    @@ -731,6 +731,6 @@
         }
     }
     
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14

    更多关于Jpa Specificationsopen in new windowExampleopen in new window查询请查阅官方文档

    更新时间: 2021/9/8 上午12:03:33
    贡献者: herodotus
    - + diff --git a/docs/configurations/index.html b/docs/configurations/index.html index d9c523a65..585d589bc 100644 --- a/docs/configurations/index.html +++ b/docs/configurations/index.html @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();快速配置 | Eurynome Cloud - + @@ -19,6 +19,6 @@ org.springframework.security: debug com.alibaba.nacos.client.naming: error
    1
    2
    3
    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - + diff --git "a/docs/configurations/\347\263\273\347\273\237\351\205\215\347\275\256.html" "b/docs/configurations/\347\263\273\347\273\237\351\205\215\347\275\256.html" index daec027c7..f425fd812 100644 --- "a/docs/configurations/\347\263\273\347\273\237\351\205\215\347\275\256.html" +++ "b/docs/configurations/\347\263\273\347\273\237\351\205\215\347\275\256.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();系统配置 | Eurynome Cloud - + - + diff --git "a/docs/configurations/\347\273\204\344\273\266\351\205\215\347\275\256.html" "b/docs/configurations/\347\273\204\344\273\266\351\205\215\347\275\256.html" index ed7a6ca64..04031988e 100644 --- "a/docs/configurations/\347\273\204\344\273\266\351\205\215\347\275\256.html" +++ "b/docs/configurations/\347\273\204\344\273\266\351\205\215\347\275\256.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();组件配置 | Eurynome Cloud - + - + diff --git a/docs/documents-athena/index.html b/docs/documents-athena/index.html index 687ed2760..b8aa37650 100644 --- a/docs/documents-athena/index.html +++ b/docs/documents-athena/index.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();介绍 | Eurynome Cloud - +

    介绍

    Athena 是什么?

    • Eurynome Cloud Athena 是从 Eurynome Cloud 中提取出来的、可以独立运行的、基于OAuth2认证的、前后端分离的单体式后台管理脚手架。
    • Eurynome Cloud Athena 本质上就是eurynome-cloud-oauth-starter的应用。从pom中可以看到该工程核心依赖就是 Eurynome Cloudeurynome-cloud-oauth-starter
    • Eurynome Cloud Athena 更多的是一个演示性工程,用来示例如何使用eurynome-cloud-oauth-starter,以及相关的配置参数是如何配置的。也可以完全不用照搬Athena工程,自己新建一个Spring Boot工程,添加eurynome-cloud-oauth-starter依赖和相应的配置也可以使用。

    Athena 不是什么?

    Eurynome Cloud Athena 并不是一个完整的开源项目,其核心代码eurynome-cloud-oauth-starter,需要通过编译 Eurynome Cloud 生成(目前 Eurynome Cloud 核心包并没有提交至Maven中央仓库)。

    为什么 Athena 和 Eurynome Cloud 共享代码?

    不管是单独搭建基于Spring SecurityOAuth2的后台管理脚手架,还是构建基于Spring Cloud的分布式微服务架构,Spring SecurityOAuth2核心代码的应用方式都是不变的,可以是通用的,因此将SecurityOAuth2以及其它通用的代码放在 Eurynome Cloud 中,编译后供 Eurynome Cloud Athena 使用。

    曾经也考虑过,在重新提取一个工程,专门放置通用代码。但是这种方式,额外多了一道编译手续,也不便于对 Eurynome Cloud 整个代码的了解和使用,因此放弃了这种方式。

    为什么构建 Athena?

    基于Spring CloudSpring Cloud Alibaba的微服务架构,已经成为应用建设的主流方案。但是不可否认的是,搭建一套微服务架构所需的基础架构越来越多,也越来越复杂,所需的配套资源也越来越大。仅仅是在开发电脑上搭建一套运行开发调试环境,其复杂度和所需的资源也不容小觑。而很多应用,特别是小型应用,在早期开发中或者用户量不大的前期完全没有必要上一整套微服务,额外增加复杂度。很多情况下一套单体的、前后端分离的后台就足以满足。

    因为以上的考虑,才构建的 Eurynome Cloud Athena。其实只要Spring SecurityOAuth2核心代码写的足够通用,单体式架构就自然而然的产生了。

    Eurynome Cloud Athena 不需要搭建NacosELKSentinelSkywalking等基础设施,只要一个数据库就可以独立运行,而且具备微服务架构除服务管理以外的所有功能。不仅编译和运行速度有几倍的提升,而且只要代码规范、分包合理,可以快速无缝迁移到微服务架构。这有助于在项目早期快速建设项目,方便开发人员在本地进行开发以及技术研究。

    如果你没有大量的时间和资源搭建微服务架构,那么就可以尝试使用 Eurynome Cloud Athena,可以从另一个角度快速、全面地了解 Eurynome Cloud

    更新时间: 2021/9/7 下午2:44:55
    贡献者: herodotus
    - + diff --git "a/docs/documents-athena/\347\216\257\345\242\203\351\203\250\347\275\262.html" "b/docs/documents-athena/\347\216\257\345\242\203\351\203\250\347\275\262.html" index b0df20a84..061b61590 100644 --- "a/docs/documents-athena/\347\216\257\345\242\203\351\203\250\347\275\262.html" +++ "b/docs/documents-athena/\347\216\257\345\242\203\351\203\250\347\275\262.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();环境部署 | Eurynome Cloud - +

    环境部署

    后端运行

    [1]、检出代码创建工程

    具体操作与微服务版相同,参阅:检出代码创建工程

    [2]、创建数据库

    具体操作与微服务版相同,参阅:创建数据库

    [3]、修改配置

    根据自己的实际环境情况,修改 application.yml 中数据库以及Redis等相关配置。

    [4]、编译代码

    具体操作与微服务版相同,参阅:编译代码

    [5]、数据库创建和数据初始化

    具体操作与微服务版相同,参阅:数据库创建和数据初始化

    前端运行

    具体操作与微服务版相同,参阅:环境部署

    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - + diff --git a/docs/documents/index.html b/docs/documents/index.html index 85b1195e3..0c2d4d255 100644 --- a/docs/documents/index.html +++ b/docs/documents/index.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();介绍 | Eurynome Cloud - + -

    介绍

    Eurynome Cloud 微服务架构


    JDK 1.8+  Spring Boot 2.5.5  Spring Cloud 2020.0.4  Spring Cloud Alibaba 2021.1  Nacos 2.0.3  License Apache 2.0  码匠君  Version 2.5.5.50  Gitee star  Gitee fork

    提示

    有幸负责过一个“中台”项目,彻底告别了SSH。随着微服务以及相关架构使用和研究深入,发现很多方面都不能满足需求。研究过很多优秀的开源项目,感觉都不太适合自己。所以就想自己做一套属于自己的微服务架构,因此就有了Eurynome-Cloud

    Eurynome Cloud 是一款企业级微服务架构和服务能力开发平台。基于 Spring Boot 2.5.5Spring Cloud 2020.0.4Spring Cloud Alibaba 2021.1Nacos 2.0.3 等最新版本开发,遵循 Spring Boot 编程思想,高度模块化和可配置化。具备服务发现、配置、熔断、限流、降级、监控、多级缓存、分布式事务、工作流等功能,代码简洁,架构清晰,非常适合学习和企业作为基础框架使用

    总体架构

    架构图

    功能演示

    提示

    有特点的功能,正在逐步添加。

    [1]、基于URL的方法级动态权限配置

    架构图

    [2]、服务调用链监控

    架构图

    版本号说明

    本系统版本号,分为四段。

    • 第一段和第二段,与 Spring Boot 版本对应,根据采用的 Spring Boot 版本变更。例如,当前采用 Spring Boot 2.4.6 版本,那么就以2.4.X.X开头
    • 第三段,表示系统功能的变化
    • 第四段,表示系统功能维护及优化情况

    交流反馈

    • 有问题欢迎提交ISSUSopen in new window ,请写清楚问题的具体原因,重现步骤和环境(上下文)。Gitee评论中有字数限制,稍微复杂的内容不太便于回复。
    • 邮箱:herodotus@aliyun.com
    • QQ群:922565573open in new window
    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - +

    介绍

    Eurynome Cloud 微服务架构


    JDK 1.8+  Spring Boot 2.5.5  Spring Cloud 2020.0.4  Spring Cloud Alibaba 2021.1  Nacos 2.0.3  License Apache 2.0  码匠君  Version 2.5.5.60  Gitee star  Gitee fork

    提示

    有幸负责过一个“中台”项目,彻底告别了SSH。随着微服务以及相关架构使用和研究深入,发现很多方面都不能满足需求。研究过很多优秀的开源项目,感觉都不太适合自己。所以就想自己做一套属于自己的微服务架构,因此就有了Eurynome-Cloud

    Eurynome Cloud 是一款企业级微服务架构和服务能力开发平台。基于 Spring Boot 2.5.5Spring Cloud 2020.0.4Spring Cloud Alibaba 2021.1Nacos 2.0.3 等最新版本开发,遵循 Spring Boot 编程思想,高度模块化和可配置化。具备服务发现、配置、熔断、限流、降级、监控、多级缓存、分布式事务、工作流等功能,代码简洁,架构清晰,非常适合学习和企业作为基础框架使用

    总体架构

    架构图

    功能演示

    提示

    有特点的功能,正在逐步添加。

    [1]、基于URL的方法级动态权限配置

    架构图

    [2]、服务调用链监控

    架构图

    版本号说明

    本系统版本号,分为四段。

    • 第一段和第二段,与 Spring Boot 版本对应,根据采用的 Spring Boot 版本变更。例如,当前采用 Spring Boot 2.4.6 版本,那么就以2.4.X.X开头
    • 第三段,表示系统功能的变化
    • 第四段,表示系统功能维护及优化情况

    交流反馈

    • 有问题欢迎提交ISSUSopen in new window ,请写清楚问题的具体原因,重现步骤和环境(上下文)。Gitee评论中有字数限制,稍微复杂的内容不太便于回复。
    • 邮箱:herodotus@aliyun.com
    • QQ群:922565573open in new window
    更新时间: 2021/10/16 下午10:58:50
    贡献者: herodotus
    + diff --git "a/docs/documents/\344\276\235\350\265\226\347\273\204\344\273\266.html" "b/docs/documents/\344\276\235\350\265\226\347\273\204\344\273\266.html" index 708555848..b876907b6 100644 --- "a/docs/documents/\344\276\235\350\265\226\347\273\204\344\273\266.html" +++ "b/docs/documents/\344\276\235\350\265\226\347\273\204\344\273\266.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();依赖组件 | Eurynome Cloud - +
    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - + diff --git "a/docs/documents/\345\211\215\347\253\257\344\273\213\347\273\215.html" "b/docs/documents/\345\211\215\347\253\257\344\273\213\347\273\215.html" index 1be4811fd..673d93c49 100644 --- "a/docs/documents/\345\211\215\347\253\257\344\273\213\347\273\215.html" +++ "b/docs/documents/\345\211\215\347\253\257\344\273\213\347\273\215.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();前端概览 | Eurynome Cloud - +

    前端概览

    项目简介

    Eurynome Cloud UIEurynome Cloud 后台管理界面。是前后端分离的、独立运行的前端应用。基于 Vue 2.0 和 Typescript 4.2.X 构建,是组件库式的、模块化的前端工程。

    Vuetify 组件库为基础,依赖丰富的常用组件和 Material Design 的设计优势,让你无需大量美工工作的投入,就可以快速得到非常美观的界面功能。

    为什么没有使用 Vue 3

    Vue 3 已经出来将近一年了,很期待使用其新特性,让代码更简洁、更规范、更高效。为什么现在没有使用 Vue 3,主要原因是本项目定位于使用 Vuetify 组件,Vuetify 3 正在开发中,所以目前的版本仍旧在使用 Vue 2。目前工程代码已经全部切换为Typescript,就是为了迎接 Vue 3 和 Vuetify 3 做前序准备。

    主要特性

    • Eurynome Cloud UI是基于 Lernayarn workspaces 构建的, 以 Monorepo 方式管理代码的项目。
    • 基于 Vue 2.0 和 Typescript 4.2.X 构建。是组件库式的、模块化的前端工程。
    • 共性组件采用 Rollup 进行编译,做了已有认知范围内,能够做到的所有性能优化处理
    • 支持 Vue Webpack 方式编译,并对工程打包进行了深入优化。
    • 浏览器本地存储采用 localForage,支持 IndexedDB,WebSQL 和 localStorage 三种存储模式

    技术介绍

    Vuetify

    Vuetify 是一个用于 Vue.js 的 Material Design 组件框架。它的目标是提供所有必要的工具来创建美丽的内容丰富的应用程序。能够让没有任何设计技能的开发者创造出时尚的 Material 风格界面。

    为什么选择Vuetify

    Why

    • 与其他框架相比,Vuetify覆盖了几乎其他前端框架的功能,组件丰富,移动端和pc端能进行比较好的自适应。框架的可扩展性强,可以根据框架的组件,开发出更高效的组件。
    • 基于Vue cli提供了 Vuetify Plugin,集成更加方便,基本上实现一键集成,一个命令就能集成,省去很多配置。
    • 二次开发更加容易,基于 Vuetify 提供的框架进行二次开发,更加的容易。
    • 组件按需加载, Vuetify 框架内置了组件的按需加载,只要引用 Vuetify 组件,都是按需加载,大大减轻了进一步处理的时间成本。
    • Vuetify 与其他框架的集成,集成比较简单,以 Nuxt 框架的集成为例,能方便的进行集成,简单的集成,就能使用,并且和后台管理的功能页面使用无差别,可以加快使用的成本
    • 框架的持续的更新升级,基本每周都有更新,框架组件更新及时。便于系统技术升级。

    Typescript

    什么是TypeScript

    TypeScriptJavaScript 的一个超集,主要提供了类型系统和对 ES6 的支持,它由 Microsoft 开发,代码开源于 GitHub 上。

    TypeScriptJavaScript 的类型的超集,它可以编译成纯 JavaScript。编译出来的 JavaScript 可以运行在任何浏览器上。TypeScript 编译工具可以运行在任何服务器和任何系统上。TypeScript 是开源的。

    为什么选择TypeScript

    • TypeScript 增加了代码的可读性和可维护性

      • 类型系统实际上是最好的文档,大部分的函数看看类型的定义就可以知道如何使用了
      • 可以在编译阶段就发现大部分错误,这总比在运行时候出错好
      • 增强了编辑器和 IDE 的功能,包括代码补全、接口提示、跳转到定义、重构等
    • TypeScript 非常包容

      • TypeScript 是 JavaScript 的超集,.js 文件可以直接重命名为 .ts 即可
      • 即使不显式的定义类型,也能够自动做出类型推论
      • 可以定义从简单到复杂的几乎一切类型
      • 即使 TypeScript 编译报错,也可以生成 JavaScript 文件
      • 兼容第三方库,即使第三方库不是用 TypeScript 写的,也可以编写单独的类型文件供 TypeScript 读取
    • TypeScript 拥有活跃的社区

      • 大部分第三方库都有提供给 TypeScript 的类型定义文件
      • Google 开发的 Angular2 就是使用 TypeScript 编写的
      • TypeScript 拥抱了 ES6 规范,也支持部分 ESNext 草案的规范

    TypeScript 的缺点

    任何事物都是有两面性的,我认为 TypeScript 的弊端在于:

    • 有一定的学习成本,需要理解接口(Interfaces)、泛型(Generics)、类(Classes)、枚举类型(Enums)等前端工程师可能不是很熟悉的概念
    • 短期可能会增加一些开发成本,毕竟要多写一些类型的定义,不过对于一个需要长期维护的项目,TypeScript 能够减少其维护成本
    • 集成到构建流程需要一些工作量
    • 可能和一些库结合的不是很完美

    Monorepo

    Monorepo 是管理项目代码的一个方式,指在一个项目仓库 (repo) 中管理多个模块/包 (package),不同于常见的每个模块建一个 repo

    MonorepoMultirepo 是两种不同的源码管理理念,Monorepo 是把所有的相关项目都放在一个仓库中(例如:React, Angular, Babel, Jest, Umijs, ...),Multirepo 则是按模块把子项目拆分到多个仓库中(例如:Rollup, ...)。前者允许多元化发展(各项目可以有自己的构建工具、依赖管理策略、单元测试方法),后者希望集中管理,减少项目间的差异带来的沟通成本。

    Monorepo 最主要的好处是统一的工作流和 Code Sharing。比如我想看一个 pacakge 的代码、了解某段逻辑,不需要找它的 repo,直接就在当前 repo;当某个需求要修改多个 pacakge 时,不需要分别到各自的 repo 进行修改、测试、发版或者 npm link,直接在当前 repo 修改,统一测试、统一发版。只要搭建一套脚手架,就能管理(构建、测试、发布)多个 package。

    Lerna

    Lerna 是一个管理多个 npm 模块的工具,是 Babel 自己用来维护自己的 Monorepo 并开源出的一个项目。优化维护多包的工作流,解决多个包互相依赖,且发布需要手动维护多个包的问题。

    Rollup

    RollupJavaScript 的模块 bundler,可将一小段代码编译为更大或更复杂的内容,例如库或应用程序。

    它对 JavaScriptES6 修订版中包含的代码模块使用了新的标准化格式,而不是先前的特殊解决方案(例如 CommonJSAMD)。ES 模块使用户可以自由,无缝地结合自己喜欢的库中最有用的单个函数。

    模块说明

    Vue 相比传统 Javascript 开发,最大优势之一就是其强大的组件化和代码可复用化能力。Vue 极大的提升了前端代码编写的规范性和可维护性, Eurynome Cloud UI 采用 Mononrepo 组件库的方式构建前端工程,就是在已有 Vue 强大的组件化能力之上,进一步通用化前端工程代码。提升代码的开发速度和可维护性。

    @hecate/h-bpmn-moddle

    基于 bpmn-jsbpmn-js-properties-panelcamunda-bpmn-moddlediagram-js 构建的标准化的 Bpmn 2.0 在线工作流编辑器。实现编辑器网格、放大缩小、Redo、Undo、模型导入、导出XML、SVG格式模型、部署至服务等功能。

    以组件的形式定义的标准化组件,可在应用中直接引用。

    @hecate/h-button

    结合实际应用需求,基于 Vuetify Button 等组件封装的按钮组件。通用化按钮使用,减少代码中重复性代码量。

    以组件的形式定义的标准化组件,可在应用中直接引用。

    @hecate/h-table

    结合实际应用需求,基于 Vuetify Table 等组件封装的按钮组件。通用化按钮使用,减少代码中重复性代码量。

    以组件的形式定义的标准化组件,可在应用中直接引用。

    @hecate/plugins

    所有基于 VueVuetify 构建的应用,都需要重复配置 plugins 等信息。@hecate/plugins 将常规工程中,常用的第三方插件 plugins 配置通用化,方便和简化新工程构建的配置。

    以组件的形式定义的标准化组件,可在应用中直接引用。

    @hecate/utils

    将系统中通用的、工具类代码以及Lodash等工具统一封装,以组件的形式定义的标准化组件,可在应用中直接引用。

    @herodotus/ui

    基于 VuetifyVueTypescript 构建的 Eurynome Cloud 前端工程。

    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - + diff --git "a/docs/documents/\345\211\215\347\253\257\351\227\256\351\242\230.html" "b/docs/documents/\345\211\215\347\253\257\351\227\256\351\242\230.html" index b98b35fdf..55d61bad8 100644 --- "a/docs/documents/\345\211\215\347\253\257\351\227\256\351\242\230.html" +++ "b/docs/documents/\345\211\215\347\253\257\351\227\256\351\242\230.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();前端问题 | Eurynome Cloud - + @@ -46,6 +46,6 @@ yarn install
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14

    问题二:运行命令是出现禁止脚本运行的错误

    解决方法:打开 PowerShell(在小娜里搜就行),输入:

    set-executionpolicy remotesigned
     
    1

    之后选择 Y,问题就解决了。

    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - + diff --git "a/docs/documents/\345\244\232\347\216\257\345\242\203\351\205\215\347\275\256.html" "b/docs/documents/\345\244\232\347\216\257\345\242\203\351\205\215\347\275\256.html" index 0840d26b6..127846bf6 100644 --- "a/docs/documents/\345\244\232\347\216\257\345\242\203\351\205\215\347\275\256.html" +++ "b/docs/documents/\345\244\232\347\216\257\345\242\203\351\205\215\347\275\256.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();多环境配置 | Eurynome Cloud - + @@ -89,6 +89,6 @@ </properties> </profile>
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23

    Docker和K8S 多环境配置

    DockerK8S的多环境,因为不同使用者使用的方式不同,Eurynome Cloud 并没有过多涉及。Eurynome Cloud 中,也简单定义了自己Docker多环境,涉及productiondevelopment两个环境,主要区别是production环境docker打包会包含Skywalking Agent,而development环境docker打包只会包含应用,通过执行不同的docker-compose文件进行区分仅此而已。如果不使用Skywalking,使用development环境打包docker即可。

    Eurynome Cloud 的多环境配置

    微服务架构涉及多方面内容,Eurynome Cloud的为解决多环境,综合使用MavenSpring Boot以及Nacos多环境的特点,以支持微服务的多环境切换和多种数据库的配置支持。

    Eurynome Cloud 中的Maven多环境配置

    Eurynome Cloud Maven 多环境配置,在工程根目录下的pom.xml中进行配置。这里的环境配置主要解决以下问题:

    1. 传递参数:传递<profile.name><database.type>两个参数。
    • <profile.name>的值传递至bootstrap.yml中,这样就可以联动使用Spring BootNacos的多环境配置;
    • <database.type>参数,传递至bootstrap.yml中,用于指定具体使用的数据库配置
    1. Dashboard:通过<skip.build.source.package><skip.copy.docker.resource><skip.build.git.commit.info>三个参数进行打包控制。
    • <skip.build.source.package> 控制是否构建源代码包:构建源代码包便于调试eurynome-cloud-athena的调试。
    • <skip.copy.docker.resource> 控制是否拷贝服务jar包:编译完成后,将可执行额外操作,将服务jar包拷贝到统一的docker build context下,使用统一配置build docker,这样就不必每一个服务都编写Dockerfile
    • <skip.build.git.commit.info> 控制是否生成Git信息:是否将Git commit等相关信息在编译打包时,写入到jar包中。写入Git commit等相关信息,可以便于在运维过程中快速区分不同jar对应的提交信息、编译、开发者等相关信息。
    1. NacosSentinel Dashboard地址指定

    指定不同环境下Nacos配置中心、服务发现和Sentinel Dashboard的地址,Nacos配置中心、服务发现地址无法写在Nacos的配置中,所以在此处进行设置。

    Eurynome Cloud 中的Spring Boot和Nacos多环境配置

    • 通过Spring Bootprofiles机制,实现Spring BootNacos的联动。
    • 利用NacosGroup信息,实现Nacos配置的多环境。${project_home}/platform/eurynome-cloud-management/resources/configs目录下,还有一级目录。这级目录的名称,是对应Nacos中的Group。所以在向Nacos导入配置时,一定要注意Group的创建和匹配。切勿全部导入到DEFAULT组下,这样会导致无法正常运行。
    更新时间: 2021/9/7 下午2:44:55
    贡献者: herodotus
    - + diff --git "a/docs/documents/\345\270\270\347\224\250\345\221\275\344\273\244.html" "b/docs/documents/\345\270\270\347\224\250\345\221\275\344\273\244.html" index 5b2ced9eb..8ad158104 100644 --- "a/docs/documents/\345\270\270\347\224\250\345\221\275\344\273\244.html" +++ "b/docs/documents/\345\270\270\347\224\250\345\221\275\344\273\244.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();常用命令 | Eurynome Cloud - + @@ -49,6 +49,6 @@
    1

    让各个组件中重新关联依赖包

    lerna bootstrap 或 yarn install
     
    1

    提交代码

    yarn push
     
    1
    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - + diff --git "a/docs/documents/\345\277\253\351\200\237\344\272\206\350\247\243.html" "b/docs/documents/\345\277\253\351\200\237\344\272\206\350\247\243.html" index 6c17cfd57..259a89a57 100644 --- "a/docs/documents/\345\277\253\351\200\237\344\272\206\350\247\243.html" +++ "b/docs/documents/\345\277\253\351\200\237\344\272\206\350\247\243.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();快速了解 | Eurynome Cloud - +

    快速了解

    项目简介

    Eurynome Cloud 是一款基于 Spring BootSpring CloudSpring Cloud AlibabaVueVuetify 的前后端分离微服务架构和服务能力开发平台。同时还提供与微服务版本技术体系一致的单体版架构,无须搭建复杂的微服务基础设施,即可快速搭建基于 OAuth2 的、前后端分离的服务应用。

    主要特性

    • 面向互联网和企业级应用开发(支持手机验证码、小程序、第三方应用登录、支持证照审核、文本图片音频视频内容审核、企业人事管理等诸多功能)
    • Maven多模块依赖,高度模块化和可配置化,方便模块升级、增减模块。
    • 适配多种数据库类型,同时支持 Spring Data JPAMybatis Plus
    • 支持动态方法级权限,无须配置 @PreAuthorize 注解、使用 antMatchers 方法控制权限。
    • 完善的XSS防范及脚本过滤和SQL注入防控机制,便捷的、灵活的防刷机制、杜绝外部恶意攻击
    • 多种消息队列支持,基于消息总线适配 RabbitMQKafka
    • 自动化权限数据收集、数据表结构默认数据自动初始化、Nacos 配置自动导入。
    • 自研多级数据缓存,完美融合 Spring Data JPA & Hibernate 二级查询缓存。
    • 共享式、统一性多环境配置,统一化配置设定,简化配置参数修改数量,降低修改配置出错率,提升平台维护便捷性。

    技术选型

    1、系统环境

    • Java EE 8
    • Servlet 3.0
    • Apache Maven 3.0

    2、主框架

    • Spring Boot 2.5.X
    • Spring Cloud 2020.0.3
    • Spring Cloud Alibaba 2021.1
    • Spring Security & OAuth 2.0

    3、持久层

    • Apache Mybatis & Mybatis Plus
    • Spring Boot Data JPA
    • Spring Boot Validation
    • Jetcache、Caffeine、Redis lettuce

    内置功能

    • 用户管理:用户是系统操作者,该功能主要完成系统用户配置。包含第三方登录用户信息的管理。
    • 角色管理:创建用户角色,为角色权限分配、设置角色接口权限划分。
    • 权限管理:动态设定接口表达式权限,替代在代码中使用 @PreAuthorize 注解、antMatchers 方法等传统权限控制手段。
    • 终端管理OAuth2 终端信息管理,设置终端认证类型、Token有效时间、权限范围等信息。
    • 应用管理:结合 OAuth2 机制,创建应用信息,申请APP_KEY。
    • 范围管理:创建终端权限范围、设置范围对应权限。
    • 机构管理:配置系统组织机构,支持树形结构展示。
    • 部门管理:配置机构下属部门信息,支持树形机构展示。
    • 人员管理:配置机构人员信息,为人员分配和创建用户信息。
    • 归属管理:配置机构、部门和人员的归属关系,支持人员信息唯一,绑定标准机构、党团、工会等多种机构类型。避免针对不同机构类型为统一人员创建重复信息。此种结构设定,与Camunda工作流人员体系一一对应。
    • 系统接口:根据业务代码自动生成相关的api接口文档。
    • 服务监控:监视当前系统CPU、内存、磁盘、堆栈等相关信息。
    • 工作流编辑器:基于BPMN 2.0标准的在线工作流模型编辑器,支持SVGXML格式导入、导出。
    更新时间: 2021/9/8 上午12:03:33
    贡献者: herodotus
    - + diff --git "a/docs/documents/\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226.html" "b/docs/documents/\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226.html" index a98e75044..7be44f884 100644 --- "a/docs/documents/\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226.html" +++ "b/docs/documents/\346\225\260\346\215\256\345\210\235\345\247\213\345\214\226.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();数据初始化 | Eurynome Cloud - +

    数据初始化

    知识铺垫

    基础原理

    Eurynome Cloud 核心数据访问层使用Spring Boot生态中的spring-boot-starter-data-jpa组件,spring-boot-starter-data-jpa 核心依赖是 Spring Data JPA

    JPA(Java Persistence API)意即Java持久化API,是Sun官方在JDK5.0后提出的Java持久化规范。Spring Data JPA 默认使用 Hibernate 作为 JPA 实现。参阅:Spring Data JPA

    Spring Data JPA 利用 Hibernate 多数据库支持能力实现不同类型数据库的支持,同时使用 Hibernatehbm2ddl 机制 实现数据库表的自动创建。除此以外,Spring Data JPA 提供了数据库SQL脚本自动执行机制,实现了数据脚本的初始化和表结构等创建功能。

    Spring Data JPA 更换数据库

    通过修改spring-boot-starter-data-jpa对应的配置参数就可以达成更换数据库的目的。主要涉及需要修改的配置参数如下表所示:

    配置说明
    spring.datasource.driver-class-name数据库Driver Class,不同的数据库驱动不同
    spring.datasource.url数据库访问连接,不同数据连接格式也不同
    spring.datasource.username数据库访问用户名,如果相同可以不用修改
    spring.datasource.password数据库访问密码,如果相同可以不用修改
    spring.jpa.database选择数据库类型,具体类型与枚举org.springframework.orm.jpa.vendor.Database中的值对应,使用小写值即可
    spring.jpa.properties.hibernate.dialect选择数据库类型对应的dialect,在 org.hibernate.dialect 包下可以找到具体数据库对应的dialect
    spring.jpa.hibernate.ddl-auto设置hibernate初始化操作的类型,具体参见下表

    这里要特别注意 spring.jpa.hibernate.ddl-auto 参数。

    spring.jpa.hibernate.ddl-auto 参数包含以下几个值,具体含义见下表:

    属性说明
    create每次加载hibernate时都会删除上一次的生成的表,再重新根据model(与数据库表对应的实体)生成表,因此可能会导致数据丢失。
    create-drop每次加载hibernate时根据model类生成表,服务一关闭,表就自动删除。该设置适用于演示环境等特殊场景使用
    update最常用的属性,第一次加载hibernate时根据model类会自动建立起表的结构,再次使用时自动更新表结构,原有数据不会清空。
    validate每次加载hibernate时,会校验数据与数据库的字段类型是否相同,字段不同会报错。
    none不进行任何操作

    如果想要使用spring-boot-starter-data-jpa提供SQL自动初始化机制,那么还需要额外修改以下配置:

    通过以上配置参数的修改就可以进行数据库的切换,以及数据库表的创建.

    Spring Data JPA 初始化数据库

    Spring Data JPA 还提供的数据库SQL脚本的执行机制。将已生成好的数据库SQL脚本,放入到代码工程的resources目录下,按照指定格式命名,通过修改配置就可以实现SQL脚本的自动执行。

    具体SQL文件名的格式为:schema-${platform}.sqldata-${platform}.sqlplatform 是用来指定不同的数据库类型,以此来实现不同数据库脚本的切换。

    • schema-${platform}.sql:主要放置数据库定义语言(DDL)SQL脚本,例如:数据库表、视图、存储过程等。
    • data-${platform}.sql:主要放置数据操纵语言(DML)SQL脚本,例如:最经常用到的 SELECT、UPDATE、INSERT、DELETE。

    由此可见,schema-${platform}.sql 是先于 data-${platform}.sql 执行的。

    主要涉及需要修改的配置参数如下表所示:

    配置说明
    spring.sql.init.mode用于控制脚本执行状态。
    spring.sql.init.platform数据库类型,主要用于在data-locations 和 schema-locations 中定位不同数据库的脚本
    spring.sql.init.data-locationsDML SQL文件路径
    spring.sql.init.data-locationsDDL SQL文件路径

    这里要特别注意 spring.sql.init.mode 参数。

    spring.sql.init.mode 参数包含以下几个值,具体含义见下表:

    属性说明
    always总是执行,相当于开启
    never不执行,相当于关闭
    embedded仅初始化嵌入式数据库,特殊需求和设计会用到

    特别说明

    说明:

    Spring Data JPA 既可以通过 Hibernate 的机制进行数据库表的创建,也可以通过sql.init的方式进行数据库表以及数据初始化的创建。这两者是各自独立的、没有任何必然联系的。具体如何使用就要看设计者的考虑。

    两者的执行顺序不同,如果要两者同时使用一定要注意执行顺序,否则很容易导致运行出错。具体的顺序是:

    schema-${platform}.sql > data-${platform}.sql > hbm2ddl

    操作步骤

    Eurynome Cloud 数据库表创建和默认数据的初始化,就是使用 Spring Data JPA 自身的机制实现。

    Eurynome Cloud 数据库表创建和默认数据的初始化过程中, 主要会进行以下几项操作。

    • 创建核心业务表
    • 扫描已运行服务中所有的RestController接口,将接口数据转换为权限数据,并汇总至用户中心服务统一存储和管理。
    • 系统默认数据,如用户、角色等数据的初始化。

    注意

    具体开始之前,一定要确保所有前序工作已经完成。参阅:数据库初始化前序工作

    步骤一:创建数据表

    1. 进入Nacos管理界面。找到您所使用的对应 多环境 下的 eurynome-cloud-environment.yaml 配置文件。例如,您当前使用的是 development 环境,那么在Nacos后台管理中,找到 Groupdevelopmenteurynome-cloud-environment.yaml 配置。多环境配置,参阅:多环境配置

    2. 设置 eurynome-cloud-environment.yaml配置文件中属性 herodotus.switch.database.ddl-auto 的值为 createupdate

    说明

    • 如果是初次部署,或者想将已有表重新创建,那么将 herodotus.switch.database.ddl-auto 的值设置为 create
    • 如果是已经开始使用系统了,想保留已有的数据,只做更新,那么将 herodotus.switch.database.ddl-auto 的值设置为 update
    1. 点击发布按钮,发布配置,让配置生效。

    注意

    • 正式环境一定要提前做好数据备份

    • 如果是MySQL数据库的初次部署,那么最好将 herodotus.switch.database.ddl-auto 的值设置为 update,否则就会出错。

    • herodotus.switch.database.ddl-auto 的值设置为 update, 再次运行服务,由于 Hibernate 不同方言实现逻辑的不同,在有些数据库下运行,例如:PostgreSQL, 对于某些兼容性问题,只是输出告警;在某些数据库下运行,例如 MySQL,对于某些兼容性问题,会直接抛出Exception。所以出现这种情况,只要服务继续在运行就不是系统BUG;如果出错直接导致服务运行停止,那么请报 ISSUE。参阅:MySQL常见问题

    1. 运行 UpmsApplication 服务。

    UpmsApplication 服务第一次正常运行之后,所有核心业务表都已经创建,UpmsApplication 服务中所有接口都已经转换为权限数据存入sys_authority表中。

    如果看到有数据库表创建,同时sys_authority表中有数据,证明数据库表创建成功。

    步骤二:初始默认数据

    方式一:自动初始化

    1. 停止UpmsApplication 服务

    2. 进入Nacos管理界面。找到您所使用的对应 多环境 下的 eurynome-cloud-environment.yaml 配置文件。

    3. 设置 eurynome-cloud-environment.yaml 配置文件中属性 herodotus.switch.database.ddl-auto 的值为 updatenone

    4. 设置 eurynome-cloud-environment.yaml 配置文件中属性 herodotus.switch.database.init-mode 的值为 always

    5. 点击发布按钮,发布配置,让配置生效。

    6. 如果默认使用的不是 PostgreSQL 数据库,需要修改${project_home}/services/eurynome-cloud-upms-ability/resources/bootstrap.ymlspring.sql.init.data-locations 配置,放开您所使用数据库对应的SQL脚本。注释掉其它SQL脚本

    7. 再次运行 UpmsApplication 服务。

    UpmsApplication 服务再一次正常运行之后,如果sys_usersys_rolesys_role_authority等表中都都已经有数据了,证明数据初始化成功。

    方式二:手动初始化

    1. 设置 eurynome-cloud-environment.yaml 配置文件中属性 herodotus.switch.database.ddl-auto 的值为 updatenone

    2. 在工程${project_home}/services/eurynome-cloud-upms-ability/resources/sqls目录下,可以找到对应数据库数据初始化脚本。可以用你喜欢的方式导入数据库。

    采用手动初始化方式,下一步可以跳过忽略

    步骤三:回置配置

    1. 停止UpmsApplication 服务

    2. 进入Nacos管理界面。找到您所使用的对应 多环境 下的 eurynome-cloud-environment.yaml 配置文件。

    3. 设置 eurynome-cloud-environment.yaml 配置文件中属性 herodotus.switch.database.init-mode 的值重置为 never

    4. 检查 eurynome-cloud-environment.yaml 配置文件中属性 herodotus.switch.database.ddl-auto 的值为 updatenone

    5. 点击发布按钮,发布配置,让配置生效。

    为什么回置并再次检查

    • 如果 herodotus.switch.database.ddl-auto 的值为 createcreate-drop,再次启动服务会重新建表,那么前面的工作就白做了。
    • 如果 herodotus.switch.database.init-mode 的值为 always,再次启动服务会再次执行SQL脚本,必定出现主键冲突问题导致失败。

    总结

    经过实际的使用,总体感受 Spring Data JPA 以及 Hibernate 的多数据库支持还是非常强大,在 PostgreSQL 等自身版本差异不大的数据库家族中,使用非常顺滑。而像MySQL 这种自身各个版本差异较大的数据库家族中,使用起来确实有点蹩脚。

    配置参数对应关系

    Eurynome Cloud 数据库操作设计配置参数与spring-boot-starter-data-jpa配置参数对应关系如下表:

    配置对应
    herodotus.database-information.driver-class-namespring.datasource.driver-class-name
    herodotus.database-information.urlspring.datasource.url
    herodotus.environment.database.usernamespring.datasource.username
    herodotus.environment.database.passwordspring.datasource.password
    herodotus.database-information.platformspring.jpa.database
    spring.sql.init.platform
    herodotus.environment.database.dialectspring.jpa.properties.hibernate.dialect
    herodotus.switch.database.ddl-autospring.jpa.hibernate.ddl-auto
    herodotus.switch.database.init-modespring.sql.init.mode
    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - + diff --git "a/docs/documents/\346\226\260\345\273\272\345\255\220\346\250\241\345\235\227.html" "b/docs/documents/\346\226\260\345\273\272\345\255\220\346\250\241\345\235\227.html" index 55bfeea88..fbb5e60f2 100644 --- "a/docs/documents/\346\226\260\345\273\272\345\255\220\346\250\241\345\235\227.html" +++ "b/docs/documents/\346\226\260\345\273\272\345\255\220\346\250\241\345\235\227.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();新建子模块 | Eurynome Cloud - + @@ -336,6 +336,6 @@ port: 8719 dashboard: @sentinel.server-addr@
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    更新时间: 2021/9/8 上午12:03:33
    贡献者: herodotus
    - + diff --git "a/docs/documents/\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223.html" "b/docs/documents/\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223.html" index da11b904d..accce7bf1 100644 --- "a/docs/documents/\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223.html" +++ "b/docs/documents/\346\233\264\346\215\242\346\225\260\346\215\256\345\272\223.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();更换数据库 | Eurynome Cloud - + @@ -35,6 +35,6 @@
    1

    注意

    该值与步骤一中,eurynome-cloud-database-<database.type>.yaml的值对应。

    在Maven编译的过程中,<database.type>的值会作为参数传递到各个服务的boostrap.yml配置中,与boostrap.yml中已有的信息拼装成Nacos中对应的配置名。通过这种方式实现Maven多环境、Nacos配置、不同数据库配置的联动

    - data-id: eurynome-cloud-database-@database.type@.yaml
       group: common
     
    1
    2

    步骤四:添加数据库JDBC Driver

    目前,系统代码已经包含 PostgreSQLMySQL (支持 MySQL5MySQL8 )和 H2 三种数据库的JDBC Driver, 如果你使用数据库不在此范围内,那么就需要在代码包eurynome-cloud-datapom.xml中添加对应数据库的JDBC Driver

    步骤五:编译工程代码

    以上步骤完成之后,使用mvn packagemvn install命令,重新编译工程。

    注意

    这一步非常重要,因为Maven无法真正做到与yml配置文件的传参,只有通过编译,在编译过程中用pom.xml<database.type>的值,替换yml配置文件中的@database.type@模拟一种参数传递。

    修改配置之后,参考数据初始化章节进行数据库初始化工作。

    提示

    目前仅提供 PostgreSQLMySQL 两种数据库对应的数据初始化脚本,其它数据库需要自己额外处理。如需要使用Spring Data JPA初始化机制,需要手动修改spring.sql.init.*相关参数。

    步骤六:修改工作流服务数据库类型

    eurynome-cloud-bpmn-ability 模块中,找到bootstrap.yml。根据你所使用的数据库,修改配置camunda.bpm.database.type的值。

    说明

    camunda.bpm.database.type支持的值有: h2, mysql, mariadb, oracle, postgres, mssql, db2.

    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - + diff --git "a/docs/documents/\346\263\250\346\204\217\344\272\213\351\241\271.html" "b/docs/documents/\346\263\250\346\204\217\344\272\213\351\241\271.html" index 040c30b2a..4cdf9d6fd 100644 --- "a/docs/documents/\346\263\250\346\204\217\344\272\213\351\241\271.html" +++ "b/docs/documents/\346\263\250\346\204\217\344\272\213\351\241\271.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();注意事项 | Eurynome Cloud - + @@ -26,6 +26,6 @@ naming: physical-strategy: cn.herodotus.eurynome.data.jpa.hibernate.HerodotusPhysicalNamingStrategy
    1
    2
    3
    4
    5
    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - + diff --git "a/docs/documents/\346\267\273\345\212\240\346\250\241\345\235\227.html" "b/docs/documents/\346\267\273\345\212\240\346\250\241\345\235\227.html" index a1452da7a..eae1fd7d6 100644 --- "a/docs/documents/\346\267\273\345\212\240\346\250\241\345\235\227.html" +++ "b/docs/documents/\346\267\273\345\212\240\346\250\241\345\235\227.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();添加模块 | Eurynome Cloud - + @@ -39,6 +39,6 @@
    1
    2
    3
    4
    5

    以上只是示例,可以结合实际定义自己的简化命令。

    1. 其它模块应用该模块。

    可以通过以下命令,实现其它模块对该模块的依赖引用。

    // 将模块@hecate/moduleA 添加到 模块中@hecate/moduleA
     lerna add @hecate/moduleA --scope @hecate/moduleB
     
    1
    2

    添加Vue工程

    将一个单独的Vue工程,添加到工程中,作为一个模块使用。具体方法与 添加一般模块 类似。

    1. 新建一个Vue工程,使用 Vue Cli 或任意你喜欢的方式都可以。

    2. packages目录下,任意位置,新建模块目录。

    3. 将刚刚新建的Vue工程代码拷贝至,新建的模块目录下。

    4. 按照添加一般模块中,第4~7步的说明,同样操作一遍即可。

    说明

    使用 Vue Cli 会新建标准的 Vue 工程,package.json 中会包含完整的依赖包。只用 Monorepo 方式管理项目,可以将共性的依赖包放到模块外部进行统一管理,各个模块只需要管理自身所需要的依赖包即可。

    因此,可以对比 @herodotus/ui 模块的 package.json 的依赖定义,将新建的 Vue工程中,重复的依赖去掉。

    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - + diff --git "a/docs/documents/\347\216\257\345\242\203\351\203\250\347\275\262.html" "b/docs/documents/\347\216\257\345\242\203\351\203\250\347\275\262.html" index d04ff1268..e8bee8739 100644 --- "a/docs/documents/\347\216\257\345\242\203\351\203\250\347\275\262.html" +++ "b/docs/documents/\347\216\257\345\242\203\351\203\250\347\275\262.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();环境部署 | Eurynome Cloud - + @@ -66,7 +66,7 @@ yarn e:ui prod -
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

    [4]、运行验证

    打开浏览器,输入:http://localhost:3000open in new window 默认账户/密码 system/123456

    若能正确展示登录页面,并能成功登录,菜单及页面展示正常,则表明环境搭建成功

    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - +
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

    [4]、运行验证

    打开浏览器,输入:http://localhost:3000open in new window 默认账户/密码 system/123456

    若能正确展示登录页面,并能成功登录,菜单及页面展示正常,则表明环境搭建成功

    更新时间: 2021/10/16 下午10:58:50
    贡献者: herodotus
    + diff --git "a/docs/documents/\351\241\271\347\233\256\344\273\213\347\273\215.html" "b/docs/documents/\351\241\271\347\233\256\344\273\213\347\273\215.html" index bbd6cb9fb..55d08d2f6 100644 --- "a/docs/documents/\351\241\271\347\233\256\344\273\213\347\273\215.html" +++ "b/docs/documents/\351\241\271\347\233\256\344\273\213\347\273\215.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();项目介绍 | Eurynome Cloud - + @@ -65,6 +65,6 @@ ├── .editorconfig -- 编辑器统一设置 └── yarn.lock -- Yarn 依赖包锁定
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25

    核心技术

    后端核心技术

    (1)Spring相关核心技术及版本

    组件版本
    Spring Boot2.5.5
    Spring Cloud2020.0.4
    Spring Cloud Alibaba2021.1
    Spring Boot Admin2.5.1
    Nacos2.0.3
    Sentinel1.8.0
    Seata1.3.0

    (2)涉及的相关的技术

    • 持久层框架: Spring Data Jpa & Mybatis Plus
    • API网关:Spring Cloud Gateway
    • 服务注册&发现和配置中心: Alibaba Nacos
    • 服务消费:Spring Cloud OpenFeign & RestTemplate & OkHttps
    • 负载均衡:Spring Cloud Loadbalancer
    • 服务熔断&降级&限流:Alibaba Sentinel
    • 服务监控:Spring Boot Admin
    • 消息队列:使用 Spring Cloud 消息总线 Spring Cloud Bus 默认 Kafka 适配RabbitMQ
    • 链路跟踪:Skywalking
    • 分布式事务:Seata
    • 数据缓存:JetCache + Redis + Caffeine, 自定义多级缓存
    • 数据库: PostgresqlMySQLOracle ...
    • JSON序列化:Jackson & FastJson
    • 文件服务:阿里云OSS/Minio
    • 数据调试:p6spy
    • 在线文档:Springdoc + Swagger 3 + OpenAPI
    • 日志中心:ELK
    • 日志收集:Logstash Logback Encoder
    • 数据同步:Debezimu
    • 外部集成:JustAuthWxJava,多种短信API
    • 工作流引擎:Camunda

    前端核心技术

    • Vue2
    • Vuex
    • Vue-router
    • Vue-cli
    • Axios
    • Vuetify
    • Bpmn.js
    • Localforage
    • Rollup
    • Lerna

    版本关系

    组件版本关系

    Spring Cloud Alibaba VersionSentinel VersionNacos VersionRocketMQ VersionDubbo VersionSeata Version
    2.2.6.RELEASE1.8.11.4.24.4.02.7.81.3.0
    2021.1 or 2.2.5.RELEASE or 2.1.4.RELEASE or 2.0.4.RELEASE1.8.01.4.14.4.02.7.81.3.0
    2.2.3.RELEASE or 2.1.3.RELEASE or 2.0.3.RELEASE1.8.01.3.34.4.02.7.81.3.0
    2.2.1.RELEASE or 2.1.2.RELEASE or 2.0.2.RELEASE1.7.11.2.14.4.02.7.61.2.0
    2.2.0.RELEASE1.7.11.1.44.4.02.7.4.11.0.0
    2.1.1.RELEASE or 2.0.1.RELEASE or 1.5.1.RELEASE1.7.01.1.44.4.02.7.30.9.0
    2.1.0.RELEASE or 2.0.0.RELEASE or 1.5.0.RELEASE1.6.31.1.14.4.02.7.30.7.1

    毕业版本关系(推荐使用)

    Spring Cloud VersionSpring Cloud Alibaba VersionSpring Boot Version
    Spring Cloud 2020.0.12021.12.4.2
    Spring Cloud Hoxton.SR92.2.6.RELEASE2.3.2.RELEASE
    Spring Cloud Greenwich.SR62.1.4.RELEASE2.1.13.RELEASE
    Spring Cloud Hoxton.SR32.2.1.RELEASE2.2.5.RELEASE
    Spring Cloud Hoxton.RELEASE2.2.0.RELEASE2.2.X.RELEASE
    Spring Cloud Greenwich2.1.2.RELEASE2.1.X.RELEASE
    Spring Cloud Finchley2.0.4.RELEASE(停止维护,建议升级)2.0.X.RELEASE
    Spring Cloud Edgware1.5.1.RELEASE(停止维护,建议升级)1.5.X.RELEASE

    功能介绍

    [1]、统一安全认证中心

    • OAuth2 安全认证

    支持 OAuth2 授权码模式、隐式授权码模式(简单模式)、密码模式和客户端模式四种登录模式

    • JWT Token令牌

    采用JWT对OAuth2 Token进行加密

    • 自定义OAuth2页面

    自定义OAuth2 login、confirm、error页面,提升系统使用用户体验。可结合自身需求进行修改。

    • OAuth2 登录验证码

    OAuth2登录增加验证码保护,支持gif、中文、算数等类型,可通过配置进行修改以及是否显示验证码控制

    • OAuth2登录数据加密传输

    基于AES对 OAuth2 登录数据进行动态加密传输,可通过配置对表单参数名进行动态配置,提升系统安全性

    • 平台权限管理

    基于RBAC模型,以角色和接口为核心,使用统一逻辑实现@PreAuthorize注解权限与URL权限的全面整合及动态可配置化。统一平台接口白名单,IP地址白名单,以及Scope绑定URL的管理。无须配置Security权限注解,支持URL粒度的鉴权和用户权限的动态配置。 完美支持单体式架构、UPMS自身应用需求、分布式架构以及分布式各服务多实例等各种应用场景。

    • User、Client数据策略访问

    支持OAuth2 UserDetailsClientDetails数据直连数据库和Feign两种数据获取策略模式,OAuth2直连数据库性能更优,Feign访问数据服务独立可动态扩展。可通过配置动态修改具体采用哪种策略。

    • 手机短信验证码注册和登录

    支持通过手机验证码登录认证,与平台为统一体系,统一返回OAuth2 Token,支持服务接口鉴权

    • 第三方系统社交注册和登录

    基于 JustAuth 实现第三方系统社交登录认证,,与平台为统一体系,统一返回 OAuth2 Token,支持服务接口鉴权,。所有 JustAuth 支持的第三方系统均支持。

    • 微信小程序注册和登录

    支持微信小程序登录认证,与平台为统一体系,统一返回 OAuth2 Token,支持服务接口鉴权。

    • 其它注册和登录

    采用策略模式对外部登录和注册进行支持,目前未支持的登录,可参考标准,动态扩展,即可支持。

    [2]、统一服务访问网关

    • 网关动态路由

    基于GatewayNacos实现服务网关动态路由,无须增加任何配置,即可支持服务的发现与路由

    • 网关服务鉴权: 服务网关集成部分权限认证功能,提升系统安全性,降低平台压力

    • 网关服务限流

    基于Sentinel实现服务的限流,支持基于Gateway Filter的自定义限流

    • 动态文档聚合: 网关动态Swagger文档聚合,使用Swagger 3.0,支持Knife4j增强。不同环境访问控制

    • 统一跨域处理

    基于Gateway实现统一跨域处理

    • 统一错误处理

    平台统一错误处理,支持自定义错误码体系

    • 自定义动态路由

    支持基于DB的动态路由管理与路由规则配置

    [3]、微服务架构支撑

    • 服务注册发现

    基于Nacos实现服务的注册与发现。

    • 服务负载均衡

    Spring Cloud Netflix 停止维护,使用 Spring Cloud Loadbalancer 全面替换Ribbon

    • 服务熔断降级

    整合OpenFeignSentinel,从熔断降级、系统负载保护、热点防护等多个维度来保障微服务的稳定性

    • 统一配置中心

    基于 Nacos 搭建的统一配置中心,支持配置文件自动导入和关键信息加密,可根据文件夹名称自动分组配置。

    • 统一日志中心

    采用TCP直连的方式采集和发送日志,集成 Skywalking TraceID 实现日志聚合及ELK日志分析。通过 @EnableXXX 注解开启或关闭日志采集功能。

    • 分布任务调度

    极简集成 xxl-job,支持分布式任务调度功能

    • 分布事务处理

    集成 Seata,支持分布式事务,无代码侵入,灵活便捷

    • 分布对象存储

    支持 Minio 分布式对象存储。同时,集成阿里云OSS,可通过 @EnableXXX 注解开启或关闭功能。

    • 分布式工作流

    Camunda 引擎为基础定义分布式工作流引擎,提供自研人事信息管理以及人事管理体系与工作流用户体系的实时集成

    [4]、微服务运行监控

    • 服务调用链监控

    集成 Skywalking 进行服务调用链的监控,调用链监控深度可延伸至Undertow、数据库、Redis

    • 应用吞吐量监控

    集成 Skywalking 进行应用吞吐量监控

    • 熔断、降级监控

    集成 Sentinel 进行服务的熔断、降级监控

    • 微服务状态监控

    集成 Spring Boot Admin 进行服务运行状态的监控

    [5]、数据自动化处理

    • 数据模型初始化

    RBACOAuth2 部分核心表、Camunda 数据表,在初始部署过程中为自动化创建

    • 核心应用数据初始化

    RBACOAuth2 等核心数据,在初始部署过程中为自动化导入

    • URL权限数据动态汇总

    自动扫描URL接口作为权限汇总存入系统,根据URL相关信息生成唯一ID,多次导入数据不会重复。可通过配置动态开启或修改扫描内容

    • Yml配置自动导入

    服务所需使用的配置文件,可自动根据文件夹进行分组并导入到 Nacos 中。

    [6]、服务开发支撑

    • 通用CRUD封装

    各种类型的代码生成器较多,结合实际应用使用效果来看,代码生成器在实际开发中使用频率低于理想预期。因此,没有考虑提供代码生成器,而是对常规的CRUD进行了多层次的封装,使定制化服务的开发更加便捷。

    • 自研两级缓存封装

    自研基于 CaffeineRedis 分布式两级缓存,完美支持JPA Hibernate二级缓存,完美支持各类查询数据缓存以及JPA @ManyToMany, @ManyToOne等关联查询。实现基于CaffeineHibernate 二级缓存,可与自研两级缓存快速切换,仅使用本地缓存创建Key繁琐和分页数据无法更新的问题

    • 多类型数据库支持

    默认采用 PostgreSQL 数据库,支持 MySQLOracleH2等多种关系型数据库,无须修改代码可动态切换。数据层同时支持 Spring Data JpaMybatis Plus

    • 多消息队列支持

    适配 RabbitMQKafka,默认使用 Kafka,支持消息总线(Spring Cloud Bus)

    • 多种服务调用方式

    默认采用 OpenFeign 进行服务间调用,支持 RestTemplateOkHttps

    • 共享式多环境切换

    共享式、统一化多环境配置模式,Yml、Docker均采用此方式配置,避免类似的服务配置、Dockerfile配置导出复制和修改的问题

    • 多团队开发管理

    支持多团队开发,可针对各个团队开发服务,进行单独的授权配置。

    • 注解模型模块模式

    除必要依赖逻辑以及强注入顺序要求的模块采用 Spring SPI(spring.factories)机制外,其它功能模块均采用 @EnableXXX 注解编程模型,可选择性进行控制是否开启对应模块,减少不必要的依赖注入和启动。

    • 代码打包记录查询

    对代码编译信息进行记录,可查询代码版本以及编译时间等相关信息,方便运维人员更好的掌握代码信息。

    • 人事信息管理

    除已有的用户体系外,集成单位、部门、人员等人事管理功能,满足大多数人事管理场景,并与 Camunda 工作流用户体系无缝整合,实现数据实时同步。

    [7]、信息发送集成

    • 微信小程序订阅消息

    支持微信小程序订阅消息发送。提供订阅消息模版工厂,可根据自身业务需求,编写少量代码既可以拓展支持新订阅消息模版。

    • 极光消息推送集成

    集成极光消息推送,对极光后台API进行封装,封装度高、调用方便,可快速与自定义业务需求整合,通过 @EnableXXX 注解开启或关闭。

    • 环信消息集成

    集成环信IM和消息推送,使用更加便捷,可在应用中根据自定义需求快速整合和拓展IM,发送手机推送消息。通过 @EnableXXX 注解开启或关闭。

    • 多通道SMS集成

    集成阿里、百度、中国移动、华为、京东、极光、网易、七牛、腾讯、又拍、云片等平台短信发送通道。可通过配置动态选择具体使用通道。支持多模版定义以及模版参数顺序控制

    [8]、内容审核集成

    • 阿里云内容审核

    集成阿里云内容审核,支持文本、图片、音频、视频、网页内容审核,支持同步审核、异步审核、异步 Callback 方式审核通过 @EnableXXX 注解开启或关闭。

    • 微信小程序内容审核

    集成微信小程序内容审核,支持文本、图片、音频内容审核,支持同步、异步审核。通过 @EnableXXX 注解开启或关闭。

    • 百度证照识别

    集成百度证照审核,支持营业执照、身份证 OCR 识别。通过 @EnableXXX 注解开启或关闭。

    • 天眼查企业信息查询

    集成天眼查企业信息查询。通过 @EnableXXX 注解开启或关闭。

    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - + diff --git a/docs/images/environment/jdk-validation.png b/docs/images/environment/jdk-validation.png new file mode 100644 index 000000000..98d176487 Binary files /dev/null and b/docs/images/environment/jdk-validation.png differ diff --git a/docs/images/environment/maven-validation.png b/docs/images/environment/maven-validation.png new file mode 100644 index 000000000..c80510bea Binary files /dev/null and b/docs/images/environment/maven-validation.png differ diff --git a/docs/images/idea/maven-config-01.png b/docs/images/idea/maven-config-01.png new file mode 100644 index 000000000..d5b9467d8 Binary files /dev/null and b/docs/images/idea/maven-config-01.png differ diff --git a/docs/images/idea/maven-config-02.png b/docs/images/idea/maven-config-02.png new file mode 100644 index 000000000..f47304753 Binary files /dev/null and b/docs/images/idea/maven-config-02.png differ diff --git a/docs/images/idea/maven-config-03.png b/docs/images/idea/maven-config-03.png new file mode 100644 index 000000000..0fe667c83 Binary files /dev/null and b/docs/images/idea/maven-config-03.png differ diff --git a/docs/images/idea/maven-config-04.png b/docs/images/idea/maven-config-04.png new file mode 100644 index 000000000..a4f972be5 Binary files /dev/null and b/docs/images/idea/maven-config-04.png differ diff --git a/docs/index.html b/docs/index.html index e5bc8257b..c257a7513 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();Eurynome Cloud - +
    Eurynome Cloud

    Eurynome Cloud

    简洁优雅 · 稳定高效 | 宁静致远 · 精益求精

    快速上手 →

    最新技术栈

    使用最流行的技术Spring Boot、Spring Cloud、Spring Cloud Alibaba、Nacos、Sentinel、Skywalking、Vue、Vuetify。

    功能全面

    面向互联网和企业级应用设计,支持手机验证码、小程序、第三方应用登录、证照审核、内容审核、企业人事管理等诸多功能。

    双版本支持

    提供与微服务版本技术体系一致的单体版架构,无须复杂的微服务基础设施,即可快速搭建基于OAuth2的、前后端分离的应用。

    便捷配置

    共享式、综合性多环境配置,统一化配置参数设定,简化配置参数修改数量,降低修改配置出错率,提升维护便捷性。

    特有功能

    高度灵活的动态权限配置,无须配置@PreAuthorize注解、使用antMatchers等方式,完全通过配置实现方法级权限控制。

    整洁规范

    代码整洁规范易于阅读,完全遵照Spring Boot编程思想,注解丰富、配置灵活、策略驱动

    - + diff --git "a/docs/microservices/OAuth2\346\216\210\346\235\203\346\240\207\345\207\206.html" "b/docs/microservices/OAuth2\346\216\210\346\235\203\346\240\207\345\207\206.html" index e361ca0fc..56a8b55cf 100644 --- "a/docs/microservices/OAuth2\346\216\210\346\235\203\346\240\207\345\207\206.html" +++ "b/docs/microservices/OAuth2\346\216\210\346\235\203\346\240\207\345\207\206.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();OAuth2 | Eurynome Cloud - + @@ -33,6 +33,6 @@
    1

    上面 URL 中,access_token参数就是令牌

    密码模式验证

    如果你高度信任某个应用,RFC 6749 也允许用户把用户名和密码,直接告诉该应用。该应用就使用你的密码,申请令牌,这种方式称为"密码式"(password)。

    Eurynome Cloud 前端就是使用密码模式进行登录

    直接使用如下地址获取Token即可

    http://192.168.101.10:8847/eurynome-cloud-uaa/oauth/token
     
    1

    操作如下图所示:

    流程4

    参数

    • username:必选参数(登录用户名)
    • password:必选参数(登录用户密码)
    • grant_type:必选参数(固定值“password”)
    • client_id:必选参数
    • client_secret:必选参数
    • scope:可选参数(表示授权范围)

    客户端凭证模式验证

    这种模式直接根据client的id和密钥即可获取token,无需用户参与 这种模式比较合适消费api的后端服务,比如拉取一组用户信息等

    直接使用如下地址获取Token即可

    http://192.168.101.10:8847/eurynome-cloud-uaa/oauth/token
     
    1

    操作如下图所示:

    流程5

    参数

    • grant_type:必选参数(固定值“client_credentials”)
    • client_id:必选参数
    • client_secret:必选参数
    • scope:可选参数(表示授权范围)
    更新时间: 2021/9/18 上午12:47:54
    贡献者: herodotus
    - + diff --git a/docs/microservices/index.html b/docs/microservices/index.html index b82962903..27b8ec981 100644 --- a/docs/microservices/index.html +++ b/docs/microservices/index.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();介绍 | Eurynome Cloud - + - + diff --git "a/docs/microservices/\345\256\271\345\231\250\345\214\226\346\212\200\346\234\257.html" "b/docs/microservices/\345\256\271\345\231\250\345\214\226\346\212\200\346\234\257.html" index 55fcb7e24..40a502d08 100644 --- "a/docs/microservices/\345\256\271\345\231\250\345\214\226\346\212\200\346\234\257.html" +++ "b/docs/microservices/\345\256\271\345\231\250\345\214\226\346\212\200\346\234\257.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();容器化技术 | Eurynome Cloud - +

    容器化技术

    Docker能解决什么问题?

    Docker Logo

    Docker是一个容器化工具,那么什么是容器呢,Docker和容器有什么关系,Docker又能解决什么问题呢?

    麻烦的环境配置

    软件开发最大的麻烦事之一就是环境配置,在开发之前我们需要准备各种运行环境、IDE、辅助工具。就像我们要使用电脑前,先要安装操作系统一样。

    而一个可用软件的交付过程通常包含两个部分 - 开发和维护。不幸的是,我们很难保证软件开发测试和运行维护阶段的软件能运行在一模一样的环境下。开发常说:"It works on my machine",很多时候我们都要花大量的时间去配置环境和教别人配置环境。

    现在的应用程序

    applications.jpg

    以前的应用程序:

    • 几乎都是单块应用: 大系统, 多模块
    • 紧耦合: 内部调用
    • 不常变更: 需求稳定(改动成本高)

    如今的应用程序:

    • 解耦: 微服务/异步
    • 经常变更: 快速迭代
    • 动态创建和部署: 服务化

    新架构的挑战

    • 多样化的技术栈
    • 需要动态创建机器
    • 很多活动组件
    • 运维人员需要管理复杂的架构

    复杂的架构

    在新的应用程序架构下,我们部署应用的成本大大增加。不但要搭建不同语言、不同技术栈适配的运行环境,还要部署到多个服务器主机上;并且这些主机还可能来自不同地方(公/私有云主机、物理主机)。

    统一的管理

    其实在软件开发的过程中我们就思考过类似的问题 - 如何统一的管理我们的代码包。例如,Maven、Gradle、NPM,我们使用一个相同的格式(规范)将我们的代码划分成模块,并使用一套工具去管理他们。在此之后我们不需要重复的copy代码、复制文件,只需要声明式的引入我们需要的代码包就可以了。

    当然,我们希望我们的应用部署也能如此简单。

    “容器”

    good-container.png

    app-container.png

    “容器”是一个黑盒,对于它的使用者来说:

    • 无需关心里面有什么:只关注“容器”能做什么
    • 有一套工具来管理黑盒:打包、运输、运行
    • 减少了部署单元的数量,从而减少了花销:多个工具聚集在一个“容器”内
    • 更容易管理多个环境:以“容器”为单位进行部署和管理

    虚拟化技术

    (1) 虚拟机:精心配置的虚拟机也是满足我们(基本)要求的容器,我们能够通过虚拟机镜像来打包我们的应用。但是,庞大的操作系统占用了大量的系统资源,使运行成本大大上升。

    vm.png

    虚拟机

    • 应用
      • 运行环境(Java/数据库/libs...)
      • 客户机操作系统(Guest Operating System)
      • 虚拟机管理系统(Hypervisor)
      • 操作系统级:MacOS(HyperKit),Windows的Hyper-V
      • 应用软件级:VirtualBox,VMWare Workstation
    • 主操作系统(Host Operating System)
    • 硬件(Infrastructure)/云主机

    (2) 容器:(作为进程)共用内核并提供额外的隔离手段,避免虚拟的操作系统占用。

    container.png

    容器

    • 应用
    • 运行环境(Java/数据库/libs...)
    • Docker守护进程(Docker Daemon): 类似虚拟机管理系统
    • 主操作系统(Host Operating System)
    • 硬件(Infrastructure)/云主机

    容器技术

    容器技术已经发展了一段时间了, 例如, LXC, BSD Jails, Solaris Zones...

    history.png

    容器技术特点

    • 看起来像虚拟机
      • 可以SSH到容器
      • 具有root的访问权限
      • 可以安装包
      • 可以mount文件系统
      • 拥有自己的eth0接口
      • 可以修改iptables 规则和routing table
    • 共享宿主机的内核
    • 隔离 cgroups (memory, cpu, blkio)
    • 拥有进程空间 (pid, mnt, net, ipc, uts)
      • pid - 隔离进程PID
      • mnt - 允许创建不同的文件系统层级
      • net - 隔离网络控制、iptables、防火墙、路由
      • ipc - 定义内部进程交流的范围
      • uts - 允许修改hostname :::

    容器技术的局限

    • 容器没有标准的格式
    • 所以容器是不可移植的
    • 没有标准的工具,所以比如要自己管理网络
    • 没有可重用的模块和API

    Docker

    what-is-docker.png

    • 使容器变得更容易使用
    • 容器镜像的商品化
    • 可插拔的模块易于吸引供应商加入
    • 适当的API可用来创建高层次抽象的工具
    • 和微服务诞生在同一个时代

    Docker架构

    docker-architecture.png

    • Docker Client:接收命令和Docker Host进行交互的客户端
    • Docker Host:运行Docker服务的主机
      • Docker Daemon:守护进程,用于管理所有镜像和容器
      • Docker Images/Containers:镜像和容器实例
    • Registry(Hub):镜像仓库

    docker-architecture2.png

    Docker底层实现

    docker-tech.png

    底层实现原理详解见open in new window

    Docker核心技术

    core-tech.png

    • Namespace 命名空间 Linux 的命名空间机制提供了以下七种不同的命名空间,包括 CLONE_NEWCGROUP、CLONE_NEWIPC、CLONE_NEWNET、CLONE_NEWNS、CLONE_NEWPID、CLONE_NEWUSER、CLONE_NEWUTS,通过这七个选项我们能在创建新的进程时设置新进程应该在哪些资源上与宿主机器进行隔离。因此容器只能感知内部的进程,而对宿主机和其他容器一无所知。
    • CGroups (Control Groups) Linux 的 CGroup 能够为一组进程分配资源,也就是我们在上面提到的 CPU、内存、网络带宽等资源.
    • UnionFS union-fs.png

    Docker中的每一个镜像都是由一系列的只读层组成的,Dockerfile 中的每一个命令都会在已有的只读层上创建一个新的层。通过 docker run 命令可以在镜像的最上层添加一个可写的层 - 容器层,所有对于运行时容器的修改其实都是对这个容器读写层的修改。

    容器和镜像的区别就在于,所有的镜像都是只读的,而每一个容器其实等于镜像加上一个可读写的层,也就是同一个镜像可以对应多个容器。同时已构建的每一层镜像也可以作为其他镜像的基础层进行共用。

    Docker VS VM

    docker-vs-vm.png

    更新时间: 2021/9/7 下午2:44:55
    贡献者: herodotus
    - + diff --git "a/docs/microservices/\345\256\271\345\231\250\345\214\226\351\203\250\347\275\262.html" "b/docs/microservices/\345\256\271\345\231\250\345\214\226\351\203\250\347\275\262.html" index 8593ff16b..59de62b09 100644 --- "a/docs/microservices/\345\256\271\345\231\250\345\214\226\351\203\250\347\275\262.html" +++ "b/docs/microservices/\345\256\271\345\231\250\345\214\226\351\203\250\347\275\262.html" @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();容器化部署 | Eurynome Cloud - + @@ -44,6 +44,6 @@
    1
    1. 如果是以Docker的方式运行服务,传统的方式就需要把skywalking-agent.jar一并打入到服务的docker中。

    由于Docker-compose打包上下文的问题,就需要在每一个模块中都复制一份skywalking-agent.jar。很不好管理,看着也不舒服。

    [2]、Dockerfile的编写和放置问题

    常规Java微服务的Docker打包方式,要么采用Maven Plugin的方式,要么采用docker-compose的方式。不管哪一种方式,都需要在该服务代码所在目录下新建一个Dockerfile文件。

    一方面,每个服务下的Dockerfile文件中的配置信息,除了服务的JAR包名不同以外,其余的所有配置都相同,就是一种重复劳动。 另一方面,如果要增加Skywalking,那么需要在每一个服务所在目录下都拷贝一份skywalking-agent.jar。不仅重复工作,代码结构也不美观整洁。

    Eurynome Cloud Docker 打包的设计

    为了解决上述两方面问题,Eurynome Cloud 在所有模块之外之指定了一个统一的目录,将需要打包的jar以及dockerfile全部放入该目录,通过该目录形成一个统一的上下文环境。在Eurynome Cloud工程中,${project_home}/configurations/docker/context就是这个上下文环境。

    在这个上下文环境中,除了包含通用的Dockerfile、Skywalking Agent以外,在使用Maven进行编译的过程中,还会将所有需要打包服务的对应的jar包拷贝到${project_home}/configurations/docker/context/target目录下。这样打包的所有资源就都已经具备,同时还解决了上述两个问题。

    提示

    可以通过修改${project_home}/pom.xml 中的<docker.build.directory>值,来改变拷贝jar包的目录

    Eurynome Cloud Docker 打包使用方法

    [1]、修改信息

    由于使用了一个统一的Dockerfile来解决重复定义Docker打包配置文件的问题,想要实现使用一个Dockerfile打出不同的Docker,那么就需要通过传参的方式来改变Dockerfile中的值。

    这里采用的是环境变量的方式,在${project_home}/configurations/docker/docker-compose/.env文件中定义这些参数。其中包含版本号以及具体服务对应的包名。所以如果有新增服务或者想要指定版本号,首先就需要修改这个配置文件。

    [2]、执行命令

    执行打包命令

    docker-compose -f ${project home}/configurations/docker/docker-compose/herodotus/services.dev.yml --env-file=${project_home}/configurations/docker/docker-compose/herodotus/.env up -d
     
    1

    或者

    docker-compose -f ${project home}/configurations/docker/docker-compose/herodotus/services.prod.yml --env-file=${project_home}/configurations/docker/docker-compose/herodotus/.env up -d
     
    1

    说明

    上文说到想要以Docker的方式运行服务并且关联Skywalking,就需要在打包时将Skywalking Agent打入到Docker中。但实际应用中并不是所有环境都需要使用Skywalking,比如:在生产环境需要使用Skywalking,在开发环境中并不需要Skywalking以降低资源消耗。

    因此,Eurynome Cloud 提供了两种打包配置

    使用${project home}/configurations/docker/docker-compose/herodotus/services.dev.yml这个Docker-compose配置文件打包时,对应的Dockerfile文件是${project home}/configurations/docker/context/development/Dockerfile。这个Dockerfile配置中,没有包含Skywalking Agent的拷贝命令。

    使用${project home}/configurations/docker/docker-compose/herodotus/services.prod.yml这个Docker-compose配置文件打包时,对应的Dockerfile文件是${project home}/configurations/docker/context/production/Dockerfile。这个Dockerfile配置中,包含了Skywalking Agent的拷贝命令。

    这样通过不同的命令,实现了对不同Docker环境需求的支持。

    更新时间: 2021/9/8 上午12:03:33
    贡献者: herodotus
    - + diff --git a/docs/others/Idea.html b/docs/others/Idea.html index f2fbf8434..3089b9b9e 100644 --- a/docs/others/Idea.html +++ b/docs/others/Idea.html @@ -11,7 +11,7 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();Idea | Eurynome Cloud - + @@ -48,7 +48,7 @@ at org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:135) at org.springframework.boot.env.OriginTrackedYamlLoader$OriginTrackingConstructor.getData(OriginTrackedYamlLoader.java:99) at org.yaml.snakeyaml.Yaml$1.next(Yaml.java:512) -
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33

    该问题主要是由于 bootstrap.yml 中使用了 @ @ 变量,而在 target 目录中生成的 bootstrap.yml中的 @ @ 变量没有被正确替换。

    解决办法

    办法一

    使用 mvn installmvn package 命令重新编译工程。

    办法二

    在IDEA中,打开Maven面板,点击刷新按钮。如下图所示:

    架构图

    [2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.

    可以查询到的解决版本,基本上是通过修改 .idea 文件夹下的 idea/workspace.xml 文件解决。

    这种办法并不是特比优雅,而且在最新的版本中不一定会起效。

    比较简单的办法,是通过 IDEA 界面,修改配置即可以解决。具体操作如下:

    步骤一

    在 IDEA 工具栏中,找到 Edit Configurations ...,如下图所示。

    ![Edit]](/eurynome-cloud/images/idea/application-run-01.png)

    步骤二

    在弹出的 Edit Configurations ... 对话框中,首先找到运行时会出现 Command line is too long 应用名称。

    UpmsApplication 为例,选中该应用,在右侧面板中,找到 Environment --> Shortent command line, 将该设置的值修改为 JAR manifest 即可解决。如下图所示:

    ![Edit]](/eurynome-cloud/images/idea/application-run-02.png)

    更新时间: 2021/9/26 下午6:38:30
    贡献者: herodotus
    - +
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33

    该问题主要是由于 bootstrap.yml 中使用了 @ @ 变量,而在 target 目录中生成的 bootstrap.yml中的 @ @ 变量没有被正确替换。

    解决办法

    办法一

    使用 mvn installmvn package 命令重新编译工程。

    办法二

    在IDEA中,打开Maven面板,点击刷新按钮。如下图所示:

    架构图

    [2]、Error running XXXApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.

    可以查询到的解决版本,基本上是通过修改 .idea 文件夹下的 idea/workspace.xml 文件解决。

    这种办法并不是特比优雅,而且在最新的版本中不一定会起效。

    比较简单的办法,是通过 IDEA 界面,修改配置即可以解决。具体操作如下:

    步骤一

    在 IDEA 工具栏中,找到 Edit Configurations ...,如下图所示。

    Edit01

    步骤二

    在弹出的 Edit Configurations ... 对话框中,首先找到运行时会出现 Command line is too long 应用名称。

    UpmsApplication 为例,选中该应用,在右侧面板中,找到 Environment --> Shortent command line, 将该设置的值修改为 JAR manifest 即可解决。如下图所示:

    Edit01

    更新时间: 2021/10/16 下午10:58:50
    贡献者: herodotus
    + diff --git a/docs/others/MySQL.html b/docs/others/MySQL.html index d0da74eac..35aca2a16 100644 --- a/docs/others/MySQL.html +++ b/docs/others/MySQL.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();MySQL 常见问题 | Eurynome Cloud - +

    MySQL 常见问题

    [1]、 java.sql.SQLSyntaxErrorException: Duplicate key name 'xxx_idx'

    Eurynome Cloud 默认使用Spring Data JPA进行基础功能的编写, 采用 HibernateJPA的一种实现)提供的 ddl-auto进行基础表的创建和更新。

    提示

    什么是 Spring Data JPA, 参见:基础知识章节,Spring Data JPA

    ddl-auto 怎么用,参见:更换数据库章节,[spring-boot-starter-data-jpa 更换数据库方式](../documents/更换数据库.md#spring-boot-starter-data-jpa 更换数据库方式)

    Hibernate方言

    Hibernate 底层依然使用SQL语句来执行数据库操作,虽然所有关系型数据库都支持使用标准 SQL 语句,但所有数据库都对标准 SQL 进行了一些扩展,所以在语法细节上存在一些差异,因此 Hibernate 需要根据数据库来识别这些差异。假如系统需要数据库的变换时,那么用 hibernate 的话就只需要改一改配置文件(修改连接字符串、驱动类、方言等),而用传统的jdbc时,那么SQL语言可能就要有很多改动。(略微重复了)

    Hibernate 方言为实现HQL语句向不同数据库的 SQL 语句转换时,解决不同数据库之间的差异而制定的一套”规范”。

    举例来说,我们在MySQL数据库里进行分页查询,只需使用limit关键字就可以了;而标准SQL并不支持limit关键字,例如Oracle则需要使用行内视图的方式来进行分页。同样的应用程序,当我们在不同数据库之间迁移时,底层数据库的访问细节会发生改变,而 Hibernate 也为这种改变做好了准备,现在我们需要做的是:告诉Hibernate应用程序的底层即将使用哪种数据库——这就是Hibernate方言。

    说明

    因为不同数据库自身的特殊性,那么不同数据库方言的实现逻辑也不能完全相同。出现这个问题是因为MySQL 方言自身所导致,如果已经存在外键,那么就会抛出错误,但是不会影响实际使用。PostgreSQL方案就不会出现问题。

    解决的办法是:

    在使用MySQL数据库时,在首次进行数据库表创建时,需要将eurynome-cloud-environment.yaml配置中的herodotus.switch.database.ddl-auto修改为create。当所有的表创建成功后,将herodotus.switch.database.ddl-auto值修改为none。那么在次启动就不会出现这个问题。

    更新时间: 2021/9/18 上午12:47:54
    贡献者: herodotus
    - + diff --git a/docs/others/Nacos.html b/docs/others/Nacos.html index 8899054dd..206e9e41b 100644 --- a/docs/others/Nacos.html +++ b/docs/others/Nacos.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();Nacos 常见问题 | Eurynome Cloud - +

    Nacos 常见问题

    [1]、failover switch is not found, failover00-00---000-VIPSRV_FAILOVER_SWITCH-000---00-00

    将Nacos日志设置到Debug级别,在服务运行起来之后,就会发现控制台持续输出以上Debug信息。

    说明

    这不是代码Bug,而是Nacos自身机制,想要详细了解请阅读Nacos源代码或自行百度。

    这是Nacos Client本地缓存及故障转移机制。在Nacos源代码中,ServiceInfoHolder的构造方法中,会初始化一个FailoverReactor类。FailoverReactor的作用便是用来处理故障转移的。

    FailoverReactor的构造方法会拼接故障根目录:${user.home}/nacos/naming/public/failover,其中public也有可能是其他的自定义命名空间;

    主要逻辑就是:

    • 基本操作就是读取failover目录,查找故障转移【开关】文件为名为“failover00-00---000-VIPSRV_FAILOVER_SWITCH-000---00-00”。

    • 如果故障转移文件不存在,则直接返回,不断输出Debug信息。

    • 如果故障转移文件存在,比较文件修改时间,如果已经修改,则获取故障转移文件中的内容。

    • 故障转移文件中存储了0和1标识。0表示关闭,1表示开启。

    • 当为开启状态时,执行线程FailoverFileReader。

    • 解决办法

    1. 将Nacos日志级别调整为INFO级别以上。
    2. 手动在${user.home}/nacos/naming/public目录下,新建文件failover00-00---000-VIPSRV_FAILOVER_SWITCH-000---00-00
    更新时间: 2021/9/18 上午12:47:54
    贡献者: herodotus
    - + diff --git a/docs/others/Redis.html b/docs/others/Redis.html index 0949ee251..56a3050a0 100644 --- a/docs/others/Redis.html +++ b/docs/others/Redis.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();Redis 常见问题 | Eurynome Cloud - +

    Redis 常见问题

    [1]、本地Redis使用127.0.0.1可以访问,使用IP地址无法访问

    Redis默认只允许通过127.0.0.1访问,这是其自身的安全防护机制。如果想要使用IP地址进行访问,需要将其保护设置打开。

    • Windows 版

    找到redis.windows.conf配置文件

    1. protected-mode 参数改为no。

    2. 注释掉bind 127.0.0.1

    3. 重启redis服务

    Redis 密码

    • Linux
    1. linux对应的是redis.conf文件

    2. 修改还是和windows一样

    3. 修改完成重启服务

    [2]、io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required

    出现该错误,是由于Redis中设置密码,而代码中未读到Redis密码或配置文件中没有配置密码导致的。

    • 解决办法
    1. 首先用Redis客户端,比如:redis-desktop-manager,进行Redis的连接测试。如果无法连接,那么请检查密码输入是否正确、本地网络等相关环境;如果可以正常连接,请进行下一步。
    2. 检查Nacos中,Redis相关配置是否配置了密码。一定要注意格式,检查格式缩进是否正确、yaml配置“:”后面是否空了一格。如果确定配置正确,请进行下一步。
    3. 检查服务是否可以正常访问到Nacos服务器,是否可以正确读取Nacos中配置。

    以上操作均确保无误应该就可以正常使用了,如果还有问题,那么就请尽可能的准备详尽的信息,在Gitee中提Issueopen in new window

    [3]、NOAUTH HELLO must be called with the client already authenticated, otherwise the HELLO AUTH <user>

    使用spring boot data redis 链接redis sentinel集群,会报此错。

    原因是因为redis sentinel集群的sentinel配置文件没有配置密码,sentinel配置密码的方式和redis的密码配置方式一样,配置文件中加上requirepass <密码> 就行。

    另外,sentinel中的sentinel auth-pass <master> <pass> 不是给sentinel配置密码,而是sentinel链接redis master的密码

    更新时间: 2021/9/18 上午12:47:54
    贡献者: herodotus
    - + diff --git a/docs/others/index.html b/docs/others/index.html index f250f3c6b..4e4989c62 100644 --- a/docs/others/index.html +++ b/docs/others/index.html @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();说明 | Eurynome Cloud - +

    说明

    提示

    本部分会梳理、总结使用者经常提出的一些问题,形成文档方便大家查阅,以便帮助使用者快速定位和解决问题。

    每个使用者所使用的微服务基础环境都不可能完全相同,因此,可能存在无法全面覆盖、满足所有场景的情况。

    同时,文档中的解决办法,只是作者根据自己的情况进行解决的办法,可能不是最优的解决办法。

    所以,如果发现了使用上的问题、或者针对某些问题有更优的解决办法,欢迎广大使用者提【Issue】open in new window

    更新时间: 2021/9/18 上午12:47:54
    贡献者: herodotus
    - + diff --git "a/docs/others/\346\233\264\346\226\260\346\227\245\345\277\227.html" "b/docs/others/\346\233\264\346\226\260\346\227\245\345\277\227.html" index dfdbe5da3..c57e5a7cc 100644 --- "a/docs/others/\346\233\264\346\226\260\346\227\245\345\277\227.html" +++ "b/docs/others/\346\233\264\346\226\260\346\227\245\345\277\227.html" @@ -11,11 +11,11 @@ var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();更新日志 | Eurynome Cloud - + -

    更新日志

    v2.5.5.50

    1. 新增 Social Authentication 自定义授权模式方式,替代传统Filter过滤器方式,优化手机验证码、微信小程序、第三方认证的集成与Token的分派。代码更加简洁易于维护,解决了第三方认证游离于 OAuth 2 管控体系之外的问题。
    2. 本着“高内聚、低耦合”的原则,调整代码,优化代码分包。提升代码分包的合理性,降低各代码包之间的耦合性。
    3. 清除大量无用代码。
    4. 前端代码升级大量依赖包版本,重新编译库。
    5. 新增 Social Authentication 授权模式配置功能。
    6. 回滚compression-webpack-plugin组件版本,解决高版本运行错误问题。
    7. 补充在线文档IDEA使用常见问题章节。
    8. 解决 MySQL 数据更新脚本数据类型不兼容问题

    v2.5.5.40

    1. 简化 OAuth2 资源服务器 ResourceServerConfigure 配置,代码更简洁规范。
    2. 进一步融合 OAuth2 错误体系,解决 OAuth2 部分错误提示与系统自定义错误体系不一致、不融合的问题。
    3. 解决包含路径参数的接口,可以跳过鉴权机制直接访问问题
    4. 解决人员与用户 @OneToOne 映射,由Jackson 反序列化实体导致 JPA 保存或修改失败问题。
    5. 优化接口统一信息反馈类别,新增空数据信息结果反馈,让信息反馈内容更加友好
    6. 补充常用正则表达式库
    7. 优化人员管理、角色管理关键信息异步校验功能,解决人员管理,使用枚举作为数据类型类型导致的修改数据错误问题。
    8. 新增为组织机构人员分配默认用户功能。
    9. 新增系统默认角色配置功能。支持机构人员、手机验证码、微信小程序、QQ、微博、百度、微信开放平台、微信公众号、企业微信二维码、企业微信网页、钉钉、钉钉账号、阿里云、淘宝、支付宝、Teambition、华为、飞书、京东、抖音、今日头条、小米、人人、美团、饿了么、酷家乐、喜马拉雅、码云、开源中国、Github、Gitlab、Stackoverflow、Coding、谷歌、微软、脸书、领英、推特、亚马逊、Slack、Line、Okta、Pinterest等多种途径或第三方登录默认角色的配置。

    v2.5.5.30

    1. Debezimu 升级至 1.7.0.Final
    2. 优化统一结果返回实体封装,使用更加便捷。
    3. 使用统一结果返回实体新接口,替换已有代码。
    4. 优化接口数据前后端加密传输机制,全面支持使用 Spring @RequestParam 注解接口数据加解密。
    5. 统一使用 @RequestParam 注解接口加解密方式,改进 OAuth 2 密码模式,用户名、密码参数加密,不再使用传统Filter方式,代码更加简洁规范清晰。
    6. 重新调整 WebMvc 配置核心代码,依赖关系更合理,代码逻辑更清晰。
    7. 优化完善前端用户管理相关功能。
    8. 增加基于 VeeValidate 组件的服务端异步校验机制

    v2.5.5.20

    • 重大更新

      1. Spring Boot Admin 升级至 2.5.2
      2. 基于最新版Axios定义,所有Delete接口,修改为路径参数形式
      3. 混合 RSA(非对称) 和 AES(对称加密) 算法,基于自定义注解,设计接口数据前后端加密传输机制。
      4. 设计自定义数据传输 Session,规避 Vue Session 变化问题。基于自定义Session,实现 AES KEY 动态生成、加密传输、一人一钥的安全机制,提高系统安全性。
      5. 实现 OAuth 2 密码模式,用户名、密码参数加密传输。
    • 其它更新

      1. 修复 Spring Validation 错误信息不会抛出,循环引用问题。
      2. 前端 Utils 工具包,新增加密算法模块
      3. 基于最新版Axios定义,优化 Axios 请求通用代码
      4. 实现前端 node-rsa 包 RSA 算法,与后端 Hutool SecureUtil RSA 算法互相加、解密。
    • 依赖包版本升级

      1. Guava 升级至 31.0.1-jre
      2. SpringDoc 升级至 1.5.11
      3. Mybatis Plus Generator 升级至 3.5.1
      4. 前端工程升级大量依赖包

    v2.5.5.10

    1. 解决 OAuth2 自带业务表通过 Spring Data JPA 自动创建,字段名变化为小写问题。
    2. 完善前端 Camnuda 工作流编辑器组件功能。
    3. 完善前端部分功能,解决已知问题。
    4. 更新在线文档,补充前端工程详细介绍。

    v2.5.5.0

    • 重大更新

      1. Spring Boot 升级至 2.5.5
      2. Spring Cloud 升级至 2020.0.4
      3. 大幅改进系统数据库表和数据初始化方式,实现OAuth2业务表自动创建,取消使用脚本的创建方式,提升便捷性
      4. 新增人力资源管理相关功能,功能和模型设计实现与Camunda用户体系统一。便于用户体系数据的同步和管理。
      5. 基于rollup、lerna 和 yarn workspaces,以 monorepo 方式重新构建前端工程。新版前端工程是以Vue2、Typescript开发的,组件库式的前端功能。代码更清晰、组件化和重用化程度更高。为升级至Vue3做前序铺垫。
    • 其它更新

      1. 解决Skywalking UI连接Skywalking OAP Server出错问题。
      2. 修改防刷机制的默认配置
      3. 重新梳理错误体系,优化错误信息,错误提示更加友好。
      4. 解决单体版对Basic模式认证跨域拦截的问题
      5. 实现OAuth2 Password模式部分参数加密传输方式,提升系统安全性。
      6. 修复老版本前端工程已知问题。
      7. 在线文档同步更新。
    • 依赖包版本升级

      1. Hutool 升级至 5.7.13
      2. okhttps 升级至 3.1.5
      3. weixin-java-miniapp 升级至 4.1.9.B
      4. JustAuth 升级至 1.16.4
      5. jasypt-spring-boot-starter 升级至 3.0.4
      6. mybatis-plus-boot-starter 升级至3.4.3.4
      7. dysmsapi20170525 升级至 2.0.5

    v2.5.4.140

    1. 优化Antisamy通用代码,提升Xss分析西能,去除严格拦截导致的JSON解析错误。
    2. 解决本地权限缓存并发写入冲突,抛出com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException问题。
    3. 解决OAuth Starter引入Upms Logic 重复导入权限数据问题。
    4. 修改默认验证码字体配置
    5. 去除无用依赖包
    6. 新增MySQL57数据库切换配置。更新Nacos 配置SQL脚本,增加最新导入包。
    7. 新增Camunda 官方脚本
    8. 优化数据导入脚本

    v2.5.4.130

    1. 修复单体版Knife4j依赖错误问题
    2. 修复单体版配置错误问题
    3. 增加Gitee流程模版
    4. 修复OAuth2自定义confirm_access.html,error.html,login.html页面,数据类型编译错误。
    5. 优化自定义页面显示内容,增加Exception StackTrace输出
    6. 修复XssUtils校验出错问题。
    7. 优化ResourceServer安全配置
    8. 修复OAuth2 四种模式中授权码模式(Authorization Code)、隐式授权模式(Implicit Grant)模式出错问题。
    9. 解决前端控制台出错问题
    10. 更新在线文档,增加OAuth2 四种模式验证说明

    v2.5.4.120

    1. 使用Springdoc全面替换Springfox,配置更灵活、配置更多样
    2. Swagger文档注解全面升级为支持OpenAPI
    3. 使用Springdoc重构文档聚合功能,支持聚合查阅和服务独立查阅。Knife4j同步升级至3.0.3版本。
    4. Swagger文档默认支持OAuth2 Password、Authorization Code 两种认证流程
    5. 整合Camunda Engine Rest 与Swagger,实现Camunda API接口文档查阅,支持聚合查阅。
    6. 修复Bpmn服务默认启动Tomcat问题。
    7. 升级前端依赖包版本
    8. 更新Nacos配置文件及导入包
    9. 更新在线文档

    v2.5.4.110

    1. 重新构建项目文档体系,使用纯静态页面,替代已有 Gitee Wiki 文档。优化文档结构,提升文档阅读体验。提供全文搜索,便于文档查阅。支持文档独立部署,方便使用者搭建独立的文档服务查阅。
    2. 更换Nacos导入包,解决上一版本导入包导入重复问题
    3. Update Readme

    v2.5.4.100

    1. 重新梳理所有Nacos配置,提取共性配置至统一配置文件,优化配置属性结构和归类,便于参数修改,降低维护复杂度
    2. 重构数据库相关Nacos配置,优化Maven、Nacos多环境配置与数据库切换的联动性,让数据库切换所需修改的参数更少,切换更顺滑
    3. 解决eurynome-cloud-management编译出现的Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on 4. project XXXX: Input length = 1 -> [Help 1]错误
    4. 解决Redis设置密码后,无法连接出现 NOAUTH Authentication required 错误
    5. 增加MySQL数据库默认数据初始化脚本
    6. 增加最新版Nacos配置导入包
    7. 修复前端UI申请APPKEY页面错误
    8. 修复前端UI切换至单体版后,连接错误问题。
    9. 升级前端UI依赖包版本。
    10. 同步更新相关文档,补充新建子模块、常见问题等部分文档。

    v2.5.4.90

    1. 使用Mybatis Plus全面替换已有Mybatis,与Spring Boot Data JPA共存且支持同时使用。使用任何技术都可以无障碍的进行业务代码编写。
    2. 整合Mybatis Plus和Spring Boot Data JPA更换数据库配置属性,一处修改即可以同时修改Mybatis Plus和Spring Boot Data JPA使用数据库类型。
    3. 新增接口XSS脚本攻击过滤机制,同时支持请求参数和JSON请求体过滤。采用Ebay XSS过滤模型,进一步提升防控能力。
    4. 新增SQL 注入攻击防控机制。
    5. 解决eurynome-cloud-gateway和eurynome-cloud-management服务启动调用Kafka问题。
    6. 解决CacheConfigException错误问题,在错误体系中增加配置参数不合理提醒,让信息反馈更加友好。
    7. 解决Spring Boot Admin 不支持Java 8 时间类型问题。
    8. 解决Spring Boot Admin 不显示 Git Properties 信息问题。
    9. 解决修改Redis密码配置生效问题
    10. 梳理dependencies依赖包,对已有依赖进行进行更合理的分类,更加便于依赖包的找寻和维护。
    11. 升级依赖包版本
      • spring-boot-admin 升级至 2.5.1
      • git-commit-id-plugin 升级至 4.9.10
      • docker-maven-plugin 升级至 0.37.0
      • hutool 升级至 5.7.10
      • okhttps 升级至 3.1.4
      • JustAuth 升级至1.16.3
      • aliyun-java-sdk-core 升级至 4.5.25
      • baiducloud-java-sdk 升级至 0.10.175
      • aliyun-java-sdk-oss 升级至 3.13.1
      • cn.jpush.api 升级至 3.5.2
    12. 规范项目文档,增加系统部署、数据库切换等多部分内容
    13. 增加Nacos配置导入包,在没有自动部署功能支持的情况下,也可以更加方便的导入配置。
    14. 替换 UI SweetAlert 过期方法,解决弹出框不会关闭问题
    15. 解决授权码模式(authorization code)验证码被拦截问题

    v2.5.4.80

    • 合并eurynome-cloud-curd包和eurynome-cloud-rest包,减少包数量,提升代码维护便捷度。
    • 增加接口幂等处理机制,防止重复提交。增加接口防刷限制机制,防止接口恶意频繁刷新。
    • 接口幂等和防刷机制,均支持全局配置控制,同时提供@Idempotent和@AccessLimited注解进行灵活的、个性化的配置。
    • 接口幂等和防刷机制,缓存标记采用分布式多级缓存进行存储,将低单一访问Redis带来的访问压力,同时支持多实例数据多级缓存本地数据同步。
    • 接口幂等和防刷机制,所涉及标记缓存时间配置全部统一支持Duration时间格式,简化配置参数,提升配置便捷度。同时,优化平台错误响应体系,返回更加友好的错误信息提示。
    • 定义Stamp签章体系,采用统一体系,对SMS短信验证码、JustAuth State、环信Token以及接口幂等和防刷等需临时存储标记相关应用进行统一实现。同时,采用分布式多级缓存进行数据存储,降低单一访问Redis压力。

    v2.5.4.65

    • 优化Skywalking打包内容,直接使用Skywalking官方容器
    • 补充RequestMappingScanner对应事件代码,解决单体版扫描Rest API接口后不会存储问题
    • 优化数据库脚本以及数据库表结构和默认数据自动初始化机制。解决在第一次运行时,Spring Data JPA JDBC初始化机制与Hibernate 初始化机制冲突问题。
    • 在Gitee Wiki中,增加数据库初始化说明文档
    • 删除部分预留代码,减少暂时不必要的代码对使用者带来的误导。
    • 前端UI中,增加部分配置,使用者可以通过注释部分配置,让前端UI快速支持单体版。

    v2.5.4.60

    • Spring Boot 版本升级至 2.5.4
    • Skywalking 版本升级至 8.7.0
    • 微服务日志输出至日志中心格式。
    • 增加Swagger注入条件注解,优化日志中心相关配置采用统一常量控制
    • 增加自定义Property"助手"数据统一自动编译生成配置,无须额外设置,在IDE中编辑配置属性时可自动弹出提示
    • 修复Kafka配置不生效问题。
    • 解决单体版自动启动Kafka问题。
    • 暂时关闭单体版Swagger,规避Swagger会自动启动Kafka问题。

    v2.5.4.55

    • 整合代码,将constant包代码整合至common包中。删除constant包。
    • 完善Rest接口校验机制,以及相关自定义错误码
    • 统一spring boot validation错误信息,将其整合至平台统一响应实体Result中。无须在各个Rest接口中,添加BindingResult参数。

    v2.5.4.50

    • 优化服务本地权限存储逻辑,解决权限属性数据重复存储,不会替换问题。
    • 重新梳理Spring Security OAuth2 方法级表达式动态权限鉴权逻辑,摒弃无用的权限验证Voter逻辑,使用统一逻辑实现@PreAuthorize注解权限的全面动态可配置化。统一平台接口- 白名单,IP地址白名单,以及Scope绑定URL的管理。
    • 重构UserDetails用户信息组织逻辑,使用Spring Security标准代码,替换自定义逻辑代码,降低代码冗余,与自研方法级动态权限完美融合。
    • 优化平台权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及分布式各服- 务多实例等各种应用场景。
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 清理系统无用代码。
    • 增加方法级动态权限演示动图,更新Readme

    v2.5.4.40

    • 优化自定义多级缓存,实现可以统一设置allowNullValues值,并解决存储空值时卡死问题。
    • 重新梳理、优化系统权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及- - 分布式各服务多实例等各种应用场景。
    • 增加Kafka条件注入配置,将条件转换为@ConditionalOnXXX,方便管理和维护。避免单体版应用相关依赖过度依赖Kafka而导致的无法启动
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 去除传统Kafka Producer 通用类,改为统一使用 Spring Cloud Bus

    v2.5.4.30

    • 重新调整Property配置,规范Property定义。修改相关配置
    • 调整包,以及包相关依赖关系。让包之间的依赖更加合理
    • 增加Kafka配置,增加@KafkaListener动态控制,以避免在不需要的情况下Kafka的自动开启。
    • 调整部分常理代码位置,常量代码基本调整完成
    • 将原有自定义条件,转换为@ConditionalOnXXX注解,让使用更加便捷
    • 日志中心是否开启状态,改为@ConditionalOnLogCenterEnabled注解

    v2.5.4.20

    • 本地权限缓存更换为JetCache,为服务多实例的权限扫描和存储提供更好的支持
    • 将数据访问策略从Conditional类,升级为Conditional注解,使用更加便捷
    • 调整包依赖关系,新建assistant、constant包,删除message包。
    • 逐步将平台中各类非独有常量移入constant包方便管理和修改
    • 采用Spring Boot Event和Spring Cloud Bus Event 机制重构接口收集逻辑。支持单体架构、UPMS、分布式多实例等不同场景接口扫描的特殊需求
    • 优化Docker Compose配置,使用Debezium Kafka 替换已有kafka,以支持Debezium应用
    • 删除无用代码

    v2.5.4.10

    • 全网首个实现Spring Security 动态URL权限与注解表达式权限有机整合,并且可以动态配置的微服务框架。
    • 全面支持方法级权限控制,Security OAuth2 permitAll等方法权限以及@PreAuthorize注解权限,均支持动态配置。目前支持以下权限的动态配置: · hasRole · hasAnyRole · hasAuthority · hasAnyAuthority · hasIpAddress · #oauth2.clientHasRole · #oauth2.clientHasAnyRole · #oauth2.hasScope · #oauth2.hasAnyScope · #oauth2.hasScopeMatching · #oauth2.hasAnyScopeMatching · #oauth2.denyOAuthClient · #oauth2.isOAuth · #oauth2.isUser · #oauth2.isClient
    • 彻底解决使用withObjectPostProcessor方式,会覆盖外部匹配规则问题。
    • 真正实现Scope权限与URL权限的关联与管控,拓展OAuth2默认只进行Scope简单对比的实现逻辑。
    • 实现动态权限配置的多服务同步。
    • 暂时去除JetCache,全面使用自研支持Hibernate二级缓存的多级缓存。
    • 修改配置文件配置
    • 删除无用代码

    v2.5.3.60

    • Nacos版本升级至2.0.3
    • Hutool版本升级至5.7.6
    • 修改部分代码名称
    • 修改配置文件配置参数

    v2.5.3.50

    • 将所有服务包括UAA的权限存储,改为本地和认证中心,多级分布式存储和验证。
    • 增加策略模式,支持认证中心权限数据直连和远程消息两种存储方式动态切换。
    • 改进自研多级缓存,解决Hibernate二级缓存进行数据缓存时产生的事务锁问题。
    • 删除无用代码
    • 为动态Scope权限做铺垫。
    • 全面支持方法级权限控制。

    v2.5.3.40

    • Spring Boot 版本升级至 2.5.3
    • 采用新的Hash算法,缩短权限标识;简化用户权限信息,以缩短平台生成JWT Token的长度
    • git commit 插件由pl.project13.maven » git-commit-id-plugin改为io.github.git-commit-id » git-commit-id-maven-plugin。
    • git commit 插件升级至 5.0.0 版本

    v2.5.3.30

    • 重构用户中心用户人员体系,将平台用户、第三方社交登录用户、人事管理用户以及Camunda工作流用户体系无缝融合。
    • 人事管理体系人员唯一化管理,同时支持企业、党组、团青等多种类型的机构类型,便于企业人事管理。
    • 基于Debezium实现数据库变更数据捕获,实现人事管理信息与Camunda工作流用户实时同步。
    • 树形结构通用代码实现逻辑与Hutool Tree一致,因此采用Hutool Tree 全面替换已有的Tree代码。
    • 删除不再使用的通用类代码。
    • 修改说明文档

    v2.5.3.10

    • 自研基于Caffeine和Redis分布式两级缓存
    • 完美支持JPA Hibernate二级缓存
    • 完美支持各类查询数据缓存以及JPA @ManyToMany, @ManyToOne等关联查询。
    • 实现基于Caffeine的Hibernate二级缓存,可与自研两级缓存快速切换,仅使用本地缓存。
    • 极大的简化了原有自研的基于JetCache的缓存使用方式。
    • 保留JetCache,可根据实际使用需要使用。
    • 已有服务接口相关代码,均已更新自研分布式两级缓存模式。

    2.5.2.40

    • Redis Value 默认序列化工具修改为Jackson2JsonRedisSerializer
    • jetcache valueEncoder 和 valueDecoder 修改为kryo
    • 部分代码的日志改为传统方式,不再使用@Slf4j注解
    • 抽象实体共性属性,拓展基础实体,以支持JPA视图类的ORM映射。
    • 重构基础Service,将基础Service的读操作与其它操作分离,以支持“视图”相关Service的编写。
    • 重构基础Controller,将基础Controller的读操作与其它操作分离,以支持“视图”相关Controller的编写。
    • 将Hibernate Validator替换为spring-boot-starter-validation
    • 删除JPA过期方法封装

    v2.5.2.30

    • Spring Boot 版本升级至2.5.2
    • Spring Boot Admin 版本升级至2.4.2
    • 升级其它相关依赖版本

    v2.5.2.25

    • Skywalking升级至8.6.0

    v2.5.2.20

    • Spring Boot 升级至2.5.1
    • Camunda 升级至7.15.0
    • 其它依赖包版本升级
    • Swagger回滚至2.9.2,解决Swagger接口测试相关问题以及Knife4 Authorize不显示问题
    • 结构性调整平台相关配置属性

    v2.5.1.0

    • Spring Boot 大版本升级至2.5.0

    v2.4.5.60

    • 修改负载均衡不生效问题
    • 调整包依赖关系
    • 升级版本

    v2.4.5.48

    • 正式发布开源版本
    更新时间: 2021/9/29 下午10:07:57
    贡献者: herodotus
    - +

    更新日志

    v2.5.5.60

    1. 整合职责相近代码包,删除eurynome-cloud-common代码包,让各个代码包职责更明晰、逻辑更清楚。
    2. 增加开发环境配置基础知识文档,帮助萌新少走弯路,可以更快地投入到系统的使用和代码研究学习的过程中来。
    3. 依赖组件升级
      • Hutool 升级至 5.7.14
      • JustAuth 升级至 1.6.5
      • Camunda 升级至 7.16.0
      • okhttps 升级至 3.2.0
      • bce-java-sdk 升级至 0.10.179
      • jpush-client 升级至 3.5.3
    4. Camunda 数据库脚本升级至 7.16.0

    v2.5.5.50

    1. 新增 Social Authentication 自定义授权模式方式,替代传统Filter过滤器方式,优化手机验证码、微信小程序、第三方认证的集成与Token的分派。代码更加简洁易于维护,解决了第三方认证游离于 OAuth 2 管控体系之外的问题。
    2. 本着“高内聚、低耦合”的原则,调整代码,优化代码分包。提升代码分包的合理性,降低各代码包之间的耦合性。
    3. 清除大量无用代码。
    4. 前端代码升级大量依赖包版本,重新编译库。
    5. 新增 Social Authentication 授权模式配置功能。
    6. 回滚compression-webpack-plugin组件版本,解决高版本运行错误问题。
    7. 补充在线文档IDEA使用常见问题章节。
    8. 解决 MySQL 数据更新脚本数据类型不兼容问题

    v2.5.5.40

    1. 简化 OAuth2 资源服务器 ResourceServerConfigure 配置,代码更简洁规范。
    2. 进一步融合 OAuth2 错误体系,解决 OAuth2 部分错误提示与系统自定义错误体系不一致、不融合的问题。
    3. 解决包含路径参数的接口,可以跳过鉴权机制直接访问问题
    4. 解决人员与用户 @OneToOne 映射,由Jackson 反序列化实体导致 JPA 保存或修改失败问题。
    5. 优化接口统一信息反馈类别,新增空数据信息结果反馈,让信息反馈内容更加友好
    6. 补充常用正则表达式库
    7. 优化人员管理、角色管理关键信息异步校验功能,解决人员管理,使用枚举作为数据类型类型导致的修改数据错误问题。
    8. 新增为组织机构人员分配默认用户功能。
    9. 新增系统默认角色配置功能。支持机构人员、手机验证码、微信小程序、QQ、微博、百度、微信开放平台、微信公众号、企业微信二维码、企业微信网页、钉钉、钉钉账号、阿里云、淘宝、支付宝、Teambition、华为、飞书、京东、抖音、今日头条、小米、人人、美团、饿了么、酷家乐、喜马拉雅、码云、开源中国、Github、Gitlab、Stackoverflow、Coding、谷歌、微软、脸书、领英、推特、亚马逊、Slack、Line、Okta、Pinterest等多种途径或第三方登录默认角色的配置。

    v2.5.5.30

    1. Debezimu 升级至 1.7.0.Final
    2. 优化统一结果返回实体封装,使用更加便捷。
    3. 使用统一结果返回实体新接口,替换已有代码。
    4. 优化接口数据前后端加密传输机制,全面支持使用 Spring @RequestParam 注解接口数据加解密。
    5. 统一使用 @RequestParam 注解接口加解密方式,改进 OAuth 2 密码模式,用户名、密码参数加密,不再使用传统Filter方式,代码更加简洁规范清晰。
    6. 重新调整 WebMvc 配置核心代码,依赖关系更合理,代码逻辑更清晰。
    7. 优化完善前端用户管理相关功能。
    8. 增加基于 VeeValidate 组件的服务端异步校验机制

    v2.5.5.20

    • 重大更新

      1. Spring Boot Admin 升级至 2.5.2
      2. 基于最新版Axios定义,所有Delete接口,修改为路径参数形式
      3. 混合 RSA(非对称) 和 AES(对称加密) 算法,基于自定义注解,设计接口数据前后端加密传输机制。
      4. 设计自定义数据传输 Session,规避 Vue Session 变化问题。基于自定义Session,实现 AES KEY 动态生成、加密传输、一人一钥的安全机制,提高系统安全性。
      5. 实现 OAuth 2 密码模式,用户名、密码参数加密传输。
    • 其它更新

      1. 修复 Spring Validation 错误信息不会抛出,循环引用问题。
      2. 前端 Utils 工具包,新增加密算法模块
      3. 基于最新版Axios定义,优化 Axios 请求通用代码
      4. 实现前端 node-rsa 包 RSA 算法,与后端 Hutool SecureUtil RSA 算法互相加、解密。
    • 依赖包版本升级

      1. Guava 升级至 31.0.1-jre
      2. SpringDoc 升级至 1.5.11
      3. Mybatis Plus Generator 升级至 3.5.1
      4. 前端工程升级大量依赖包

    v2.5.5.10

    1. 解决 OAuth2 自带业务表通过 Spring Data JPA 自动创建,字段名变化为小写问题。
    2. 完善前端 Camnuda 工作流编辑器组件功能。
    3. 完善前端部分功能,解决已知问题。
    4. 更新在线文档,补充前端工程详细介绍。

    v2.5.5.0

    • 重大更新

      1. Spring Boot 升级至 2.5.5
      2. Spring Cloud 升级至 2020.0.4
      3. 大幅改进系统数据库表和数据初始化方式,实现OAuth2业务表自动创建,取消使用脚本的创建方式,提升便捷性
      4. 新增人力资源管理相关功能,功能和模型设计实现与Camunda用户体系统一。便于用户体系数据的同步和管理。
      5. 基于rollup、lerna 和 yarn workspaces,以 monorepo 方式重新构建前端工程。新版前端工程是以Vue2、Typescript开发的,组件库式的前端功能。代码更清晰、组件化和重用化程度更高。为升级至Vue3做前序铺垫。
    • 其它更新

      1. 解决Skywalking UI连接Skywalking OAP Server出错问题。
      2. 修改防刷机制的默认配置
      3. 重新梳理错误体系,优化错误信息,错误提示更加友好。
      4. 解决单体版对Basic模式认证跨域拦截的问题
      5. 实现OAuth2 Password模式部分参数加密传输方式,提升系统安全性。
      6. 修复老版本前端工程已知问题。
      7. 在线文档同步更新。
    • 依赖包版本升级

      1. Hutool 升级至 5.7.13
      2. okhttps 升级至 3.1.5
      3. weixin-java-miniapp 升级至 4.1.9.B
      4. JustAuth 升级至 1.16.4
      5. jasypt-spring-boot-starter 升级至 3.0.4
      6. mybatis-plus-boot-starter 升级至3.4.3.4
      7. dysmsapi20170525 升级至 2.0.5

    v2.5.4.140

    1. 优化Antisamy通用代码,提升Xss分析西能,去除严格拦截导致的JSON解析错误。
    2. 解决本地权限缓存并发写入冲突,抛出com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException问题。
    3. 解决OAuth Starter引入Upms Logic 重复导入权限数据问题。
    4. 修改默认验证码字体配置
    5. 去除无用依赖包
    6. 新增MySQL57数据库切换配置。更新Nacos 配置SQL脚本,增加最新导入包。
    7. 新增Camunda 官方脚本
    8. 优化数据导入脚本

    v2.5.4.130

    1. 修复单体版Knife4j依赖错误问题
    2. 修复单体版配置错误问题
    3. 增加Gitee流程模版
    4. 修复OAuth2自定义confirm_access.html,error.html,login.html页面,数据类型编译错误。
    5. 优化自定义页面显示内容,增加Exception StackTrace输出
    6. 修复XssUtils校验出错问题。
    7. 优化ResourceServer安全配置
    8. 修复OAuth2 四种模式中授权码模式(Authorization Code)、隐式授权模式(Implicit Grant)模式出错问题。
    9. 解决前端控制台出错问题
    10. 更新在线文档,增加OAuth2 四种模式验证说明

    v2.5.4.120

    1. 使用Springdoc全面替换Springfox,配置更灵活、配置更多样
    2. Swagger文档注解全面升级为支持OpenAPI
    3. 使用Springdoc重构文档聚合功能,支持聚合查阅和服务独立查阅。Knife4j同步升级至3.0.3版本。
    4. Swagger文档默认支持OAuth2 Password、Authorization Code 两种认证流程
    5. 整合Camunda Engine Rest 与Swagger,实现Camunda API接口文档查阅,支持聚合查阅。
    6. 修复Bpmn服务默认启动Tomcat问题。
    7. 升级前端依赖包版本
    8. 更新Nacos配置文件及导入包
    9. 更新在线文档

    v2.5.4.110

    1. 重新构建项目文档体系,使用纯静态页面,替代已有 Gitee Wiki 文档。优化文档结构,提升文档阅读体验。提供全文搜索,便于文档查阅。支持文档独立部署,方便使用者搭建独立的文档服务查阅。
    2. 更换Nacos导入包,解决上一版本导入包导入重复问题
    3. Update Readme

    v2.5.4.100

    1. 重新梳理所有Nacos配置,提取共性配置至统一配置文件,优化配置属性结构和归类,便于参数修改,降低维护复杂度
    2. 重构数据库相关Nacos配置,优化Maven、Nacos多环境配置与数据库切换的联动性,让数据库切换所需修改的参数更少,切换更顺滑
    3. 解决eurynome-cloud-management编译出现的Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on 4. project XXXX: Input length = 1 -> [Help 1]错误
    4. 解决Redis设置密码后,无法连接出现 NOAUTH Authentication required 错误
    5. 增加MySQL数据库默认数据初始化脚本
    6. 增加最新版Nacos配置导入包
    7. 修复前端UI申请APPKEY页面错误
    8. 修复前端UI切换至单体版后,连接错误问题。
    9. 升级前端UI依赖包版本。
    10. 同步更新相关文档,补充新建子模块、常见问题等部分文档。

    v2.5.4.90

    1. 使用Mybatis Plus全面替换已有Mybatis,与Spring Boot Data JPA共存且支持同时使用。使用任何技术都可以无障碍的进行业务代码编写。
    2. 整合Mybatis Plus和Spring Boot Data JPA更换数据库配置属性,一处修改即可以同时修改Mybatis Plus和Spring Boot Data JPA使用数据库类型。
    3. 新增接口XSS脚本攻击过滤机制,同时支持请求参数和JSON请求体过滤。采用Ebay XSS过滤模型,进一步提升防控能力。
    4. 新增SQL 注入攻击防控机制。
    5. 解决eurynome-cloud-gateway和eurynome-cloud-management服务启动调用Kafka问题。
    6. 解决CacheConfigException错误问题,在错误体系中增加配置参数不合理提醒,让信息反馈更加友好。
    7. 解决Spring Boot Admin 不支持Java 8 时间类型问题。
    8. 解决Spring Boot Admin 不显示 Git Properties 信息问题。
    9. 解决修改Redis密码配置生效问题
    10. 梳理dependencies依赖包,对已有依赖进行进行更合理的分类,更加便于依赖包的找寻和维护。
    11. 升级依赖包版本
      • spring-boot-admin 升级至 2.5.1
      • git-commit-id-plugin 升级至 4.9.10
      • docker-maven-plugin 升级至 0.37.0
      • hutool 升级至 5.7.10
      • okhttps 升级至 3.1.4
      • JustAuth 升级至1.16.3
      • aliyun-java-sdk-core 升级至 4.5.25
      • baiducloud-java-sdk 升级至 0.10.175
      • aliyun-java-sdk-oss 升级至 3.13.1
      • cn.jpush.api 升级至 3.5.2
    12. 规范项目文档,增加系统部署、数据库切换等多部分内容
    13. 增加Nacos配置导入包,在没有自动部署功能支持的情况下,也可以更加方便的导入配置。
    14. 替换 UI SweetAlert 过期方法,解决弹出框不会关闭问题
    15. 解决授权码模式(authorization code)验证码被拦截问题

    v2.5.4.80

    • 合并eurynome-cloud-curd包和eurynome-cloud-rest包,减少包数量,提升代码维护便捷度。
    • 增加接口幂等处理机制,防止重复提交。增加接口防刷限制机制,防止接口恶意频繁刷新。
    • 接口幂等和防刷机制,均支持全局配置控制,同时提供@Idempotent和@AccessLimited注解进行灵活的、个性化的配置。
    • 接口幂等和防刷机制,缓存标记采用分布式多级缓存进行存储,将低单一访问Redis带来的访问压力,同时支持多实例数据多级缓存本地数据同步。
    • 接口幂等和防刷机制,所涉及标记缓存时间配置全部统一支持Duration时间格式,简化配置参数,提升配置便捷度。同时,优化平台错误响应体系,返回更加友好的错误信息提示。
    • 定义Stamp签章体系,采用统一体系,对SMS短信验证码、JustAuth State、环信Token以及接口幂等和防刷等需临时存储标记相关应用进行统一实现。同时,采用分布式多级缓存进行数据存储,降低单一访问Redis压力。

    v2.5.4.65

    • 优化Skywalking打包内容,直接使用Skywalking官方容器
    • 补充RequestMappingScanner对应事件代码,解决单体版扫描Rest API接口后不会存储问题
    • 优化数据库脚本以及数据库表结构和默认数据自动初始化机制。解决在第一次运行时,Spring Data JPA JDBC初始化机制与Hibernate 初始化机制冲突问题。
    • 在Gitee Wiki中,增加数据库初始化说明文档
    • 删除部分预留代码,减少暂时不必要的代码对使用者带来的误导。
    • 前端UI中,增加部分配置,使用者可以通过注释部分配置,让前端UI快速支持单体版。

    v2.5.4.60

    • Spring Boot 版本升级至 2.5.4
    • Skywalking 版本升级至 8.7.0
    • 微服务日志输出至日志中心格式。
    • 增加Swagger注入条件注解,优化日志中心相关配置采用统一常量控制
    • 增加自定义Property"助手"数据统一自动编译生成配置,无须额外设置,在IDE中编辑配置属性时可自动弹出提示
    • 修复Kafka配置不生效问题。
    • 解决单体版自动启动Kafka问题。
    • 暂时关闭单体版Swagger,规避Swagger会自动启动Kafka问题。

    v2.5.4.55

    • 整合代码,将constant包代码整合至common包中。删除constant包。
    • 完善Rest接口校验机制,以及相关自定义错误码
    • 统一spring boot validation错误信息,将其整合至平台统一响应实体Result中。无须在各个Rest接口中,添加BindingResult参数。

    v2.5.4.50

    • 优化服务本地权限存储逻辑,解决权限属性数据重复存储,不会替换问题。
    • 重新梳理Spring Security OAuth2 方法级表达式动态权限鉴权逻辑,摒弃无用的权限验证Voter逻辑,使用统一逻辑实现@PreAuthorize注解权限的全面动态可配置化。统一平台接口- 白名单,IP地址白名单,以及Scope绑定URL的管理。
    • 重构UserDetails用户信息组织逻辑,使用Spring Security标准代码,替换自定义逻辑代码,降低代码冗余,与自研方法级动态权限完美融合。
    • 优化平台权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及分布式各服- 务多实例等各种应用场景。
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 清理系统无用代码。
    • 增加方法级动态权限演示动图,更新Readme

    v2.5.4.40

    • 优化自定义多级缓存,实现可以统一设置allowNullValues值,并解决存储空值时卡死问题。
    • 重新梳理、优化系统权限从Controller扫描、汇总存储至服务器以及动态修改后最终回传同步至服务的整理逻辑以及事件流。完美支持单体式架构、UPMS自身应用需求、分布式架构以及- - 分布式各服务多实例等各种应用场景。
    • 增加Kafka条件注入配置,将条件转换为@ConditionalOnXXX,方便管理和维护。避免单体版应用相关依赖过度依赖Kafka而导致的无法启动
    • 修复部分已知BUG,将部分代码中日志由@Slf4j改回传统日志编写方式,一方面提高编译效率,另一方面解决源代码包查看时Idea提醒代码不一致问题。
    • 去除传统Kafka Producer 通用类,改为统一使用 Spring Cloud Bus

    v2.5.4.30

    • 重新调整Property配置,规范Property定义。修改相关配置
    • 调整包,以及包相关依赖关系。让包之间的依赖更加合理
    • 增加Kafka配置,增加@KafkaListener动态控制,以避免在不需要的情况下Kafka的自动开启。
    • 调整部分常理代码位置,常量代码基本调整完成
    • 将原有自定义条件,转换为@ConditionalOnXXX注解,让使用更加便捷
    • 日志中心是否开启状态,改为@ConditionalOnLogCenterEnabled注解

    v2.5.4.20

    • 本地权限缓存更换为JetCache,为服务多实例的权限扫描和存储提供更好的支持
    • 将数据访问策略从Conditional类,升级为Conditional注解,使用更加便捷
    • 调整包依赖关系,新建assistant、constant包,删除message包。
    • 逐步将平台中各类非独有常量移入constant包方便管理和修改
    • 采用Spring Boot Event和Spring Cloud Bus Event 机制重构接口收集逻辑。支持单体架构、UPMS、分布式多实例等不同场景接口扫描的特殊需求
    • 优化Docker Compose配置,使用Debezium Kafka 替换已有kafka,以支持Debezium应用
    • 删除无用代码

    v2.5.4.10

    • 全网首个实现Spring Security 动态URL权限与注解表达式权限有机整合,并且可以动态配置的微服务框架。
    • 全面支持方法级权限控制,Security OAuth2 permitAll等方法权限以及@PreAuthorize注解权限,均支持动态配置。目前支持以下权限的动态配置: · hasRole · hasAnyRole · hasAuthority · hasAnyAuthority · hasIpAddress · #oauth2.clientHasRole · #oauth2.clientHasAnyRole · #oauth2.hasScope · #oauth2.hasAnyScope · #oauth2.hasScopeMatching · #oauth2.hasAnyScopeMatching · #oauth2.denyOAuthClient · #oauth2.isOAuth · #oauth2.isUser · #oauth2.isClient
    • 彻底解决使用withObjectPostProcessor方式,会覆盖外部匹配规则问题。
    • 真正实现Scope权限与URL权限的关联与管控,拓展OAuth2默认只进行Scope简单对比的实现逻辑。
    • 实现动态权限配置的多服务同步。
    • 暂时去除JetCache,全面使用自研支持Hibernate二级缓存的多级缓存。
    • 修改配置文件配置
    • 删除无用代码

    v2.5.3.60

    • Nacos版本升级至2.0.3
    • Hutool版本升级至5.7.6
    • 修改部分代码名称
    • 修改配置文件配置参数

    v2.5.3.50

    • 将所有服务包括UAA的权限存储,改为本地和认证中心,多级分布式存储和验证。
    • 增加策略模式,支持认证中心权限数据直连和远程消息两种存储方式动态切换。
    • 改进自研多级缓存,解决Hibernate二级缓存进行数据缓存时产生的事务锁问题。
    • 删除无用代码
    • 为动态Scope权限做铺垫。
    • 全面支持方法级权限控制。

    v2.5.3.40

    • Spring Boot 版本升级至 2.5.3
    • 采用新的Hash算法,缩短权限标识;简化用户权限信息,以缩短平台生成JWT Token的长度
    • git commit 插件由pl.project13.maven » git-commit-id-plugin改为io.github.git-commit-id » git-commit-id-maven-plugin。
    • git commit 插件升级至 5.0.0 版本

    v2.5.3.30

    • 重构用户中心用户人员体系,将平台用户、第三方社交登录用户、人事管理用户以及Camunda工作流用户体系无缝融合。
    • 人事管理体系人员唯一化管理,同时支持企业、党组、团青等多种类型的机构类型,便于企业人事管理。
    • 基于Debezium实现数据库变更数据捕获,实现人事管理信息与Camunda工作流用户实时同步。
    • 树形结构通用代码实现逻辑与Hutool Tree一致,因此采用Hutool Tree 全面替换已有的Tree代码。
    • 删除不再使用的通用类代码。
    • 修改说明文档

    v2.5.3.10

    • 自研基于Caffeine和Redis分布式两级缓存
    • 完美支持JPA Hibernate二级缓存
    • 完美支持各类查询数据缓存以及JPA @ManyToMany, @ManyToOne等关联查询。
    • 实现基于Caffeine的Hibernate二级缓存,可与自研两级缓存快速切换,仅使用本地缓存。
    • 极大的简化了原有自研的基于JetCache的缓存使用方式。
    • 保留JetCache,可根据实际使用需要使用。
    • 已有服务接口相关代码,均已更新自研分布式两级缓存模式。

    2.5.2.40

    • Redis Value 默认序列化工具修改为Jackson2JsonRedisSerializer
    • jetcache valueEncoder 和 valueDecoder 修改为kryo
    • 部分代码的日志改为传统方式,不再使用@Slf4j注解
    • 抽象实体共性属性,拓展基础实体,以支持JPA视图类的ORM映射。
    • 重构基础Service,将基础Service的读操作与其它操作分离,以支持“视图”相关Service的编写。
    • 重构基础Controller,将基础Controller的读操作与其它操作分离,以支持“视图”相关Controller的编写。
    • 将Hibernate Validator替换为spring-boot-starter-validation
    • 删除JPA过期方法封装

    v2.5.2.30

    • Spring Boot 版本升级至2.5.2
    • Spring Boot Admin 版本升级至2.4.2
    • 升级其它相关依赖版本

    v2.5.2.25

    • Skywalking升级至8.6.0

    v2.5.2.20

    • Spring Boot 升级至2.5.1
    • Camunda 升级至7.15.0
    • 其它依赖包版本升级
    • Swagger回滚至2.9.2,解决Swagger接口测试相关问题以及Knife4 Authorize不显示问题
    • 结构性调整平台相关配置属性

    v2.5.1.0

    • Spring Boot 大版本升级至2.5.0

    v2.4.5.60

    • 修改负载均衡不生效问题
    • 调整包依赖关系
    • 升级版本

    v2.4.5.48

    • 正式发布开源版本
    更新时间: 2021/10/16 下午10:58:50
    贡献者: herodotus
    + diff --git a/docs/service-worker.js b/docs/service-worker.js index 98a2039ce..7fc84fd79 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -1 +1 @@ -if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return i[e]||(s=new Promise((async s=>{if("document"in self){const i=document.createElement("script");i.src=e,document.head.appendChild(i),i.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!i[e])throw new Error(`Module ${e} didn’t register its module`);return i[e]}))},s=(s,i)=>{Promise.all(s.map(e)).then((e=>i(1===e.length?e[0]:e)))},i={require:Promise.resolve(s)};self.define=(s,a,r)=>{i[s]||(i[s]=Promise.resolve().then((()=>{let i={};const c={uri:location.origin+s.slice(1)};return Promise.all(a.map((s=>{switch(s){case"exports":return i;case"module":return c;default:return e(s)}}))).then((e=>{const s=r(...e);return i.default||(i.default=s),i}))})))}}define("./service-worker.js",["./workbox-543be79b"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"404.html",revision:"8abce71754d126192568bdcb66934d9f"},{url:"android-chrome-192x192.png",revision:"07c382df032d091f5949971ab5c7f84d"},{url:"android-chrome-512x512.png",revision:"0c57d8074b936a6d1d5740f7ef391d59"},{url:"assets/css/styles.d9dc5387.css",revision:null},{url:"assets/img/back-to-top.8b37f773.svg",revision:null},{url:"assets/img/search.b017a09f.svg",revision:null},{url:"assets/js/205.1241a419.js",revision:null},{url:"assets/js/287.4d31e5fd.js",revision:null},{url:"assets/js/293.b4539685.js",revision:null},{url:"assets/js/491.972827fa.js",revision:null},{url:"assets/js/app.4a9b47f8.js",revision:null},{url:"assets/js/runtime~app.14515848.js",revision:null},{url:"assets/js/v-01ef07a3.8ac29f95.js",revision:null},{url:"assets/js/v-040481e0.06a9e811.js",revision:null},{url:"assets/js/v-04a4871c.10bc9869.js",revision:null},{url:"assets/js/v-05e1cd7a.a7fdfe69.js",revision:null},{url:"assets/js/v-0fc7dbdb.c4791901.js",revision:null},{url:"assets/js/v-150eedcd.1b8f991c.js",revision:null},{url:"assets/js/v-1b984d6f.e273d872.js",revision:null},{url:"assets/js/v-23340e69.3985a398.js",revision:null},{url:"assets/js/v-25b47c13.78dfea1d.js",revision:null},{url:"assets/js/v-31203a50.7c6f0960.js",revision:null},{url:"assets/js/v-3297977c.e712a968.js",revision:null},{url:"assets/js/v-3413cbec.b35dffed.js",revision:null},{url:"assets/js/v-34232cb1.a16c51b9.js",revision:null},{url:"assets/js/v-344b5769.298808d9.js",revision:null},{url:"assets/js/v-3706649a.7c7f390b.js",revision:null},{url:"assets/js/v-392e2ac6.ba5c39f9.js",revision:null},{url:"assets/js/v-4331d874.9dd6945c.js",revision:null},{url:"assets/js/v-49381304.5f7bf04f.js",revision:null},{url:"assets/js/v-4c5db979.e8d6892c.js",revision:null},{url:"assets/js/v-5b482e3b.8ec796b3.js",revision:null},{url:"assets/js/v-5f81e486.8aef46c8.js",revision:null},{url:"assets/js/v-5fe0d252.85f22c75.js",revision:null},{url:"assets/js/v-6430ce6c.1de67da1.js",revision:null},{url:"assets/js/v-661abe0c.31ad52d8.js",revision:null},{url:"assets/js/v-8daa1a0e.5c646a5b.js",revision:null},{url:"assets/js/v-96fd052e.ecbc8c5a.js",revision:null},{url:"assets/js/v-9a0d6c6c.b218c0df.js",revision:null},{url:"assets/js/v-b68b64a4.996c8dea.js",revision:null},{url:"assets/js/v-c0f957a0.47c85b57.js",revision:null},{url:"assets/js/v-c6b464d4.5f88529b.js",revision:null},{url:"assets/js/v-cff5f184.792b970a.js",revision:null},{url:"assets/js/v-d0b8a61e.d94faa1a.js",revision:null},{url:"assets/js/v-eef3d90a.a515c5ba.js",revision:null},{url:"assets/js/v-f283941e.5ab5ebed.js",revision:null},{url:"basic-knowledge/index.html",revision:"ccd782f107fb8fcf56fed3a78bf5a3da"},{url:"basic-knowledge/postgresql.html",revision:"4a97160ffb16a08567f08c7b962eb768"},{url:"basic-knowledge/spring-data-jpa.html",revision:"e63eb84f99b80e1d729b5d9984a89304"},{url:"configurations/index.html",revision:"8d4a80dc186573caf4e0f365cb5efa1c"},{url:"configurations/系统配置.html",revision:"2857d6d7470140437f86806cb05ac8a3"},{url:"configurations/组件配置.html",revision:"ea0cbbb885eb738ec91fbce0b7686847"},{url:"documents-athena/index.html",revision:"46e27aaa2156e451adeab59cc7dc31dd"},{url:"documents-athena/环境部署.html",revision:"f39a921005d88faf7dcc796efed4bf63"},{url:"documents/index.html",revision:"bb48d32406d17684bf19b6c06340f623"},{url:"documents/依赖组件.html",revision:"b809daa98754a9215b723c486b89691f"},{url:"documents/前端介绍.html",revision:"23f840289aa0320ca689b0b5dd82129f"},{url:"documents/前端问题.html",revision:"81e01d23b34da6c724f53352b7ee8597"},{url:"documents/多环境配置.html",revision:"ca2eca611dc8ebbafbc9d49b50e369a0"},{url:"documents/常用命令.html",revision:"f4ffccdb807d3070841e6258b622d3d0"},{url:"documents/快速了解.html",revision:"610e03065223f6b2c582f41fe43afddb"},{url:"documents/数据初始化.html",revision:"3da58800beb737cd9cce591a3fbac6b1"},{url:"documents/新建子模块.html",revision:"585c014d18d1ab614661313d26a7289d"},{url:"documents/更换数据库.html",revision:"c3086fd0117ecade19b0371c71264875"},{url:"documents/注意事项.html",revision:"030974b0ca37d8fea7518f48ed0c8b3b"},{url:"documents/添加模块.html",revision:"31748a22a8ac618b06f1e5a86ff68797"},{url:"documents/环境部署.html",revision:"aca4676f1bb65d85e64876be68cd5108"},{url:"documents/项目介绍.html",revision:"9a0613102665976c91ec9f7697ad3155"},{url:"images/database/my-sql-vs-postgre-sql-compressed.jpg",revision:"fdd4c7f1953443e0d4d69def33fafa34"},{url:"images/docker/app-container.png",revision:"88197cdfaa83504235bc0b7a5bcadc14"},{url:"images/docker/applications.jpg",revision:"3f33024ace85bc48a19f57d1f691103e"},{url:"images/docker/container.png",revision:"f91533cf87576220b2bc1d76d5b2665e"},{url:"images/docker/core-tech.png",revision:"aade93cf1e8d5db98b09aa8017251779"},{url:"images/docker/docker-architecture.png",revision:"63ec9d28932e1a67d458c7840977a44c"},{url:"images/docker/docker-architecture2.png",revision:"4bed7e29ef42ac26bfeda9c135111c71"},{url:"images/docker/docker-tech.png",revision:"a799431c62d6196b82cdfcf96908fa3a"},{url:"images/docker/docker-vs-vm.png",revision:"5686263a3e3f37a2303dc22f262026ac"},{url:"images/docker/good-container.png",revision:"c9ca2e53f0ce4c265a35f17b6e1d9482"},{url:"images/docker/history.png",revision:"0d07adc484b61b33ea94ee3a044b85ce"},{url:"images/docker/logo-01.png",revision:"58163520542dc2c5accf3f6e01ca8712"},{url:"images/docker/union-fs.png",revision:"5381df3448a36c00efa190e8bc2dd740"},{url:"images/docker/vm.png",revision:"5596ce8ebf9119a4e15cfae4b1bb8f16"},{url:"images/docker/what-is-docker.png",revision:"eac606d5dbd569b012fba68847b9050e"},{url:"images/idea/application-run-01.png",revision:"d020c7e7532d7399007ce6f66997a01f"},{url:"images/idea/application-run-02.png",revision:"2e66e5f98889d905e6803f233f23ee9b"},{url:"images/idea/create-module-01.png",revision:"923c5c3b91b5ab8a73c12bc1e4e1e971"},{url:"images/idea/create-module-02.png",revision:"e90214f0aa511674d055c077e06e6bb2"},{url:"images/idea/create-module-03.png",revision:"d65442b811fecb10d90a45758cc9044d"},{url:"images/idea/create-module-04.png",revision:"de6d7f005ca20cb55a934c3237506557"},{url:"images/idea/lifecycle.png",revision:"baa028a11ea1b3963a4874e286acff2c"},{url:"images/idea/local-skywalking.jpeg",revision:"693f9b10c49c7ec01d6ca1f9c0ea616b"},{url:"images/idea/profiles.png",revision:"0f75d924d932f4ab368f441d578fe74b"},{url:"images/idea/refresh-maven.png",revision:"6e1d7409c8ca8535937ad1dfcb8a56fe"},{url:"images/jpa/architecture.png",revision:"99ab03a09b0e8aa7b202d5c112b878a6"},{url:"images/jpa/spring-data-jpa-uml.png",revision:"50b2753dee73ea73cbdabed7e457e4f5"},{url:"images/jpa/spring-data-jpa.png",revision:"aa17e196453d191f835409d79b63ddd8"},{url:"images/jpa/spring-data.png",revision:"1e4ed736300f5da02a48a61326bbcd00"},{url:"images/jpa/three-relationship.png",revision:"7ca1ae2cc375f42f05ca9dc94bd7871b"},{url:"images/logo.png",revision:"18f13186f45de9b368eeefffca40263a"},{url:"images/main/architecture.jpg",revision:"f9328c3f21f7993d644756fc6dccc798"},{url:"images/main/oauth2expression.gif",revision:"918eeb8e6f0848fc7f98d9a65e275301"},{url:"images/main/skywalking.gif",revision:"8b16d1203f68a6c1e18ebd507cf88274"},{url:"images/nacos/config-create.png",revision:"4ac5b823d8445b731fe43bcb6256200b"},{url:"images/nacos/config-import.png",revision:"7b45d8e2b2ea59eaf85a8ffdff1270e3"},{url:"images/nacos/namespaces-create.png",revision:"be563d8ee52e98501f7a1db090e68640"},{url:"images/nacos/namespaces-tab.png",revision:"e3070ae8e327f304ca29718fe5a78fdc"},{url:"images/oauth/authorization-code-demo-01.png",revision:"f4670ba0d14e029635802be6ff841f21"},{url:"images/oauth/authorization-code-demo-02.png",revision:"345f40c8f06d447854c2df034ee36597"},{url:"images/oauth/authorization-code-demo-03.png",revision:"40e6e576ae8107aafe0ac27de4774f04"},{url:"images/oauth/authorization-code-demo-04.png",revision:"743bc7dbcd7c50817c2784ef89150e19"},{url:"images/oauth/authorization-code-demo-05.png",revision:"9c29cd979e83b45b63553aafe98ed934"},{url:"images/oauth/authorization-code-description.png",revision:"186908c1ef44f1c434c93254ef1528ba"},{url:"images/oauth/authorization-code-flow.png",revision:"ac937d68c63cf0b47384cbd83d3291eb"},{url:"images/oauth/client-credentials-grant-flow.png",revision:"1884042b339b9e3ddff600f357b5dc05"},{url:"images/oauth/implicit-grant-description.png",revision:"f17a5b9cb03508eda40fa2c7f79e0732"},{url:"images/oauth/implicit-grant-flow.png",revision:"3d28707fa55f1657710626247b6448e3"},{url:"images/oauth/resource-owner-password-credentials-grant-flow.png",revision:"3d28707fa55f1657710626247b6448e3"},{url:"images/redis/bind-ip.png",revision:"cda279bd599cd727088e3c51c4078320"},{url:"images/vue/why-vuetify.png",revision:"6ace014a533aef1c0bc86a961a148283"},{url:"index.html",revision:"96d2aabd434ec01c5c0516e4f8d5935b"},{url:"microservices/index.html",revision:"72111357b3c1c5ed06831323ce4859c4"},{url:"microservices/OAuth2授权标准.html",revision:"6655ee6562f6e4e605321490ce08829f"},{url:"microservices/容器化技术.html",revision:"ed544db8e677250687a127c94d699d03"},{url:"microservices/容器化部署.html",revision:"2b0445693e2d60f0322f7f25c3788569"},{url:"others/Idea.html",revision:"84e5f1ca859c40dc91777291646233bb"},{url:"others/index.html",revision:"46756a19e3830bfd23b4ad96308bdd8b"},{url:"others/MySQL.html",revision:"8dc2b1c2a8a60b27901586bab38a8036"},{url:"others/Nacos.html",revision:"179ec5bce2cdc657d8f7c26888a329fb"},{url:"others/Redis.html",revision:"2ed316a05b6a686bd4453e2ed72c04e3"},{url:"others/更新日志.html",revision:"9c232e644e811159e8b9e4587819265d"}],{})})); +if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return i[e]||(s=new Promise((async s=>{if("document"in self){const i=document.createElement("script");i.src=e,document.head.appendChild(i),i.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!i[e])throw new Error(`Module ${e} didn’t register its module`);return i[e]}))},s=(s,i)=>{Promise.all(s.map(e)).then((e=>i(1===e.length?e[0]:e)))},i={require:Promise.resolve(s)};self.define=(s,a,r)=>{i[s]||(i[s]=Promise.resolve().then((()=>{let i={};const n={uri:location.origin+s.slice(1)};return Promise.all(a.map((s=>{switch(s){case"exports":return i;case"module":return n;default:return e(s)}}))).then((e=>{const s=r(...e);return i.default||(i.default=s),i}))})))}}define("./service-worker.js",["./workbox-543be79b"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"404.html",revision:"1087cc63aa770714329805e3dce2f9f1"},{url:"android-chrome-192x192.png",revision:"07c382df032d091f5949971ab5c7f84d"},{url:"android-chrome-512x512.png",revision:"0c57d8074b936a6d1d5740f7ef391d59"},{url:"assets/css/styles.d9dc5387.css",revision:null},{url:"assets/img/back-to-top.8b37f773.svg",revision:null},{url:"assets/img/search.b017a09f.svg",revision:null},{url:"assets/js/205.1241a419.js",revision:null},{url:"assets/js/287.4d31e5fd.js",revision:null},{url:"assets/js/293.b4539685.js",revision:null},{url:"assets/js/491.972827fa.js",revision:null},{url:"assets/js/app.4c820efd.js",revision:null},{url:"assets/js/runtime~app.4bca006e.js",revision:null},{url:"assets/js/v-01ef07a3.8ac29f95.js",revision:null},{url:"assets/js/v-040481e0.06a9e811.js",revision:null},{url:"assets/js/v-04a4871c.10bc9869.js",revision:null},{url:"assets/js/v-05e1cd7a.a7fdfe69.js",revision:null},{url:"assets/js/v-0fc7dbdb.c4791901.js",revision:null},{url:"assets/js/v-150eedcd.1b8f991c.js",revision:null},{url:"assets/js/v-1b984d6f.daaf7f30.js",revision:null},{url:"assets/js/v-23340e69.72882fb1.js",revision:null},{url:"assets/js/v-25b47c13.78dfea1d.js",revision:null},{url:"assets/js/v-31203a50.7c6f0960.js",revision:null},{url:"assets/js/v-3297977c.e712a968.js",revision:null},{url:"assets/js/v-3413cbec.b35dffed.js",revision:null},{url:"assets/js/v-34232cb1.a16c51b9.js",revision:null},{url:"assets/js/v-344b5769.298808d9.js",revision:null},{url:"assets/js/v-3706649a.7c7f390b.js",revision:null},{url:"assets/js/v-392e2ac6.ba5c39f9.js",revision:null},{url:"assets/js/v-4331d874.9dd6945c.js",revision:null},{url:"assets/js/v-49381304.5f7bf04f.js",revision:null},{url:"assets/js/v-4c5db979.e8d6892c.js",revision:null},{url:"assets/js/v-5b482e3b.20a5c5a5.js",revision:null},{url:"assets/js/v-5f81e486.8aef46c8.js",revision:null},{url:"assets/js/v-5fe0d252.85f22c75.js",revision:null},{url:"assets/js/v-62970b72.5a6e474b.js",revision:null},{url:"assets/js/v-6430ce6c.1de67da1.js",revision:null},{url:"assets/js/v-661abe0c.31ad52d8.js",revision:null},{url:"assets/js/v-8daa1a0e.5c646a5b.js",revision:null},{url:"assets/js/v-96fd052e.ecbc8c5a.js",revision:null},{url:"assets/js/v-9a0d6c6c.b218c0df.js",revision:null},{url:"assets/js/v-b68b64a4.996c8dea.js",revision:null},{url:"assets/js/v-c0f957a0.02d867d1.js",revision:null},{url:"assets/js/v-c6b464d4.5f88529b.js",revision:null},{url:"assets/js/v-cff5f184.792b970a.js",revision:null},{url:"assets/js/v-d0b8a61e.d94faa1a.js",revision:null},{url:"assets/js/v-eef3d90a.a515c5ba.js",revision:null},{url:"assets/js/v-f283941e.5ab5ebed.js",revision:null},{url:"basic-knowledge/dev-environment.html",revision:"3d913513507696626ec9f4e61325e6e4"},{url:"basic-knowledge/index.html",revision:"34918c40af9e90e31f0567f12c623781"},{url:"basic-knowledge/postgresql.html",revision:"b3d817496b3b33d2c4f1a7b4b2cf8065"},{url:"basic-knowledge/spring-data-jpa.html",revision:"3364d30335787520a0fee0cee2f93019"},{url:"configurations/index.html",revision:"e15b601f858db804c227e6ad36a654df"},{url:"configurations/系统配置.html",revision:"f7df87498ce1f9221cf753eb6f24ce74"},{url:"configurations/组件配置.html",revision:"cec02d5427e421de0073b29b796ce7d4"},{url:"documents-athena/index.html",revision:"5923df1f2ef4d84fe0be988d8a345af8"},{url:"documents-athena/环境部署.html",revision:"7c5034699d571a6b9372f537dd0c83ee"},{url:"documents/index.html",revision:"1b9a6d5576fd289f868bc849cf0f86d8"},{url:"documents/依赖组件.html",revision:"e6dce4331e147651d7a32607f0997167"},{url:"documents/前端介绍.html",revision:"2ae1df598791e896c3d3349d985bdcd8"},{url:"documents/前端问题.html",revision:"64e8cf90a04c63d0ca83194a8f87205d"},{url:"documents/多环境配置.html",revision:"f6c25172331a46141fe3ce1cfd6b41be"},{url:"documents/常用命令.html",revision:"bb78db1951a12a8446da194615dd7eff"},{url:"documents/快速了解.html",revision:"33946ba4ab90156d9c989e6b9153162e"},{url:"documents/数据初始化.html",revision:"0041796facd500c24a2e60d8b087a16d"},{url:"documents/新建子模块.html",revision:"e739cdd1ac01cfe8eba1721b78bf23b7"},{url:"documents/更换数据库.html",revision:"b41c1139c3479436abcfe306c6db6011"},{url:"documents/注意事项.html",revision:"9f45b66a069cd1c352393a988a35fbc2"},{url:"documents/添加模块.html",revision:"bb7ec90b2b0fd1639c2803bb56c4e1d9"},{url:"documents/环境部署.html",revision:"fbcd989494aae63d5aec5a2540227280"},{url:"documents/项目介绍.html",revision:"aa126fd5db2849048efed5e1d29fbb0f"},{url:"images/database/my-sql-vs-postgre-sql-compressed.jpg",revision:"fdd4c7f1953443e0d4d69def33fafa34"},{url:"images/docker/app-container.png",revision:"88197cdfaa83504235bc0b7a5bcadc14"},{url:"images/docker/applications.jpg",revision:"3f33024ace85bc48a19f57d1f691103e"},{url:"images/docker/container.png",revision:"f91533cf87576220b2bc1d76d5b2665e"},{url:"images/docker/core-tech.png",revision:"aade93cf1e8d5db98b09aa8017251779"},{url:"images/docker/docker-architecture.png",revision:"63ec9d28932e1a67d458c7840977a44c"},{url:"images/docker/docker-architecture2.png",revision:"4bed7e29ef42ac26bfeda9c135111c71"},{url:"images/docker/docker-tech.png",revision:"a799431c62d6196b82cdfcf96908fa3a"},{url:"images/docker/docker-vs-vm.png",revision:"5686263a3e3f37a2303dc22f262026ac"},{url:"images/docker/good-container.png",revision:"c9ca2e53f0ce4c265a35f17b6e1d9482"},{url:"images/docker/history.png",revision:"0d07adc484b61b33ea94ee3a044b85ce"},{url:"images/docker/logo-01.png",revision:"58163520542dc2c5accf3f6e01ca8712"},{url:"images/docker/union-fs.png",revision:"5381df3448a36c00efa190e8bc2dd740"},{url:"images/docker/vm.png",revision:"5596ce8ebf9119a4e15cfae4b1bb8f16"},{url:"images/docker/what-is-docker.png",revision:"eac606d5dbd569b012fba68847b9050e"},{url:"images/environment/jdk-validation.png",revision:"cd8188250a93ada4fa64dc29e4322152"},{url:"images/environment/maven-validation.png",revision:"52f8e208ca66809974641bf429727b2e"},{url:"images/idea/application-run-01.png",revision:"d020c7e7532d7399007ce6f66997a01f"},{url:"images/idea/application-run-02.png",revision:"2e66e5f98889d905e6803f233f23ee9b"},{url:"images/idea/create-module-01.png",revision:"923c5c3b91b5ab8a73c12bc1e4e1e971"},{url:"images/idea/create-module-02.png",revision:"e90214f0aa511674d055c077e06e6bb2"},{url:"images/idea/create-module-03.png",revision:"d65442b811fecb10d90a45758cc9044d"},{url:"images/idea/create-module-04.png",revision:"de6d7f005ca20cb55a934c3237506557"},{url:"images/idea/lifecycle.png",revision:"baa028a11ea1b3963a4874e286acff2c"},{url:"images/idea/local-skywalking.jpeg",revision:"693f9b10c49c7ec01d6ca1f9c0ea616b"},{url:"images/idea/maven-config-01.png",revision:"e6a673102b8a7bc0146e6df9bed581c5"},{url:"images/idea/maven-config-02.png",revision:"046ed823f1741847bec3e737ba38801f"},{url:"images/idea/maven-config-03.png",revision:"0936cac5e3fb048e9ebd0b481fd032a8"},{url:"images/idea/maven-config-04.png",revision:"094d8f5622e25d751e8d2dccd2cf3953"},{url:"images/idea/profiles.png",revision:"0f75d924d932f4ab368f441d578fe74b"},{url:"images/idea/refresh-maven.png",revision:"6e1d7409c8ca8535937ad1dfcb8a56fe"},{url:"images/jpa/architecture.png",revision:"99ab03a09b0e8aa7b202d5c112b878a6"},{url:"images/jpa/spring-data-jpa-uml.png",revision:"50b2753dee73ea73cbdabed7e457e4f5"},{url:"images/jpa/spring-data-jpa.png",revision:"aa17e196453d191f835409d79b63ddd8"},{url:"images/jpa/spring-data.png",revision:"1e4ed736300f5da02a48a61326bbcd00"},{url:"images/jpa/three-relationship.png",revision:"7ca1ae2cc375f42f05ca9dc94bd7871b"},{url:"images/logo.png",revision:"18f13186f45de9b368eeefffca40263a"},{url:"images/main/architecture.jpg",revision:"f9328c3f21f7993d644756fc6dccc798"},{url:"images/main/oauth2expression.gif",revision:"918eeb8e6f0848fc7f98d9a65e275301"},{url:"images/main/skywalking.gif",revision:"8b16d1203f68a6c1e18ebd507cf88274"},{url:"images/nacos/config-create.png",revision:"4ac5b823d8445b731fe43bcb6256200b"},{url:"images/nacos/config-import.png",revision:"7b45d8e2b2ea59eaf85a8ffdff1270e3"},{url:"images/nacos/namespaces-create.png",revision:"be563d8ee52e98501f7a1db090e68640"},{url:"images/nacos/namespaces-tab.png",revision:"e3070ae8e327f304ca29718fe5a78fdc"},{url:"images/oauth/authorization-code-demo-01.png",revision:"f4670ba0d14e029635802be6ff841f21"},{url:"images/oauth/authorization-code-demo-02.png",revision:"345f40c8f06d447854c2df034ee36597"},{url:"images/oauth/authorization-code-demo-03.png",revision:"40e6e576ae8107aafe0ac27de4774f04"},{url:"images/oauth/authorization-code-demo-04.png",revision:"743bc7dbcd7c50817c2784ef89150e19"},{url:"images/oauth/authorization-code-demo-05.png",revision:"9c29cd979e83b45b63553aafe98ed934"},{url:"images/oauth/authorization-code-description.png",revision:"186908c1ef44f1c434c93254ef1528ba"},{url:"images/oauth/authorization-code-flow.png",revision:"ac937d68c63cf0b47384cbd83d3291eb"},{url:"images/oauth/client-credentials-grant-flow.png",revision:"1884042b339b9e3ddff600f357b5dc05"},{url:"images/oauth/implicit-grant-description.png",revision:"f17a5b9cb03508eda40fa2c7f79e0732"},{url:"images/oauth/implicit-grant-flow.png",revision:"3d28707fa55f1657710626247b6448e3"},{url:"images/oauth/resource-owner-password-credentials-grant-flow.png",revision:"3d28707fa55f1657710626247b6448e3"},{url:"images/redis/bind-ip.png",revision:"cda279bd599cd727088e3c51c4078320"},{url:"images/vue/why-vuetify.png",revision:"6ace014a533aef1c0bc86a961a148283"},{url:"index.html",revision:"a2c3e4a99400bfa23b81457be760f153"},{url:"microservices/index.html",revision:"212b62e56b1f1ede955ef11be2a39a2f"},{url:"microservices/OAuth2授权标准.html",revision:"a5f1ed4391dfab3a42e4c8d7730d3793"},{url:"microservices/容器化技术.html",revision:"4abe1db694194b69b6f669c16ec51188"},{url:"microservices/容器化部署.html",revision:"70066efb82e41bdbe7005870b60c7be5"},{url:"others/Idea.html",revision:"33e47f171f493d907cccf16651570da9"},{url:"others/index.html",revision:"3fe3164331bb4ad6f3a023debe03ad6d"},{url:"others/MySQL.html",revision:"ac6120201dbed0cd6035d840fbc888ee"},{url:"others/Nacos.html",revision:"ce2e4f34ae4e992652916538b6f64ba5"},{url:"others/Redis.html",revision:"608f83ac1fcc07bddaa3cfbe2fbdd42d"},{url:"others/更新日志.html",revision:"0ae62c87ce84fc69fab6d5178900397c"}],{})})); diff --git a/packages/eurynome-cloud-assistant/pom.xml b/packages/eurynome-cloud-assistant/pom.xml index 8aed0fbe2..f55bfdafa 100644 --- a/packages/eurynome-cloud-assistant/pom.xml +++ b/packages/eurynome-cloud-assistant/pom.xml @@ -27,18 +27,13 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 4.0.0 eurynome-cloud-assistant - - ${project.groupId} - eurynome-cloud-common - - org.springframework.boot spring-boot-configuration-processor @@ -55,5 +50,86 @@ spring-cloud-starter-bus-kafka + + commons-beanutils + commons-beanutils + + + org.apache.commons + commons-collections4 + + + org.apache.commons + commons-text + + + org.apache.commons + commons-pool2 + + + commons-io + commons-io + + + + com.alibaba + fastjson + + + com.squareup.okhttp3 + okhttp + + + org.apache.httpcomponents + httpcore + + + cn.hutool + hutool-all + + + com.google.guava + guava + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + + + com.fasterxml.jackson.datatype + jackson-datatype-jsr310 + + + com.fasterxml.jackson.datatype + jackson-datatype-jdk8 + + + + org.springdoc + springdoc-openapi-common + + + + com.github.whvcse + easy-captcha + + + + me.zhyd.oauth + JustAuth + + + + org.owasp.antisamy + antisamy + + + slf4j-simple + org.slf4j + + + + \ No newline at end of file diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnKafkaEnabled.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnKafkaEnabled.java index 5485db0e9..12eb9a3b5 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnKafkaEnabled.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnKafkaEnabled.java @@ -17,12 +17,12 @@ * Module Name: eurynome-cloud-assistant * File Name: ConditionalOnKafkaEnabled.java * Author: gengwei.zheng - * Date: 2021/08/20 12:35:20 + * Date: 2021/10/17 22:56:17 */ package cn.herodotus.eurynome.assistant.annotation.conditional; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import java.lang.annotation.*; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnLogCenterEnabled.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnLogCenterEnabled.java index 2225d64a3..990577f61 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnLogCenterEnabled.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnLogCenterEnabled.java @@ -17,12 +17,12 @@ * Module Name: eurynome-cloud-assistant * File Name: ConditionalOnLogCenterEnabled.java * Author: gengwei.zheng - * Date: 2021/08/20 12:35:20 + * Date: 2021/10/17 22:56:17 */ package cn.herodotus.eurynome.assistant.annotation.conditional; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import java.lang.annotation.*; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnSwaggerEnabled.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnSwaggerEnabled.java index 71edc4fc5..550a7bda4 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnSwaggerEnabled.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/conditional/ConditionalOnSwaggerEnabled.java @@ -17,12 +17,12 @@ * Module Name: eurynome-cloud-assistant * File Name: ConditionalOnSwaggerEnabled.java * Author: gengwei.zheng - * Date: 2021/08/20 11:56:20 + * Date: 2021/10/17 22:56:17 */ package cn.herodotus.eurynome.assistant.annotation.conditional; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import java.lang.annotation.*; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/AccessLimited.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/AccessLimited.java index caf6cf453..1e1084e5a 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/AccessLimited.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/AccessLimited.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: AccessLimited.java * Author: gengwei.zheng - * Date: 2021/08/26 18:39:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.annotation.rest; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Crypto.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Crypto.java index 696ea7ee7..a39bd2f0b 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Crypto.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Crypto.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: Crypto.java * Author: gengwei.zheng - * Date: 2021/10/08 19:12:08 + * Date: 2021/10/08 22:54:08 */ package cn.herodotus.eurynome.assistant.annotation.rest; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Idempotent.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Idempotent.java index f8041d9bf..014e8e8e0 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Idempotent.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/annotation/rest/Idempotent.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: Idempotent.java * Author: gengwei.zheng - * Date: 2021/08/26 18:39:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.annotation.rest; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/CacheConstants.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/CacheConstants.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/CacheConstants.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/CacheConstants.java index bb7886486..bbd772948 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/CacheConstants.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/CacheConstants.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: CacheConstants.java * Author: gengwei.zheng - * Date: 2021/08/07 20:09:07 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 缓存相关常量

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/HttpHeaders.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/HttpHeaders.java similarity index 88% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/HttpHeaders.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/HttpHeaders.java index af3478832..0a3a4e2a1 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/HttpHeaders.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/HttpHeaders.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: HttpHeaders.java * Author: gengwei.zheng - * Date: 2021/10/08 19:06:08 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 自定义请求头

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/PlatformConstants.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/PlatformConstants.java similarity index 88% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/PlatformConstants.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/PlatformConstants.java index 89c006c5a..2db03f446 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/PlatformConstants.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/PlatformConstants.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: PlatformConstants.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 系统常量

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/PropertyConstants.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/PropertyConstants.java similarity index 97% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/PropertyConstants.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/PropertyConstants.java index 9face36ce..3772502f1 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/PropertyConstants.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/PropertyConstants.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: PropertyConstants.java * Author: gengwei.zheng - * Date: 2021/08/07 20:09:07 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 平台涉及的各种Property值

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SecurityConstants.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SecurityConstants.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SecurityConstants.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SecurityConstants.java index 90546b0f2..dee2fc788 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SecurityConstants.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SecurityConstants.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: SecurityConstants.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 认证授权等安全相关常量值

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SecurityExpression.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SecurityExpression.java similarity index 89% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SecurityExpression.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SecurityExpression.java index 17d0822c2..381bac381 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SecurityExpression.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SecurityExpression.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: SecurityExpression.java * Author: gengwei.zheng - * Date: 2021/08/05 18:32:05 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 静态权限表达式

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/ServiceConstants.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/ServiceConstants.java similarity index 89% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/ServiceConstants.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/ServiceConstants.java index fbbebf028..b3b52c99d 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/ServiceConstants.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/ServiceConstants.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: ServiceConstants.java * Author: gengwei.zheng - * Date: 2021/08/07 20:06:07 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** *

    Description: 服务相关常量

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SymbolConstants.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SymbolConstants.java similarity index 97% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SymbolConstants.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SymbolConstants.java index b35b012db..f76ddd164 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/magic/SymbolConstants.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/constant/SymbolConstants.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: SymbolConstants.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.magic; +package cn.herodotus.eurynome.assistant.constant; /** * @author gengwei.zheng diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/MessageProducer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/MessageProducer.java similarity index 89% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/MessageProducer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/MessageProducer.java index f743a3e34..4f72ffc29 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/MessageProducer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/MessageProducer.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: MessageProducer.java * Author: gengwei.zheng - * Date: 2021/07/28 18:00:28 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.definition; +package cn.herodotus.eurynome.assistant.definition; /** *

    Description: 消息队列消息生产者定义

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/dto/BaseDTO.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/dto/BaseDTO.java similarity index 76% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/dto/BaseDTO.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/dto/BaseDTO.java index 8dd955289..9c3c3527e 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/dto/BaseDTO.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/dto/BaseDTO.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +14,15 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: BaseDTO.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.definition.dto; +package cn.herodotus.eurynome.assistant.definition.dto; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; public abstract class BaseDTO extends AbstractEntity { diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/entity/AbstractEntity.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/entity/AbstractEntity.java similarity index 88% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/entity/AbstractEntity.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/entity/AbstractEntity.java index 2034caa89..a734a6c49 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/entity/AbstractEntity.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/entity/AbstractEntity.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: AbstractEntity.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.definition.entity; +package cn.herodotus.eurynome.assistant.definition.entity; /** diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/entity/Entity.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/entity/Entity.java similarity index 83% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/entity/Entity.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/entity/Entity.java index e5c9bb6a4..bfa1ca1d4 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/definition/entity/Entity.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/definition/entity/Entity.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: Entity.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.definition.entity; +package cn.herodotus.eurynome.assistant.definition.entity; import java.io.Serializable; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/Error.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/Error.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/Error.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/Error.java index 1034ca20d..105076551 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/Error.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/Error.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: Error.java * Author: gengwei.zheng - * Date: 2021/08/18 18:12:18 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.domain; +package cn.herodotus.eurynome.assistant.domain; import com.google.common.base.MoreObjects; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/Result.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/Result.java similarity index 97% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/Result.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/Result.java index e39f4b183..d1ffc003a 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/Result.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/Result.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,16 +14,16 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: Result.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.domain; +package cn.herodotus.eurynome.assistant.domain; -import cn.herodotus.eurynome.common.constant.enums.ResultStatus; +import cn.herodotus.eurynome.assistant.enums.ResultStatus; import com.fasterxml.jackson.annotation.JsonFormat; import com.google.common.base.MoreObjects; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableParameter.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableParameter.java similarity index 87% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableParameter.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableParameter.java index 6e459dba3..057d2cc4e 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableParameter.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableParameter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: DataTableParameter.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.domain.datatables; +package cn.herodotus.eurynome.assistant.domain.datatables; import java.io.Serializable; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableResult.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableResult.java similarity index 94% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableResult.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableResult.java index ae3d4262d..5b3a3cb7b 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableResult.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableResult.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: DataTableResult.java * Author: gengwei.zheng - * Date: 2021/05/07 11:46:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.domain.datatables; +package cn.herodotus.eurynome.assistant.domain.datatables; import com.google.common.base.MoreObjects; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableUtils.java similarity index 91% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableUtils.java index d2f3b6415..f9f64f935 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/domain/datatables/DataTableUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/domain/datatables/DataTableUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: DataTableUtils.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.domain.datatables; +package cn.herodotus.eurynome.assistant.domain.datatables; import java.util.List; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/AccountType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/AccountType.java similarity index 98% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/AccountType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/AccountType.java index a08d01c6f..cc2da9291 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/AccountType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/AccountType.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: AccountType.java * Author: gengwei.zheng - * Date: 2021/08/05 18:32:05 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; /** *

    Description: TODO

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ApplicationType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ApplicationType.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ApplicationType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ApplicationType.java index 1a9dcee0b..e38f1a550 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ApplicationType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ApplicationType.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: ApplicationType.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.fasterxml.jackson.annotation.JsonValue; import com.google.common.collect.ImmutableMap; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Architecture.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Architecture.java similarity index 89% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Architecture.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Architecture.java index 6bdb848f3..98101cae2 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Architecture.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Architecture.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: Architecture.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; /** *

    Description : 用于区分是单体应用还是微服务应用

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/AuthorityType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/AuthorityType.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/AuthorityType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/AuthorityType.java index fb8981fda..b0a7b3e91 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/AuthorityType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/AuthorityType.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: AuthorityType.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/DataAccessStrategy.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/DataAccessStrategy.java similarity index 89% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/DataAccessStrategy.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/DataAccessStrategy.java index c3c426a62..6950d36f8 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/DataAccessStrategy.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/DataAccessStrategy.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: DataAccessStrategy.java * Author: gengwei.zheng - * Date: 2021/07/28 19:07:28 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; /** *

    Description: 数据访问策略枚举类型

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Gender.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Gender.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Gender.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Gender.java index 364e63e27..a2b692032 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Gender.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Gender.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: Gender.java * Author: gengwei.zheng - * Date: 2021/09/12 01:56:12 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/GrantType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/GrantType.java similarity index 93% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/GrantType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/GrantType.java index e55451c35..41713c668 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/GrantType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/GrantType.java @@ -14,15 +14,15 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: GrantType.java * Author: gengwei.zheng - * Date: 2021/08/07 20:07:07 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; import com.google.common.collect.ImmutableMap; import java.util.ArrayList; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Identity.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Identity.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Identity.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Identity.java index 1a0fbd1fd..75c73227e 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/Identity.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/Identity.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: Identity.java * Author: gengwei.zheng - * Date: 2021/09/12 01:56:12 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/OauthExpression.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/OauthExpression.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/OauthExpression.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/OauthExpression.java index 8823990e5..74fa028c8 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/OauthExpression.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/OauthExpression.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant - * File Name: OAuth2Expression.java + * Module Name: eurynome-cloud-assistant + * File Name: OauthExpression.java * Author: gengwei.zheng - * Date: 2021/08/14 06:50:14 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.google.common.collect.ImmutableMap; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/OrganizationCategory.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/OrganizationCategory.java similarity index 96% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/OrganizationCategory.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/OrganizationCategory.java index ed785fe80..9c4a1633a 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/OrganizationCategory.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/OrganizationCategory.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: OrganizationCategory.java * Author: gengwei.zheng - * Date: 2021/09/22 17:12:22 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ProtocolType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ProtocolType.java similarity index 90% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ProtocolType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ProtocolType.java index ebed80be0..eb8ba6846 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ProtocolType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ProtocolType.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: ProtocolType.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; /** *

    Description: Protocol枚举

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ResultStatus.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ResultStatus.java similarity index 98% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ResultStatus.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ResultStatus.java index 760bf4a09..73cc1a21c 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/ResultStatus.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/ResultStatus.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: ResultStatus.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/StatusEnum.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/StatusEnum.java similarity index 96% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/StatusEnum.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/StatusEnum.java index 7b1224eaf..add9f9b7e 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/StatusEnum.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/StatusEnum.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-constant + * Module Name: eurynome-cloud-assistant * File Name: StatusEnum.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums; +package cn.herodotus.eurynome.assistant.enums; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaFont.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaFont.java similarity index 88% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaFont.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaFont.java index a4a517842..4f3dce347 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaFont.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaFont.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: CaptchaFont.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums.captcha; +package cn.herodotus.eurynome.assistant.enums.captcha; import com.wf.captcha.base.Captcha; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaLetterType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaLetterType.java similarity index 86% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaLetterType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaLetterType.java index 972f58256..a8e14ab71 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaLetterType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaLetterType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: CaptchaLetterType.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums.captcha; +package cn.herodotus.eurynome.assistant.enums.captcha; import com.wf.captcha.base.Captcha; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaType.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaType.java similarity index 82% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaType.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaType.java index 87dec38ab..c280b0ec5 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/constant/enums/captcha/CaptchaType.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/enums/captcha/CaptchaType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: CaptchaType.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.constant.enums.captcha; +package cn.herodotus.eurynome.assistant.enums.captcha; /** *

    Description : CaptchaType

    diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/HerodotusExceptionHandler.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/HerodotusExceptionHandler.java index ba5ad7306..84d10eed2 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/HerodotusExceptionHandler.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/HerodotusExceptionHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,16 +14,16 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common - * File Name: GlobalExceptionHandler.java + * Module Name: eurynome-cloud-assistant + * File Name: HerodotusExceptionHandler.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ package cn.herodotus.eurynome.assistant.exception; -import cn.herodotus.eurynome.common.constant.enums.ResultStatus; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.enums.ResultStatus; +import cn.herodotus.eurynome.assistant.domain.Result; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpStatus; import org.slf4j.Logger; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/crypto/SessionInvalidException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/crypto/SessionInvalidException.java index bbc3ed3b7..9613f5cc7 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/crypto/SessionInvalidException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/crypto/SessionInvalidException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: SessionInvalidException.java * Author: gengwei.zheng - * Date: 2021/10/08 19:21:08 + * Date: 2021/10/08 22:54:08 */ package cn.herodotus.eurynome.assistant.exception.crypto; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/FrequentRequestsException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/FrequentRequestsException.java index 2aa3340c1..f7f49e231 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/FrequentRequestsException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/FrequentRequestsException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: FrequentRequestsException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:48:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.operation; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/RepeatSubmissionException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/RepeatSubmissionException.java index 06d36899c..85c09565b 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/RepeatSubmissionException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/operation/RepeatSubmissionException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: RepeatSubmissionException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:50:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.operation; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/persistence/TransactionRollbackException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/persistence/TransactionRollbackException.java index abf69642b..20387fbdf 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/persistence/TransactionRollbackException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/persistence/TransactionRollbackException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: TransactionRollbackException.java * Author: gengwei.zheng - * Date: 2021/09/23 15:12:23 + * Date: 2021/09/26 19:23:26 */ package cn.herodotus.eurynome.assistant.exception.persistence; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/IllegalOperationException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/IllegalOperationException.java index 35eecaef3..734f750a2 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/IllegalOperationException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/IllegalOperationException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: IllegalOperationException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:44:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.platform; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PersistenceException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PersistenceException.java index df5ad8841..2ecf1d459 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PersistenceException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PersistenceException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: PersistenceException.java * Author: gengwei.zheng - * Date: 2021/09/23 15:12:23 + * Date: 2021/09/26 19:23:26 */ package cn.herodotus.eurynome.assistant.exception.platform; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PlatformException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PlatformException.java index 1ae0a6362..0cdba05fc 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PlatformException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/PlatformException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: PlatformException.java * Author: gengwei.zheng - * Date: 2021/08/18 17:52:18 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.platform; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/SessionException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/SessionException.java index 32e8908a5..9089d4f06 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/SessionException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/SessionException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: SessionException.java * Author: gengwei.zheng - * Date: 2021/10/08 19:21:08 + * Date: 2021/10/08 22:54:08 */ package cn.herodotus.eurynome.assistant.exception.platform; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/StampManagerException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/StampManagerException.java index a1720f6b1..eefdceaf7 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/StampManagerException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/platform/StampManagerException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: StampManagerException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:42:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.platform; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/IllegalStampParameterException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/IllegalStampParameterException.java index b17b011ae..37d2750ce 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/IllegalStampParameterException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/IllegalStampParameterException.java @@ -15,9 +15,9 @@ * * Project Name: eurynome-cloud * Module Name: eurynome-cloud-assistant - * File Name: IllegalArgumentException.java + * File Name: IllegalStampParameterException.java * Author: gengwei.zheng - * Date: 2021/08/18 17:52:18 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.stamp; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampDeleteFailedException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampDeleteFailedException.java index 9e67798d1..023bc0902 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampDeleteFailedException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampDeleteFailedException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: StampDeleteFailedException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:46:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.stamp; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampHasExpiredException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampHasExpiredException.java index cd5a25173..300bfdec7 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampHasExpiredException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampHasExpiredException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: StampHasExpiredException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:47:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.stamp; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampMismatchException.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampMismatchException.java index ba89f0b87..6ec812c67 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampMismatchException.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/exception/stamp/StampMismatchException.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: StampMismatchException.java * Author: gengwei.zheng - * Date: 2021/08/26 18:47:26 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.exception.stamp; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/FastJsonSerializerFeatureCompatibleForJackson.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/FastJsonSerializerFeatureCompatibleForJackson.java similarity index 93% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/FastJsonSerializerFeatureCompatibleForJackson.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/FastJsonSerializerFeatureCompatibleForJackson.java index 097e37110..3bb4f157b 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/FastJsonSerializerFeatureCompatibleForJackson.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/FastJsonSerializerFeatureCompatibleForJackson.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +14,15 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: FastJsonSerializerFeatureCompatibleForJackson.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson; +package cn.herodotus.eurynome.assistant.jackson; -import cn.herodotus.eurynome.common.jackson.serializer.*; +import cn.herodotus.eurynome.assistant.jackson.serializer.*; import com.fasterxml.jackson.databind.BeanDescription; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/SerializerFeature.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/SerializerFeature.java similarity index 86% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/SerializerFeature.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/SerializerFeature.java index 980f34b1c..0ced80c1b 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/SerializerFeature.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/SerializerFeature.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: SerializerFeature.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson; +package cn.herodotus.eurynome.assistant.jackson; /** * fastjson提供了一些方便的序列化特性,下面设置的serializerFeatures特性主要针是对null的默认值处理 diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/deserializer/StatusEnumDeserializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/deserializer/StatusEnumDeserializer.java similarity index 85% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/deserializer/StatusEnumDeserializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/deserializer/StatusEnumDeserializer.java index e1c40c4d6..af539e409 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/deserializer/StatusEnumDeserializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/deserializer/StatusEnumDeserializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +14,15 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: StatusEnumDeserializer.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.deserializer; +package cn.herodotus.eurynome.assistant.jackson.deserializer; -import cn.herodotus.eurynome.common.constant.enums.StatusEnum; +import cn.herodotus.eurynome.assistant.enums.StatusEnum; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/deserializer/XssStringJsonDeserializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/deserializer/XssStringJsonDeserializer.java similarity index 82% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/deserializer/XssStringJsonDeserializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/deserializer/XssStringJsonDeserializer.java index bf65b8435..9c7845449 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/deserializer/XssStringJsonDeserializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/deserializer/XssStringJsonDeserializer.java @@ -14,23 +14,20 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common - * File Name: XssStringJsonSerializer.java + * Module Name: eurynome-cloud-assistant + * File Name: XssStringJsonDeserializer.java * Author: gengwei.zheng - * Date: 2021/09/01 12:41:01 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.deserializer; +package cn.herodotus.eurynome.assistant.jackson.deserializer; -import cn.herodotus.eurynome.common.utils.XssUtils; -import com.fasterxml.jackson.core.JsonGenerator; +import cn.herodotus.eurynome.assistant.utils.XssUtils; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; -import com.fasterxml.jackson.databind.SerializerProvider; import org.apache.commons.lang3.StringUtils; -import org.apache.commons.text.StringEscapeUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullBooleanSerializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullBooleanSerializer.java similarity index 85% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullBooleanSerializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullBooleanSerializer.java index 299cdb4df..782158b51 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullBooleanSerializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullBooleanSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: NullBooleanSerializer.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.serializer; +package cn.herodotus.eurynome.assistant.jackson.serializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullListJsonSerializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullListJsonSerializer.java similarity index 86% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullListJsonSerializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullListJsonSerializer.java index 3af597f60..34378a73f 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullListJsonSerializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullListJsonSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: NullListJsonSerializer.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.serializer; +package cn.herodotus.eurynome.assistant.jackson.serializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullMapSerializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullMapSerializer.java similarity index 86% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullMapSerializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullMapSerializer.java index 8b66960d8..439bb4a67 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullMapSerializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullMapSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: NullMapSerializer.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.serializer; +package cn.herodotus.eurynome.assistant.jackson.serializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullNumberSerializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullNumberSerializer.java similarity index 86% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullNumberSerializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullNumberSerializer.java index 6c650bbd7..e305ef315 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullNumberSerializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullNumberSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: NullNumberSerializer.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.serializer; +package cn.herodotus.eurynome.assistant.jackson.serializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullStringSerializer.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullStringSerializer.java similarity index 86% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullStringSerializer.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullStringSerializer.java index 5fa5b1c0c..6587ee747 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/jackson/serializer/NullStringSerializer.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/jackson/serializer/NullStringSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: NullStringSerializer.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.jackson.serializer; +package cn.herodotus.eurynome.assistant.jackson.serializer; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/DestinationResolver.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/DestinationResolver.java index 10bc97a20..8645a884d 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/DestinationResolver.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/DestinationResolver.java @@ -17,7 +17,7 @@ * Module Name: eurynome-cloud-assistant * File Name: DestinationResolver.java * Author: gengwei.zheng - * Date: 2021/08/11 20:39:11 + * Date: 2021/08/26 20:40:26 */ package cn.herodotus.eurynome.assistant.resolver; diff --git a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/PropertyResolver.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/PropertyResolver.java index 4774157ac..dd3469560 100644 --- a/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/PropertyResolver.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/resolver/PropertyResolver.java @@ -17,13 +17,13 @@ * Module Name: eurynome-cloud-assistant * File Name: PropertyResolver.java * Author: gengwei.zheng - * Date: 2021/08/07 20:27:07 + * Date: 2021/10/17 22:56:17 */ package cn.herodotus.eurynome.assistant.resolver; -import cn.herodotus.eurynome.common.constant.magic.PlatformConstants; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PlatformConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import org.springframework.core.env.Environment; /** diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/BeanUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/BeanUtils.java similarity index 89% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/BeanUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/BeanUtils.java index 04de25c38..b5b5e05f3 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/BeanUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/BeanUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: BeanUtils.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; import lombok.extern.slf4j.Slf4j; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ConvertUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ConvertUtils.java similarity index 91% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ConvertUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ConvertUtils.java index a8c77e6cd..783ac4e26 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ConvertUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ConvertUtils.java @@ -14,16 +14,16 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: ConvertUtils.java * Author: gengwei.zheng - * Date: 2021/06/13 16:54:13 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; -import cn.herodotus.eurynome.common.constant.enums.ProtocolType; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; +import cn.herodotus.eurynome.assistant.enums.ProtocolType; import org.apache.commons.lang3.StringUtils; /** diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/EnvUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/EnvUtils.java similarity index 92% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/EnvUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/EnvUtils.java index 52694128a..c3f5f7228 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/EnvUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/EnvUtils.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: EnvUtils.java * Author: gengwei.zheng - * Date: 2021/06/13 16:55:13 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; import lombok.extern.slf4j.Slf4j; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/JacksonUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/JacksonUtils.java similarity index 94% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/JacksonUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/JacksonUtils.java index 84abca4cf..001b2fa55 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/JacksonUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/JacksonUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,17 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: JacksonUtils.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; -import cn.herodotus.eurynome.common.jackson.FastJsonSerializerFeatureCompatibleForJackson; -import cn.herodotus.eurynome.common.jackson.SerializerFeature; -import cn.herodotus.eurynome.common.jackson.deserializer.XssStringJsonDeserializer; +import cn.herodotus.eurynome.assistant.jackson.FastJsonSerializerFeatureCompatibleForJackson; +import cn.herodotus.eurynome.assistant.jackson.SerializerFeature; +import cn.herodotus.eurynome.assistant.jackson.deserializer.XssStringJsonDeserializer; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.type.TypeReference; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/JacksonYamlUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/JacksonYamlUtils.java similarity index 90% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/JacksonYamlUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/JacksonYamlUtils.java index 3e97f95d3..ba4e7bf38 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/JacksonYamlUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/JacksonYamlUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Gengwei Zheng(herodotus@aliyun.com) + * Copyright (c) 2019-2021 Gengwei Zheng (herodotus@aliyun.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +14,15 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: JacksonYamlUtils.java * Author: gengwei.zheng - * Date: 2021/05/07 11:28:07 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/RegexPool.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/RegexPool.java similarity index 90% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/RegexPool.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/RegexPool.java index d9c3a6843..dc8c47f76 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/RegexPool.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/RegexPool.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: RegexPool.java * Author: gengwei.zheng - * Date: 2021/10/12 22:30:12 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; /** *

    Description: 常用正则表达式

    diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ResourceUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ResourceUtils.java similarity index 96% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ResourceUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ResourceUtils.java index d86d70eb2..86e451cb9 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ResourceUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ResourceUtils.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: ResourceUtils.java * Author: gengwei.zheng - * Date: 2021/09/01 12:18:01 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; import org.apache.commons.lang3.ObjectUtils; import org.slf4j.Logger; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/SQLInjectionUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/SQLInjectionUtils.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/SQLInjectionUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/SQLInjectionUtils.java index 7aec7496a..996c70924 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/SQLInjectionUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/SQLInjectionUtils.java @@ -14,15 +14,15 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: SQLInjectionUtils.java * Author: gengwei.zheng - * Date: 2021/09/01 12:19:01 + * Date: 2021/10/17 22:56:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.hutool.core.net.URLDecoder; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ThreadLocalContextUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ThreadLocalContextUtils.java similarity index 95% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ThreadLocalContextUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ThreadLocalContextUtils.java index a3dd48035..d1523321c 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/ThreadLocalContextUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/ThreadLocalContextUtils.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: ThreadLocalContextUtils.java * Author: gengwei.zheng - * Date: 2021/06/29 15:58:29 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.ObjectUtils; diff --git a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/XssUtils.java b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/XssUtils.java similarity index 96% rename from packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/XssUtils.java rename to packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/XssUtils.java index 8484d8027..1578346c9 100644 --- a/packages/eurynome-cloud-common/src/main/java/cn/herodotus/eurynome/common/utils/XssUtils.java +++ b/packages/eurynome-cloud-assistant/src/main/java/cn/herodotus/eurynome/assistant/utils/XssUtils.java @@ -14,13 +14,13 @@ * limitations under the License. * * Project Name: eurynome-cloud - * Module Name: eurynome-cloud-common + * Module Name: eurynome-cloud-assistant * File Name: XssUtils.java * Author: gengwei.zheng - * Date: 2021/09/01 12:21:01 + * Date: 2021/10/17 22:53:17 */ -package cn.herodotus.eurynome.common.utils; +package cn.herodotus.eurynome.assistant.utils; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.text.StringEscapeUtils; diff --git a/packages/eurynome-cloud-common/src/main/resources/antisamy/antisamy-anythinggoes.xml b/packages/eurynome-cloud-assistant/src/main/resources/antisamy/antisamy-anythinggoes.xml similarity index 100% rename from packages/eurynome-cloud-common/src/main/resources/antisamy/antisamy-anythinggoes.xml rename to packages/eurynome-cloud-assistant/src/main/resources/antisamy/antisamy-anythinggoes.xml diff --git a/packages/eurynome-cloud-common/src/main/resources/antisamy/antisamy-ebay.xml b/packages/eurynome-cloud-assistant/src/main/resources/antisamy/antisamy-ebay.xml similarity index 100% rename from packages/eurynome-cloud-common/src/main/resources/antisamy/antisamy-ebay.xml rename to packages/eurynome-cloud-assistant/src/main/resources/antisamy/antisamy-ebay.xml diff --git a/packages/eurynome-cloud-common/src/main/resources/antisamy/antisamy.xsd b/packages/eurynome-cloud-assistant/src/main/resources/antisamy/antisamy.xsd similarity index 100% rename from packages/eurynome-cloud-common/src/main/resources/antisamy/antisamy.xsd rename to packages/eurynome-cloud-assistant/src/main/resources/antisamy/antisamy.xsd diff --git a/packages/eurynome-cloud-common/src/main/resources/banner.txt b/packages/eurynome-cloud-assistant/src/main/resources/banner.txt similarity index 100% rename from packages/eurynome-cloud-common/src/main/resources/banner.txt rename to packages/eurynome-cloud-assistant/src/main/resources/banner.txt diff --git a/packages/eurynome-cloud-common/pom.xml b/packages/eurynome-cloud-common/pom.xml deleted file mode 100644 index f7b033846..000000000 --- a/packages/eurynome-cloud-common/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - - - 4.0.0 - - - packages - cn.herodotus.eurynome - 2.5.5.50 - - - eurynome-cloud-common - 2.5.5.50 - jar - - 结对基础通用的工具类包,此包的定位是放在任何工程中都可以使用,而且尽可能依赖少的存在上下文组件 - - - - commons-beanutils - commons-beanutils - - - org.apache.commons - commons-collections4 - - - org.apache.commons - commons-text - - - org.apache.commons - commons-pool2 - - - commons-io - commons-io - - - - com.alibaba - fastjson - - - com.squareup.okhttp3 - okhttp - - - org.apache.httpcomponents - httpcore - - - cn.hutool - hutool-all - - - com.google.guava - guava - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - - - - org.springdoc - springdoc-openapi-common - - - - com.github.whvcse - easy-captcha - - - - me.zhyd.oauth - JustAuth - - - - org.owasp.antisamy - antisamy - - - slf4j-simple - org.slf4j - - - - - \ No newline at end of file diff --git a/packages/eurynome-cloud-data/pom.xml b/packages/eurynome-cloud-data/pom.xml index 6a3280de1..a9cbcd363 100644 --- a/packages/eurynome-cloud-data/pom.xml +++ b/packages/eurynome-cloud-data/pom.xml @@ -29,11 +29,11 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-data - 2.5.5.50 + 2.5.5.60 jar 数据相关通用代码组件包,包括JPA,Redis,数据实体等相关内容 diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseAppEntity.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseAppEntity.java index 2d9e626b7..ab86a8876 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseAppEntity.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseAppEntity.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.base.entity; -import cn.herodotus.eurynome.common.constant.enums.ApplicationType; +import cn.herodotus.eurynome.assistant.enums.ApplicationType; import cn.hutool.core.util.IdUtil; import javax.persistence.Column; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseEntity.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseEntity.java index d6ab1ee14..e2349d4ff 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseEntity.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseEntity.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.base.entity; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import com.fasterxml.jackson.annotation.JsonFormat; import com.google.common.base.MoreObjects; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseSysEntity.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseSysEntity.java index 3f9aa0318..45f3d5b8b 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseSysEntity.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/entity/BaseSysEntity.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.base.entity; -import cn.herodotus.eurynome.common.constant.enums.StatusEnum; +import cn.herodotus.eurynome.assistant.enums.StatusEnum; import io.swagger.v3.oas.annotations.media.Schema; import org.springframework.data.jpa.domain.support.AuditingEntityListener; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/repository/BaseRepository.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/repository/BaseRepository.java index 193e23288..1570b31ab 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/repository/BaseRepository.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/base/repository/BaseRepository.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.base.repository; -import cn.herodotus.eurynome.common.definition.entity.Entity; +import cn.herodotus.eurynome.assistant.definition.entity.Entity; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/AbstractCache.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/AbstractCache.java index 508526d26..7ebeececb 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/AbstractCache.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/AbstractCache.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.data.cache.query; -import cn.herodotus.eurynome.common.constant.magic.CacheConstants; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.constant.CacheConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import com.alicp.jetcache.Cache; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.CollectionUtils; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/CacheTemplate.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/CacheTemplate.java index d33cf3aa8..3df54a315 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/CacheTemplate.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/cache/query/CacheTemplate.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.cache.query; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import org.apache.commons.lang3.StringUtils; import org.springframework.util.Assert; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/configuration/MybatisPlusConfiguration.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/configuration/MybatisPlusConfiguration.java index cdbf2d168..3acf6d6d3 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/configuration/MybatisPlusConfiguration.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/configuration/MybatisPlusConfiguration.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.configuration; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import cn.herodotus.eurynome.data.mybatis.HerodotusIdentifierGenerator; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/domain/SecuritySession.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/domain/SecuritySession.java index 620a827a5..bb9c770e0 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/domain/SecuritySession.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/domain/SecuritySession.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.domain; -import cn.herodotus.eurynome.common.definition.dto.BaseDTO; +import cn.herodotus.eurynome.assistant.definition.dto.BaseDTO; import com.google.common.base.MoreObjects; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/jpa/BaseJpaListJsonConverter.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/jpa/BaseJpaListJsonConverter.java index f7f6ef299..3d3799e0d 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/jpa/BaseJpaListJsonConverter.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/jpa/BaseJpaListJsonConverter.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.jpa; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import org.apache.commons.collections4.CollectionUtils; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/CacheProperties.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/CacheProperties.java index 8ce842a24..157cf3274 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/CacheProperties.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/CacheProperties.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.properties; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import com.google.common.base.MoreObjects; import org.apache.commons.lang3.ObjectUtils; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/QueueProperties.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/QueueProperties.java index 3857ef93d..3d0ead9d3 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/QueueProperties.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/QueueProperties.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.properties; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import org.springframework.boot.context.properties.ConfigurationProperties; /** diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/StampProperties.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/StampProperties.java index fc65bd8fe..e943ac90d 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/StampProperties.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/properties/StampProperties.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.properties; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import com.google.common.base.MoreObjects; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/AccessLimitedStampManager.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/AccessLimitedStampManager.java index c79750c83..a4453db19 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/AccessLimitedStampManager.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/AccessLimitedStampManager.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.stamp; -import cn.herodotus.eurynome.common.constant.magic.CacheConstants; +import cn.herodotus.eurynome.assistant.constant.CacheConstants; import cn.herodotus.eurynome.data.definition.AbstractStampManager; import cn.herodotus.eurynome.data.properties.StampProperties; import com.alicp.jetcache.Cache; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/IdempotentStampManager.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/IdempotentStampManager.java index a35e8ae5f..bd8693d86 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/IdempotentStampManager.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/IdempotentStampManager.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.stamp; -import cn.herodotus.eurynome.common.constant.magic.CacheConstants; +import cn.herodotus.eurynome.assistant.constant.CacheConstants; import cn.herodotus.eurynome.data.definition.AbstractStampManager; import cn.herodotus.eurynome.data.properties.StampProperties; import cn.hutool.core.util.IdUtil; diff --git a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/SecretKeyStampManager.java b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/SecretKeyStampManager.java index 3770746b9..247984312 100644 --- a/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/SecretKeyStampManager.java +++ b/packages/eurynome-cloud-data/src/main/java/cn/herodotus/eurynome/data/stamp/SecretKeyStampManager.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.data.stamp; -import cn.herodotus.eurynome.common.constant.magic.CacheConstants; +import cn.herodotus.eurynome.assistant.constant.CacheConstants; import cn.herodotus.eurynome.data.definition.AbstractStampManager; import cn.herodotus.eurynome.data.domain.SecretKey; import cn.hutool.core.util.RandomUtil; diff --git a/packages/eurynome-cloud-kernel/pom.xml b/packages/eurynome-cloud-kernel/pom.xml index 64de4effe..306252d81 100644 --- a/packages/eurynome-cloud-kernel/pom.xml +++ b/packages/eurynome-cloud-kernel/pom.xml @@ -29,11 +29,11 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-kernel - 2.5.5.50 + 2.5.5.60 jar 平台通用的基础依赖,以及接入及管理等通用代码,上中台必需的基础代码。增加这层包,主要目的是抽取webflux和web依赖的通用性,降低其它包之间的耦合性,比如之前data要依赖logstash,logstash要依赖managementproperties diff --git a/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/configuration/LogstashConfiguration.java b/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/configuration/LogstashConfiguration.java index d5ec54a94..b0f4add74 100644 --- a/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/configuration/LogstashConfiguration.java +++ b/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/configuration/LogstashConfiguration.java @@ -27,7 +27,7 @@ import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.spi.ILoggingEvent; import cn.herodotus.eurynome.assistant.annotation.conditional.ConditionalOnLogCenterEnabled; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import cn.herodotus.eurynome.kernel.logback.LogstashPattern; import cn.herodotus.eurynome.kernel.properties.ManagementProperties; import com.alibaba.fastjson.JSON; diff --git a/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/properties/ManagementProperties.java b/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/properties/ManagementProperties.java index 089f0b54b..39e1df5a7 100644 --- a/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/properties/ManagementProperties.java +++ b/packages/eurynome-cloud-kernel/src/main/java/cn/herodotus/eurynome/kernel/properties/ManagementProperties.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.kernel.properties; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.logging.LogLevel; diff --git a/packages/eurynome-cloud-oauth-starter/pom.xml b/packages/eurynome-cloud-oauth-starter/pom.xml index 5ddab2596..bdaf6eec5 100644 --- a/packages/eurynome-cloud-oauth-starter/pom.xml +++ b/packages/eurynome-cloud-oauth-starter/pom.xml @@ -30,11 +30,11 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-oauth-starter - 2.5.5.50 + 2.5.5.60 jar diff --git a/packages/eurynome-cloud-oauth-starter/src/main/java/cn/herodotus/eurynome/oauth/autoconfigure/service/HerodotusOauthClientDetailsService.java b/packages/eurynome-cloud-oauth-starter/src/main/java/cn/herodotus/eurynome/oauth/autoconfigure/service/HerodotusOauthClientDetailsService.java index b5bdf0a1f..df87b76d0 100644 --- a/packages/eurynome-cloud-oauth-starter/src/main/java/cn/herodotus/eurynome/oauth/autoconfigure/service/HerodotusOauthClientDetailsService.java +++ b/packages/eurynome-cloud-oauth-starter/src/main/java/cn/herodotus/eurynome/oauth/autoconfigure/service/HerodotusOauthClientDetailsService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.autoconfigure.service; -import cn.herodotus.eurynome.common.constant.enums.StatusEnum; +import cn.herodotus.eurynome.assistant.enums.StatusEnum; import cn.herodotus.eurynome.security.definition.core.HerodotusClientDetails; import cn.herodotus.eurynome.security.definition.service.HerodotusClientDetailsService; import cn.herodotus.eurynome.upms.api.entity.oauth.OauthClientDetails; diff --git a/packages/eurynome-cloud-oauth/pom.xml b/packages/eurynome-cloud-oauth/pom.xml index a6b63c0ec..fab921cea 100644 --- a/packages/eurynome-cloud-oauth/pom.xml +++ b/packages/eurynome-cloud-oauth/pom.xml @@ -29,12 +29,12 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-oauth - 2.5.5.50 + 2.5.5.60 jar diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IdentityController.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IdentityController.java index f80f85411..908f94529 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IdentityController.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IdentityController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.controller; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.data.domain.SecretKey; import cn.herodotus.eurynome.oauth.dto.Session; import cn.herodotus.eurynome.oauth.dto.SessionCreate; diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IndexController.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IndexController.java index c95c8592a..6addba999 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IndexController.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/IndexController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.controller; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.oauth.utils.SymmetricUtils; import cn.herodotus.eurynome.security.definition.service.HerodotusClientDetailsService; import cn.herodotus.eurynome.security.response.SecurityGlobalExceptionHandler; diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/VerificationCodeController.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/VerificationCodeController.java index 2b3b8d423..42d11762e 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/VerificationCodeController.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/controller/VerificationCodeController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.controller; -import cn.herodotus.eurynome.common.constant.enums.captcha.CaptchaType; +import cn.herodotus.eurynome.assistant.enums.captcha.CaptchaType; import cn.herodotus.eurynome.security.properties.SecurityProperties; import com.wf.captcha.*; import com.wf.captcha.base.Captcha; diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/Session.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/Session.java index 3516565a6..d39585e41 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/Session.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/Session.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.dto; -import cn.herodotus.eurynome.common.definition.dto.BaseDTO; +import cn.herodotus.eurynome.assistant.definition.dto.BaseDTO; import com.google.common.base.MoreObjects; /** diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/SessionCreate.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/SessionCreate.java index 244dd076c..6be760266 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/SessionCreate.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/dto/SessionCreate.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.dto; -import cn.herodotus.eurynome.common.definition.dto.BaseDTO; +import cn.herodotus.eurynome.assistant.definition.dto.BaseDTO; import com.google.common.base.MoreObjects; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/HerodotusWebResponseExceptionTranslator.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/HerodotusWebResponseExceptionTranslator.java index 5574d1b08..865fedb19 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/HerodotusWebResponseExceptionTranslator.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/HerodotusWebResponseExceptionTranslator.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.provider; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.security.response.SecurityGlobalExceptionHandler; import lombok.extern.slf4j.Slf4j; import org.springframework.http.ResponseEntity; diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/token/HerodotusJwtTokenEnhancer.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/token/HerodotusJwtTokenEnhancer.java index ebe2827a0..9d767058c 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/token/HerodotusJwtTokenEnhancer.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/provider/token/HerodotusJwtTokenEnhancer.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.oauth.provider.token; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; import cn.herodotus.eurynome.security.definition.core.HerodotusUserDetails; import org.springframework.security.oauth2.common.DefaultOAuth2AccessToken; import org.springframework.security.oauth2.common.OAuth2AccessToken; diff --git a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/utils/SymmetricUtils.java b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/utils/SymmetricUtils.java index 16b0d8358..14d70ba97 100644 --- a/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/utils/SymmetricUtils.java +++ b/packages/eurynome-cloud-oauth/src/main/java/cn/herodotus/eurynome/oauth/utils/SymmetricUtils.java @@ -25,7 +25,7 @@ import cn.hutool.core.util.RandomUtil; import cn.hutool.crypto.SecureUtil; import cn.hutool.crypto.symmetric.AES; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.herodotus.eurynome.security.exception.IllegalSymmetricKeyException; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.ArrayUtils; diff --git a/packages/eurynome-cloud-rest/pom.xml b/packages/eurynome-cloud-rest/pom.xml index f9facdb73..4d5c84af0 100644 --- a/packages/eurynome-cloud-rest/pom.xml +++ b/packages/eurynome-cloud-rest/pom.xml @@ -29,11 +29,11 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-rest - 2.5.5.50 + 2.5.5.60 jar diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseController.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseController.java index 2d74558bc..0b03c8b61 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseController.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseController.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.rest.base.controller; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.service.ReadableService; import java.io.Serializable; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseReadableRestController.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseReadableRestController.java index 625ca3ebb..b36f26b33 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseReadableRestController.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseReadableRestController.java @@ -23,9 +23,9 @@ package cn.herodotus.eurynome.rest.base.controller; import cn.herodotus.eurynome.assistant.annotation.rest.AccessLimited; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.business.Pager; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseWriteableRestController.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseWriteableRestController.java index 5f2feff89..0583e1a8e 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseWriteableRestController.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/BaseWriteableRestController.java @@ -23,8 +23,8 @@ package cn.herodotus.eurynome.rest.base.controller; import cn.herodotus.eurynome.assistant.annotation.rest.Idempotent; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.service.ReadableService; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/Controller.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/Controller.java index 825f21717..6e3e4d06f 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/Controller.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/Controller.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.rest.base.controller; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.domain.Result; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.ObjectUtils; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/ReadableController.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/ReadableController.java index f0de99dde..89dfdaca7 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/ReadableController.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/ReadableController.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.rest.base.controller; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.service.ReadableService; import org.springframework.data.domain.Page; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/WriteableController.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/WriteableController.java index b33441b88..75775529e 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/WriteableController.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/controller/WriteableController.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.rest.base.controller; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.service.WriteableService; import java.io.Serializable; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/AbstractCacheService.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/AbstractCacheService.java index a5760634c..b3a59931c 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/AbstractCacheService.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/AbstractCacheService.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.rest.base.service; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.definition.entity.Entity; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.Entity; import cn.herodotus.eurynome.data.cache.query.AbstractCache; import lombok.extern.slf4j.Slf4j; import org.springframework.data.domain.Page; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseLayeredService.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseLayeredService.java index f02ac1f6f..4addb9ac9 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseLayeredService.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseLayeredService.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.rest.base.service; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import java.io.Serializable; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseReadableService.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseReadableService.java index cb89af773..ed2683de2 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseReadableService.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseReadableService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.base.service; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.ObjectUtils; import org.slf4j.Logger; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseWriteableService.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseWriteableService.java index e13b95fe4..2a5c3ffe0 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseWriteableService.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/BaseWriteableService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.base.service; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/ReadableService.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/ReadableService.java index adc04bb0d..5be38ce1b 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/ReadableService.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/ReadableService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.base.service; -import cn.herodotus.eurynome.common.definition.entity.Entity; +import cn.herodotus.eurynome.assistant.definition.entity.Entity; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/WriteableService.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/WriteableService.java index dd21d6cc5..d19b410f1 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/WriteableService.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/base/service/WriteableService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.base.service; -import cn.herodotus.eurynome.common.definition.entity.Entity; +import cn.herodotus.eurynome.assistant.definition.entity.Entity; import java.io.Serializable; import java.util.List; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/JacksonConfiguration.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/JacksonConfiguration.java index ce3ea0904..de8ab1749 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/JacksonConfiguration.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/JacksonConfiguration.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.configuration; -import cn.herodotus.eurynome.common.utils.JacksonUtils; +import cn.herodotus.eurynome.assistant.utils.JacksonUtils; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.autoconfigure.AutoConfigureAfter; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/OpenApiConfiguration.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/OpenApiConfiguration.java index 59cf964b2..f0f83f890 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/OpenApiConfiguration.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/OpenApiConfiguration.java @@ -23,9 +23,9 @@ package cn.herodotus.eurynome.rest.configuration; import cn.herodotus.eurynome.assistant.annotation.conditional.ConditionalOnSwaggerEnabled; -import cn.herodotus.eurynome.common.constant.enums.Architecture; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.enums.Architecture; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.herodotus.eurynome.rest.properties.PlatformProperties; import cn.herodotus.eurynome.rest.properties.ServiceProperties; import com.google.common.collect.ImmutableList; @@ -82,7 +82,7 @@ public OpenAPI createOpenAPI() { .servers(getServers()) .info(new Info().title("Eurynome Cloud") .description("Eurynome Cloud Microservices Architecture") - .version("2.5.5.50") + .version("2.5.5.60") .license(new License().name("Apache 2.0").url("http://www.apache.org/licenses/"))) .externalDocs(new ExternalDocumentation() .description("Eurynome Cloud Documentation") diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/ServiceConfiguration.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/ServiceConfiguration.java index 959354da5..e77cc675f 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/ServiceConfiguration.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/configuration/ServiceConfiguration.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.configuration; -import cn.herodotus.eurynome.common.utils.EnvUtils; +import cn.herodotus.eurynome.assistant.utils.EnvUtils; import cn.herodotus.eurynome.rest.properties.ServiceProperties; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestBodyAdvice.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestBodyAdvice.java index cc100baf8..3a8d35927 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestBodyAdvice.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestBodyAdvice.java @@ -72,7 +72,7 @@ public boolean supports(MethodParameter methodParameter, Type targetType, Class< @Override public HttpInputMessage beforeBodyRead(HttpInputMessage httpInputMessage, MethodParameter methodParameter, Type targetType, Class> converterType) throws IOException { - String sessionKey = httpInputMessage.getHeaders().get(cn.herodotus.eurynome.common.constant.magic.HttpHeaders.X_HERODOTUS_SESSION).get(0); + String sessionKey = httpInputMessage.getHeaders().get(cn.herodotus.eurynome.assistant.constant.HttpHeaders.X_HERODOTUS_SESSION).get(0); if (StringUtils.isBlank(sessionKey)) { log.warn("[Herodotus] |- Cannot find Herodotus Cloud custom session header. Use interface crypto founction need add X_HERODOTUS_SESSION to request header."); diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamMapResolver.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamMapResolver.java index b292198e9..24cd1e98a 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamMapResolver.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamMapResolver.java @@ -23,8 +23,8 @@ package cn.herodotus.eurynome.rest.crypto; import cn.herodotus.eurynome.assistant.annotation.rest.Crypto; -import cn.herodotus.eurynome.common.constant.magic.HttpHeaders; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; +import cn.herodotus.eurynome.assistant.constant.HttpHeaders; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamResolver.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamResolver.java index 92b942080..490e1d2d3 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamResolver.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/DecryptRequestParamResolver.java @@ -23,7 +23,7 @@ package cn.herodotus.eurynome.rest.crypto; import cn.herodotus.eurynome.assistant.annotation.rest.Crypto; -import cn.herodotus.eurynome.common.constant.magic.HttpHeaders; +import cn.herodotus.eurynome.assistant.constant.HttpHeaders; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/EncryptResponseBodyAdvice.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/EncryptResponseBodyAdvice.java index d736476e1..f658e90ea 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/EncryptResponseBodyAdvice.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/EncryptResponseBodyAdvice.java @@ -23,8 +23,8 @@ package cn.herodotus.eurynome.rest.crypto; import cn.herodotus.eurynome.assistant.annotation.rest.Crypto; -import cn.herodotus.eurynome.common.constant.magic.HttpHeaders; -import cn.herodotus.eurynome.common.utils.JacksonUtils; +import cn.herodotus.eurynome.assistant.constant.HttpHeaders; +import cn.herodotus.eurynome.assistant.utils.JacksonUtils; import com.fasterxml.jackson.core.JsonProcessingException; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/InterfaceCryptoProcessor.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/InterfaceCryptoProcessor.java index dd2bfec78..ba3166fbe 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/InterfaceCryptoProcessor.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/crypto/InterfaceCryptoProcessor.java @@ -23,7 +23,7 @@ package cn.herodotus.eurynome.rest.crypto; import cn.herodotus.eurynome.assistant.exception.crypto.SessionInvalidException; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.herodotus.eurynome.data.domain.SecretKey; import cn.herodotus.eurynome.data.stamp.SecretKeyStampManager; import cn.hutool.core.codec.Base64; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/PlatformProperties.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/PlatformProperties.java index 6ceff1f66..43a50afba 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/PlatformProperties.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/PlatformProperties.java @@ -22,12 +22,12 @@ package cn.herodotus.eurynome.rest.properties; -import cn.herodotus.eurynome.common.constant.enums.ProtocolType; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; -import cn.herodotus.eurynome.common.constant.magic.ServiceConstants; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; -import cn.herodotus.eurynome.common.constant.enums.Architecture; +import cn.herodotus.eurynome.assistant.enums.ProtocolType; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; +import cn.herodotus.eurynome.assistant.constant.ServiceConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; +import cn.herodotus.eurynome.assistant.enums.Architecture; import com.google.common.base.MoreObjects; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/RestProperties.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/RestProperties.java index f6c29f31d..3edda6071 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/RestProperties.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/RestProperties.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.properties; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.CollectionUtils; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/ServiceProperties.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/ServiceProperties.java index ca637b726..13a059072 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/ServiceProperties.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/properties/ServiceProperties.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.rest.properties; -import cn.herodotus.eurynome.common.utils.ConvertUtils; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.utils.ConvertUtils; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import com.google.common.base.MoreObjects; import org.apache.commons.lang3.StringUtils; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/IdempotentInterceptor.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/IdempotentInterceptor.java index c22e164bf..7f317374d 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/IdempotentInterceptor.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/IdempotentInterceptor.java @@ -24,11 +24,10 @@ import cn.herodotus.eurynome.assistant.annotation.rest.Idempotent; import cn.herodotus.eurynome.assistant.exception.operation.RepeatSubmissionException; -import cn.herodotus.eurynome.common.constant.magic.HttpHeaders; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.constant.HttpHeaders; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.herodotus.eurynome.data.stamp.IdempotentStampManager; import cn.hutool.crypto.SecureUtil; -import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/XssHttpServletRequestWrapper.java b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/XssHttpServletRequestWrapper.java index c112e82f5..d263766db 100644 --- a/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/XssHttpServletRequestWrapper.java +++ b/packages/eurynome-cloud-rest/src/main/java/cn/herodotus/eurynome/rest/security/XssHttpServletRequestWrapper.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.rest.security; -import cn.herodotus.eurynome.common.utils.XssUtils; +import cn.herodotus.eurynome.assistant.utils.XssUtils; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; diff --git a/packages/eurynome-cloud-security/pom.xml b/packages/eurynome-cloud-security/pom.xml index 0586d2dea..b72e76e19 100644 --- a/packages/eurynome-cloud-security/pom.xml +++ b/packages/eurynome-cloud-security/pom.xml @@ -29,11 +29,11 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-security - 2.5.5.50 + 2.5.5.60 jar diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/authentication/RequestMappingScanner.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/authentication/RequestMappingScanner.java index 3ccd64467..2ab202096 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/authentication/RequestMappingScanner.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/authentication/RequestMappingScanner.java @@ -23,10 +23,10 @@ package cn.herodotus.eurynome.security.authentication; import cn.herodotus.eurynome.assistant.resolver.PropertyResolver; -import cn.herodotus.eurynome.common.constant.enums.Architecture; -import cn.herodotus.eurynome.common.constant.magic.PlatformConstants; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.enums.Architecture; +import cn.herodotus.eurynome.assistant.constant.PlatformConstants; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.herodotus.eurynome.rest.properties.PlatformProperties; import cn.herodotus.eurynome.rest.properties.RestProperties; import cn.herodotus.eurynome.security.definition.domain.RequestMapping; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/core/HerodotusClientDetails.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/core/HerodotusClientDetails.java index 952d95d89..b83922686 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/core/HerodotusClientDetails.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/core/HerodotusClientDetails.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.security.definition.core; -import cn.herodotus.eurynome.common.definition.dto.BaseDTO; +import cn.herodotus.eurynome.assistant.definition.dto.BaseDTO; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.springframework.security.core.GrantedAuthority; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/domain/RequestMapping.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/domain/RequestMapping.java index bdca38f6d..3b8ff6cbd 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/domain/RequestMapping.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/definition/domain/RequestMapping.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.security.definition.domain; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; -import cn.herodotus.eurynome.common.constant.enums.AuthorityType; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.enums.AuthorityType; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.MoreObjects; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/properties/SecurityProperties.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/properties/SecurityProperties.java index 421f78c59..d5f200536 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/properties/SecurityProperties.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/properties/SecurityProperties.java @@ -22,11 +22,11 @@ package cn.herodotus.eurynome.security.properties; -import cn.herodotus.eurynome.common.constant.enums.captcha.CaptchaFont; -import cn.herodotus.eurynome.common.constant.enums.captcha.CaptchaLetterType; -import cn.herodotus.eurynome.common.constant.enums.captcha.CaptchaType; -import cn.herodotus.eurynome.common.constant.magic.PropertyConstants; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.enums.captcha.CaptchaFont; +import cn.herodotus.eurynome.assistant.enums.captcha.CaptchaLetterType; +import cn.herodotus.eurynome.assistant.enums.captcha.CaptchaType; +import cn.herodotus.eurynome.assistant.constant.PropertyConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import org.springframework.boot.context.properties.ConfigurationProperties; import java.io.Serializable; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/HerodotusAuthenticationEntryPoint.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/HerodotusAuthenticationEntryPoint.java index 7e466b31a..0182981c4 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/HerodotusAuthenticationEntryPoint.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/HerodotusAuthenticationEntryPoint.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.security.response; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.security.utils.WebUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/SecurityGlobalExceptionHandler.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/SecurityGlobalExceptionHandler.java index d3b28570d..21aba33cc 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/SecurityGlobalExceptionHandler.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/response/SecurityGlobalExceptionHandler.java @@ -24,7 +24,7 @@ import cn.herodotus.eurynome.assistant.exception.HerodotusExceptionHandler; import cn.herodotus.eurynome.assistant.exception.platform.PlatformException; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import org.apache.commons.lang3.ObjectUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/service/RequestMappingGatherService.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/service/RequestMappingGatherService.java index 4cc033acc..bfab0a0a2 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/service/RequestMappingGatherService.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/service/RequestMappingGatherService.java @@ -23,7 +23,7 @@ package cn.herodotus.eurynome.security.service; import cn.herodotus.eurynome.assistant.resolver.DestinationResolver; -import cn.herodotus.eurynome.common.constant.magic.ServiceConstants; +import cn.herodotus.eurynome.assistant.constant.ServiceConstants; import cn.herodotus.eurynome.security.authentication.RequestMappingLocalCache; import cn.herodotus.eurynome.security.definition.domain.RequestMapping; import cn.herodotus.eurynome.security.event.LocalRequestMappingGatherEvent; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/SecurityUtils.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/SecurityUtils.java index 370a41c2c..6dd629dee 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/SecurityUtils.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/SecurityUtils.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.security.utils; -import cn.herodotus.eurynome.common.utils.BeanUtils; +import cn.herodotus.eurynome.assistant.utils.BeanUtils; import cn.herodotus.eurynome.security.definition.core.HerodotusUserDetails; import cn.hutool.core.bean.BeanUtil; import org.apache.commons.collections4.CollectionUtils; diff --git a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/WebUtils.java b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/WebUtils.java index dbf8605d1..bb2f712dc 100644 --- a/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/WebUtils.java +++ b/packages/eurynome-cloud-security/src/main/java/cn/herodotus/eurynome/security/utils/WebUtils.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.security.utils; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.hutool.extra.spring.SpringUtil; import com.alibaba.fastjson.JSON; import com.google.common.net.HttpHeaders; diff --git a/packages/eurynome-cloud-starter/pom.xml b/packages/eurynome-cloud-starter/pom.xml index a66b30f70..828974ec5 100644 --- a/packages/eurynome-cloud-starter/pom.xml +++ b/packages/eurynome-cloud-starter/pom.xml @@ -29,11 +29,11 @@ packages cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-starter - 2.5.5.50 + 2.5.5.60 通用配置starter,此包的定位是统一未来接入的微服务使用 jar diff --git a/packages/pom.xml b/packages/pom.xml index cc1092c76..9d2586538 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -29,7 +29,7 @@ eurynome-cloud cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 packages @@ -38,7 +38,6 @@ eurynome-cloud-packages - eurynome-cloud-common eurynome-cloud-data eurynome-cloud-rest eurynome-cloud-security diff --git a/platform/eurynome-cloud-gateway/pom.xml b/platform/eurynome-cloud-gateway/pom.xml index 2c7cd5602..90747b159 100644 --- a/platform/eurynome-cloud-gateway/pom.xml +++ b/platform/eurynome-cloud-gateway/pom.xml @@ -29,11 +29,11 @@ platform cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-gateway - 2.5.5.50 + 2.5.5.60 jar diff --git a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/exception/GatewayGlobalExceptionHandler.java b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/exception/GatewayGlobalExceptionHandler.java index 08b4c60b9..729c939fc 100644 --- a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/exception/GatewayGlobalExceptionHandler.java +++ b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/exception/GatewayGlobalExceptionHandler.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.gateway.exception; -import cn.herodotus.eurynome.common.domain.Result; -import cn.herodotus.eurynome.common.constant.enums.ResultStatus; +import cn.herodotus.eurynome.assistant.domain.Result; +import cn.herodotus.eurynome.assistant.enums.ResultStatus; import cn.herodotus.eurynome.assistant.exception.HerodotusExceptionHandler; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler; diff --git a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalCertificationFilter.java b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalCertificationFilter.java index 7a9544a7b..a5617f112 100644 --- a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalCertificationFilter.java +++ b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalCertificationFilter.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.gateway.filter; -import cn.herodotus.eurynome.common.constant.magic.SecurityConstants; -import cn.herodotus.eurynome.common.domain.Result; -import cn.herodotus.eurynome.common.constant.enums.ResultStatus; +import cn.herodotus.eurynome.assistant.constant.SecurityConstants; +import cn.herodotus.eurynome.assistant.domain.Result; +import cn.herodotus.eurynome.assistant.enums.ResultStatus; import cn.herodotus.eurynome.gateway.properties.GatewaySecurityProperties; import cn.herodotus.eurynome.gateway.utils.WebFluxUtils; import lombok.extern.slf4j.Slf4j; diff --git a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalSqlInjectionFilter.java b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalSqlInjectionFilter.java index b139f8961..9ed315933 100644 --- a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalSqlInjectionFilter.java +++ b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/filter/GlobalSqlInjectionFilter.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.gateway.filter; -import cn.herodotus.eurynome.common.constant.enums.ResultStatus; -import cn.herodotus.eurynome.common.domain.Result; -import cn.herodotus.eurynome.common.utils.SQLInjectionUtils; +import cn.herodotus.eurynome.assistant.enums.ResultStatus; +import cn.herodotus.eurynome.assistant.domain.Result; +import cn.herodotus.eurynome.assistant.utils.SQLInjectionUtils; import cn.herodotus.eurynome.gateway.utils.WebFluxUtils; import io.netty.buffer.ByteBufAllocator; import org.apache.commons.lang3.StringUtils; diff --git a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/utils/WebFluxUtils.java b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/utils/WebFluxUtils.java index 264e508cc..eaf06cd43 100644 --- a/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/utils/WebFluxUtils.java +++ b/platform/eurynome-cloud-gateway/src/main/java/cn/herodotus/eurynome/gateway/utils/WebFluxUtils.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.gateway.utils; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import com.alibaba.fastjson.JSON; import org.springframework.core.io.buffer.DataBuffer; import org.springframework.core.io.buffer.DataBufferUtils; diff --git a/platform/eurynome-cloud-management/pom.xml b/platform/eurynome-cloud-management/pom.xml index 1e5323aa7..1f8445aef 100644 --- a/platform/eurynome-cloud-management/pom.xml +++ b/platform/eurynome-cloud-management/pom.xml @@ -29,11 +29,11 @@ platform cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-management - 2.5.5.50 + 2.5.5.60 jar diff --git a/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayFilterDefinition.java b/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayFilterDefinition.java index 0fcd081b8..f112919b2 100644 --- a/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayFilterDefinition.java +++ b/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayFilterDefinition.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.management.gateway.entity; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; diff --git a/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayPredicateDefinition.java b/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayPredicateDefinition.java index 6d74f0657..f3a69c3ba 100644 --- a/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayPredicateDefinition.java +++ b/platform/eurynome-cloud-management/src/main/java/cn/herodotus/eurynome/management/gateway/entity/GatewayPredicateDefinition.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.management.gateway.entity; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; diff --git a/platform/eurynome-cloud-uaa/pom.xml b/platform/eurynome-cloud-uaa/pom.xml index 22cac9e03..4840e8965 100644 --- a/platform/eurynome-cloud-uaa/pom.xml +++ b/platform/eurynome-cloud-uaa/pom.xml @@ -29,11 +29,11 @@ platform cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-uaa - 2.5.5.50 + 2.5.5.60 jar diff --git a/platform/pom.xml b/platform/pom.xml index 820870ff8..701d25882 100644 --- a/platform/pom.xml +++ b/platform/pom.xml @@ -29,7 +29,7 @@ eurynome-cloud cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 4.0.0 diff --git a/pom.xml b/pom.xml index 6c437b5fd..04bb50c75 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ cn.herodotus.eurynome dependencies - 2.5.5.50 + 2.5.5.60 dependencies/pom.xml eurynome-cloud - 2.5.5.50 + 2.5.5.60 pom eurynome-cloud diff --git a/services/eurynome-cloud-bpmn-ability/pom.xml b/services/eurynome-cloud-bpmn-ability/pom.xml index bd1fd3121..272911d69 100644 --- a/services/eurynome-cloud-bpmn-ability/pom.xml +++ b/services/eurynome-cloud-bpmn-ability/pom.xml @@ -27,12 +27,12 @@ services cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 4.0.0 eurynome-cloud-bpmn-ability - 2.5.5.50 + 2.5.5.60 基于Camunda工作流的服务 diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/cockroachdb_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/cockroachdb_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/cockroachdb_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/cockroachdb_engine_7.16.0.sql index f9bc943f5..328208db7 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/cockroachdb_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/cockroachdb_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ); insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ varchar(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ); +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + create table ACT_RU_TASK ( ID_ varchar(64), REV_ integer, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/cockroachdb_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/cockroachdb_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/cockroachdb_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/cockroachdb_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/db2_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/db2_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/db2_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/db2_engine_7.16.0.sql index d2f0c54c3..b6a7f0d79 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/db2_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/db2_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ); insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ varchar(64) not null, @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ); +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + create table ACT_RU_TASK ( ID_ varchar(64) not null, REV_ integer, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/db2_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/db2_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/db2_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/db2_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/h2_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/h2_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/h2_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/h2_engine_7.16.0.sql index ca6a91cd5..a0453e0fe 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/h2_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/h2_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ); insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ varchar(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ); +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + create table ACT_RU_TASK ( ID_ varchar(64), REV_ integer, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/h2_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/h2_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/h2_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/h2_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mariadb_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mariadb_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mariadb_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mariadb_engine_7.16.0.sql index 4a8d1d73b..3ad0c41b1 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mariadb_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mariadb_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ varchar(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + create table ACT_RU_TASK ( ID_ varchar(64), REV_ integer, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mariadb_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mariadb_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mariadb_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mariadb_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mssql_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mssql_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mssql_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mssql_engine_7.16.0.sql index c5bc98dde..fdef3fccb 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mssql_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mssql_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ); insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ nvarchar(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ); +create table ACT_RE_CAMFORMDEF ( + ID_ nvarchar(64) not null, + REV_ int, + KEY_ nvarchar(255) not null, + VERSION_ int not null, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + create table ACT_RU_TASK ( ID_ nvarchar(64), REV_ int, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mssql_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mssql_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mssql_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mssql_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mysql_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mysql_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mysql_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mysql_engine_7.16.0.sql index 72cc99de8..9e2030bde 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mysql_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mysql_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ varchar(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + create table ACT_RU_TASK ( ID_ varchar(64), REV_ integer, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mysql_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mysql_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/mysql_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/mysql_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/oracle_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/oracle_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/oracle_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/oracle_engine_7.16.0.sql index 4eb9f199e..0f9155041 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/oracle_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/oracle_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ); insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ NVARCHAR2(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ); +create table ACT_RE_CAMFORMDEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + create table ACT_RU_TASK ( ID_ NVARCHAR2(64), REV_ INTEGER, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/oracle_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/oracle_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/oracle_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/oracle_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/postgres_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/postgres_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/postgres_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/postgres_engine_7.16.0.sql index a97f86d7c..6d7c410cc 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/postgres_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/postgres_engine_7.16.0.sql @@ -69,7 +69,7 @@ create table ACT_GE_SCHEMA_LOG ( ); insert into ACT_GE_SCHEMA_LOG -values ('0', CURRENT_TIMESTAMP, '7.15.0'); +values ('0', CURRENT_TIMESTAMP, '7.16.0'); create table ACT_RE_DEPLOYMENT ( ID_ varchar(64), @@ -168,6 +168,17 @@ create table ACT_RE_PROCDEF ( primary key (ID_) ); +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + create table ACT_RU_TASK ( ID_ varchar(64), REV_ integer, diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/postgres_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/postgres_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/create/postgres_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/create/postgres_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/cockroachdb_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/cockroachdb_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/cockroachdb_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/cockroachdb_engine_7.16.0.sql index 2f21ce02e..0db55c6df 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/cockroachdb_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/cockroachdb_engine_7.16.0.sql @@ -287,6 +287,7 @@ drop table ACT_GE_PROPERTY; drop table ACT_GE_BYTEARRAY; drop table ACT_RE_DEPLOYMENT; drop table ACT_RE_PROCDEF; +drop table ACT_RE_CAMFORMDEF; drop table ACT_RU_EXECUTION; drop table ACT_RU_JOB; drop table ACT_RU_JOBDEF; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/cockroachdb_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/cockroachdb_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/cockroachdb_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/cockroachdb_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/db2_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/db2_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/db2_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/db2_engine_7.16.0.sql index 7941d8b4a..3a8d3ccd8 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/db2_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/db2_engine_7.16.0.sql @@ -285,6 +285,7 @@ drop table ACT_GE_PROPERTY; drop table ACT_GE_BYTEARRAY; drop table ACT_RE_DEPLOYMENT; drop table ACT_RE_PROCDEF; +drop table ACT_RE_CAMFORMDEF; drop table ACT_RU_VARIABLE; drop table ACT_RU_IDENTITYLINK; drop table ACT_RU_TASK; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/db2_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/db2_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/db2_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/db2_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/h2_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/h2_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/h2_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/h2_engine_7.16.0.sql index ee63135ad..c462ce9e9 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/h2_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/h2_engine_7.16.0.sql @@ -266,6 +266,7 @@ drop table ACT_RU_EXECUTION if exists; drop table ACT_RU_JOB if exists; drop table ACT_RU_JOBDEF if exists; drop table ACT_RE_PROCDEF if exists; +drop table ACT_RE_CAMFORMDEF if exists; drop table ACT_RU_TASK if exists; drop table ACT_RU_IDENTITYLINK if exists; drop table ACT_RU_VARIABLE if exists; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/h2_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/h2_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/h2_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/h2_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mariadb_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mariadb_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mariadb_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mariadb_engine_7.16.0.sql index 1ca4e564e..0eabc5ef9 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mariadb_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mariadb_engine_7.16.0.sql @@ -261,6 +261,7 @@ drop table if exists ACT_RE_DEPLOYMENT; drop table if exists ACT_RU_IDENTITYLINK; drop table if exists ACT_RU_TASK; drop table if exists ACT_RE_PROCDEF; +drop table if exists ACT_RE_CAMFORMDEF; drop table if exists ACT_RU_EXECUTION; drop table if exists ACT_RU_JOB; drop table if exists ACT_RU_JOBDEF; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mariadb_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mariadb_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mariadb_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mariadb_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mssql_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mssql_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mssql_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mssql_engine_7.16.0.sql index ddc73562d..a6584e173 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mssql_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mssql_engine_7.16.0.sql @@ -283,6 +283,7 @@ drop index ACT_RU_VARIABLE.ACT_IDX_BATCH_ID; if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_GE_PROPERTY') drop table ACT_GE_PROPERTY; if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_GE_BYTEARRAY') drop table ACT_GE_BYTEARRAY; if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RE_PROCDEF') drop table ACT_RE_PROCDEF; +if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RE_CAMFORMDEF') drop table ACT_RE_CAMFORMDEF; if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RE_DEPLOYMENT') drop table ACT_RE_DEPLOYMENT; if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RU_IDENTITYLINK') drop table ACT_RU_IDENTITYLINK; if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RU_TASK') drop table ACT_RU_TASK; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mssql_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mssql_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mssql_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mssql_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mysql_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mysql_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mysql_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mysql_engine_7.16.0.sql index 01531ee3f..790150aba 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mysql_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mysql_engine_7.16.0.sql @@ -261,6 +261,7 @@ drop table if exists ACT_RE_DEPLOYMENT; drop table if exists ACT_RU_IDENTITYLINK; drop table if exists ACT_RU_TASK; drop table if exists ACT_RE_PROCDEF; +drop table if exists ACT_RE_CAMFORMDEF; drop table if exists ACT_RU_EXECUTION; drop table if exists ACT_RU_JOB; drop table if exists ACT_RU_JOBDEF; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mysql_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mysql_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/mysql_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/mysql_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/oracle_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/oracle_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/oracle_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/oracle_engine_7.16.0.sql index d76f37dad..45e427eed 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/oracle_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/oracle_engine_7.16.0.sql @@ -285,6 +285,7 @@ drop table ACT_GE_PROPERTY; drop table ACT_GE_BYTEARRAY; drop table ACT_RE_DEPLOYMENT; drop table ACT_RE_PROCDEF; +drop table ACT_RE_CAMFORMDEF; drop table ACT_RU_IDENTITYLINK; drop table ACT_RU_VARIABLE; drop table ACT_RU_TASK; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/oracle_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/oracle_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/oracle_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/oracle_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/postgres_engine_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/postgres_engine_7.16.0.sql similarity index 99% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/postgres_engine_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/postgres_engine_7.16.0.sql index fa5e392c7..622c0efeb 100644 --- a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/postgres_engine_7.15.0.sql +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/postgres_engine_7.16.0.sql @@ -288,6 +288,7 @@ drop table ACT_GE_PROPERTY; drop table ACT_GE_BYTEARRAY; drop table ACT_RE_DEPLOYMENT; drop table ACT_RE_PROCDEF; +drop table ACT_RE_CAMFORMDEF; drop table ACT_RU_EXECUTION; drop table ACT_RU_JOB; drop table ACT_RU_JOBDEF; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/postgres_identity_7.15.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/postgres_identity_7.16.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/drop/postgres_identity_7.15.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/drop/postgres_identity_7.16.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.case.engine.sql new file mode 100644 index 000000000..c1860ecb2 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.case.engine.sql @@ -0,0 +1,135 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- + +create table ACT_RE_CASE_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +); + +-- create case execution table -- + +create table ACT_RU_CASE_EXECUTION ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_EXE_PARENT on ACT_RU_CASE_EXECUTION(PARENT_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_EXE_CASE_DEF on ACT_RU_CASE_EXECUTION(CASE_DEF_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +create index ACT_IDX_VAR_CASE_EXE on ACT_RU_VARIABLE(CASE_EXECUTION_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_VAR_CASE_INST_ID on ACT_RU_VARIABLE(CASE_INST_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +create index ACT_IDX_TASK_CASE_EXEC on ACT_RU_TASK(CASE_EXECUTION_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_TASK_CASE_DEF_ID on ACT_RU_TASK(CASE_DEF_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +create index ACT_IDX_CASE_SENTRY_CASE_INST on ACT_RU_CASE_SENTRY_PART(CASE_INST_ID_); +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_SENTRY_CASE_EXEC on ACT_RU_CASE_SENTRY_PART(CASE_EXEC_ID_); +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.case.history.sql new file mode 100644 index 000000000..0060fb244 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.case.history.sql @@ -0,0 +1,61 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ timestamp not null, + CLOSE_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +); + +create table ACT_HI_CASEACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.decision.engine.sql new file mode 100644 index 000000000..b2d22c1f9 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +); + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.decision.history.sql new file mode 100644 index 000000000..e56d0fc33 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ timestamp not null, + REMOVAL_TIME_ timestamp, + COLLECT_VALUE_ double precision, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.engine.sql new file mode 100644 index 000000000..7a2815220 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.engine.sql @@ -0,0 +1,589 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ varchar(64), + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +); + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ bytea, + GENERATED_ boolean, + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_GE_SCHEMA_LOG ( + ID_ varchar(64), + TIMESTAMP_ timestamp, + VERSION_ varchar(255), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ varchar(64), + NAME_ varchar(255), + DEPLOY_TIME_ timestamp, + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EXECUTION ( + ID_ varchar(64), + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + IS_ACTIVE_ boolean, + IS_CONCURRENT_ boolean, + IS_SCOPE_ boolean, + IS_EVENT_SCOPE_ boolean, + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_JOB ( + ID_ varchar(64) NOT NULL, + REV_ integer, + TYPE_ varchar(255) NOT NULL, + LOCK_EXP_TIME_ timestamp, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ boolean, + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ timestamp, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint DEFAULT 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer NOT NULL DEFAULT 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_RU_JOBDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) NOT NULL, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RE_PROCDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ boolean, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ boolean NOT NULL default TRUE, + primary key (ID_) +); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_TASK ( + ID_ varchar(64), + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ timestamp, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_IDENTITYLINK ( + ID_ varchar(64), + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar (64), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_VARIABLE ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64), + SEQUENCE_COUNTER_ bigint, + IS_CONCURRENT_LOCAL_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EVENT_SUBSCR ( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ timestamp not null, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_INCIDENT ( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ timestamp not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_RU_AUTHORIZATION ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_FILTER ( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ TEXT not null, + PROPERTIES_ TEXT, + primary key (ID_) +); + +create table ACT_RU_METER_LOG ( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ bigint, + TIMESTAMP_ timestamp, + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_TASK_METER_LOG ( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ bigint, + TIMESTAMP_ timestamp, + primary key (ID_) +); + +create table ACT_RU_EXT_TASK ( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ timestamp, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_BATCH ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + primary key (ID_) +); + +create index ACT_IDX_EXE_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_,HANDLER_CFG_); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +create index ACT_IDX_BYTEAR_DEPL on ACT_GE_BYTEARRAY(DEPLOYMENT_ID_); +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +create index ACT_IDX_EXE_PROCINST on ACT_RU_EXECUTION(PROC_INST_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_PARENT on ACT_RU_EXECUTION(PARENT_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_SUPER on ACT_RU_EXECUTION(SUPER_EXEC_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_PROCDEF on ACT_RU_EXECUTION(PROC_DEF_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + + +create index ACT_IDX_TSKASS_TASK on ACT_RU_IDENTITYLINK(TASK_ID_); +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_TASK_EXEC on ACT_RU_TASK(EXECUTION_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_TASK_PROCINST on ACT_RU_TASK(PROC_INST_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_TASK_PROCDEF on ACT_RU_TASK(PROC_DEF_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_VAR_EXE on ACT_RU_VARIABLE(EXECUTION_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_VAR_PROCINST on ACT_RU_VARIABLE(PROC_INST_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +create index ACT_IDX_VAR_BYTEARRAY on ACT_RU_VARIABLE(BYTEARRAY_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_JOB_EXCEPTION on ACT_RU_JOB(EXCEPTION_STACK_ID_); +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_EVENT_SUBSCR on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_); +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +-- create CRDB uniqueness constraints with index syntax since they must be dropped as indexes +create unique index ACT_UNIQ_AUTH_USER on ACT_RU_AUTHORIZATION(TYPE_,USER_ID_,RESOURCE_TYPE_,RESOURCE_ID_); +create unique index ACT_UNIQ_AUTH_GROUP on ACT_RU_AUTHORIZATION(TYPE_,GROUP_ID_,RESOURCE_TYPE_,RESOURCE_ID_); +create unique index ACT_UNIQ_VARIABLE on ACT_RU_VARIABLE(VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.history.sql new file mode 100644 index 000000000..e3a166ae6 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.history.sql @@ -0,0 +1,442 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +); + +create table ACT_HI_ACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_TASKINST ( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_VARINST ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ timestamp, + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_DETAIL ( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(64), + REV_ integer, + TIME_ timestamp not null, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + INITIAL_ boolean, + primary key (ID_) +); + +create table ACT_HI_IDENTITYLINK ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_COMMENT ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ timestamp not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ bytea, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_ATTACHMENT ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_OP_LOG ( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_HI_INCIDENT ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_JOB_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ timestamp, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint NOT NULL DEFAULT 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_BATCH ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_EXT_TASK_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint not null default 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.identity.sql new file mode 100644 index 000000000..36a8270bb --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.cockroachdb.create.identity.sql @@ -0,0 +1,105 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (USER_ID_, GROUP_ID_) +); + +create table ACT_ID_USER ( + ID_ varchar(64), + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ timestamp, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_ID_INFO ( + ID_ varchar(64), + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ bytea, + PARENT_ID_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT_MEMBER ( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_) +); + +create index ACT_IDX_MEMB_GROUP on ACT_ID_MEMBERSHIP(GROUP_ID_); +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +create index ACT_IDX_MEMB_USER on ACT_ID_MEMBERSHIP(USER_ID_); +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +-- create CRDB uniqueness constraints with index syntax since they must be dropped as indexes +create unique index ACT_UNIQ_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER(TENANT_ID_, USER_ID_); +create unique index ACT_UNIQ_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER(TENANT_ID_, GROUP_ID_); + +create index ACT_IDX_TENANT_MEMB on ACT_ID_TENANT_MEMBER(TENANT_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +create index ACT_IDX_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER(USER_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +create index ACT_IDX_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER(GROUP_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.case.engine.sql new file mode 100644 index 000000000..08924e811 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.case.engine.sql @@ -0,0 +1,141 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- + +create table ACT_RE_CASE_DEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +); + +-- create case execution table -- + +create table ACT_RU_CASE_EXECUTION ( + ID_ varchar(64) not null, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ smallint check(REQUIRED_ in (1,0)), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ varchar(64) not null, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ smallint check(SATISFIED_ in (1,0)), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- https://app.camunda.com/jira/browse/CAM-9165 +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- indexes for concurrency problems - https://app.camunda.com/jira/browse/CAM-1646 -- +create index ACT_IDX_CASE_EXEC_CASE on ACT_RU_CASE_EXECUTION(CASE_DEF_ID_); +create index ACT_IDX_CASE_EXEC_PARENT on ACT_RU_CASE_EXECUTION(PARENT_ID_); +create index ACT_IDX_VARIABLE_CASE_EXEC on ACT_RU_VARIABLE(CASE_EXECUTION_ID_); +create index ACT_IDX_VARIABLE_CASE_INST on ACT_RU_VARIABLE(CASE_INST_ID_); +create index ACT_IDX_TASK_CASE_EXEC on ACT_RU_TASK(CASE_EXECUTION_ID_); +create index ACT_IDX_TASK_CASE_DEF_ID on ACT_RU_TASK(CASE_DEF_ID_); + +-- add indexes for ACT_RU_CASE_SENTRY_PART -- +create index ACT_IDX_CASE_SENTRY_CASE_INST on ACT_RU_CASE_SENTRY_PART(CASE_INST_ID_); +create index ACT_IDX_CASE_SENTRY_CASE_EXEC on ACT_RU_CASE_SENTRY_PART(CASE_EXEC_ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.case.history.sql new file mode 100644 index 000000000..28ce2a6b2 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.case.history.sql @@ -0,0 +1,62 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ timestamp not null, + CLOSE_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +alter table ACT_HI_CASEINST add constraint CASE_INST_ID_ unique(CASE_INST_ID_); + +create table ACT_HI_CASEACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + REQUIRED_ smallint check(REQUIRED_ in (1,0)), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.decision.engine.sql new file mode 100644 index 000000000..9a42d4403 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +); + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.decision.history.sql new file mode 100644 index 000000000..e56d0fc33 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ timestamp not null, + REMOVAL_TIME_ timestamp, + COLLECT_VALUE_ double precision, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.engine.sql new file mode 100644 index 000000000..5d6eef647 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.engine.sql @@ -0,0 +1,590 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ varchar(64) not null, + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +); + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ varchar(64) not null, + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ BLOB, + GENERATED_ smallint check(GENERATED_ in (1,0)), + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_GE_SCHEMA_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp, + VERSION_ varchar(255), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ varchar(64) not null, + NAME_ varchar(255), + DEPLOY_TIME_ timestamp, + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EXECUTION ( + ID_ varchar(64) not null, + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + IS_ACTIVE_ smallint check(IS_ACTIVE_ in (1,0)), + IS_CONCURRENT_ smallint check(IS_CONCURRENT_ in (1,0)), + IS_SCOPE_ smallint check(IS_SCOPE_ in (1,0)), + IS_EVENT_SCOPE_ smallint check(IS_EVENT_SCOPE_ in (1,0)), + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_JOB ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + LOCK_EXP_TIME_ timestamp, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ smallint check(EXCLUSIVE_ in (1,0)), + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ timestamp, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint default 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer not null default 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint not null default 0, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_RU_JOBDEF ( + ID_ varchar(64) not null, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) not null, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RE_PROCDEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ smallint check(HAS_START_FORM_KEY_ in (1,0)), + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ smallint default 1 NOT NULL check(STARTABLE_ in (1,0)), + primary key (ID_) +); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_TASK ( + ID_ varchar(64) not null, + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ timestamp, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_IDENTITYLINK ( + ID_ varchar(64) not null, + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_VARIABLE ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64) not null, + SEQUENCE_COUNTER_ bigint, + IS_CONCURRENT_LOCAL_ smallint check(IS_CONCURRENT_LOCAL_ in (1,0)), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EVENT_SUBSCR ( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ timestamp not null, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_INCIDENT ( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ timestamp not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_RU_AUTHORIZATION ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_), + UNI_USER_ID_ varchar (255) not null generated always as (case when "USER_ID_" is null then "ID_" else "USER_ID_" end), + UNI_GROUP_ID_ varchar (255) not null generated always as (case when "GROUP_ID_" is null then "ID_" else "GROUP_ID_" end), + UNI_RESOURCE_ID_ varchar (255) not null generated always as (case when "RESOURCE_ID_" is null then "ID_" else "RESOURCE_ID_" end) +); + +create table ACT_RU_FILTER ( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ CLOB not null, + PROPERTIES_ CLOB, + primary key (ID_) +); + +create table ACT_RU_METER_LOG ( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ bigint, + TIMESTAMP_ timestamp, + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_TASK_METER_LOG ( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ bigint, + TIMESTAMP_ timestamp, + primary key (ID_) +); + +create table ACT_RU_EXT_TASK ( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ timestamp, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint not null default 0, + primary key (ID_) +); + +create table ACT_RU_BATCH ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + primary key (ID_) +); + +create index ACT_IDX_EXECUTION_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC ON ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID ON ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID ON ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +create unique index ACT_UNIQ_AUTH_USER on ACT_RU_AUTHORIZATION(TYPE_,UNI_USER_ID_,RESOURCE_TYPE_,UNI_RESOURCE_ID_); +create unique index ACT_UNIQ_AUTH_GROUP on ACT_RU_AUTHORIZATION(TYPE_,UNI_GROUP_ID_,RESOURCE_TYPE_,UNI_RESOURCE_ID_); +create unique index ACT_UNIQ_VARIABLE on ACT_RU_VARIABLE(VAR_SCOPE_,NAME_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INCIDENT_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for concurrency problems - https://app.camunda.com/jira/browse/CAM-1646 -- +create index ACT_IDX_EXECUTION_PROC on ACT_RU_EXECUTION(PROC_DEF_ID_); +create index ACT_IDX_EXECUTION_PARENT on ACT_RU_EXECUTION(PARENT_ID_); +create index ACT_IDX_EXECUTION_SUPER on ACT_RU_EXECUTION(SUPER_EXEC_); +create index ACT_IDX_EXECUTION_PROCINST on ACT_RU_EXECUTION(PROC_INST_ID_); +create index ACT_IDX_EVENT_SUBSCR_EXEC on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_); +create index ACT_IDX_BA_DEPLOYMENT on ACT_GE_BYTEARRAY(DEPLOYMENT_ID_); +create index ACT_IDX_IDENT_LNK_TASK on ACT_RU_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_INCIDENT_EXEC on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INCIDENT_PROCINST on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INCIDENT_PROC_DEF_ID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INCIDENT_CAUSE on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INCIDENT_ROOT_CAUSE on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +create index ACT_IDX_JOB_EXCEPTION_STACK on ACT_RU_JOB(EXCEPTION_STACK_ID_); +create index ACT_IDX_VARIABLE_BA on ACT_RU_VARIABLE(BYTEARRAY_ID_); +create index ACT_IDX_VARIABLE_EXEC on ACT_RU_VARIABLE(EXECUTION_ID_); +create index ACT_IDX_VARIABLE_PROCINST on ACT_RU_VARIABLE(PROC_INST_ID_); +create index ACT_IDX_TASK_EXEC on ACT_RU_TASK(EXECUTION_ID_); +create index ACT_IDX_TASK_PROCINST on ACT_RU_TASK(PROC_INST_ID_); +create index ACT_IDX_TASK_PROC_DEF_ID on ACT_RU_TASK(PROC_DEF_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.history.sql new file mode 100644 index 000000000..a55e27222 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.history.sql @@ -0,0 +1,443 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_) +); + +alter table ACT_HI_PROCINST add constraint PROC_INST_ID_ unique(PROC_INST_ID_); + +create table ACT_HI_ACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_TASKINST ( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_VARINST ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ timestamp, + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_DETAIL ( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(255), + REV_ integer, + TIME_ timestamp not null, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + INITIAL_ smallint check(INITIAL_ in (1,0)), + primary key (ID_) +); + +create table ACT_HI_IDENTITYLINK ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_COMMENT ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ timestamp not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ BLOB, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_ATTACHMENT ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_OP_LOG ( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_HI_INCIDENT ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_JOB_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ timestamp, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint not null default 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_BATCH ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_EXT_TASK_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint not null default 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.identity.sql new file mode 100644 index 000000000..50060a10a --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.db2.create.identity.sql @@ -0,0 +1,101 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ varchar(64) not null, + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ varchar(64) not null, + GROUP_ID_ varchar(64) not null, + primary key (USER_ID_, GROUP_ID_) +); + +create table ACT_ID_USER ( + ID_ varchar(64) not null, + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ timestamp, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_ID_INFO ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ BLOB, + PARENT_ID_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT ( + ID_ varchar(64) not null, + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT_MEMBER ( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_), + UNI_USER_ID_ varchar (255) not null generated always as (case when "USER_ID_" is null then "ID_" else "USER_ID_" end), + UNI_GROUP_ID_ varchar (255) not null generated always as (case when "GROUP_ID_" is null then "ID_" else "GROUP_ID_" end) +); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +create unique index ACT_UNIQ_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER(TENANT_ID_,UNI_USER_ID_); +create unique index ACT_UNIQ_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER(TENANT_ID_,UNI_GROUP_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.case.engine.sql new file mode 100644 index 000000000..56b3d14d5 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.case.engine.sql @@ -0,0 +1,126 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- + +create table ACT_RE_CASE_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +); + +-- create case execution table -- + +create table ACT_RU_CASE_EXECUTION ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ bit, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ bit, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION; + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION; + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF; + +-- create foreign key constraints on ACT_RU_VARIABLE -- +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION; + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION; + +-- create foreign key constraints on ACT_RU_TASK -- +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION; + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF; + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION; + +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION; + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.case.history.sql new file mode 100644 index 000000000..c7c0a1ea5 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.case.history.sql @@ -0,0 +1,61 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ timestamp not null, + CLOSE_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +); + +create table ACT_HI_CASEACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + REQUIRED_ bit, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.decision.engine.sql new file mode 100644 index 000000000..b2d22c1f9 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +); + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.decision.history.sql new file mode 100644 index 000000000..0d60f6fa7 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ timestamp not null, + REMOVAL_TIME_ timestamp, + COLLECT_VALUE_ double, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.engine.sql new file mode 100644 index 000000000..865e66f43 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.engine.sql @@ -0,0 +1,581 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ varchar(64), + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +); + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ longvarbinary, + GENERATED_ bit, + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_GE_SCHEMA_LOG ( + ID_ varchar(64), + TIMESTAMP_ timestamp, + VERSION_ varchar(255), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ varchar(64), + NAME_ varchar(255), + DEPLOY_TIME_ timestamp, + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EXECUTION ( + ID_ varchar(64), + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + IS_ACTIVE_ bit, + IS_CONCURRENT_ bit, + IS_SCOPE_ bit, + IS_EVENT_SCOPE_ bit, + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_JOB ( + ID_ varchar(64) NOT NULL, + REV_ integer, + TYPE_ varchar(255) NOT NULL, + LOCK_EXP_TIME_ timestamp, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ boolean, + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ timestamp, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint DEFAULT 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer NOT NULL DEFAULT 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + SEQUENCE_COUNTER_ integer, + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_RU_JOBDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) NOT NULL, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RE_PROCDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ bit, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ boolean NOT NULL default TRUE, + primary key (ID_) +); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_TASK ( + ID_ varchar(64), + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ timestamp, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_IDENTITYLINK ( + ID_ varchar(64), + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_VARIABLE ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64) not null, + SEQUENCE_COUNTER_ integer, + IS_CONCURRENT_LOCAL_ bit, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EVENT_SUBSCR ( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ timestamp not null, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_INCIDENT ( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ timestamp not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_RU_AUTHORIZATION ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_FILTER ( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ CLOB not null, + PROPERTIES_ CLOB, + primary key (ID_) +); + +create table ACT_RU_METER_LOG ( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ long, + TIMESTAMP_ timestamp, + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_TASK_METER_LOG ( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ long, + TIMESTAMP_ timestamp, + primary key (ID_) +); + +create table ACT_RU_EXT_TASK ( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ timestamp, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_BATCH ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + primary key (ID_) +); + +create index ACT_IDX_EXEC_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_,HANDLER_CFG_); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC ON ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID ON ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID ON ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK; + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF; + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF; + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY; + +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY; + +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION; + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_USER + unique (TYPE_, USER_ID_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_GROUP + unique (TYPE_, GROUP_ID_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_UNIQ_VARIABLE + unique (VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.history.sql new file mode 100644 index 000000000..f0fc8bd55 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.history.sql @@ -0,0 +1,442 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +); + +create table ACT_HI_ACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ integer, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_TASKINST ( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_VARINST ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ timestamp, + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_DETAIL ( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + TIME_ timestamp not null, + NAME_ varchar(255) NOT null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + VAR_TYPE_ varchar(255), + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ integer, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + INITIAL_ boolean, + primary key (ID_) +); + +create table ACT_HI_IDENTITYLINK ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_COMMENT ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ timestamp not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ longvarbinary, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_ATTACHMENT ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_OP_LOG ( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_HI_INCIDENT ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_JOB_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ timestamp, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint not null default 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ integer, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_BATCH ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_EXT_TASK_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint not null default 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.identity.sql new file mode 100644 index 000000000..567ea227c --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.h2.create.identity.sql @@ -0,0 +1,104 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (USER_ID_, GROUP_ID_) +); + +create table ACT_ID_USER ( + ID_ varchar(64), + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ timestamp, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_ID_INFO ( + ID_ varchar(64), + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ longvarbinary, + PARENT_ID_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT_MEMBER ( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_) +); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP; + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER; + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_USER + unique (TENANT_ID_, USER_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_GROUP + unique (TENANT_ID_, GROUP_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT; + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER; + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.case.engine.sql new file mode 100644 index 000000000..facb8efd9 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.case.engine.sql @@ -0,0 +1,127 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- +create table ACT_RE_CASE_DEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create case execution table -- +create table ACT_RU_CASE_EXECUTION ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- https://app.camunda.com/jira/browse/CAM-9165 +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_) on delete cascade on update cascade; + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.case.history.sql new file mode 100644 index 000000000..54280760b --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.case.history.sql @@ -0,0 +1,62 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ datetime(3) not null, + CLOSE_TIME_ datetime(3), + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_CASEACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ datetime(3) not null, + END_TIME_ datetime(3), + DURATION_ bigint, + STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_CASEINST on ACT_HI_CASEACTINST(CASE_INST_ID_, CASE_ACT_ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.decision.engine.sql new file mode 100644 index 000000000..4c8d7e0cd --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.decision.history.sql new file mode 100644 index 000000000..86e9b6014 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.decision.history.sql @@ -0,0 +1,109 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ datetime(3) not null, + REMOVAL_TIME_ datetime(3), + COLLECT_VALUE_ double, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime(3), + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime(3), + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.engine.sql new file mode 100644 index 000000000..174a0c490 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.engine.sql @@ -0,0 +1,582 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ varchar(64), + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ LONGBLOB, + GENERATED_ TINYINT, + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ datetime(3), + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_GE_SCHEMA_LOG ( + ID_ varchar(64), + TIMESTAMP_ datetime(3), + VERSION_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ varchar(64), + NAME_ varchar(255), + DEPLOY_TIME_ datetime(3), + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_EXECUTION ( + ID_ varchar(64), + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + IS_ACTIVE_ TINYINT, + IS_CONCURRENT_ TINYINT, + IS_SCOPE_ TINYINT, + IS_EVENT_SCOPE_ TINYINT, + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_JOB ( + ID_ varchar(64) NOT NULL, + REV_ integer, + TYPE_ varchar(255) NOT NULL, + LOCK_EXP_TIME_ datetime(3) NULL, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ boolean, + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ datetime(3) NULL, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint DEFAULT 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer NOT NULL DEFAULT 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_JOBDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) NOT NULL, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RE_PROCDEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ TINYINT, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ boolean NOT NULL default TRUE, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_TASK ( + ID_ varchar(64), + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ datetime(3), + DUE_DATE_ datetime(3), + FOLLOW_UP_DATE_ datetime(3), + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_IDENTITYLINK ( + ID_ varchar(64), + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_VARIABLE ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64) not null, + SEQUENCE_COUNTER_ bigint, + IS_CONCURRENT_LOCAL_ TINYINT, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_EVENT_SUBSCR ( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ datetime(3) not null, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_INCIDENT ( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ datetime(3) not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_AUTHORIZATION ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ datetime(3), + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_FILTER ( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ LONGTEXT not null, + PROPERTIES_ LONGTEXT, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_METER_LOG ( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ bigint, + TIMESTAMP_ datetime(3), + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_TASK_METER_LOG ( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ bigint, + TIMESTAMP_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_EXT_TASK ( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ datetime(3) NULL, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_BATCH ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create index ACT_IDX_EXEC_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +-- this index needs to be limited in mariadb see CAM-6938 +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_(100),HANDLER_CFG_(155)); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID ON ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_) on delete cascade on update cascade; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF(ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_) on delete cascade on update cascade; + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_) on delete cascade on update cascade; + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_USER + unique (USER_ID_,TYPE_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_GROUP + unique (GROUP_ID_,TYPE_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_UNIQ_VARIABLE + unique (VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.history.sql new file mode 100644 index 000000000..637a3c777 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.history.sql @@ -0,0 +1,442 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ datetime(3) not null, + END_TIME_ datetime(3), + REMOVAL_TIME_ datetime(3), + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_ACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ datetime(3) not null, + END_TIME_ datetime(3), + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_TASKINST ( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ datetime(3) not null, + END_TIME_ datetime(3), + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ datetime(3), + FOLLOW_UP_DATE_ datetime(3), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_VARINST ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ datetime(3), + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_DETAIL ( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(255), + REV_ integer, + TIME_ datetime(3) not null, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + INITIAL_ boolean, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_IDENTITYLINK ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp(3) not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_COMMENT ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ datetime(3) not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ LONGBLOB, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_ATTACHMENT ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime(3), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_OP_LOG ( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp(3) not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime(3), + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_INCIDENT ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp(3) not null, + END_TIME_ timestamp(3) null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_JOB_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ datetime(3) not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ datetime(3) NULL, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint NOT NULL DEFAULT 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_BATCH ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ datetime(3) not null, + END_TIME_ datetime(3), + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_EXT_TASK_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp(3) not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint NOT NULL DEFAULT 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REMOVAL_TIME_ datetime(3), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.identity.sql new file mode 100644 index 000000000..dded0b4b8 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mariadb.create.identity.sql @@ -0,0 +1,104 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (USER_ID_, GROUP_ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_USER ( + ID_ varchar(64), + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ datetime(3) NULL, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_INFO ( + ID_ varchar(64), + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ LONGBLOB, + PARENT_ID_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_TENANT ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_TENANT_MEMBER ( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_USER + unique (TENANT_ID_, USER_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_GROUP + unique (TENANT_ID_, GROUP_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.case.engine.sql new file mode 100644 index 000000000..492325907 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.case.engine.sql @@ -0,0 +1,139 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- +create table ACT_RE_CASE_DEF ( + ID_ nvarchar(64) not null, + REV_ int, + CATEGORY_ nvarchar(255), + NAME_ nvarchar(255), + KEY_ nvarchar(255) not null, + VERSION_ int not null, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + DGRM_RESOURCE_NAME_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + HISTORY_TTL_ int, + primary key (ID_) +); + +-- create case execution table -- +create table ACT_RU_CASE_EXECUTION ( + ID_ nvarchar(64) NOT NULL, + REV_ int, + CASE_INST_ID_ nvarchar(64), + SUPER_CASE_EXEC_ nvarchar(64), + SUPER_EXEC_ nvarchar(64), + BUSINESS_KEY_ nvarchar(255), + PARENT_ID_ nvarchar(64), + CASE_DEF_ID_ nvarchar(64), + ACT_ID_ nvarchar(255), + PREV_STATE_ int, + CURRENT_STATE_ int, + REQUIRED_ tinyint, + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ nvarchar(64) NOT NULL, + REV_ int, + CASE_INST_ID_ nvarchar(64), + CASE_EXEC_ID_ nvarchar(64), + SENTRY_ID_ nvarchar(255), + TYPE_ nvarchar(255), + SOURCE_CASE_EXEC_ID_ nvarchar(64), + STANDARD_EVENT_ nvarchar(255), + SOURCE_ nvarchar(255), + VARIABLE_EVENT_ nvarchar(255), + VARIABLE_NAME_ nvarchar(255), + SATISFIED_ tinyint, + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- https://app.camunda.com/jira/browse/CAM-9165 +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- indexes for concurrency problems - https://app.camunda.com/jira/browse/CAM-1646 -- +create index ACT_IDX_CASE_EXEC_CASE on ACT_RU_CASE_EXECUTION(CASE_DEF_ID_); +create index ACT_IDX_CASE_EXEC_PARENT on ACT_RU_CASE_EXECUTION(PARENT_ID_); +create index ACT_IDX_VARIABLE_CASE_EXEC on ACT_RU_VARIABLE(CASE_EXECUTION_ID_); +create index ACT_IDX_VARIABLE_CASE_INST on ACT_RU_VARIABLE(CASE_INST_ID_); +create index ACT_IDX_TASK_CASE_EXEC on ACT_RU_TASK(CASE_EXECUTION_ID_); +create index ACT_IDX_TASK_CASE_DEF_ID on ACT_RU_TASK(CASE_DEF_ID_); + +-- add indexes for ACT_RU_CASE_SENTRY_PART -- +create index ACT_IDX_CASE_SENTRY_CASE_INST on ACT_RU_CASE_SENTRY_PART(CASE_INST_ID_); +create index ACT_IDX_CASE_SENTRY_CASE_EXEC on ACT_RU_CASE_SENTRY_PART(CASE_EXEC_ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.case.history.sql new file mode 100644 index 000000000..7de638366 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.case.history.sql @@ -0,0 +1,61 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ nvarchar(64) not null, + CASE_INST_ID_ nvarchar(64) not null, + BUSINESS_KEY_ nvarchar(255), + CASE_DEF_ID_ nvarchar(64) not null, + CREATE_TIME_ datetime2 not null, + CLOSE_TIME_ datetime2, + DURATION_ numeric(19,0), + STATE_ tinyint, + CREATE_USER_ID_ nvarchar(255), + SUPER_CASE_INSTANCE_ID_ nvarchar(64), + SUPER_PROCESS_INSTANCE_ID_ nvarchar(64), + TENANT_ID_ nvarchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +); + +create table ACT_HI_CASEACTINST ( + ID_ nvarchar(64) not null, + PARENT_ACT_INST_ID_ nvarchar(64), + CASE_DEF_ID_ nvarchar(64) not null, + CASE_INST_ID_ nvarchar(64) not null, + CASE_ACT_ID_ nvarchar(255) not null, + TASK_ID_ nvarchar(64), + CALL_PROC_INST_ID_ nvarchar(64), + CALL_CASE_INST_ID_ nvarchar(64), + CASE_ACT_NAME_ nvarchar(255), + CASE_ACT_TYPE_ nvarchar(255), + CREATE_TIME_ datetime2 not null, + END_TIME_ datetime2, + DURATION_ numeric(19,0), + STATE_ tinyint, + REQUIRED_ tinyint, + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.decision.engine.sql new file mode 100644 index 000000000..424851375 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ nvarchar(64) not null, + REV_ int, + CATEGORY_ nvarchar(255), + NAME_ nvarchar(255), + KEY_ nvarchar(255) not null, + VERSION_ int not null, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + DGRM_RESOURCE_NAME_ nvarchar(4000), + DEC_REQ_ID_ nvarchar(64), + DEC_REQ_KEY_ nvarchar(255), + TENANT_ID_ nvarchar(64), + HISTORY_TTL_ int, + VERSION_TAG_ nvarchar(64), + primary key (ID_) +); + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ nvarchar(64) NOT NULL, + REV_ int, + CATEGORY_ nvarchar(255), + NAME_ nvarchar(255), + KEY_ nvarchar(255) NOT NULL, + VERSION_ int NOT NULL, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + DGRM_RESOURCE_NAME_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.decision.history.sql new file mode 100644 index 000000000..96cea6bac --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ nvarchar(64) NOT NULL, + DEC_DEF_ID_ nvarchar(64) NOT NULL, + DEC_DEF_KEY_ nvarchar(255) NOT NULL, + DEC_DEF_NAME_ nvarchar(255), + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + CASE_DEF_KEY_ nvarchar(255), + CASE_DEF_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + ACT_INST_ID_ nvarchar(64), + ACT_ID_ nvarchar(255), + EVAL_TIME_ datetime2 not null, + REMOVAL_TIME_ datetime2, + COLLECT_VALUE_ double precision, + USER_ID_ nvarchar(255), + ROOT_DEC_INST_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + DEC_REQ_ID_ nvarchar(64), + DEC_REQ_KEY_ nvarchar(255), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ nvarchar(64) NOT NULL, + DEC_INST_ID_ nvarchar(64) NOT NULL, + CLAUSE_ID_ nvarchar(64), + CLAUSE_NAME_ nvarchar(255), + VAR_TYPE_ nvarchar(100), + BYTEARRAY_ID_ nvarchar(64), + DOUBLE_ double precision, + LONG_ numeric(19,0), + TEXT_ nvarchar(4000), + TEXT2_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + CREATE_TIME_ datetime2, + ROOT_PROC_INST_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ nvarchar(64) NOT NULL, + DEC_INST_ID_ nvarchar(64) NOT NULL, + CLAUSE_ID_ nvarchar(64), + CLAUSE_NAME_ nvarchar(255), + RULE_ID_ nvarchar(64), + RULE_ORDER_ int, + VAR_NAME_ nvarchar(255), + VAR_TYPE_ nvarchar(100), + BYTEARRAY_ID_ nvarchar(64), + DOUBLE_ double precision, + LONG_ numeric(19,0), + TEXT_ nvarchar(4000), + TEXT2_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + CREATE_TIME_ datetime2, + ROOT_PROC_INST_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.engine.sql new file mode 100644 index 000000000..708b56543 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.engine.sql @@ -0,0 +1,585 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ nvarchar(64), + VALUE_ nvarchar(300), + REV_ int, + primary key (NAME_) +); + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ nvarchar(64), + REV_ int, + NAME_ nvarchar(255), + DEPLOYMENT_ID_ nvarchar(64), + BYTES_ image, + GENERATED_ tinyint, + TENANT_ID_ nvarchar(64), + TYPE_ integer, + CREATE_TIME_ datetime2, + ROOT_PROC_INST_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_GE_SCHEMA_LOG ( + ID_ nvarchar(64), + TIMESTAMP_ datetime2, + VERSION_ nvarchar(255), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ nvarchar(64), + NAME_ nvarchar(255), + DEPLOY_TIME_ datetime2, + SOURCE_ nvarchar(255), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_EXECUTION ( + ID_ nvarchar(64), + REV_ int, + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + BUSINESS_KEY_ nvarchar(255), + PARENT_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + SUPER_EXEC_ nvarchar(64), + SUPER_CASE_EXEC_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + ACT_ID_ nvarchar(255), + ACT_INST_ID_ nvarchar(64), + IS_ACTIVE_ tinyint, + IS_CONCURRENT_ tinyint, + IS_SCOPE_ tinyint, + IS_EVENT_SCOPE_ tinyint, + SUSPENSION_STATE_ tinyint, + CACHED_ENT_STATE_ int, + SEQUENCE_COUNTER_ numeric(19,0), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_JOB ( + ID_ nvarchar(64) NOT NULL, + REV_ int, + TYPE_ nvarchar(255) NOT NULL, + LOCK_EXP_TIME_ datetime2, + LOCK_OWNER_ nvarchar(255), + EXCLUSIVE_ bit, + EXECUTION_ID_ nvarchar(64), + PROCESS_INSTANCE_ID_ nvarchar(64), + PROCESS_DEF_ID_ nvarchar(64), + PROCESS_DEF_KEY_ nvarchar(255), + RETRIES_ int, + EXCEPTION_STACK_ID_ nvarchar(64), + EXCEPTION_MSG_ nvarchar(4000), + FAILED_ACT_ID_ nvarchar(255), + DUEDATE_ datetime2 NULL, + REPEAT_ nvarchar(255), + REPEAT_OFFSET_ numeric(19,0) DEFAULT 0, + HANDLER_TYPE_ nvarchar(255), + HANDLER_CFG_ nvarchar(4000), + DEPLOYMENT_ID_ nvarchar(64), + SUSPENSION_STATE_ tinyint NOT NULL DEFAULT 1, + PRIORITY_ numeric(19,0) NOT NULL DEFAULT 0, + JOB_DEF_ID_ nvarchar(64), + SEQUENCE_COUNTER_ numeric(19,0), + TENANT_ID_ nvarchar(64), + CREATE_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_RU_JOBDEF ( + ID_ nvarchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ nvarchar(64), + PROC_DEF_KEY_ nvarchar(255), + ACT_ID_ nvarchar(255), + JOB_TYPE_ nvarchar(255) NOT NULL, + JOB_CONFIGURATION_ nvarchar(255), + SUSPENSION_STATE_ tinyint, + JOB_PRIORITY_ numeric(19,0), + TENANT_ID_ nvarchar(64), + DEPLOYMENT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RE_PROCDEF ( + ID_ nvarchar(64) not null, + REV_ int, + CATEGORY_ nvarchar(255), + NAME_ nvarchar(255), + KEY_ nvarchar(255) not null, + VERSION_ int not null, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + DGRM_RESOURCE_NAME_ nvarchar(4000), + HAS_START_FORM_KEY_ tinyint, + SUSPENSION_STATE_ tinyint, + TENANT_ID_ nvarchar(64), + VERSION_TAG_ nvarchar(64), + HISTORY_TTL_ int, + STARTABLE_ bit NOT NULL default 1, + primary key (ID_) +); + +create table ACT_RE_CAMFORMDEF ( + ID_ nvarchar(64) not null, + REV_ int, + KEY_ nvarchar(255) not null, + VERSION_ int not null, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_TASK ( + ID_ nvarchar(64), + REV_ int, + EXECUTION_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + CASE_EXECUTION_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + CASE_DEF_ID_ nvarchar(64), + NAME_ nvarchar(255), + PARENT_TASK_ID_ nvarchar(64), + DESCRIPTION_ nvarchar(4000), + TASK_DEF_KEY_ nvarchar(255), + OWNER_ nvarchar(255), + ASSIGNEE_ nvarchar(255), + DELEGATION_ nvarchar(64), + PRIORITY_ int, + CREATE_TIME_ datetime2, + DUE_DATE_ datetime2, + FOLLOW_UP_DATE_ datetime2, + SUSPENSION_STATE_ int, + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_IDENTITYLINK ( + ID_ nvarchar(64), + REV_ int, + GROUP_ID_ nvarchar(255), + TYPE_ nvarchar(255), + USER_ID_ nvarchar(255), + TASK_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_VARIABLE ( + ID_ nvarchar(64) not null, + REV_ int, + TYPE_ nvarchar(255) not null, + NAME_ nvarchar(255) not null, + EXECUTION_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + CASE_EXECUTION_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + TASK_ID_ nvarchar(64), + BATCH_ID_ nvarchar(64), + BYTEARRAY_ID_ nvarchar(64), + DOUBLE_ double precision, + LONG_ numeric(19,0), + TEXT_ nvarchar(4000), + TEXT2_ nvarchar(4000), + VAR_SCOPE_ nvarchar(64) not null, + SEQUENCE_COUNTER_ numeric(19,0), + IS_CONCURRENT_LOCAL_ tinyint, + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_EVENT_SUBSCR ( + ID_ nvarchar(64) not null, + REV_ int, + EVENT_TYPE_ nvarchar(255) not null, + EVENT_NAME_ nvarchar(255), + EXECUTION_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + ACTIVITY_ID_ nvarchar(255), + CONFIGURATION_ nvarchar(255), + CREATED_ datetime2 not null, + TENANT_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_INCIDENT ( + ID_ nvarchar(64) not null, + REV_ int not null, + INCIDENT_TIMESTAMP_ datetime2 not null, + INCIDENT_MSG_ nvarchar(4000), + INCIDENT_TYPE_ nvarchar(255) not null, + EXECUTION_ID_ nvarchar(64), + ACTIVITY_ID_ nvarchar(255), + FAILED_ACTIVITY_ID_ nvarchar(255), + PROC_INST_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + CAUSE_INCIDENT_ID_ nvarchar(64), + ROOT_CAUSE_INCIDENT_ID_ nvarchar(64), + CONFIGURATION_ nvarchar(255), + TENANT_ID_ nvarchar(64), + JOB_DEF_ID_ nvarchar(64), + ANNOTATION_ nvarchar(4000), + primary key (ID_) +); + +create table ACT_RU_AUTHORIZATION ( + ID_ nvarchar(64) not null, + REV_ int, + TYPE_ int not null, + GROUP_ID_ nvarchar(255), + USER_ID_ nvarchar(255), + RESOURCE_TYPE_ int not null, + RESOURCE_ID_ nvarchar(255), + PERMS_ int, + REMOVAL_TIME_ datetime2, + ROOT_PROC_INST_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_RU_FILTER ( + ID_ nvarchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ nvarchar(255) not null, + NAME_ nvarchar(255) not null, + OWNER_ nvarchar(255), + QUERY_ nvarchar(max) not null, + PROPERTIES_ nvarchar(max), + primary key (ID_) +); + +create table ACT_RU_METER_LOG ( + ID_ nvarchar(64) not null, + NAME_ nvarchar(64) not null, + REPORTER_ nvarchar(255), + VALUE_ numeric(19,0), + TIMESTAMP_ datetime2, + MILLISECONDS_ numeric(19,0) DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_TASK_METER_LOG ( + ID_ nvarchar(64) not null, + ASSIGNEE_HASH_ numeric(19,0), + TIMESTAMP_ datetime2, + primary key (ID_) +); + +create table ACT_RU_EXT_TASK ( + ID_ nvarchar(64) not null, + REV_ integer not null, + WORKER_ID_ nvarchar(255), + TOPIC_NAME_ nvarchar(255), + RETRIES_ int, + ERROR_MSG_ nvarchar(4000), + ERROR_DETAILS_ID_ nvarchar(64), + LOCK_EXP_TIME_ datetime2, + SUSPENSION_STATE_ tinyint, + EXECUTION_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + PROC_DEF_KEY_ nvarchar(255), + ACT_ID_ nvarchar(255), + ACT_INST_ID_ nvarchar(64), + TENANT_ID_ nvarchar(64), + PRIORITY_ numeric(19,0) NOT NULL DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_BATCH ( + ID_ nvarchar(64) not null, + REV_ int not null, + TYPE_ nvarchar(255), + TOTAL_JOBS_ int, + JOBS_CREATED_ int, + JOBS_PER_SEED_ int, + INVOCATIONS_PER_JOB_ int, + SEED_JOB_DEF_ID_ nvarchar(64), + BATCH_JOB_DEF_ID_ nvarchar(64), + MONITOR_JOB_DEF_ID_ nvarchar(64), + SUSPENSION_STATE_ tinyint, + CONFIGURATION_ nvarchar(255), + TENANT_ID_ nvarchar(64), + CREATE_USER_ID_ nvarchar(255), + primary key (ID_) +); + +create index ACT_IDX_EXEC_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); +create unique index ACT_UNIQ_AUTH_USER on ACT_RU_AUTHORIZATION (TYPE_,USER_ID_,RESOURCE_TYPE_,RESOURCE_ID_) where USER_ID_ is not null; +create unique index ACT_UNIQ_AUTH_GROUP on ACT_RU_AUTHORIZATION (TYPE_,GROUP_ID_,RESOURCE_TYPE_,RESOURCE_ID_) where GROUP_ID_ is not null; +create unique index ACT_UNIQ_VARIABLE on ACT_RU_VARIABLE(VAR_SCOPE_, NAME_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INCIDENT_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for concurrency problems - https://app.camunda.com/jira/browse/CAM-1646 -- +create index ACT_IDX_EXECUTION_PROC on ACT_RU_EXECUTION(PROC_DEF_ID_); +create index ACT_IDX_EXECUTION_PARENT on ACT_RU_EXECUTION(PARENT_ID_); +create index ACT_IDX_EXECUTION_SUPER on ACT_RU_EXECUTION(SUPER_EXEC_); +create index ACT_IDX_EXECUTION_PROCINST on ACT_RU_EXECUTION(PROC_INST_ID_); +create index ACT_IDX_EVENT_SUBSCR_EXEC on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_); +create index ACT_IDX_BA_DEPLOYMENT on ACT_GE_BYTEARRAY(DEPLOYMENT_ID_); +create index ACT_IDX_IDENT_LNK_TASK on ACT_RU_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_INCIDENT_EXEC on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INCIDENT_PROCINST on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INCIDENT_PROC_DEF_ID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INCIDENT_CAUSE on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INCIDENT_ROOT_CAUSE on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +create index ACT_IDX_JOB_EXCEPTION_STACK on ACT_RU_JOB(EXCEPTION_STACK_ID_); +create index ACT_IDX_VARIABLE_BA on ACT_RU_VARIABLE(BYTEARRAY_ID_); +create index ACT_IDX_VARIABLE_EXEC on ACT_RU_VARIABLE(EXECUTION_ID_); +create index ACT_IDX_VARIABLE_PROCINST on ACT_RU_VARIABLE(PROC_INST_ID_); +create index ACT_IDX_TASK_EXEC on ACT_RU_TASK(EXECUTION_ID_); +create index ACT_IDX_TASK_PROCINST on ACT_RU_TASK(PROC_INST_ID_); +create index ACT_IDX_TASK_PROC_DEF_ID on ACT_RU_TASK(PROC_DEF_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.history.sql new file mode 100644 index 000000000..7a5f12c05 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.history.sql @@ -0,0 +1,441 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ nvarchar(64) not null, + PROC_INST_ID_ nvarchar(64) not null, + BUSINESS_KEY_ nvarchar(255), + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64) not null, + START_TIME_ datetime2 not null, + END_TIME_ datetime2, + REMOVAL_TIME_ datetime2, + DURATION_ numeric(19,0), + START_USER_ID_ nvarchar(255), + START_ACT_ID_ nvarchar(255), + END_ACT_ID_ nvarchar(255), + SUPER_PROCESS_INSTANCE_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + SUPER_CASE_INSTANCE_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + DELETE_REASON_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + STATE_ nvarchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +); + +create table ACT_HI_ACTINST ( + ID_ nvarchar(64) not null, + PARENT_ACT_INST_ID_ nvarchar(64), + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64) not null, + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64) not null, + EXECUTION_ID_ nvarchar(64) not null, + ACT_ID_ nvarchar(255) not null, + TASK_ID_ nvarchar(64), + CALL_PROC_INST_ID_ nvarchar(64), + CALL_CASE_INST_ID_ nvarchar(64), + ACT_NAME_ nvarchar(255), + ACT_TYPE_ nvarchar(255) not null, + ASSIGNEE_ nvarchar(255), + START_TIME_ datetime2 not null, + END_TIME_ datetime2, + DURATION_ numeric(19,0), + ACT_INST_STATE_ tinyint, + SEQUENCE_COUNTER_ numeric(19,0), + TENANT_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_TASKINST ( + ID_ nvarchar(64) not null, + TASK_DEF_KEY_ nvarchar(255), + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + EXECUTION_ID_ nvarchar(64), + CASE_DEF_KEY_ nvarchar(255), + CASE_DEF_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + CASE_EXECUTION_ID_ nvarchar(64), + ACT_INST_ID_ nvarchar(64), + NAME_ nvarchar(255), + PARENT_TASK_ID_ nvarchar(64), + DESCRIPTION_ nvarchar(4000), + OWNER_ nvarchar(255), + ASSIGNEE_ nvarchar(255), + START_TIME_ datetime2 not null, + END_TIME_ datetime2, + DURATION_ numeric(19,0), + DELETE_REASON_ nvarchar(4000), + PRIORITY_ int, + DUE_DATE_ datetime2, + FOLLOW_UP_DATE_ datetime2, + TENANT_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_VARINST ( + ID_ nvarchar(64) not null, + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + EXECUTION_ID_ nvarchar(64), + CASE_DEF_KEY_ nvarchar(255), + CASE_DEF_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + CASE_EXECUTION_ID_ nvarchar(64), + ACT_INST_ID_ nvarchar(64), + TASK_ID_ nvarchar(64), + NAME_ nvarchar(255) not null, + VAR_TYPE_ nvarchar(100), + CREATE_TIME_ datetime2, + REV_ int, + BYTEARRAY_ID_ nvarchar(64), + DOUBLE_ double precision, + LONG_ numeric(19,0), + TEXT_ nvarchar(4000), + TEXT2_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + STATE_ nvarchar(20), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_DETAIL ( + ID_ nvarchar(64) not null, + TYPE_ nvarchar(255) not null, + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + EXECUTION_ID_ nvarchar(64), + CASE_DEF_KEY_ nvarchar(255), + CASE_DEF_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + CASE_EXECUTION_ID_ nvarchar(64), + TASK_ID_ nvarchar(64), + ACT_INST_ID_ nvarchar(64), + VAR_INST_ID_ nvarchar(64), + NAME_ nvarchar(255) not null, + VAR_TYPE_ nvarchar(255), + REV_ int, + TIME_ datetime2 not null, + BYTEARRAY_ID_ nvarchar(64), + DOUBLE_ double precision, + LONG_ numeric(19,0), + TEXT_ nvarchar(4000), + TEXT2_ nvarchar(4000), + SEQUENCE_COUNTER_ numeric(19,0), + TENANT_ID_ nvarchar(64), + OPERATION_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + INITIAL_ bit, + primary key (ID_) +); + +create table ACT_HI_IDENTITYLINK ( + ID_ nvarchar(64) not null, + TIMESTAMP_ datetime2 not null, + TYPE_ nvarchar(255), + USER_ID_ nvarchar(255), + GROUP_ID_ nvarchar(255), + TASK_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + OPERATION_TYPE_ nvarchar(64), + ASSIGNER_ID_ nvarchar(64), + PROC_DEF_KEY_ nvarchar(255), + TENANT_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); +create table ACT_HI_COMMENT ( + ID_ nvarchar(64) not null, + TYPE_ nvarchar(255), + TIME_ datetime2 not null, + USER_ID_ nvarchar(255), + TASK_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + ACTION_ nvarchar(255), + MESSAGE_ nvarchar(4000), + FULL_MSG_ image, + TENANT_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_ATTACHMENT ( + ID_ nvarchar(64) not null, + REV_ integer, + USER_ID_ nvarchar(255), + NAME_ nvarchar(255), + DESCRIPTION_ nvarchar(4000), + TYPE_ nvarchar(255), + TASK_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + URL_ nvarchar(4000), + CONTENT_ID_ nvarchar(64), + TENANT_ID_ nvarchar(64), + CREATE_TIME_ datetime2, + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_OP_LOG ( + ID_ nvarchar(64) not null, + DEPLOYMENT_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + PROC_DEF_KEY_ nvarchar(255), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + EXECUTION_ID_ nvarchar(64), + CASE_DEF_ID_ nvarchar(64), + CASE_INST_ID_ nvarchar(64), + CASE_EXECUTION_ID_ nvarchar(64), + TASK_ID_ nvarchar(64), + JOB_ID_ nvarchar(64), + JOB_DEF_ID_ nvarchar(64), + BATCH_ID_ nvarchar(64), + USER_ID_ nvarchar(255), + TIMESTAMP_ datetime2 not null, + OPERATION_TYPE_ nvarchar(64), + OPERATION_ID_ nvarchar(64), + ENTITY_TYPE_ nvarchar(30), + PROPERTY_ nvarchar(64), + ORG_VALUE_ nvarchar(4000), + NEW_VALUE_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + REMOVAL_TIME_ datetime2, + CATEGORY_ nvarchar(64), + EXTERNAL_TASK_ID_ nvarchar(64), + ANNOTATION_ nvarchar(4000), + primary key (ID_) +); + +create table ACT_HI_INCIDENT ( + ID_ nvarchar(64) not null, + PROC_DEF_KEY_ nvarchar(255), + PROC_DEF_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + EXECUTION_ID_ nvarchar(64), + CREATE_TIME_ datetime2 not null, + END_TIME_ datetime2, + INCIDENT_MSG_ nvarchar(4000), + INCIDENT_TYPE_ nvarchar(255) not null, + ACTIVITY_ID_ nvarchar(255), + FAILED_ACTIVITY_ID_ nvarchar(255), + CAUSE_INCIDENT_ID_ nvarchar(64), + ROOT_CAUSE_INCIDENT_ID_ nvarchar(64), + CONFIGURATION_ nvarchar(255), + HISTORY_CONFIGURATION_ nvarchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ nvarchar(64), + JOB_DEF_ID_ nvarchar(64), + ANNOTATION_ nvarchar(4000), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_JOB_LOG ( + ID_ nvarchar(64) not null, + TIMESTAMP_ datetime2 not null, + JOB_ID_ nvarchar(64) not null, + JOB_DUEDATE_ datetime2, + JOB_RETRIES_ integer, + JOB_PRIORITY_ numeric(19,0) NOT NULL DEFAULT 0, + JOB_EXCEPTION_MSG_ nvarchar(4000), + JOB_EXCEPTION_STACK_ID_ nvarchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ nvarchar(64), + JOB_DEF_TYPE_ nvarchar(255), + JOB_DEF_CONFIGURATION_ nvarchar(255), + ACT_ID_ nvarchar(255), + FAILED_ACT_ID_ nvarchar(255), + EXECUTION_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROCESS_INSTANCE_ID_ nvarchar(64), + PROCESS_DEF_ID_ nvarchar(64), + PROCESS_DEF_KEY_ nvarchar(255), + DEPLOYMENT_ID_ nvarchar(64), + SEQUENCE_COUNTER_ numeric(19,0), + TENANT_ID_ nvarchar(64), + HOSTNAME_ nvarchar(255), + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_BATCH ( + ID_ nvarchar(64) not null, + TYPE_ nvarchar(255), + TOTAL_JOBS_ int, + JOBS_PER_SEED_ int, + INVOCATIONS_PER_JOB_ int, + SEED_JOB_DEF_ID_ nvarchar(64), + MONITOR_JOB_DEF_ID_ nvarchar(64), + BATCH_JOB_DEF_ID_ nvarchar(64), + TENANT_ID_ nvarchar(64), + CREATE_USER_ID_ nvarchar(255), + START_TIME_ datetime2 not null, + END_TIME_ datetime2, + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create table ACT_HI_EXT_TASK_LOG ( + ID_ nvarchar(64) not null, + TIMESTAMP_ datetime2 not null, + EXT_TASK_ID_ nvarchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ nvarchar(255), + WORKER_ID_ nvarchar(255), + PRIORITY_ numeric(19,0) NOT NULL DEFAULT 0, + ERROR_MSG_ nvarchar(4000), + ERROR_DETAILS_ID_ nvarchar(64), + ACT_ID_ nvarchar(255), + ACT_INST_ID_ nvarchar(64), + EXECUTION_ID_ nvarchar(64), + ROOT_PROC_INST_ID_ nvarchar(64), + PROC_INST_ID_ nvarchar(64), + PROC_DEF_ID_ nvarchar(64), + PROC_DEF_KEY_ nvarchar(255), + TENANT_ID_ nvarchar(64), + STATE_ integer, + REMOVAL_TIME_ datetime2, + primary key (ID_) +); + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.identity.sql new file mode 100644 index 000000000..9b33364df --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mssql.create.identity.sql @@ -0,0 +1,99 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ nvarchar(64), + REV_ int, + NAME_ nvarchar(255), + TYPE_ nvarchar(255), + primary key (ID_) +); + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ nvarchar(64), + GROUP_ID_ nvarchar(64), + primary key (USER_ID_, GROUP_ID_) +); + +create table ACT_ID_USER ( + ID_ nvarchar(64), + REV_ int, + FIRST_ nvarchar(255), + LAST_ nvarchar(255), + EMAIL_ nvarchar(255), + PWD_ nvarchar(255), + SALT_ nvarchar(255), + LOCK_EXP_TIME_ datetime2, + ATTEMPTS_ int, + PICTURE_ID_ nvarchar(64), + primary key (ID_) +); + +create table ACT_ID_INFO ( + ID_ nvarchar(64), + REV_ int, + USER_ID_ nvarchar(64), + TYPE_ nvarchar(64), + KEY_ nvarchar(255), + VALUE_ nvarchar(255), + PASSWORD_ image, + PARENT_ID_ nvarchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT ( + ID_ nvarchar(64), + REV_ int, + NAME_ nvarchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT_MEMBER ( + ID_ nvarchar(64) not null, + TENANT_ID_ nvarchar(64) not null, + USER_ID_ nvarchar(64), + GROUP_ID_ nvarchar(64), + primary key (ID_) +); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +create unique index ACT_UNIQ_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER (TENANT_ID_, USER_ID_) where USER_ID_ is not null; +create unique index ACT_UNIQ_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER (TENANT_ID_, GROUP_ID_) where GROUP_ID_ is not null; diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.case.engine.sql new file mode 100644 index 000000000..facb8efd9 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.case.engine.sql @@ -0,0 +1,127 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- +create table ACT_RE_CASE_DEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create case execution table -- +create table ACT_RU_CASE_EXECUTION ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- https://app.camunda.com/jira/browse/CAM-9165 +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_) on delete cascade on update cascade; + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.case.history.sql new file mode 100644 index 000000000..f77b7478c --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.case.history.sql @@ -0,0 +1,62 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ datetime not null, + CLOSE_TIME_ datetime, + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_CASEACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ datetime not null, + END_TIME_ datetime, + DURATION_ bigint, + STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_CASEINST on ACT_HI_CASEACTINST(CASE_INST_ID_, CASE_ACT_ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.decision.engine.sql new file mode 100644 index 000000000..8572fb58b --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.decision.engine.sql @@ -0,0 +1,60 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); + diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.decision.history.sql new file mode 100644 index 000000000..3be7cadbf --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ datetime not null, + REMOVAL_TIME_ datetime, + COLLECT_VALUE_ double, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.engine.sql new file mode 100644 index 000000000..a57c67f87 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.engine.sql @@ -0,0 +1,582 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ varchar(64), + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ LONGBLOB, + GENERATED_ TINYINT, + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_GE_SCHEMA_LOG ( + ID_ varchar(64), + TIMESTAMP_ datetime, + VERSION_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ varchar(64), + NAME_ varchar(255), + DEPLOY_TIME_ datetime, + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_EXECUTION ( + ID_ varchar(64), + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + IS_ACTIVE_ TINYINT, + IS_CONCURRENT_ TINYINT, + IS_SCOPE_ TINYINT, + IS_EVENT_SCOPE_ TINYINT, + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_JOB ( + ID_ varchar(64) NOT NULL, + REV_ integer, + TYPE_ varchar(255) NOT NULL, + LOCK_EXP_TIME_ datetime NULL, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ boolean, + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ datetime NULL, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint DEFAULT 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer NOT NULL DEFAULT 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_JOBDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) NOT NULL, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RE_PROCDEF ( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ TINYINT, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ boolean NOT NULL default TRUE, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_TASK ( + ID_ varchar(64), + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ datetime, + DUE_DATE_ datetime, + FOLLOW_UP_DATE_ datetime, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_IDENTITYLINK ( + ID_ varchar(64), + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_VARIABLE ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64) not null, + SEQUENCE_COUNTER_ bigint, + IS_CONCURRENT_LOCAL_ TINYINT, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_EVENT_SUBSCR ( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ datetime not null, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_INCIDENT ( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ datetime not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_AUTHORIZATION ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_FILTER ( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ LONGTEXT not null, + PROPERTIES_ LONGTEXT, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_METER_LOG ( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ bigint, + TIMESTAMP_ datetime, + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_TASK_METER_LOG ( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ bigint, + TIMESTAMP_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_EXT_TASK ( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ datetime NULL, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_RU_BATCH ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create index ACT_IDX_EXEC_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +-- this index needs to be limited in mysql see CAM-6938 +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_(100),HANDLER_CFG_(155)); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_) on delete cascade on update cascade; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF(ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_) on delete cascade on update cascade; + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_) on delete cascade on update cascade; + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_USER + unique (USER_ID_,TYPE_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_GROUP + unique (GROUP_ID_,TYPE_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_UNIQ_VARIABLE + unique (VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.history.sql new file mode 100644 index 000000000..c818e14a7 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.history.sql @@ -0,0 +1,443 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ datetime not null, + END_TIME_ datetime, + REMOVAL_TIME_ datetime, + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_ACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ datetime not null, + END_TIME_ datetime, + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_TASKINST ( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ datetime not null, + END_TIME_ datetime, + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ datetime, + FOLLOW_UP_DATE_ datetime, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_VARINST ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ datetime, + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_DETAIL ( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(255), + REV_ integer, + TIME_ datetime not null, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ datetime, + INITIAL_ boolean, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_IDENTITYLINK ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_COMMENT ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ datetime not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ LONGBLOB, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_ATTACHMENT ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_OP_LOG ( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_INCIDENT ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_JOB_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ datetime not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ datetime NULL, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint NOT NULL DEFAULT 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_BATCH ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ datetime not null, + END_TIME_ datetime, + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_HI_EXT_TASK_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint not null default 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REV_ integer, + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.identity.sql new file mode 100644 index 000000000..a5ea67362 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.mysql.create.identity.sql @@ -0,0 +1,104 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (USER_ID_, GROUP_ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_USER ( + ID_ varchar(64), + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ datetime NULL, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_INFO ( + ID_ varchar(64), + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ LONGBLOB, + PARENT_ID_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_TENANT ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +create table ACT_ID_TENANT_MEMBER ( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_USER + unique (TENANT_ID_, USER_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_GROUP + unique (TENANT_ID_, GROUP_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.case.engine.sql new file mode 100644 index 000000000..047d3b263 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.case.engine.sql @@ -0,0 +1,135 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- + +create table ACT_RE_CASE_DEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + CATEGORY_ NVARCHAR2(255), + NAME_ NVARCHAR2(255), + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + DGRM_RESOURCE_NAME_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + HISTORY_TTL_ INTEGER, + primary key (ID_) +); + +-- create case execution table -- + +create table ACT_RU_CASE_EXECUTION ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + CASE_INST_ID_ NVARCHAR2(64), + SUPER_CASE_EXEC_ NVARCHAR2(64), + SUPER_EXEC_ NVARCHAR2(64), + BUSINESS_KEY_ NVARCHAR2(255), + PARENT_ID_ NVARCHAR2(64), + CASE_DEF_ID_ NVARCHAR2(64), + ACT_ID_ NVARCHAR2(255), + PREV_STATE_ INTEGER, + CURRENT_STATE_ INTEGER, + REQUIRED_ NUMBER(1,0) CHECK (REQUIRED_ IN (1,0)), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + CASE_INST_ID_ NVARCHAR2(64), + CASE_EXEC_ID_ NVARCHAR2(64), + SENTRY_ID_ NVARCHAR2(255), + TYPE_ NVARCHAR2(255), + SOURCE_CASE_EXEC_ID_ NVARCHAR2(64), + STANDARD_EVENT_ NVARCHAR2(255), + SOURCE_ NVARCHAR2(255), + VARIABLE_EVENT_ NVARCHAR2(255), + VARIABLE_NAME_ NVARCHAR2(255), + SATISFIED_ NUMBER(1,0) CHECK (SATISFIED_ IN (1,0)), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_EXE_PARENT on ACT_RU_CASE_EXECUTION(PARENT_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_EXE_CASE_DEF on ACT_RU_CASE_EXECUTION(CASE_DEF_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +create index ACT_IDX_VAR_CASE_EXE on ACT_RU_VARIABLE(CASE_EXECUTION_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_VAR_CASE_INST_ID on ACT_RU_VARIABLE(CASE_INST_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +create index ACT_IDX_TASK_CASE_EXEC on ACT_RU_TASK(CASE_EXECUTION_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_TASK_CASE_DEF_ID on ACT_RU_TASK(CASE_DEF_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +create index ACT_IDX_CASE_SENTRY_CASE_INST on ACT_RU_CASE_SENTRY_PART(CASE_INST_ID_); +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_SENTRY_CASE_EXEC on ACT_RU_CASE_SENTRY_PART(CASE_EXEC_ID_); +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_, 0); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_, 0); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.case.history.sql new file mode 100644 index 000000000..08ca3fe4d --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.case.history.sql @@ -0,0 +1,61 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ NVARCHAR2(64) not null, + CASE_INST_ID_ NVARCHAR2(64) not null, + BUSINESS_KEY_ NVARCHAR2(255), + CASE_DEF_ID_ NVARCHAR2(64) not null, + CREATE_TIME_ TIMESTAMP(6) not null, + CLOSE_TIME_ TIMESTAMP(6), + DURATION_ NUMBER(19,0), + STATE_ INTEGER, + CREATE_USER_ID_ NVARCHAR2(255), + SUPER_CASE_INSTANCE_ID_ NVARCHAR2(64), + SUPER_PROCESS_INSTANCE_ID_ NVARCHAR2(64), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_), + unique (CASE_INST_ID_) +); + +create table ACT_HI_CASEACTINST ( + ID_ NVARCHAR2(64) not null, + PARENT_ACT_INST_ID_ NVARCHAR2(64), + CASE_DEF_ID_ NVARCHAR2(64) not null, + CASE_INST_ID_ NVARCHAR2(64) not null, + CASE_ACT_ID_ NVARCHAR2(255) not null, + TASK_ID_ NVARCHAR2(64), + CALL_PROC_INST_ID_ NVARCHAR2(64), + CALL_CASE_INST_ID_ NVARCHAR2(64), + CASE_ACT_NAME_ NVARCHAR2(255), + CASE_ACT_TYPE_ NVARCHAR2(255), + CREATE_TIME_ TIMESTAMP(6) not null, + END_TIME_ TIMESTAMP(6), + DURATION_ NUMBER(19,0), + STATE_ INTEGER, + REQUIRED_ NUMBER(1,0) CHECK (REQUIRED_ IN (1,0)), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_, 0); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_, 0); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.decision.engine.sql new file mode 100644 index 000000000..c3a4701f5 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + CATEGORY_ NVARCHAR2(255), + NAME_ NVARCHAR2(255), + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + DGRM_RESOURCE_NAME_ NVARCHAR2(2000), + DEC_REQ_ID_ NVARCHAR2(64), + DEC_REQ_KEY_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + HISTORY_TTL_ integer, + VERSION_TAG_ NVARCHAR2(64), + primary key (ID_) +); + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + CATEGORY_ NVARCHAR2(255), + NAME_ NVARCHAR2(255), + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + DGRM_RESOURCE_NAME_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_, 0); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_, 0); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.decision.history.sql new file mode 100644 index 000000000..46737a56e --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ NVARCHAR2(64) NOT NULL, + DEC_DEF_ID_ NVARCHAR2(64) NOT NULL, + DEC_DEF_KEY_ NVARCHAR2(255) NOT NULL, + DEC_DEF_NAME_ NVARCHAR2(255), + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + CASE_DEF_KEY_ NVARCHAR2(255), + CASE_DEF_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + ACT_INST_ID_ NVARCHAR2(64), + ACT_ID_ NVARCHAR2(255), + EVAL_TIME_ TIMESTAMP(6) not null, + REMOVAL_TIME_ TIMESTAMP(6), + COLLECT_VALUE_ NUMBER(*,10), + USER_ID_ NVARCHAR2(255), + ROOT_DEC_INST_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + DEC_REQ_ID_ NVARCHAR2(64), + DEC_REQ_KEY_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ NVARCHAR2(64) NOT NULL, + DEC_INST_ID_ NVARCHAR2(64) NOT NULL, + CLAUSE_ID_ NVARCHAR2(64), + CLAUSE_NAME_ NVARCHAR2(255), + VAR_TYPE_ NVARCHAR2(100), + BYTEARRAY_ID_ NVARCHAR2(64), + DOUBLE_ NUMBER(*,10), + LONG_ NUMBER(19,0), + TEXT_ NVARCHAR2(2000), + TEXT2_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + CREATE_TIME_ TIMESTAMP(6), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ NVARCHAR2(64) NOT NULL, + DEC_INST_ID_ NVARCHAR2(64) NOT NULL, + CLAUSE_ID_ NVARCHAR2(64), + CLAUSE_NAME_ NVARCHAR2(255), + RULE_ID_ NVARCHAR2(64), + RULE_ORDER_ INTEGER, + VAR_NAME_ NVARCHAR2(255), + VAR_TYPE_ NVARCHAR2(100), + BYTEARRAY_ID_ NVARCHAR2(64), + DOUBLE_ NUMBER(*,10), + LONG_ NUMBER(19,0), + TEXT_ NVARCHAR2(2000), + TEXT2_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + CREATE_TIME_ TIMESTAMP(6), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_, 0); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.engine.sql new file mode 100644 index 000000000..6830aab6e --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.engine.sql @@ -0,0 +1,601 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ NVARCHAR2(64), + VALUE_ NVARCHAR2(300), + REV_ INTEGER, + primary key (NAME_) +); + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + NAME_ NVARCHAR2(255), + DEPLOYMENT_ID_ NVARCHAR2(64), + BYTES_ BLOB, + GENERATED_ NUMBER(1,0) CHECK (GENERATED_ IN (1,0)), + TENANT_ID_ NVARCHAR2(64), + TYPE_ INTEGER, + CREATE_TIME_ TIMESTAMP(6), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_GE_SCHEMA_LOG ( + ID_ NVARCHAR2(64), + TIMESTAMP_ TIMESTAMP(6), + VERSION_ NVARCHAR2(255), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ NVARCHAR2(64), + NAME_ NVARCHAR2(255), + DEPLOY_TIME_ TIMESTAMP(6), + SOURCE_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_EXECUTION ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + BUSINESS_KEY_ NVARCHAR2(255), + PARENT_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + SUPER_EXEC_ NVARCHAR2(64), + SUPER_CASE_EXEC_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + ACT_ID_ NVARCHAR2(255), + ACT_INST_ID_ NVARCHAR2(64), + IS_ACTIVE_ NUMBER(1,0) CHECK (IS_ACTIVE_ IN (1,0)), + IS_CONCURRENT_ NUMBER(1,0) CHECK (IS_CONCURRENT_ IN (1,0)), + IS_SCOPE_ NUMBER(1,0) CHECK (IS_SCOPE_ IN (1,0)), + IS_EVENT_SCOPE_ NUMBER(1,0) CHECK (IS_EVENT_SCOPE_ IN (1,0)), + SUSPENSION_STATE_ INTEGER, + CACHED_ENT_STATE_ INTEGER, + SEQUENCE_COUNTER_ NUMBER(19,0), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_JOB ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + TYPE_ NVARCHAR2(255) NOT NULL, + LOCK_EXP_TIME_ TIMESTAMP(6), + LOCK_OWNER_ NVARCHAR2(255), + EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)), + EXECUTION_ID_ NVARCHAR2(64), + PROCESS_INSTANCE_ID_ NVARCHAR2(64), + PROCESS_DEF_ID_ NVARCHAR2(64), + PROCESS_DEF_KEY_ NVARCHAR2(255), + RETRIES_ INTEGER, + EXCEPTION_STACK_ID_ NVARCHAR2(64), + EXCEPTION_MSG_ NVARCHAR2(2000), + FAILED_ACT_ID_ NVARCHAR2(255), + DUEDATE_ TIMESTAMP(6), + REPEAT_ NVARCHAR2(255), + REPEAT_OFFSET_ NUMBER(19,0) DEFAULT 0, + HANDLER_TYPE_ NVARCHAR2(255), + HANDLER_CFG_ NVARCHAR2(2000), + DEPLOYMENT_ID_ NVARCHAR2(64), + SUSPENSION_STATE_ INTEGER DEFAULT 1 NOT NULL, + JOB_DEF_ID_ NVARCHAR2(64), + PRIORITY_ NUMBER(19,0) DEFAULT 0 NOT NULL, + SEQUENCE_COUNTER_ NUMBER(19,0), + TENANT_ID_ NVARCHAR2(64), + CREATE_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_RU_JOBDEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + PROC_DEF_ID_ NVARCHAR2(64), + PROC_DEF_KEY_ NVARCHAR2(255), + ACT_ID_ NVARCHAR2(255), + JOB_TYPE_ NVARCHAR2(255) NOT NULL, + JOB_CONFIGURATION_ NVARCHAR2(255), + SUSPENSION_STATE_ INTEGER, + JOB_PRIORITY_ NUMBER(19,0), + TENANT_ID_ NVARCHAR2(64), + DEPLOYMENT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RE_PROCDEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + CATEGORY_ NVARCHAR2(255), + NAME_ NVARCHAR2(255), + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + DGRM_RESOURCE_NAME_ NVARCHAR2(2000), + HAS_START_FORM_KEY_ NUMBER(1,0) CHECK (HAS_START_FORM_KEY_ IN (1,0)), + SUSPENSION_STATE_ INTEGER, + TENANT_ID_ NVARCHAR2(64), + VERSION_TAG_ NVARCHAR2(64), + HISTORY_TTL_ integer, + STARTABLE_ NUMBER(1,0) DEFAULT 1 NOT NULL CHECK (STARTABLE_ IN (1,0)), + primary key (ID_) +); + +create table ACT_RE_CAMFORMDEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_TASK ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + EXECUTION_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + CASE_EXECUTION_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + CASE_DEF_ID_ NVARCHAR2(64), + NAME_ NVARCHAR2(255), + PARENT_TASK_ID_ NVARCHAR2(64), + DESCRIPTION_ NVARCHAR2(2000), + TASK_DEF_KEY_ NVARCHAR2(255), + OWNER_ NVARCHAR2(255), + ASSIGNEE_ NVARCHAR2(255), + DELEGATION_ NVARCHAR2(64), + PRIORITY_ INTEGER, + CREATE_TIME_ TIMESTAMP(6), + DUE_DATE_ TIMESTAMP(6), + FOLLOW_UP_DATE_ TIMESTAMP(6), + SUSPENSION_STATE_ INTEGER, + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_IDENTITYLINK ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + GROUP_ID_ NVARCHAR2(255), + TYPE_ NVARCHAR2(255), + USER_ID_ NVARCHAR2(255), + TASK_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_VARIABLE ( + ID_ NVARCHAR2(64) not null, + REV_ INTEGER, + TYPE_ NVARCHAR2(255) not null, + NAME_ NVARCHAR2(255) not null, + EXECUTION_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + CASE_EXECUTION_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + TASK_ID_ NVARCHAR2(64), + BATCH_ID_ NVARCHAR2(64), + BYTEARRAY_ID_ NVARCHAR2(64), + DOUBLE_ NUMBER(*,10), + LONG_ NUMBER(19,0), + TEXT_ NVARCHAR2(2000), + TEXT2_ NVARCHAR2(2000), + VAR_SCOPE_ NVARCHAR2(64) not null, + SEQUENCE_COUNTER_ NUMBER(19,0), + IS_CONCURRENT_LOCAL_ NUMBER(1,0) CHECK (IS_CONCURRENT_LOCAL_ IN (1,0)), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_EVENT_SUBSCR ( + ID_ NVARCHAR2(64) not null, + REV_ integer, + EVENT_TYPE_ NVARCHAR2(255) not null, + EVENT_NAME_ NVARCHAR2(255), + EXECUTION_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + ACTIVITY_ID_ NVARCHAR2(255), + CONFIGURATION_ NVARCHAR2(255), + CREATED_ TIMESTAMP(6) not null, + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_INCIDENT ( + ID_ NVARCHAR2(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ TIMESTAMP(6) not null, + INCIDENT_MSG_ NVARCHAR2(2000), + INCIDENT_TYPE_ NVARCHAR2(255) not null, + EXECUTION_ID_ NVARCHAR2(64), + ACTIVITY_ID_ NVARCHAR2(255), + FAILED_ACTIVITY_ID_ NVARCHAR2(255), + PROC_INST_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + CAUSE_INCIDENT_ID_ NVARCHAR2(64), + ROOT_CAUSE_INCIDENT_ID_ NVARCHAR2(64), + CONFIGURATION_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + JOB_DEF_ID_ NVARCHAR2(64), + ANNOTATION_ NVARCHAR2(2000), + primary key (ID_) +); + +create table ACT_RU_AUTHORIZATION ( + ID_ NVARCHAR2(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ NVARCHAR2(255), + USER_ID_ NVARCHAR2(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ NVARCHAR2(255), + PERMS_ integer, + REMOVAL_TIME_ TIMESTAMP(6), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_RU_FILTER ( + ID_ NVARCHAR2(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ NVARCHAR2(255) not null, + NAME_ NVARCHAR2(255) not null, + OWNER_ NVARCHAR2(255), + QUERY_ NCLOB not null, + PROPERTIES_ NCLOB, + primary key (ID_) +); + +create table ACT_RU_METER_LOG ( + ID_ NVARCHAR2(64) not null, + NAME_ NVARCHAR2(64) not null, + REPORTER_ NVARCHAR2(255), + VALUE_ NUMBER(19,0), + TIMESTAMP_ TIMESTAMP(6), + MILLISECONDS_ NUMBER(19,0) DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_TASK_METER_LOG ( + ID_ NVARCHAR2(64) not null, + ASSIGNEE_HASH_ NUMBER(19,0), + TIMESTAMP_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_RU_EXT_TASK ( + ID_ NVARCHAR2(64) not null, + REV_ integer not null, + WORKER_ID_ NVARCHAR2(255), + TOPIC_NAME_ NVARCHAR2(255), + RETRIES_ INTEGER, + ERROR_MSG_ NVARCHAR2(2000), + ERROR_DETAILS_ID_ NVARCHAR2(64), + LOCK_EXP_TIME_ TIMESTAMP(6), + SUSPENSION_STATE_ integer, + EXECUTION_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + PROC_DEF_KEY_ NVARCHAR2(255), + ACT_ID_ NVARCHAR2(255), + ACT_INST_ID_ NVARCHAR2(64), + TENANT_ID_ NVARCHAR2(64), + PRIORITY_ NUMBER(19,0) DEFAULT 0 NOT NULL, + primary key (ID_) +); + +create table ACT_RU_BATCH ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER NOT NULL, + TYPE_ NVARCHAR2(255), + TOTAL_JOBS_ INTEGER, + JOBS_CREATED_ INTEGER, + JOBS_PER_SEED_ INTEGER, + INVOCATIONS_PER_JOB_ INTEGER, + SEED_JOB_DEF_ID_ NVARCHAR2(64), + BATCH_JOB_DEF_ID_ NVARCHAR2(64), + MONITOR_JOB_DEF_ID_ NVARCHAR2(64), + SUSPENSION_STATE_ INTEGER, + CONFIGURATION_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + CREATE_USER_ID_ NVARCHAR2(255), + primary key (ID_) +); + +create index ACT_IDX_EXE_ROOT_PROCINST on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_, 0); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_, 0); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_, 0); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_, 0); +create index ACT_IDX_VARIABLE_TASK_NAME_TYP on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_, 0); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_, SUBSTR(HANDLER_CFG_, 1, 1850)); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_, 0); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_, 0); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_, 0); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +create index ACT_IDX_BYTEAR_DEPL on ACT_GE_BYTEARRAY(DEPLOYMENT_ID_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +create index ACT_IDX_EXE_PROCINST on ACT_RU_EXECUTION(PROC_INST_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_PARENT on ACT_RU_EXECUTION(PARENT_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_SUPER on ACT_RU_EXECUTION(SUPER_EXEC_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_PROCDEF on ACT_RU_EXECUTION(PROC_DEF_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_TSKASS_TASK on ACT_RU_IDENTITYLINK(TASK_ID_); +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_TASK_EXEC on ACT_RU_TASK(EXECUTION_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_TASK_PROCINST on ACT_RU_TASK(PROC_INST_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_TASK_PROCDEF on ACT_RU_TASK(PROC_DEF_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_VAR_EXE on ACT_RU_VARIABLE(EXECUTION_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_VAR_PROCINST on ACT_RU_VARIABLE(PROC_INST_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +create index ACT_IDX_VAR_BYTEARRAY on ACT_RU_VARIABLE(BYTEARRAY_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_JOB_EXCEPTION on ACT_RU_JOB(EXCEPTION_STACK_ID_); +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_EVENT_SUBSCR on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_); +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +-- see http://stackoverflow.com/questions/675398/how-can-i-constrain-multiple-columns-to-prevent-duplicates-but-ignore-null-value +create unique index ACT_UNIQ_AUTH_USER on ACT_RU_AUTHORIZATION + (case when USER_ID_ is null then null else TYPE_ end, + case when USER_ID_ is null then null else RESOURCE_TYPE_ end, + case when USER_ID_ is null then null else RESOURCE_ID_ end, + case when USER_ID_ is null then null else USER_ID_ end); + +create unique index ACT_UNIQ_AUTH_GROUP on ACT_RU_AUTHORIZATION + (case when GROUP_ID_ is null then null else TYPE_ end, + case when GROUP_ID_ is null then null else RESOURCE_TYPE_ end, + case when GROUP_ID_ is null then null else RESOURCE_ID_ end, + case when GROUP_ID_ is null then null else GROUP_ID_ end); + +alter table ACT_RU_VARIABLE + add constraint ACT_UNIQ_VARIABLE + unique (VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_, 0); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_, 0); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.history.sql new file mode 100644 index 000000000..8b2b57fc9 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.history.sql @@ -0,0 +1,442 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ NVARCHAR2(64) not null, + PROC_INST_ID_ NVARCHAR2(64) not null, + BUSINESS_KEY_ NVARCHAR2(255), + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64) not null, + START_TIME_ TIMESTAMP(6) not null, + END_TIME_ TIMESTAMP(6), + REMOVAL_TIME_ TIMESTAMP(6), + DURATION_ NUMBER(19,0), + START_USER_ID_ NVARCHAR2(255), + START_ACT_ID_ NVARCHAR2(255), + END_ACT_ID_ NVARCHAR2(255), + SUPER_PROCESS_INSTANCE_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + SUPER_CASE_INSTANCE_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + DELETE_REASON_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + STATE_ NVARCHAR2(255), + primary key (ID_), + unique (PROC_INST_ID_) +); + +create table ACT_HI_ACTINST ( + ID_ NVARCHAR2(64) not null, + PARENT_ACT_INST_ID_ NVARCHAR2(64), + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64) not null, + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64) not null, + EXECUTION_ID_ NVARCHAR2(64) not null, + ACT_ID_ NVARCHAR2(255) not null, + TASK_ID_ NVARCHAR2(64), + CALL_PROC_INST_ID_ NVARCHAR2(64), + CALL_CASE_INST_ID_ NVARCHAR2(64), + ACT_NAME_ NVARCHAR2(255), + ACT_TYPE_ NVARCHAR2(255) not null, + ASSIGNEE_ NVARCHAR2(255), + START_TIME_ TIMESTAMP(6) not null, + END_TIME_ TIMESTAMP(6), + DURATION_ NUMBER(19,0), + ACT_INST_STATE_ INTEGER, + SEQUENCE_COUNTER_ NUMBER(19,0), + TENANT_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_TASKINST ( + ID_ NVARCHAR2(64) not null, + TASK_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + EXECUTION_ID_ NVARCHAR2(64), + CASE_DEF_KEY_ NVARCHAR2(255), + CASE_DEF_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + CASE_EXECUTION_ID_ NVARCHAR2(64), + ACT_INST_ID_ NVARCHAR2(64), + PARENT_TASK_ID_ NVARCHAR2(64), + NAME_ NVARCHAR2(255), + DESCRIPTION_ NVARCHAR2(2000), + OWNER_ NVARCHAR2(255), + ASSIGNEE_ NVARCHAR2(255), + START_TIME_ TIMESTAMP(6) not null, + END_TIME_ TIMESTAMP(6), + DURATION_ NUMBER(19,0), + DELETE_REASON_ NVARCHAR2(2000), + PRIORITY_ INTEGER, + DUE_DATE_ TIMESTAMP(6), + FOLLOW_UP_DATE_ TIMESTAMP(6), + TENANT_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_VARINST ( + ID_ NVARCHAR2(64) not null, + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + EXECUTION_ID_ NVARCHAR2(64), + ACT_INST_ID_ NVARCHAR2(64), + CASE_DEF_KEY_ NVARCHAR2(255), + CASE_DEF_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + CASE_EXECUTION_ID_ NVARCHAR2(64), + TASK_ID_ NVARCHAR2(64), + NAME_ NVARCHAR2(255) not null, + VAR_TYPE_ NVARCHAR2(100), + CREATE_TIME_ TIMESTAMP(6), + REV_ INTEGER, + BYTEARRAY_ID_ NVARCHAR2(64), + DOUBLE_ NUMBER(*,10), + LONG_ NUMBER(19,0), + TEXT_ NVARCHAR2(2000), + TEXT2_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + STATE_ NVARCHAR2(20), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_DETAIL ( + ID_ NVARCHAR2(64) not null, + TYPE_ NVARCHAR2(255) not null, + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + EXECUTION_ID_ NVARCHAR2(64), + CASE_DEF_KEY_ NVARCHAR2(255), + CASE_DEF_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + CASE_EXECUTION_ID_ NVARCHAR2(64), + TASK_ID_ NVARCHAR2(64), + ACT_INST_ID_ NVARCHAR2(64), + VAR_INST_ID_ NVARCHAR2(64), + NAME_ NVARCHAR2(255) not null, + VAR_TYPE_ NVARCHAR2(64), + REV_ INTEGER, + TIME_ TIMESTAMP(6) not null, + BYTEARRAY_ID_ NVARCHAR2(64), + DOUBLE_ NUMBER(*,10), + LONG_ NUMBER(19,0), + TEXT_ NVARCHAR2(2000), + TEXT2_ NVARCHAR2(2000), + SEQUENCE_COUNTER_ NUMBER(19,0), + TENANT_ID_ NVARCHAR2(64), + OPERATION_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + INITIAL_ NUMBER(1,0) CHECK (INITIAL_ IN (1,0)), + primary key (ID_) +); + +create table ACT_HI_IDENTITYLINK ( + ID_ NVARCHAR2(64) not null, + TIMESTAMP_ TIMESTAMP(6) not null, + TYPE_ NVARCHAR2(255), + USER_ID_ NVARCHAR2(255), + GROUP_ID_ NVARCHAR2(255), + TASK_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + OPERATION_TYPE_ NVARCHAR2(64), + ASSIGNER_ID_ NVARCHAR2(64), + PROC_DEF_KEY_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_COMMENT ( + ID_ NVARCHAR2(64) not null, + TYPE_ NVARCHAR2(255), + TIME_ TIMESTAMP(6) not null, + USER_ID_ NVARCHAR2(255), + TASK_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + ACTION_ NVARCHAR2(255), + MESSAGE_ NVARCHAR2(2000), + FULL_MSG_ BLOB, + TENANT_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_ATTACHMENT ( + ID_ NVARCHAR2(64) not null, + REV_ INTEGER, + USER_ID_ NVARCHAR2(255), + NAME_ NVARCHAR2(255), + DESCRIPTION_ NVARCHAR2(2000), + TYPE_ NVARCHAR2(255), + TASK_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + URL_ NVARCHAR2(2000), + CONTENT_ID_ NVARCHAR2(64), + TENANT_ID_ NVARCHAR2(64), + CREATE_TIME_ TIMESTAMP(6), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_OP_LOG ( + ID_ NVARCHAR2(64) not null, + DEPLOYMENT_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + PROC_DEF_KEY_ NVARCHAR2(255), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + EXECUTION_ID_ NVARCHAR2(64), + CASE_DEF_ID_ NVARCHAR2(64), + CASE_INST_ID_ NVARCHAR2(64), + CASE_EXECUTION_ID_ NVARCHAR2(64), + TASK_ID_ NVARCHAR2(64), + JOB_ID_ NVARCHAR2(64), + JOB_DEF_ID_ NVARCHAR2(64), + BATCH_ID_ NVARCHAR2(64), + USER_ID_ NVARCHAR2(255), + TIMESTAMP_ TIMESTAMP(6) not null, + OPERATION_TYPE_ NVARCHAR2(255), + OPERATION_ID_ NVARCHAR2(64), + ENTITY_TYPE_ NVARCHAR2(30), + PROPERTY_ NVARCHAR2(64), + ORG_VALUE_ NVARCHAR2(2000), + NEW_VALUE_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + REMOVAL_TIME_ TIMESTAMP(6), + CATEGORY_ NVARCHAR2(64), + EXTERNAL_TASK_ID_ NVARCHAR2(64), + ANNOTATION_ NVARCHAR2(2000), + primary key (ID_) +); + +create table ACT_HI_INCIDENT ( + ID_ NVARCHAR2(64) not null, + PROC_DEF_KEY_ NVARCHAR2(255), + PROC_DEF_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + EXECUTION_ID_ NVARCHAR2(64), + CREATE_TIME_ TIMESTAMP(6) not null, + END_TIME_ TIMESTAMP(6), + INCIDENT_MSG_ NVARCHAR2(2000), + INCIDENT_TYPE_ NVARCHAR2(255) not null, + ACTIVITY_ID_ NVARCHAR2(255), + FAILED_ACTIVITY_ID_ NVARCHAR2(255), + CAUSE_INCIDENT_ID_ NVARCHAR2(64), + ROOT_CAUSE_INCIDENT_ID_ NVARCHAR2(64), + CONFIGURATION_ NVARCHAR2(255), + HISTORY_CONFIGURATION_ NVARCHAR2(255), + INCIDENT_STATE_ INTEGER, + TENANT_ID_ NVARCHAR2(64), + JOB_DEF_ID_ NVARCHAR2(64), + ANNOTATION_ NVARCHAR2(2000), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_JOB_LOG ( + ID_ NVARCHAR2(64) not null, + TIMESTAMP_ TIMESTAMP(6) not null, + JOB_ID_ NVARCHAR2(64) not null, + JOB_DUEDATE_ TIMESTAMP(6), + JOB_RETRIES_ INTEGER, + JOB_PRIORITY_ NUMBER(19,0) DEFAULT 0 NOT NULL, + JOB_EXCEPTION_MSG_ NVARCHAR2(2000), + JOB_EXCEPTION_STACK_ID_ NVARCHAR2(64), + JOB_STATE_ INTEGER, + JOB_DEF_ID_ NVARCHAR2(64), + JOB_DEF_TYPE_ NVARCHAR2(255), + JOB_DEF_CONFIGURATION_ NVARCHAR2(255), + ACT_ID_ NVARCHAR2(255), + FAILED_ACT_ID_ NVARCHAR2(255), + EXECUTION_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROCESS_INSTANCE_ID_ NVARCHAR2(64), + PROCESS_DEF_ID_ NVARCHAR2(64), + PROCESS_DEF_KEY_ NVARCHAR2(255), + DEPLOYMENT_ID_ NVARCHAR2(64), + SEQUENCE_COUNTER_ NUMBER(19,0), + TENANT_ID_ NVARCHAR2(64), + HOSTNAME_ NVARCHAR2(255), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_BATCH ( + ID_ NVARCHAR2(64) not null, + TYPE_ NVARCHAR2(255), + TOTAL_JOBS_ INTEGER, + JOBS_PER_SEED_ INTEGER, + INVOCATIONS_PER_JOB_ INTEGER, + SEED_JOB_DEF_ID_ NVARCHAR2(64), + MONITOR_JOB_DEF_ID_ NVARCHAR2(64), + BATCH_JOB_DEF_ID_ NVARCHAR2(64), + TENANT_ID_ NVARCHAR2(64), + CREATE_USER_ID_ NVARCHAR2(255), + START_TIME_ TIMESTAMP(6) NOT NULL, + END_TIME_ TIMESTAMP(6), + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create table ACT_HI_EXT_TASK_LOG ( + ID_ NVARCHAR2(64) not null, + TIMESTAMP_ TIMESTAMP(6) not null, + EXT_TASK_ID_ NVARCHAR2(64) not null, + RETRIES_ integer, + TOPIC_NAME_ NVARCHAR2(255), + WORKER_ID_ NVARCHAR2(255), + PRIORITY_ NUMBER(19,0) DEFAULT 0 NOT NULL, + ERROR_MSG_ NVARCHAR2(2000), + ERROR_DETAILS_ID_ NVARCHAR2(64), + ACT_ID_ NVARCHAR2(255), + ACT_INST_ID_ NVARCHAR2(64), + EXECUTION_ID_ NVARCHAR2(64), + ROOT_PROC_INST_ID_ NVARCHAR2(64), + PROC_INST_ID_ NVARCHAR2(64), + PROC_DEF_ID_ NVARCHAR2(64), + PROC_DEF_KEY_ NVARCHAR2(255), + TENANT_ID_ NVARCHAR2(64), + STATE_ INTEGER, + REMOVAL_TIME_ TIMESTAMP(6), + primary key (ID_) +); + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_, 0); +create index ACT_IDX_HI_PRO_INST_PROC_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_, 0); +create index ACT_IDX_HI_ACT_INST_PROC_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_, 0); +create index ACT_IDX_HI_TASK_INST_PROC_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_, 0); +create index ACT_IDX_HI_DETAIL_PROC_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_, 0); +create index ACT_IDX_HI_IDENT_LNK_PROC_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_, 0); +create index ACT_IDX_HI_VAR_INST_PROC_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_, 0); +create index ACT_IDX_HI_INCIDENT_PROC_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TI on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_, 0); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.identity.sql new file mode 100644 index 000000000..9d18000d3 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.oracle.create.identity.sql @@ -0,0 +1,110 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + NAME_ NVARCHAR2(255), + TYPE_ NVARCHAR2(255), + primary key (ID_) +); + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ NVARCHAR2(64), + GROUP_ID_ NVARCHAR2(64), + primary key (USER_ID_, GROUP_ID_) +); + +create table ACT_ID_USER ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + FIRST_ NVARCHAR2(255), + LAST_ NVARCHAR2(255), + EMAIL_ NVARCHAR2(255), + PWD_ NVARCHAR2(255), + SALT_ NVARCHAR2(255), + LOCK_EXP_TIME_ TIMESTAMP(6), + ATTEMPTS_ INTEGER, + PICTURE_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create table ACT_ID_INFO ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + USER_ID_ NVARCHAR2(64), + TYPE_ NVARCHAR2(64), + KEY_ NVARCHAR2(255), + VALUE_ NVARCHAR2(255), + PASSWORD_ BLOB, + PARENT_ID_ NVARCHAR2(255), + primary key (ID_) +); + +create table ACT_ID_TENANT ( + ID_ NVARCHAR2(64), + REV_ INTEGER, + NAME_ NVARCHAR2(255), + primary key (ID_) +); + +create table ACT_ID_TENANT_MEMBER ( + ID_ NVARCHAR2(64) not null, + TENANT_ID_ NVARCHAR2(64) not null, + USER_ID_ NVARCHAR2(64), + GROUP_ID_ NVARCHAR2(64), + primary key (ID_) +); + +create index ACT_IDX_MEMB_GROUP on ACT_ID_MEMBERSHIP(GROUP_ID_); +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +create index ACT_IDX_MEMB_USER on ACT_ID_MEMBERSHIP(USER_ID_); +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +create index ACT_IDX_TENANT_MEMB on ACT_ID_TENANT_MEMBER(TENANT_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +create index ACT_IDX_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER(USER_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +create index ACT_IDX_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER(GROUP_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +create unique index ACT_UNIQ_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER + (case when USER_ID_ is null then null else TENANT_ID_ end, + case when USER_ID_ is null then null else USER_ID_ end); + +create unique index ACT_UNIQ_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER + (case when GROUP_ID_ is null then null else TENANT_ID_ end, + case when GROUP_ID_ is null then null else GROUP_ID_ end); + diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.case.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.case.engine.sql new file mode 100644 index 000000000..c1860ecb2 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.case.engine.sql @@ -0,0 +1,135 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- + +create table ACT_RE_CASE_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +); + +-- create case execution table -- + +create table ACT_RU_CASE_EXECUTION ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION(BUSINESS_KEY_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION(CASE_INST_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_EXE_PARENT on ACT_RU_CASE_EXECUTION(PARENT_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_EXE_CASE_DEF on ACT_RU_CASE_EXECUTION(CASE_DEF_ID_); +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +create index ACT_IDX_VAR_CASE_EXE on ACT_RU_VARIABLE(CASE_EXECUTION_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_VAR_CASE_INST_ID on ACT_RU_VARIABLE(CASE_INST_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +create index ACT_IDX_TASK_CASE_EXEC on ACT_RU_TASK(CASE_EXECUTION_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_TASK_CASE_DEF_ID on ACT_RU_TASK(CASE_DEF_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF(ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +create index ACT_IDX_CASE_SENTRY_CASE_INST on ACT_RU_CASE_SENTRY_PART(CASE_INST_ID_); +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_SENTRY_CASE_EXEC on ACT_RU_CASE_SENTRY_PART(CASE_EXEC_ID_); +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION(ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF(TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.case.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.case.history.sql new file mode 100644 index 000000000..0060fb244 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.case.history.sql @@ -0,0 +1,61 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST ( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ timestamp not null, + CLOSE_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +); + +create table ACT_HI_CASEACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST(CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST(BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST(TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST(CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST(END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST(CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.decision.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.decision.engine.sql new file mode 100644 index 000000000..b2d22c1f9 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.decision.engine.sql @@ -0,0 +1,59 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +); + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF(ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF(TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF(DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF(TENANT_ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.decision.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.decision.history.sql new file mode 100644 index 000000000..e56d0fc33 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.decision.history.sql @@ -0,0 +1,108 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST ( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ timestamp not null, + REMOVAL_TIME_ timestamp, + COLLECT_VALUE_ double precision, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +-- create history decision input table -- +create table ACT_HI_DEC_IN ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +-- create history decision output table -- +create table ACT_HI_DEC_OUT ( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST(DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST(DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST(PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST(CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST(ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST(ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST(EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST(TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST(ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST(DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST(DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN(DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN(REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT(DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT(RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.engine.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.engine.sql new file mode 100644 index 000000000..c2e3d4d79 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.engine.sql @@ -0,0 +1,596 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY ( + NAME_ varchar(64), + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +); + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ bytea, + GENERATED_ boolean, + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_GE_SCHEMA_LOG ( + ID_ varchar(64), + TIMESTAMP_ timestamp, + VERSION_ varchar(255), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_DEPLOYMENT ( + ID_ varchar(64), + NAME_ varchar(255), + DEPLOY_TIME_ timestamp, + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EXECUTION ( + ID_ varchar(64), + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + IS_ACTIVE_ boolean, + IS_CONCURRENT_ boolean, + IS_SCOPE_ boolean, + IS_EVENT_SCOPE_ boolean, + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_JOB ( + ID_ varchar(64) NOT NULL, + REV_ integer, + TYPE_ varchar(255) NOT NULL, + LOCK_EXP_TIME_ timestamp, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ boolean, + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ timestamp, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint DEFAULT 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer NOT NULL DEFAULT 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_RU_JOBDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) NOT NULL, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RE_PROCDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ boolean, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ boolean NOT NULL default TRUE, + primary key (ID_) +); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_TASK ( + ID_ varchar(64), + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ timestamp, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_IDENTITYLINK ( + ID_ varchar(64), + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar (64), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_VARIABLE ( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64), + SEQUENCE_COUNTER_ bigint, + IS_CONCURRENT_LOCAL_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_EVENT_SUBSCR ( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ timestamp not null, + TENANT_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_INCIDENT ( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ timestamp not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_RU_AUTHORIZATION ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ timestamp, + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_RU_FILTER ( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ TEXT not null, + PROPERTIES_ TEXT, + primary key (ID_) +); + +create table ACT_RU_METER_LOG ( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ bigint, + TIMESTAMP_ timestamp, + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_TASK_METER_LOG ( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ bigint, + TIMESTAMP_ timestamp, + primary key (ID_) +); + +create table ACT_RU_EXT_TASK ( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ timestamp, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + primary key (ID_) +); + +create table ACT_RU_BATCH ( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + primary key (ID_) +); + +create index ACT_IDX_EXE_ROOT_PI on ACT_RU_EXECUTION(ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION(BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION(TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK(ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK(OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK(TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR(TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE(TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE(TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT(CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT(TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB(EXECUTION_ID_); +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB(HANDLER_TYPE_,HANDLER_CFG_); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB(PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB(TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF(TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG(MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG(NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG(NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG(TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG(NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG(TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK(TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK(TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK(PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK(ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION(GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB(JOB_DEF_ID_); + +create index ACT_IDX_BYTEAR_DEPL on ACT_GE_BYTEARRAY(DEPLOYMENT_ID_); +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +create index ACT_IDX_EXE_PROCINST on ACT_RU_EXECUTION(PROC_INST_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_PARENT on ACT_RU_EXECUTION(PARENT_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_SUPER on ACT_RU_EXECUTION(SUPER_EXEC_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_EXE_PROCDEF on ACT_RU_EXECUTION(PROC_DEF_ID_); +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + + +create index ACT_IDX_TSKASS_TASK on ACT_RU_IDENTITYLINK(TASK_ID_); +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_); +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_TASK_EXEC on ACT_RU_TASK(EXECUTION_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_TASK_PROCINST on ACT_RU_TASK(PROC_INST_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_TASK_PROCDEF on ACT_RU_TASK(PROC_DEF_ID_); +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +create index ACT_IDX_VAR_EXE on ACT_RU_VARIABLE(EXECUTION_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_VAR_PROCINST on ACT_RU_VARIABLE(PROC_INST_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION(ID_); + +create index ACT_IDX_VAR_BYTEARRAY on ACT_RU_VARIABLE(BYTEARRAY_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_JOB_EXCEPTION on ACT_RU_JOB(EXCEPTION_STACK_ID_); +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_EVENT_SUBSCR on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_); +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION(ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT(JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_USER + unique (TYPE_,USER_ID_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_GROUP + unique (TYPE_,GROUP_ID_,RESOURCE_TYPE_,RESOURCE_ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_UNIQ_VARIABLE + unique (VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH(SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH(MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH(BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE(BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT(CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT(EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT(PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT(ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION(RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK(EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY(ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY(REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY(NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT(NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT(TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF(PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB(HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR(EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF(DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF(TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF(VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION(ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION(REMOVAL_TIME_); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.history.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.history.sql new file mode 100644 index 000000000..e3a166ae6 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.history.sql @@ -0,0 +1,442 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST ( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +); + +create table ACT_HI_ACTINST ( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_TASKINST ( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ timestamp, + FOLLOW_UP_DATE_ timestamp, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_VARINST ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ timestamp, + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_DETAIL ( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(64), + REV_ integer, + TIME_ timestamp not null, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double precision, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + INITIAL_ boolean, + primary key (ID_) +); + +create table ACT_HI_IDENTITYLINK ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_COMMENT ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ timestamp not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ bytea, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_ATTACHMENT ( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_OP_LOG ( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ timestamp, + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +); + +create table ACT_HI_INCIDENT ( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_JOB_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ timestamp, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint NOT NULL DEFAULT 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_BATCH ( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ timestamp not null, + END_TIME_ timestamp, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create table ACT_HI_EXT_TASK_LOG ( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint not null default 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REMOVAL_TIME_ timestamp, + primary key (ID_) +); + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST(END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST(BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST(TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST(END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST(PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST(TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST(PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST(REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST(TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST(PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST(ID_,PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST(REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST(START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST(END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL(PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL(ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL(CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL(CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL(TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL(NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL(TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL(TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL(PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL(REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL(BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL(VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK(GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK(TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK(PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK(TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK(REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK(TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST(CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST(TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST(PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST(BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST(REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST(PROC_INST_ID_, NAME_, VAR_TYPE_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT(TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT(PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT(PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT(REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT(CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT(END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG(PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG(PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG(TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG(JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG(PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG(JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG(JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH(REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG(ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG(PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG(PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG(PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG(TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG(ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG(REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG(PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG(PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG(TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG(REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG(TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG(USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG(OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG(ENTITY_TYPE_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT(CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT(PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT(TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT(REMOVAL_TIME_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT(TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT(ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT(PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT(REMOVAL_TIME_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.identity.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.identity.sql new file mode 100644 index 000000000..5b63794fc --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/baseline/liquibase.postgres.create.identity.sql @@ -0,0 +1,109 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_MEMBERSHIP ( + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (USER_ID_, GROUP_ID_) +); + +create table ACT_ID_USER ( + ID_ varchar(64), + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ timestamp, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +); + +create table ACT_ID_INFO ( + ID_ varchar(64), + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ bytea, + PARENT_ID_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT ( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +); + +create table ACT_ID_TENANT_MEMBER ( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_) +); + +create index ACT_IDX_MEMB_GROUP on ACT_ID_MEMBERSHIP(GROUP_ID_); +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +create index ACT_IDX_MEMB_USER on ACT_ID_MEMBERSHIP(USER_ID_); +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_USER + unique (TENANT_ID_, USER_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_GROUP + unique (TENANT_ID_, GROUP_ID_); + +create index ACT_IDX_TENANT_MEMB on ACT_ID_TENANT_MEMBER(TENANT_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +create index ACT_IDX_TENANT_MEMB_USER on ACT_ID_TENANT_MEMBER(USER_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +create index ACT_IDX_TENANT_MEMB_GROUP on ACT_ID_TENANT_MEMBER(GROUP_ID_); +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/camunda-changelog.xml b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/camunda-changelog.xml new file mode 100644 index 000000000..b7c54f044 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/liquibase/camunda-changelog.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/cockroachdb_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/cockroachdb_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/cockroachdb_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/cockroachdb_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/cockroachdb_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/cockroachdb_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..b8bdfb573 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/cockroachdb_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_6.0_to_6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_6.0_to_6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_6.0_to_6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_6.0_to_6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_6.1_to_6.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_6.1_to_6.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_6.1_to_6.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_6.1_to_6.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_6.2_to_7.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_6.2_to_7.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_6.2_to_7.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_6.2_to_7.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.0_to_7.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.0_to_7.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.0_to_7.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.0_to_7.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..6ba151b8b --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.1_patch_7.1.9_to_7.1.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.1_patch_7.1.9_to_7.1.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.1_patch_7.1.9_to_7.1.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.1_patch_7.1.9_to_7.1.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.1_to_7.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.1_to_7.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.1_to_7.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.1_to_7.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.2_patch_7.2.4_to_7.2.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.2_patch_7.2.4_to_7.2.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.2_patch_7.2.4_to_7.2.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.2_patch_7.2.4_to_7.2.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.2_patch_7.2.6_to_7.2.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.2_patch_7.2.6_to_7.2.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.2_patch_7.2.6_to_7.2.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.2_patch_7.2.6_to_7.2.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.2_to_7.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.2_to_7.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.2_to_7.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.2_to_7.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.0_to_7.3.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.0_to_7.3.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.0_to_7.3.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.0_to_7.3.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_to_7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_to_7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.3_to_7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.3_to_7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.6_patch_7.6.2_to_7.6.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.6_patch_7.6.2_to_7.6.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.6_patch_7.6.2_to_7.6.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.6_patch_7.6.2_to_7.6.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_patch_7.7.8_to_7.7.9_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.7_to_7.8.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.7_to_7.8.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.7_to_7.8.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.7_to_7.8.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.8_to_7.8.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.8_to_7.8.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_patch_7.8.8_to_7.8.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_patch_7.8.8_to_7.8.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.1_to_7.9.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.1_to_7.9.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.1_to_7.9.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.1_to_7.9.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.2_to_7.9.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.2_to_7.9.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.2_to_7.9.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.2_to_7.9.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/db2_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/db2_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_6.0_to_6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_6.0_to_6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_6.0_to_6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_6.0_to_6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_6.1_to_6.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_6.1_to_6.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_6.1_to_6.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_6.1_to_6.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_6.2_to_7.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_6.2_to_7.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_6.2_to_7.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_6.2_to_7.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.0_to_7.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.0_to_7.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.0_to_7.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.0_to_7.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..ec0c9e801 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.1_patch_7.1.4_to_7.1.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.1_patch_7.1.4_to_7.1.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.1_patch_7.1.4_to_7.1.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.1_patch_7.1.4_to_7.1.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.1_to_7.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.1_to_7.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.1_to_7.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.1_to_7.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.2_patch_7.2.6_to_7.2.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.2_patch_7.2.6_to_7.2.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.2_patch_7.2.6_to_7.2.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.2_patch_7.2.6_to_7.2.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.2_to_7.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.2_to_7.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.2_to_7.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.2_to_7.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.0_to_7.3.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.0_to_7.3.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.0_to_7.3.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.0_to_7.3.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.2_to_7.3.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_patch_7.3.5_to_7.3.6_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_to_7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_to_7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.3_to_7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.3_to_7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.2_to_7.4.3_3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.6_patch_7.6.2_to_7.6.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.6_patch_7.6.2_to_7.6.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.6_patch_7.6.2_to_7.6.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.6_patch_7.6.2_to_7.6.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/h2_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/h2_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..33446c705 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.6_patch_7.6.2_to_7.6.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.6_patch_7.6.2_to_7.6.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.6_patch_7.6.2_to_7.6.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.6_patch_7.6.2_to_7.6.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_patch_7.7.8_to_7.7.9_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.7_to_7.8.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.7_to_7.8.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_patch_7.8.7_to_7.8.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_patch_7.8.7_to_7.8.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.1_to_7.9.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.1_to_7.9.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.1_to_7.9.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.1_to_7.9.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mariadb_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mariadb_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_6.0_to_6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_6.0_to_6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_6.0_to_6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_6.0_to_6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_6.1_to_6.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_6.1_to_6.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_6.1_to_6.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_6.1_to_6.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_6.2_to_7.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_6.2_to_7.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_6.2_to_7.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_6.2_to_7.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.0_to_7.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.0_to_7.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.0_to_7.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.0_to_7.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..25a4a883c --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ nvarchar(64) not null, + REV_ int, + KEY_ nvarchar(255) not null, + VERSION_ int not null, + DEPLOYMENT_ID_ nvarchar(64), + RESOURCE_NAME_ nvarchar(4000), + TENANT_ID_ nvarchar(64), + primary key (ID_) +); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.1_patch_7.1.9_to_7.1.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.1_patch_7.1.9_to_7.1.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.1_patch_7.1.9_to_7.1.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.1_patch_7.1.9_to_7.1.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.1_to_7.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.1_to_7.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.1_to_7.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.1_to_7.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.2_patch_7.2.4_to_7.2.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.2_patch_7.2.4_to_7.2.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.2_patch_7.2.4_to_7.2.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.2_patch_7.2.4_to_7.2.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.2_patch_7.2.6_to_7.2.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.2_patch_7.2.6_to_7.2.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.2_patch_7.2.6_to_7.2.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.2_patch_7.2.6_to_7.2.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.2_to_7.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.2_to_7.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.2_to_7.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.2_to_7.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.0_to_7.3.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.0_to_7.3.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.0_to_7.3.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.0_to_7.3.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_to_7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_to_7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.3_to_7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.3_to_7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_patch_7.6.2_to_7.6.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.7_to_7.8.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.7_to_7.8.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_patch_7.8.7_to_7.8.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_patch_7.8.7_to_7.8.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.1_to_7.9.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.1_to_7.9.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.1_to_7.9.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.1_to_7.9.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mssql_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mssql_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_6.0_to_6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_6.0_to_6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_6.0_to_6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_6.0_to_6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_6.1_to_6.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_6.1_to_6.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_6.1_to_6.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_6.1_to_6.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_6.2_to_7.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_6.2_to_7.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_6.2_to_7.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_6.2_to_7.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.0_to_7.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.0_to_7.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.0_to_7.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.0_to_7.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..33446c705 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.1_patch_7.1.4_to_7.1.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.1_patch_7.1.4_to_7.1.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.1_patch_7.1.4_to_7.1.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.1_patch_7.1.4_to_7.1.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.1_to_7.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.1_to_7.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.1_to_7.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.1_to_7.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.2_patch_7.2.6_to_7.2.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.2_patch_7.2.6_to_7.2.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.2_patch_7.2.6_to_7.2.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.2_patch_7.2.6_to_7.2.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.2_to_7.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.2_to_7.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.2_to_7.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.2_to_7.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.0_to_7.3.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.0_to_7.3.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.0_to_7.3.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.0_to_7.3.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.2_to_7.3.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_patch_7.3.5_to_7.3.6_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_to_7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_to_7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.3_to_7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.3_to_7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.2_to_7.4.3_3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.6_patch_7.6.2_to_7.6.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.6_patch_7.6.2_to_7.6.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.6_patch_7.6.2_to_7.6.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.6_patch_7.6.2_to_7.6.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_patch_7.7.8_to_7.7.9_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.7_to_7.8.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.7_to_7.8.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_patch_7.8.7_to_7.8.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_patch_7.8.7_to_7.8.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.1_to_7.9.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.1_to_7.9.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.1_to_7.9.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.1_to_7.9.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/mysql_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/mysql_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_6.0_to_6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_6.0_to_6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_6.0_to_6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_6.0_to_6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_6.1_to_6.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_6.1_to_6.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_6.1_to_6.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_6.1_to_6.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_6.2_to_7.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_6.2_to_7.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_6.2_to_7.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_6.2_to_7.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.0_to_7.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.0_to_7.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.0_to_7.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.0_to_7.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.14_patch_7.14.2_to_7.14.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.14_patch_7.14.2_to_7.14.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.14_patch_7.14.2_to_7.14.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.14_patch_7.14.2_to_7.14.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..b51779e36 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ NVARCHAR2(64) NOT NULL, + REV_ INTEGER, + KEY_ NVARCHAR2(255) NOT NULL, + VERSION_ INTEGER NOT NULL, + DEPLOYMENT_ID_ NVARCHAR2(64), + RESOURCE_NAME_ NVARCHAR2(2000), + TENANT_ID_ NVARCHAR2(64), + primary key (ID_) +); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.1_patch_7.1.4_to_7.1.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.1_patch_7.1.4_to_7.1.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.1_patch_7.1.4_to_7.1.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.1_patch_7.1.4_to_7.1.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.1_to_7.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.1_to_7.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.1_to_7.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.1_to_7.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.2_patch_7.2.6_to_7.2.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.2_patch_7.2.6_to_7.2.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.2_patch_7.2.6_to_7.2.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.2_patch_7.2.6_to_7.2.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.2_to_7.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.2_to_7.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.2_to_7.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.2_to_7.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.0_to_7.3.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.0_to_7.3.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.0_to_7.3.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.0_to_7.3.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.2_to_7.3.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_patch_7.3.5_to_7.3.6_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_to_7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_to_7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.3_to_7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.3_to_7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.2_to_7.4.3_3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.6_patch_7.6.2_to_7.6.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.6_patch_7.6.2_to_7.6.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.6_patch_7.6.2_to_7.6.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.6_patch_7.6.2_to_7.6.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/oracle_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/oracle_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_6.1_to_6.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_6.1_to_6.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_6.1_to_6.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_6.1_to_6.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_6.2_to_7.0.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_6.2_to_7.0.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_6.2_to_7.0.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_6.2_to_7.0.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.0_to_7.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.0_to_7.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.0_to_7.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.0_to_7.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_patch_7.10.13_to_7.10.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_patch_7.10.13_to_7.10.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_patch_7.10.13_to_7.10.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_patch_7.10.13_to_7.10.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_patch_7.10.5_to_7.10.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_patch_7.10.5_to_7.10.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_patch_7.10.5_to_7.10.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_patch_7.10.5_to_7.10.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_patch_7.10.6_to_7.10.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_patch_7.10.6_to_7.10.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_patch_7.10.6_to_7.10.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_patch_7.10.6_to_7.10.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_to_7.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_to_7.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.10_to_7.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.10_to_7.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_patch_7.11.18_to_7.11.19.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_patch_7.11.18_to_7.11.19.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_patch_7.11.18_to_7.11.19.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_patch_7.11.18_to_7.11.19.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_patch_7.11.2_to_7.11.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_patch_7.11.2_to_7.11.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_patch_7.11.2_to_7.11.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_patch_7.11.2_to_7.11.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_patch_7.11.7_to_7.11.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_patch_7.11.7_to_7.11.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_patch_7.11.7_to_7.11.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_patch_7.11.7_to_7.11.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_to_7.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_to_7.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.11_to_7.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.11_to_7.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_patch_7.12.0_to_7.12.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_patch_7.12.0_to_7.12.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_patch_7.12.0_to_7.12.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_patch_7.12.0_to_7.12.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_patch_7.12.10_to_7.12.11.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_patch_7.12.10_to_7.12.11.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_patch_7.12.10_to_7.12.11.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_patch_7.12.10_to_7.12.11.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_patch_7.12.11_to_7.12.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_patch_7.12.11_to_7.12.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_patch_7.12.11_to_7.12.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_patch_7.12.11_to_7.12.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_to_7.13.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_to_7.13.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.12_to_7.13.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.12_to_7.13.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_patch_7.13.4_to_7.13.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_patch_7.13.5_to_7.13.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_patch_7.13.5_to_7.13.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_patch_7.13.5_to_7.13.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_patch_7.13.5_to_7.13.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_to_7.14.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_to_7.14.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.13_to_7.14.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.13_to_7.14.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.14_to_7.15.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.14_to_7.15.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.14_to_7.15.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.14_to_7.15.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.15_to_7.16.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.15_to_7.16.sql new file mode 100644 index 000000000..ec0c9e801 --- /dev/null +++ b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.15_to_7.16.sql @@ -0,0 +1,30 @@ +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +insert into ACT_GE_SCHEMA_LOG +values ('500', CURRENT_TIMESTAMP, '7.16.0'); + +create table ACT_RE_CAMFORMDEF ( + ID_ varchar(64) NOT NULL, + REV_ integer, + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +); \ No newline at end of file diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.1_patch_7.1.4_to_7.1.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.1_patch_7.1.4_to_7.1.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.1_patch_7.1.4_to_7.1.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.1_patch_7.1.4_to_7.1.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.1_to_7.2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.1_to_7.2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.1_to_7.2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.1_to_7.2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.2_patch_7.2.6_to_7.2.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.2_patch_7.2.6_to_7.2.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.2_patch_7.2.6_to_7.2.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.2_patch_7.2.6_to_7.2.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.2_to_7.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.2_to_7.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.2_to_7.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.2_to_7.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.0_to_7.3.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.0_to_7.3.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.0_to_7.3.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.0_to_7.3.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.2_to_7.3.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_patch_7.3.5_to_7.3.6_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_to_7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_to_7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.3_to_7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.3_to_7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.2_to_7.4.3_3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.5_to_7.4.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.5_to_7.4.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_patch_7.4.5_to_7.4.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_patch_7.4.5_to_7.4.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_to_7.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_to_7.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.4_to_7.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.4_to_7.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.5_to_7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.5_to_7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.5_to_7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.5_to_7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.6_patch_7.6.0_to_7.6.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.6_patch_7.6.0_to_7.6.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.6_patch_7.6.0_to_7.6.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.6_patch_7.6.0_to_7.6.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.6_patch_7.6.2_to_7.6.3.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.6_patch_7.6.2_to_7.6.3.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.6_patch_7.6.2_to_7.6.3.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.6_patch_7.6.2_to_7.6.3.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.6_to_7.7.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.6_to_7.7.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.6_to_7.7.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.6_to_7.7.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.3_to_7.7.4.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.3_to_7.7.4.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.3_to_7.7.4.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.3_to_7.7.4.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.4_to_7.7.5_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.5_to_7.7.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.5_to_7.7.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.5_to_7.7.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.5_to_7.7.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.8_to_7.7.9_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.8_to_7.7.9_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_patch_7.7.8_to_7.7.9_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_patch_7.7.8_to_7.7.9_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_to_7.8.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_to_7.8.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.7_to_7.8.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.7_to_7.8.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.0_to_7.8.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.0_to_7.8.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.0_to_7.8.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.0_to_7.8.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.11_to_7.8.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.11_to_7.8.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.11_to_7.8.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.11_to_7.8.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.12_to_7.8.13_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.4_to_7.8.5.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.4_to_7.8.5.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_patch_7.8.4_to_7.8.5.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_patch_7.8.4_to_7.8.5.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_to_7.9.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_to_7.9.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.8_to_7.9.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.8_to_7.9.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.0_to_7.9.1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.0_to_7.9.1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.0_to_7.9.1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.0_to_7.9.1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.11_to_7.9.12.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.11_to_7.9.12.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.11_to_7.9.12.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.11_to_7.9.12.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.5_to_7.9.6.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.5_to_7.9.6.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.5_to_7.9.6.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.5_to_7.9.6.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_1.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_1.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_1.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_1.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_2.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_2.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_2.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_patch_7.9.6_to_7.9.7_2.sql diff --git a/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_to_7.10.sql b/services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_to_7.10.sql similarity index 100% rename from services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.15.0/upgrade/postgres_engine_7.9_to_7.10.sql rename to services/eurynome-cloud-bpmn-ability/src/main/resources/sqls/camunda/7.16.0/upgrade/postgres_engine_7.9_to_7.10.sql diff --git a/services/eurynome-cloud-bpmn-rest/pom.xml b/services/eurynome-cloud-bpmn-rest/pom.xml index c76799910..7af8ad37c 100644 --- a/services/eurynome-cloud-bpmn-rest/pom.xml +++ b/services/eurynome-cloud-bpmn-rest/pom.xml @@ -27,12 +27,12 @@ services cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 4.0.0 eurynome-cloud-bpmn-rest - 2.5.5.50 + 2.5.5.60 jar diff --git a/services/eurynome-cloud-bpmn-rest/src/main/java/cn/herodotus/eurynome/bpmn/rest/domain/base/BaseEntity.java b/services/eurynome-cloud-bpmn-rest/src/main/java/cn/herodotus/eurynome/bpmn/rest/domain/base/BaseEntity.java index 452a058d8..649a36043 100644 --- a/services/eurynome-cloud-bpmn-rest/src/main/java/cn/herodotus/eurynome/bpmn/rest/domain/base/BaseEntity.java +++ b/services/eurynome-cloud-bpmn-rest/src/main/java/cn/herodotus/eurynome/bpmn/rest/domain/base/BaseEntity.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.bpmn.rest.domain.base; -import cn.herodotus.eurynome.common.definition.entity.Entity; +import cn.herodotus.eurynome.assistant.definition.entity.Entity; import javax.persistence.MappedSuperclass; diff --git a/services/eurynome-cloud-upms-ability/pom.xml b/services/eurynome-cloud-upms-ability/pom.xml index 73c38b536..dea769743 100644 --- a/services/eurynome-cloud-upms-ability/pom.xml +++ b/services/eurynome-cloud-upms-ability/pom.xml @@ -27,12 +27,12 @@ services cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 4.0.0 eurynome-cloud-upms-ability - 2.5.5.50 + 2.5.5.60 diff --git a/services/eurynome-cloud-upms-api/pom.xml b/services/eurynome-cloud-upms-api/pom.xml index 264542e41..89a853e56 100644 --- a/services/eurynome-cloud-upms-api/pom.xml +++ b/services/eurynome-cloud-upms-api/pom.xml @@ -29,11 +29,11 @@ services cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-upms-api - 2.5.5.50 + 2.5.5.60 diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/constants/UpmsConstants.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/constants/UpmsConstants.java index 5e18b703f..8b9bbad15 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/constants/UpmsConstants.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/constants/UpmsConstants.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.upms.api.constants; -import cn.herodotus.eurynome.common.constant.enums.*; -import cn.herodotus.eurynome.common.constant.magic.CacheConstants; +import cn.herodotus.eurynome.assistant.enums.*; +import cn.herodotus.eurynome.assistant.constant.CacheConstants; import cn.herodotus.eurynome.upms.api.constants.enums.SupplierType; import cn.herodotus.eurynome.upms.api.constants.enums.TechnologyType; diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysEmployee.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysEmployee.java index 1be0129fe..e32299205 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysEmployee.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysEmployee.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.upms.api.entity.hr; -import cn.herodotus.eurynome.common.constant.enums.AccountType; -import cn.herodotus.eurynome.common.constant.enums.Gender; -import cn.herodotus.eurynome.common.constant.enums.Identity; +import cn.herodotus.eurynome.assistant.enums.AccountType; +import cn.herodotus.eurynome.assistant.enums.Gender; +import cn.herodotus.eurynome.assistant.enums.Identity; import cn.herodotus.eurynome.data.base.entity.BaseSysEntity; import cn.herodotus.eurynome.security.definition.core.SocialUserDetails; import cn.herodotus.eurynome.upms.api.constants.UpmsConstants; diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysOrganization.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysOrganization.java index 162136864..82b2c6c0f 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysOrganization.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/hr/SysOrganization.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.api.entity.hr; -import cn.herodotus.eurynome.common.constant.enums.OrganizationCategory; +import cn.herodotus.eurynome.assistant.enums.OrganizationCategory; import cn.herodotus.eurynome.data.base.entity.BaseSysEntity; import cn.herodotus.eurynome.upms.api.constants.UpmsConstants; import com.google.common.base.MoreObjects; diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/oauth/OauthClientDetails.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/oauth/OauthClientDetails.java index 5daca9a8d..605ad628f 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/oauth/OauthClientDetails.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/oauth/OauthClientDetails.java @@ -22,8 +22,8 @@ package cn.herodotus.eurynome.upms.api.entity.oauth; -import cn.herodotus.eurynome.common.constant.enums.StatusEnum; -import cn.herodotus.eurynome.common.definition.entity.AbstractEntity; +import cn.herodotus.eurynome.assistant.enums.StatusEnum; +import cn.herodotus.eurynome.assistant.definition.entity.AbstractEntity; import cn.herodotus.eurynome.upms.api.constants.UpmsConstants; import com.alibaba.fastjson.JSON; import org.hibernate.annotations.CacheConcurrencyStrategy; diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysAuthority.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysAuthority.java index 9bc162bed..26c7ed794 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysAuthority.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysAuthority.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.api.entity.system; -import cn.herodotus.eurynome.common.constant.enums.AuthorityType; +import cn.herodotus.eurynome.assistant.enums.AuthorityType; import cn.herodotus.eurynome.data.base.entity.BaseSysEntity; import cn.herodotus.eurynome.upms.api.constants.UpmsConstants; import com.google.common.base.MoreObjects; diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysDefaultRole.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysDefaultRole.java index b44047216..90c5dd17c 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysDefaultRole.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/entity/system/SysDefaultRole.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.api.entity.system; -import cn.herodotus.eurynome.common.constant.enums.AccountType; +import cn.herodotus.eurynome.assistant.enums.AccountType; import cn.herodotus.eurynome.data.base.entity.BaseSysEntity; import cn.herodotus.eurynome.upms.api.constants.UpmsConstants; import com.google.common.base.MoreObjects; diff --git a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/helper/UpmsHelper.java b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/helper/UpmsHelper.java index 2670d6cdc..c24f4208d 100644 --- a/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/helper/UpmsHelper.java +++ b/services/eurynome-cloud-upms-api/src/main/java/cn/herodotus/eurynome/upms/api/helper/UpmsHelper.java @@ -23,8 +23,8 @@ package cn.herodotus.eurynome.upms.api.helper; -import cn.herodotus.eurynome.common.constant.enums.StatusEnum; -import cn.herodotus.eurynome.common.constant.magic.SymbolConstants; +import cn.herodotus.eurynome.assistant.enums.StatusEnum; +import cn.herodotus.eurynome.assistant.constant.SymbolConstants; import cn.herodotus.eurynome.security.definition.core.HerodotusClientDetails; import cn.herodotus.eurynome.security.definition.core.HerodotusUserDetails; import cn.herodotus.eurynome.security.definition.domain.RequestMapping; diff --git a/services/eurynome-cloud-upms-logic/pom.xml b/services/eurynome-cloud-upms-logic/pom.xml index 2fb960b8b..a81a9049a 100644 --- a/services/eurynome-cloud-upms-logic/pom.xml +++ b/services/eurynome-cloud-upms-logic/pom.xml @@ -7,11 +7,11 @@ services cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-upms-logic - 2.5.5.50 + 2.5.5.60 diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableDeploy.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableDeploy.java index 78cb10354..c41728e3a 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableDeploy.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableDeploy.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.logic.dto; -import cn.herodotus.eurynome.common.definition.dto.BaseDTO; +import cn.herodotus.eurynome.assistant.definition.dto.BaseDTO; import cn.herodotus.eurynome.upms.api.entity.hr.SysDepartment; import cn.herodotus.eurynome.upms.api.entity.hr.SysEmployee; import cn.herodotus.eurynome.upms.api.entity.hr.SysOwnership; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableRemove.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableRemove.java index 0d44281b6..738643798 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableRemove.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/dto/AllocatableRemove.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.logic.dto; -import cn.herodotus.eurynome.common.definition.dto.BaseDTO; +import cn.herodotus.eurynome.assistant.definition.dto.BaseDTO; import com.google.common.base.MoreObjects; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/hr/SysOrganizationRepository.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/hr/SysOrganizationRepository.java index 03e10c281..444ff5233 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/hr/SysOrganizationRepository.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/hr/SysOrganizationRepository.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.logic.repository.hr; -import cn.herodotus.eurynome.common.constant.enums.OrganizationCategory; +import cn.herodotus.eurynome.assistant.enums.OrganizationCategory; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.upms.api.entity.hr.SysOrganization; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysAuthorityRepository.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysAuthorityRepository.java index 779cc4d72..79ba55dff 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysAuthorityRepository.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysAuthorityRepository.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.logic.repository.system; -import cn.herodotus.eurynome.common.constant.enums.AuthorityType; +import cn.herodotus.eurynome.assistant.enums.AuthorityType; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.upms.api.entity.system.SysAuthority; import org.springframework.data.jpa.repository.QueryHints; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysDefaultRoleRepository.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysDefaultRoleRepository.java index 296d094b8..12def36a9 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysDefaultRoleRepository.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/repository/system/SysDefaultRoleRepository.java @@ -23,7 +23,7 @@ package cn.herodotus.eurynome.upms.logic.repository.system; import cn.herodotus.eurynome.data.base.repository.BaseRepository; -import cn.herodotus.eurynome.common.constant.enums.AccountType; +import cn.herodotus.eurynome.assistant.enums.AccountType; import cn.herodotus.eurynome.upms.api.entity.system.SysDefaultRole; import org.springframework.data.jpa.repository.QueryHints; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysEmployeeService.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysEmployeeService.java index 12a686671..5098a1c52 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysEmployeeService.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysEmployeeService.java @@ -23,8 +23,8 @@ package cn.herodotus.eurynome.upms.logic.service.hr; import cn.herodotus.eurynome.assistant.exception.persistence.TransactionRollbackException; -import cn.herodotus.eurynome.common.constant.enums.Gender; -import cn.herodotus.eurynome.common.constant.enums.Identity; +import cn.herodotus.eurynome.assistant.enums.Gender; +import cn.herodotus.eurynome.assistant.enums.Identity; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.rest.base.service.BaseLayeredService; import cn.herodotus.eurynome.upms.api.entity.hr.SysDepartment; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOrganizationService.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOrganizationService.java index b8d646a9e..590d6b81c 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOrganizationService.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOrganizationService.java @@ -23,7 +23,7 @@ package cn.herodotus.eurynome.upms.logic.service.hr; import cn.herodotus.eurynome.assistant.exception.persistence.TransactionRollbackException; -import cn.herodotus.eurynome.common.constant.enums.OrganizationCategory; +import cn.herodotus.eurynome.assistant.enums.OrganizationCategory; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.rest.base.service.BaseLayeredService; import cn.herodotus.eurynome.upms.api.entity.hr.SysDepartment; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOwnershipService.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOwnershipService.java index 16299795c..74d5c55fa 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOwnershipService.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/hr/SysOwnershipService.java @@ -22,23 +22,15 @@ package cn.herodotus.eurynome.upms.logic.service.hr; -import cn.herodotus.eurynome.common.constant.enums.Gender; -import cn.herodotus.eurynome.common.constant.enums.Identity; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.rest.base.service.BaseLayeredService; import cn.herodotus.eurynome.upms.api.entity.hr.SysOwnership; import cn.herodotus.eurynome.upms.logic.repository.hr.SysOwnershipRepository; -import org.apache.commons.lang3.ArrayUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.stream.Collectors; - /** *

    Description: 人事归属服务

    * diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysAuthorityService.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysAuthorityService.java index 49e040c41..88d8743d3 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysAuthorityService.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysAuthorityService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.logic.service.system; -import cn.herodotus.eurynome.common.constant.enums.AuthorityType; +import cn.herodotus.eurynome.assistant.enums.AuthorityType; import cn.herodotus.eurynome.rest.base.service.BaseLayeredService; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.upms.api.entity.system.SysAuthority; @@ -30,12 +30,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Service; -import javax.persistence.criteria.Predicate; -import javax.persistence.criteria.Root; -import javax.persistence.criteria.Subquery; import java.util.List; /** diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysDefaultRoleService.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysDefaultRoleService.java index d690bbcab..0da3ebf8f 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysDefaultRoleService.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysDefaultRoleService.java @@ -24,7 +24,7 @@ import cn.herodotus.eurynome.rest.base.service.BaseLayeredService; import cn.herodotus.eurynome.data.base.repository.BaseRepository; -import cn.herodotus.eurynome.common.constant.enums.AccountType; +import cn.herodotus.eurynome.assistant.enums.AccountType; import cn.herodotus.eurynome.upms.api.entity.system.SysDefaultRole; import cn.herodotus.eurynome.upms.api.entity.system.SysRole; import cn.herodotus.eurynome.upms.logic.repository.system.SysDefaultRoleRepository; diff --git a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysUserService.java b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysUserService.java index ab1578f39..8e4be98c2 100644 --- a/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysUserService.java +++ b/services/eurynome-cloud-upms-logic/src/main/java/cn/herodotus/eurynome/upms/logic/service/system/SysUserService.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.logic.service.system; -import cn.herodotus.eurynome.common.constant.enums.AccountType; +import cn.herodotus.eurynome.assistant.enums.AccountType; import cn.herodotus.eurynome.rest.base.service.BaseLayeredService; import cn.herodotus.eurynome.data.base.repository.BaseRepository; import cn.herodotus.eurynome.security.definition.core.HerodotusUserDetails; @@ -34,7 +34,6 @@ import cn.herodotus.eurynome.upms.api.helper.UpmsHelper; import cn.herodotus.eurynome.upms.logic.repository.system.SysUserRepository; import cn.hutool.core.util.IdUtil; -import com.google.common.collect.ImmutableSet; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; diff --git a/services/eurynome-cloud-upms-rest/pom.xml b/services/eurynome-cloud-upms-rest/pom.xml index 0eef0c7d9..f37eea6e4 100644 --- a/services/eurynome-cloud-upms-rest/pom.xml +++ b/services/eurynome-cloud-upms-rest/pom.xml @@ -6,11 +6,11 @@ services cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 eurynome-cloud-upms-rest - 2.5.5.50 + 2.5.5.60 eurynome-cloud-upms-rest 通用权限,人员信息服务供应商 diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/UpmsConstantsController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/UpmsConstantsController.java index 2700b426c..9d1bc4697 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/UpmsConstantsController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/UpmsConstantsController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.upms.api.constants.UpmsConstants; import io.swagger.v3.oas.annotations.Operation; import org.apache.commons.collections4.MapUtils; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/development/SupplierController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/development/SupplierController.java index 5170ef937..abd8f1a2b 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/development/SupplierController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/development/SupplierController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.development; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.development.Supplier; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysDepartmentController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysDepartmentController.java index 5570ac768..6a971be41 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysDepartmentController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysDepartmentController.java @@ -22,8 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.hr; -import cn.herodotus.eurynome.common.constant.magic.PlatformConstants; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.hr.SysDepartment; @@ -38,7 +37,6 @@ import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; import io.swagger.v3.oas.annotations.tags.Tag; -import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.ObjectUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysEmployeeController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysEmployeeController.java index 22e52277e..001c71e9d 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysEmployeeController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysEmployeeController.java @@ -22,11 +22,11 @@ package cn.herodotus.eurynome.upms.rest.controller.hr; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; -import cn.herodotus.eurynome.common.constant.enums.Gender; -import cn.herodotus.eurynome.common.constant.enums.Identity; +import cn.herodotus.eurynome.assistant.enums.Gender; +import cn.herodotus.eurynome.assistant.enums.Identity; import cn.herodotus.eurynome.upms.api.entity.hr.SysEmployee; import cn.herodotus.eurynome.upms.logic.dto.AllocatableDeploy; import cn.herodotus.eurynome.upms.logic.dto.AllocatableRemove; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysOrganizationController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysOrganizationController.java index 39c1e20e2..a2b873d10 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysOrganizationController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/hr/SysOrganizationController.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.upms.rest.controller.hr; -import cn.herodotus.eurynome.common.constant.enums.OrganizationCategory; -import cn.herodotus.eurynome.common.constant.magic.PlatformConstants; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.enums.OrganizationCategory; +import cn.herodotus.eurynome.assistant.constant.PlatformConstants; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.hr.SysOrganization; @@ -39,7 +39,6 @@ import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; import io.swagger.v3.oas.annotations.tags.Tag; -import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; @@ -47,7 +46,6 @@ import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; -import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.util.List; import java.util.Map; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthApplicationsController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthApplicationsController.java index a94739578..604b072a6 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthApplicationsController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthApplicationsController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.oauth; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.oauth.OauthApplications; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthClientDetailsController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthClientDetailsController.java index b515045af..6fdb17dae 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthClientDetailsController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthClientDetailsController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.oauth; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.security.definition.core.HerodotusClientDetails; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthScopesController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthScopesController.java index a14714967..2c0397402 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthScopesController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/oauth/OauthScopesController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.oauth; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.oauth.OauthScopes; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysAuthorityController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysAuthorityController.java index 51695706e..3169d1a18 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysAuthorityController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysAuthorityController.java @@ -22,9 +22,9 @@ package cn.herodotus.eurynome.upms.rest.controller.system; -import cn.herodotus.eurynome.common.constant.enums.AuthorityType; -import cn.herodotus.eurynome.common.constant.magic.PlatformConstants; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.enums.AuthorityType; +import cn.herodotus.eurynome.assistant.constant.PlatformConstants; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.system.SysAuthority; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysDefaultRoleController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysDefaultRoleController.java index bfdb98d7a..8b82da5ec 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysDefaultRoleController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysDefaultRoleController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.system; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.system.SysDefaultRole; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysRoleController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysRoleController.java index 4b5b57a30..c817f2a37 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysRoleController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysRoleController.java @@ -22,7 +22,7 @@ package cn.herodotus.eurynome.upms.rest.controller.system; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.system.SysRole; diff --git a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysUserController.java b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysUserController.java index 47620a2ce..c06467729 100644 --- a/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysUserController.java +++ b/services/eurynome-cloud-upms-rest/src/main/java/cn/herodotus/eurynome/upms/rest/controller/system/SysUserController.java @@ -23,7 +23,7 @@ package cn.herodotus.eurynome.upms.rest.controller.system; import cn.herodotus.eurynome.assistant.annotation.rest.Crypto; -import cn.herodotus.eurynome.common.domain.Result; +import cn.herodotus.eurynome.assistant.domain.Result; import cn.herodotus.eurynome.rest.base.controller.BaseWriteableRestController; import cn.herodotus.eurynome.rest.base.service.WriteableService; import cn.herodotus.eurynome.upms.api.entity.system.SysUser; diff --git a/services/pom.xml b/services/pom.xml index 569bdd28e..3eb8a52d5 100644 --- a/services/pom.xml +++ b/services/pom.xml @@ -31,7 +31,7 @@ eurynome-cloud cn.herodotus.eurynome - 2.5.5.50 + 2.5.5.60 services