diff --git a/smardigo/provisioning/process-variable-declaration/simple-connect.json b/smardigo/provisioning/process-variable-declaration/simple-connect.json index f2f25fd..802e99d 100644 --- a/smardigo/provisioning/process-variable-declaration/simple-connect.json +++ b/smardigo/provisioning/process-variable-declaration/simple-connect.json @@ -59,6 +59,10 @@ "type" : "string", "classification" : "PRIVATE" }, + "jobs" : { + "type" : "object", + "classification" : "PRIVATE" + }, "key" : { "type" : "string", "classification" : "PRIVATE" @@ -91,6 +95,10 @@ "type" : "object", "classification" : "PRIVATE" }, + "sendUpAndRunningMail" : { + "type" : "boolean", + "classification" : "PRIVATE" + }, "service" : { "type" : "string", "classification" : "PRIVATE" diff --git a/smardigo/provisioning/process/simple-connect.bpmn b/smardigo/provisioning/process/simple-connect.bpmn index 4a4d2ca..5bbb45d 100644 --- a/smardigo/provisioning/process/simple-connect.bpmn +++ b/smardigo/provisioning/process/simple-connect.bpmn @@ -9,7 +9,6 @@ Flow_1w2pl97 - Flow_00sdfiz Flow_0l51s9z @@ -86,6 +85,7 @@ connect-realm-admin wordpress-admin connect-admin + ${envStage != 'dev'} Flow_1rtcnw8 @@ -164,187 +164,6 @@ Flow_0l51s9z Flow_0bzl5jh - - - - ${1} - ${8} - - - Flow_0bzl5jh - Flow_11ki58f - - - - - - - - - ${progress_current + 1} - - - Flow_11ki58f - Flow_1eku1o4 - - - - - - - - - ${progress_current + 1} - - - Flow_1eku1o4 - Flow_0pvr263 - - - - - - - - - ${progress_current + 1} - - - Flow_0pvr263 - Flow_1f0iyrk - - - - - - - - - ${progress_current + 1} - - - Flow_1f0iyrk - Flow_11k5c1y - - - - - - - - - ${progress_current + 1} - - - Flow_11k5c1y - Flow_1r4otto - - - - - - - - - - - wordpress_portal.sql.gz - - - ${progress_current + 1} - - - Flow_1r4otto - Flow_1u7vy0j - - - Flow_1381iar - Flow_0yh3rtc - Flow_1c2a31w - - - - - - import de.tolina.connect.common.variable.Variables -def authenticatedUserId = users.currentUserId() -Variables.userId(authenticatedUserId) - - - - Flow_0yh3rtc - Flow_090j3ro - - - - - ${60} - Service wird gelöscht - - - Flow_090j3ro - Flow_14gp1tg - - - - - - - - - - Flow_14gp1tg - Flow_1hoe8au - - - - - ${1} - ${6} - - - Flow_1hoe8au - Flow_04gf2u4 - - - - - - - - - ${progress_current + 1} - - - Flow_04gf2u4 - Flow_0lugtf9 - - - - - - - - - ${progress_current + 1} - - - Flow_0lugtf9 - Flow_14qi17c - - - - - - - - - ${progress_current + 1} - - - Flow_14qi17c - Flow_0utt18n - @@ -358,29 +177,6 @@ Variables.userId(authenticatedUserId) Flow_0utt18n Flow_0kli6wa - - Flow_0kli6wa - Flow_1sjwm1e - Flow_0tjjeit - - - Flow_1sjwm1e - - - - - - ${70} - Service gelöscht - - - Flow_0tjjeit - Flow_13do7kt - - - Flow_13do7kt - - Flow_1c2a31w @@ -910,7 +706,7 @@ Variables.userId(authenticatedUserId) - + @@ -968,17 +764,6 @@ Variables.userId(authenticatedUserId) - - - Flow_068d6jm - Flow_1156qhr - Flow_0hca9uk - Flow_0s8y3uu - Flow_1ky7l1e - Flow_11b4s64 - Flow_00sdfiz - - Flow_09j614s @@ -1063,37 +848,212 @@ Variables.userId(authenticatedUserId) ${antrag_decission== 'antragAblehnen'} - - - Flow_068d6jm - - - - Flow_1156qhr - - - - Flow_0hca9uk - - - - Flow_0s8y3uu - - - - Flow_1ky7l1e - - - - Flow_11b4s64 - - - - - - - - + + + + + + + + + + ${progress_current + 1} + + + Flow_14qi17c + Flow_0utt18n + + + + + + + + + ${progress_current + 1} + + + Flow_0lugtf9 + Flow_14qi17c + + + + + + + + + ${progress_current + 1} + + + Flow_04gf2u4 + Flow_0lugtf9 + + + + + ${1} + ${6} + + + Flow_1hoe8au + Flow_04gf2u4 + + + + + + + + + + Flow_14gp1tg + Flow_1hoe8au + + + + + ${60} + Service wird gelöscht + + + Flow_090j3ro + Flow_14gp1tg + + + Flow_0kli6wa + Flow_1sjwm1e + Flow_0tjjeit + + + Flow_1sjwm1e + + + + + + ${70} + Service gelöscht + + + Flow_0tjjeit + Flow_13do7kt + + + Flow_13do7kt + + + + + + + import de.tolina.connect.common.variable.Variables +def authenticatedUserId = users.currentUserId() +Variables.userId(authenticatedUserId) + + + + Flow_0yh3rtc + Flow_090j3ro + + + Flow_1381iar + Flow_0yh3rtc + Flow_1c2a31w + + + + + ${1} + ${8} + + + Flow_0bzl5jh + Flow_11ki58f + + + + + + + + + ${progress_current + 1} + + + Flow_11ki58f + Flow_1eku1o4 + + + + + + + + + ${progress_current + 1} + + + Flow_1eku1o4 + Flow_0pvr263 + + + + + + + + + ${progress_current + 1} + + + Flow_0pvr263 + Flow_1f0iyrk + + + + + + + + + ${progress_current + 1} + + + Flow_1f0iyrk + Flow_11k5c1y + + + + + + + + + ${progress_current + 1} + + + Flow_11k5c1y + Flow_1r4otto + + + + + + + + + + + wordpress_portal.sql.gz + + + ${progress_current + 1} + + + Flow_1r4otto + Flow_1u7vy0j + Flow_1u7vy0j Flow_1gzjfsr @@ -1103,17 +1063,15 @@ Variables.userId(authenticatedUserId) Flow_0d1wzgo - - - - ${50} - Service gestartet - - - Flow_10y7ypm - Flow_1381iar - - + + ${sendUpAndRunningMail} + + + Flow_1gzjfsr + Flow_0y3ipyp + Flow_1qxegy2 + + @@ -1130,9 +1088,25 @@ Variables.userId(authenticatedUserId) template(smardigo-up-and-running) - Flow_1gzjfsr + Flow_0y3ipyp Flow_10y7ypm + + Flow_1qxegy2 + Flow_10y7ypm + Flow_1d07vge + + + + + + ${50} + Service gestartet + + + Flow_1d07vge + Flow_1381iar + @@ -1258,77 +1232,41 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - + + - - + + - + - + - - + + - - + + @@ -1403,24 +1341,24 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - + + - - + + - - + + - - + + - - + + @@ -1428,11 +1366,11 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - + - - + + @@ -1443,27 +1381,27 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - + + - - + + - - + + - + - - + + - - + + @@ -1483,20 +1421,20 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - + + - - + + - - + + - - + + @@ -1522,6 +1460,25 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : + + + + + + + + + + + + + + + + + + + @@ -1585,109 +1542,134 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - + + - - - - - - - - - - + + - - + + + + + + + + + + + - + - - - - - + + - - + + + + + - - + + - + + + + + + + + + + - + - + - + - + - + - + - - - - + - - + + - - + + - + - - - - - + + - - + + + - - + + - - + + + + + - - + + - - + + + + + + + + + + - - + + - + - - + + + + + + + + + + + - + - - + + @@ -2064,10 +2046,6 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - - - @@ -2147,43 +2125,6 @@ processes.byId(contextScopeId, contextProcessId).createComment('current_job_id : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -