Skip to content

Commit

Permalink
Do minor fixes in demo/grouper objects
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Apr 28, 2020
1 parent ff684b0 commit 8dec61e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3"
oid="47fc57bd-8c34-4555-9b9f-7087ff179860">
<name>Grouper async updates</name>
<extension xmlns:mext="http://midpoint.evolveum.com/xml/ns/public/model/extension-3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:ExtensionType">
<extension xmlns:mext="http://midpoint.evolveum.com/xml/ns/public/model/extension-3">
<mext:workerThreads>1</mext:workerThreads>
</extension>
<assignment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
xsi:type="c:ExtensionType">
<mext:kind>account</mext:kind>
<mext:objectclass>ri:AccountObjectClass</mext:objectclass>
<!--
<mext:tracing>
<interval>500</interval>
</mext:tracing>
</mext:tracing> -->
</extension>
<assignment>
<targetRef oid="00000000-0000-0000-0000-000000000503" type="ArchetypeType" /> <!--Import task-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3"
oid="83a737ea-5eb7-4e78-b431-331cccf02354">
<name>User recomputation</name>
<extension xmlns:mext="http://midpoint.evolveum.com/xml/ns/public/model/extension-3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:ExtensionType">
<extension xmlns:mext="http://midpoint.evolveum.com/xml/ns/public/model/extension-3">
<mext:objectType>c:UserType</mext:objectType>
<mext:tracingInterval>200</mext:tracingInterval>
<!-- <mext:tracingInterval>200</mext:tracingInterval> -->
</extension>
<assignment>
<targetRef oid="00000000-0000-0000-0000-000000000502" type="ArchetypeType"/> <!--Recomputation task -->
Expand All @@ -19,14 +17,6 @@
<channel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#recompute</channel>
<executionStatus>runnable</executionStatus>
<category>Recomputation</category>
<workManagement>
<taskKind>standalone</taskKind>
<buckets>
<oidSegmentation>
<depth>2</depth>
</oidSegmentation>
</buckets>
</workManagement>
<recurrence>single</recurrence>
<binding>tight</binding>
</task>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
oid="605a0127-a313-442a-9d5e-151eac8b0745">
<name>Grouper reconciliation (groups)</name>
<extension xmlns:mext="http://midpoint.evolveum.com/xml/ns/public/model/extension-3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:ExtensionType">
<extension xmlns:mext="http://midpoint.evolveum.com/xml/ns/public/model/extension-3">
<mext:objectclass>ri:Group</mext:objectclass>
</extension>
<assignment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ assigned/induced objects should exist. Objects that are referenced e.g. in groov
import time.)

Waves are:
- 000: system configuration
- 0xx: security policy and system configuration
- 100: resources (do not depend on anything)
root orgs (do not depend on anything)
user template (inactive until users are imported)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
import com.evolveum.midpoint.model.impl.expr.*
import com.evolveum.midpoint.schema.*
import com.evolveum.midpoint.xml.ns._public.common.common_3.*
import com.evolveum.midpoint.model.common.expression.ModelExpressionThreadLocalHolder

GROUPER_RESOURCE_OID = '1eff65de-5bb6-483d-9edf-8cc2c2ee0233'

Expand Down Expand Up @@ -189,4 +190,4 @@
-->
<order>2</order>
</inducement>
</role>
</role>

0 comments on commit 8dec61e

Please sign in to comment.