From b0034d7c033bffb2f3279bf6582efd4e02b6efe3 Mon Sep 17 00:00:00 2001 From: Ethan Kromhout Date: Wed, 6 Jan 2021 14:38:39 -0500 Subject: [PATCH] Change grouper daemon to use ENV for rabbitmq password, also task chaining and recurring task for recompute --- Workbench/docker-compose.yml | 3 +- .../orgs/700-org-wordpress-admin.xml | 98 +++++++++++++++++++ .../orgs/700-org-wordpress-editor.xml | 98 +++++++++++++++++++ .../tasks/300-task-import-sis-persons.xml | 1 + ...998-task-reconciliation-grouper-groups.xml | 6 +- .../tasks/999-task-recomputation-users.xml | 12 ++- 6 files changed, 211 insertions(+), 7 deletions(-) create mode 100644 Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-admin.xml create mode 100644 Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-editor.xml diff --git a/Workbench/docker-compose.yml b/Workbench/docker-compose.yml index 1f9fb60..3ebb492 100644 --- a/Workbench/docker-compose.yml +++ b/Workbench/docker-compose.yml @@ -12,7 +12,8 @@ services: - USERTOKEN - GROUPER_CLIENT_WEBSERVICE_PASSWORD_FILE=password - GROUPER_DATABASE_PASSWORD_FILE=/run/secrets/g_database_password.txt - - RABBITMQ_PASSWORD_FILE=/run/secrets/rabbitmq_password.txt + #- RABBITMQ_PASSWORD_FILE=/run/secrets/rabbitmq_password.txt + - RABBITMQ_PASSWORD=password - SUBJECT_SOURCE_LDAP_PASSWORD=password networks: net: diff --git a/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-admin.xml b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-admin.xml new file mode 100644 index 0000000..5d9984b --- /dev/null +++ b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-admin.xml @@ -0,0 +1,98 @@ + + + + generic_app:wordpress:admins + + app:wordpress:admins + cn=app:wordpress:admins,ou=generic,ou=Groups,dc=internet2,dc=edu + + + + + + 2020-12-31T16:22:32.989Z + + + + 2020-12-31T16:22:33.049Z + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#reconciliation + + + + 2020-12-31T19:08:17.662Z + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#user + 2020-12-31T16:22:33.048Z + + active + + 2020-12-31T18:40:43.115Z + success + + + + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#reconciliation + + + + 2020-12-31T16:22:32.989Z + + + + 2020-12-31T16:22:33.049Z + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#reconciliation + + + + + + + + + enabled + + + 0 + + + + + + + + + + + + + + + + + + enabled + 2020-12-31T16:22:32.989Z + + app:wordpress:admins + app:wordpress:admins + + + + + + + + \ No newline at end of file diff --git a/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-editor.xml b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-editor.xml new file mode 100644 index 0000000..19e245e --- /dev/null +++ b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/orgs/700-org-wordpress-editor.xml @@ -0,0 +1,98 @@ + + + + generic_app:wordpress:editors + + app:wordpress:editors + cn=app:wordpress:editors,ou=generic,ou=Groups,dc=internet2,dc=edu + + + + + + 2020-12-31T16:22:33.522Z + + + + 2020-12-31T16:22:33.571Z + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#reconciliation + + + + 2020-12-31T19:49:09.090Z + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#user + 2020-12-31T16:22:33.570Z + + active + + 2020-12-31T18:40:43.183Z + success + + + + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#reconciliation + + + + 2020-12-31T16:22:33.522Z + + + + 2020-12-31T16:22:33.571Z + + + + http://midpoint.evolveum.com/xml/ns/public/common/channels-3#reconciliation + + + + + + + + + enabled + + + 0 + + + + + + + + + + + + + + + + + + enabled + 2020-12-31T16:22:33.523Z + + app:wordpress:editors + app:wordpress:editors + + + + + + + + \ No newline at end of file diff --git a/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/300-task-import-sis-persons.xml b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/300-task-import-sis-persons.xml index 58189c0..aed7c83 100644 --- a/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/300-task-import-sis-persons.xml +++ b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/300-task-import-sis-persons.xml @@ -25,6 +25,7 @@ relation="org:default" type="c:UserType"> runnable + 1494860531232132-0-1 ImportingAccounts - 605a0127-a313-442a-9d5e-151eac8b0745 - runnable + 1494860531232132-0-2 + 1494860531232132-0-1 + waiting + otherTasks Reconciliation diff --git a/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/999-task-recomputation-users.xml b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/999-task-recomputation-users.xml index 179b565..1c26f95 100644 --- a/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/999-task-recomputation-users.xml +++ b/Workbench/midpoint_server/container_files/mp-home/post-initial-objects/tasks/999-task-recomputation-users.xml @@ -10,13 +10,17 @@ - 1571729899646-0-1 http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#recompute - runnable + 1494860531232132-0-2 + waiting + otherTasks Recomputation - single - tight + recurring + loose + + 300 +