forked from Evolveum/midpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MID-7476: adding archetypes for propagations tasks
- Loading branch information
Showing
7 changed files
with
209 additions
and
1 deletion.
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
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
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
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
83 changes: 83 additions & 0 deletions
83
gui/admin-gui/src/main/resources/initial-objects/532-archetype-task-propagation.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,83 @@ | ||
<!-- | ||
~ Copyright (c) 2020 Evolveum and contributors | ||
~ | ||
~ This work is dual-licensed under the Apache License 2.0 | ||
~ and European Union Public License. See LICENSE file for details. | ||
--> | ||
<archetype oid="00000000-0000-0000-0000-000000000532" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> | ||
<name>Provisioning propagation task (one resource)</name> | ||
<archetypeType>auxiliary</archetypeType> | ||
<archetypePolicy> | ||
<display> | ||
<label>Provisioning propagation task (one resource)</label> | ||
<pluralLabel> | ||
<orig>Provisioning propagation task (one resource)</orig> | ||
<translation> | ||
<key>TaskHandlerSelector.provisioning.task.propagation.handler</key> | ||
</translation> | ||
</pluralLabel> | ||
<icon> | ||
<cssClass>fa fa-save</cssClass> | ||
<color>green</color> | ||
</icon> | ||
</display> | ||
<adminGuiConfiguration> | ||
<objectDetails> | ||
<type>TaskType</type> | ||
<panel> | ||
<identifier>activity</identifier> | ||
<panel> | ||
<identifier>work</identifier> | ||
<container> | ||
<identifier>work-propagation</identifier> | ||
<path>activity/work/propagation</path> | ||
</container> | ||
</panel> | ||
</panel> | ||
</objectDetails> | ||
</adminGuiConfiguration> | ||
</archetypePolicy> | ||
<assignment> | ||
<assignmentRelation> | ||
<holderType>TaskType</holderType> | ||
</assignmentRelation> | ||
</assignment> | ||
<inducement> | ||
<focusMappings> | ||
<mapping> | ||
<strength>weak</strength> | ||
<expression> | ||
<value>System</value> | ||
</expression> | ||
<target> | ||
<c:path>category</c:path> | ||
</target> | ||
</mapping> | ||
</focusMappings> | ||
</inducement> | ||
<inducement> | ||
<focusMappings> | ||
<mapping> | ||
<strength>weak</strength> | ||
<source> | ||
<path>activity</path> | ||
</source> | ||
<expression> | ||
<value>http://midpoint.evolveum.com/xml/ns/public/provisioning/task/propagation/handler-3</value> | ||
</expression> | ||
<target> | ||
<c:path>handlerUri</c:path> | ||
</target> | ||
<condition> | ||
<script> | ||
<code> | ||
activity == null | ||
</code> | ||
</script> | ||
</condition> | ||
</mapping> | ||
</focusMappings> | ||
</inducement> | ||
</archetype> |
83 changes: 83 additions & 0 deletions
83
gui/admin-gui/src/main/resources/initial-objects/533-archetype-task-multi-propagation.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,83 @@ | ||
<!-- | ||
~ Copyright (c) 2020 Evolveum and contributors | ||
~ | ||
~ This work is dual-licensed under the Apache License 2.0 | ||
~ and European Union Public License. See LICENSE file for details. | ||
--> | ||
<archetype oid="00000000-0000-0000-0000-000000000533" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> | ||
<name>Provisioning propagation task (many resources)</name> | ||
<archetypeType>auxiliary</archetypeType> | ||
<archetypePolicy> | ||
<display> | ||
<label>Provisioning propagation task (many resources)</label> | ||
<pluralLabel> | ||
<orig>Provisioning propagation task (many resources)</orig> | ||
<translation> | ||
<key>TaskHandlerSelector.provisioning.task.propagation.multi.handler</key> | ||
</translation> | ||
</pluralLabel> | ||
<icon> | ||
<cssClass>fa fa-save</cssClass> | ||
<color>green</color> | ||
</icon> | ||
</display> | ||
<adminGuiConfiguration> | ||
<objectDetails> | ||
<type>TaskType</type> | ||
<panel> | ||
<identifier>activity</identifier> | ||
<panel> | ||
<identifier>work</identifier> | ||
<container> | ||
<identifier>work-multiPropagation</identifier> | ||
<path>activity/work/multiPropagation</path> | ||
</container> | ||
</panel> | ||
</panel> | ||
</objectDetails> | ||
</adminGuiConfiguration> | ||
</archetypePolicy> | ||
<assignment> | ||
<assignmentRelation> | ||
<holderType>TaskType</holderType> | ||
</assignmentRelation> | ||
</assignment> | ||
<inducement> | ||
<focusMappings> | ||
<mapping> | ||
<strength>weak</strength> | ||
<expression> | ||
<value>System</value> | ||
</expression> | ||
<target> | ||
<c:path>category</c:path> | ||
</target> | ||
</mapping> | ||
</focusMappings> | ||
</inducement> | ||
<inducement> | ||
<focusMappings> | ||
<mapping> | ||
<strength>weak</strength> | ||
<source> | ||
<path>activity</path> | ||
</source> | ||
<expression> | ||
<value>http://midpoint.evolveum.com/xml/ns/public/provisioning/task/propagation/multi-handler-3</value> | ||
</expression> | ||
<target> | ||
<c:path>handlerUri</c:path> | ||
</target> | ||
<condition> | ||
<script> | ||
<code> | ||
activity == null | ||
</code> | ||
</script> | ||
</condition> | ||
</mapping> | ||
</focusMappings> | ||
</inducement> | ||
</archetype> |
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