-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/bats'
- Loading branch information
Showing
4 changed files
with
172 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
demo/complex/tests/resources/task/assign-role-grouper-sysadmin-to-test-user.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| <task xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
| xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
| xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
| oid="22c2a3d0-0961-4255-9eec-c550a791237s"> | ||
| <name>Assign role-grouper-sysadmin to TestUser230</name> | ||
| <extension> | ||
| <scext:executeScript xmlns:scext="http://midpoint.evolveum.com/xml/ns/public/model/scripting/extension-3"> | ||
| <s:search xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"> | ||
| <s:type>c:UserType</s:type> | ||
| <s:searchFilter> | ||
| <q:equal> | ||
| <q:path>c:name</q:path> | ||
| <q:value>TestUser230</q:value> | ||
| </q:equal> | ||
| </s:searchFilter> | ||
| <s:action> | ||
| <s:type>assign</s:type> | ||
| <s:parameter> | ||
| <s:name>role</s:name> | ||
| <c:value xsi:type="xsd:string">d48ec05b-fffd-4262-acd3-d9ff63365b62</c:value> | ||
| </s:parameter> | ||
| </s:action> | ||
| </s:search> | ||
| </scext:executeScript> | ||
| </extension> | ||
| <ownerRef oid="00000000-0000-0000-0000-000000000002"/> | ||
| <executionStatus>runnable</executionStatus> | ||
| <category>BulkActions</category> | ||
| <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/scripting/handler-3</handlerUri> | ||
| <recurrence>single</recurrence> | ||
| </task> |
27 changes: 27 additions & 0 deletions
27
demo/complex/tests/resources/task/recom-role-grouper-sysadmin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <task xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
| xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
| xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" | ||
| oid="22c2a3d0-0961-4255-9eec-caasa79aeaaa"> | ||
| <name>Recompute role-grouper-sysadmin</name> | ||
| <extension> | ||
| <scext:executeScript xmlns:scext="http://midpoint.evolveum.com/xml/ns/public/model/scripting/extension-3"> | ||
| <s:search xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"> | ||
| <s:type>c:RoleType</s:type> | ||
| <s:searchFilter> | ||
| <q:equal> | ||
| <q:path>name</q:path> | ||
| <q:value>role-grouper-sysadmin</q:value> | ||
| </q:equal> | ||
| </s:searchFilter> | ||
| <s:action> | ||
| <s:type>recompute</s:type> | ||
| </s:action> | ||
| </s:search> | ||
| </scext:executeScript> | ||
| </extension> | ||
| <ownerRef oid="00000000-0000-0000-0000-000000000002"/> | ||
| <executionStatus>runnable</executionStatus> | ||
| <category>BulkActions</category> | ||
| <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/scripting/handler-3</handlerUri> | ||
| <recurrence>single</recurrence> | ||
| </task> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters