Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First version of "strings" story resources.
- Loading branch information
Showing
18 changed files
with
850 additions
and
0 deletions.
There are no files selected for viewing
134 changes: 134 additions & 0 deletions
134
testing/story/src/test/resources/strings/orgs/0-org-monkey-island-modified.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,134 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<objects xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3' | ||
xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3' | ||
xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'> | ||
|
||
<!-- Functional organizational structure --> | ||
|
||
<org oid="00000000-8888-6666-0000-100000000001"> | ||
<name>F0001</name> | ||
<description>The office of the most respectful Governor.</description> | ||
<displayName>Governor Office</displayName> | ||
<identifier>0001</identifier> | ||
<orgType>functional</orgType> | ||
<costCenter>CC0</costCenter> | ||
<locality>The Governor's Mansion</locality> | ||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-100000000002"> | ||
<name>F0002</name> | ||
<description>Defending the scum since the ancient times.</description> | ||
<parentOrgRef oid="00000000-8888-6666-0000-100000000001" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-100000000001" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Ministry of Defense</displayName> | ||
<identifier>0002</identifier> | ||
<orgType>functional</orgType> | ||
<locality>The towers, bastions and bars</locality> | ||
|
||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-100000000003"> | ||
<name>F0003</name> | ||
<description>Offending. Anyone. Anywhere.</description> | ||
<parentOrgRef oid="00000000-8888-6666-0000-100000000001" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-100000000001" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Ministry of Offense</displayName> | ||
<identifier>0003</identifier> | ||
<orgType>functional</orgType> | ||
<costCenter>CC666</costCenter> | ||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-100000000004"> | ||
<name>F0004</name> | ||
<description>Why is the rum always gone?</description> | ||
<parentOrgRef oid="00000000-8888-6666-0000-100000000001" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-100000000001" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Ministry of Rum</displayName> | ||
<identifier>0004</identifier> | ||
<orgType>functional</orgType> | ||
<costCenter>CCRUM</costCenter> | ||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-100000000005"> | ||
<name>F0005</name> | ||
<description>Swashing, buckling and insulting. Hard.</description> | ||
<parentOrgRef oid="00000000-8888-6666-0000-100000000003" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-100000000003" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Swashbuckler Section</displayName> | ||
<identifier>0005</identifier> | ||
<orgType>functional</orgType> | ||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-100000000006"> | ||
<name>F0006</name> | ||
<description>Hosting the worst scumm of the Caribbean.</description> | ||
<parentOrgRef oid="00000000-8888-6666-0000-100000000003" type="c:OrgType"/> | ||
<parentOrgRef oid="00000000-8888-6666-0000-100000000004" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-100000000003" type="c:OrgType"/> | ||
</assignment> | ||
<assignment id="2"> | ||
<targetRef oid="00000000-8888-6666-0000-100000000004" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Scumm Bar</displayName> | ||
<identifier>0006</identifier> | ||
<orgType>functional</orgType> | ||
<locality>Mêlée Island</locality> | ||
</org> | ||
|
||
<!-- Project organizational structure --> | ||
|
||
<org oid="00000000-8888-6666-0000-200000000000"> | ||
<name>PRoot</name> | ||
<description>Project organizational structure root</description> | ||
<displayName>Projects</displayName> | ||
<orgType>project</orgType> | ||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-200000000001"> | ||
<name>P0001</name> | ||
<parentOrgRef oid="00000000-8888-6666-0000-200000000000" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-200000000000" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Save Elaine</displayName> | ||
<identifier>0001</identifier> | ||
<orgType>project</orgType> | ||
</org> | ||
|
||
<org oid="00000000-8888-6666-0000-200000000002"> | ||
<name>P0002</name> | ||
<parentOrgRef oid="00000000-8888-6666-0000-200000000000" type="c:OrgType"/> | ||
<assignment id="1"> | ||
<targetRef oid="00000000-8888-6666-0000-200000000000" type="c:OrgType"/> | ||
</assignment> | ||
<displayName>Kidnap and marry Elaine</displayName> | ||
<identifier>0002</identifier> | ||
<orgType>project</orgType> | ||
</org> | ||
|
||
</objects> |
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,21 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<org oid="b7cbed1f-5e73-4455-b88a-b5b3ac2a0f54" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> | ||
<name>Teams</name> | ||
</org> |
25 changes: 25 additions & 0 deletions
25
testing/story/src/test/resources/strings/orgs/security-approvers.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,25 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<org oid="a14afc10-e4a2-48a4-abfd-e8a2399f98d3" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> | ||
<name>Security Approvers</name> | ||
<parentOrgRef oid="b7cbed1f-5e73-4455-b88a-b5b3ac2a0f54" type="OrgType"></parentOrgRef> | ||
<assignment> | ||
<targetRef oid="b7cbed1f-5e73-4455-b88a-b5b3ac2a0f54" type="OrgType"></targetRef> | ||
</assignment> | ||
</org> |
25 changes: 25 additions & 0 deletions
25
testing/story/src/test/resources/strings/orgs/sod-approvers.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,25 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<org oid="cb73377a-da8d-4fbe-b174-19879bae9032" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> | ||
<name>SoD Approvers</name> | ||
<parentOrgRef oid="b7cbed1f-5e73-4455-b88a-b5b3ac2a0f54" type="OrgType"></parentOrgRef> | ||
<assignment> | ||
<targetRef oid="b7cbed1f-5e73-4455-b88a-b5b3ac2a0f54" type="OrgType"></targetRef> | ||
</assignment> | ||
</org> |
46 changes: 46 additions & 0 deletions
46
testing/story/src/test/resources/strings/roles/metarole-approval-line-managers.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,46 @@ | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="a97f27fe-db6f-4d94-99cd-753d1cab82ca"> | ||
<name>metarole-approval-line-managers</name> | ||
<description>Requests to assign role holding this metarole will be approved by the line manager(s)</description> | ||
<displayName>Metarole: approval by the line manager(s)</displayName> | ||
<inducement> | ||
<policyRule> | ||
<policyConstraints> | ||
<assignment/> | ||
</policyConstraints> | ||
<policyActions> | ||
<approval> | ||
<compositionStrategy> | ||
<order>10</order> | ||
</compositionStrategy> | ||
<approvalSchema> | ||
<level> | ||
<approverExpression> | ||
<script> | ||
<code>midpoint.getManagersOidsExceptUser(object)</code> | ||
</script> | ||
</approverExpression> | ||
<evaluationStrategy>allMustApprove</evaluationStrategy> | ||
<outcomeIfNoApprovers>reject</outcomeIfNoApprovers> | ||
</level> | ||
</approvalSchema> | ||
</approval> | ||
</policyActions> | ||
</policyRule> | ||
</inducement> | ||
</role> |
42 changes: 42 additions & 0 deletions
42
testing/story/src/test/resources/strings/roles/metarole-approval-role-approvers-all.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,42 @@ | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="2dadd243-687d-4b4c-80cd-09ddfe4cbf59"> | ||
<name>metarole-approval-role-approvers-all</name> | ||
<description>Requests to assign role holding this metarole will be approved by the role approver(s) using "all must approve" method</description> | ||
<displayName>Metarole: approval by the role approver(s) - all must approve</displayName> | ||
<inducement> | ||
<policyRule> | ||
<policyConstraints> | ||
<assignment/> | ||
</policyConstraints> | ||
<policyActions> | ||
<approval> | ||
<compositionStrategy> | ||
<order>40</order> | ||
</compositionStrategy> | ||
<approvalSchema> | ||
<level> | ||
<approverRelation>approver</approverRelation> | ||
<evaluationStrategy>allMustApprove</evaluationStrategy> | ||
<outcomeIfNoApprovers>reject</outcomeIfNoApprovers> | ||
</level> | ||
</approvalSchema> | ||
</approval> | ||
</policyActions> | ||
</policyRule> | ||
</inducement> | ||
</role> |
42 changes: 42 additions & 0 deletions
42
testing/story/src/test/resources/strings/roles/metarole-approval-role-approvers-first.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,42 @@ | ||
<!-- | ||
~ Copyright (c) 2010-2016 Evolveum | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
|
||
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="e3c28c94-798a-4f93-85f8-de7cbe37315b"> | ||
<name>metarole-approval-role-approvers-first</name> | ||
<description>Requests to assign role holding this metarole will be approved by the role approver(s) using "first decides" method</description> | ||
<displayName>Metarole: approval by the role approver(s) - first decides</displayName> | ||
<inducement> | ||
<policyRule> | ||
<policyConstraints> | ||
<assignment /> | ||
</policyConstraints> | ||
<policyActions> | ||
<approval> | ||
<compositionStrategy> | ||
<order>40</order> | ||
</compositionStrategy> | ||
<approvalSchema> | ||
<level> | ||
<approverRelation>approver</approverRelation> | ||
<evaluationStrategy>firstDecides</evaluationStrategy> | ||
<outcomeIfNoApprovers>reject</outcomeIfNoApprovers> | ||
</level> | ||
</approvalSchema> | ||
</approval> | ||
</policyActions> | ||
</policyRule> | ||
</inducement> | ||
</role> |
Oops, something went wrong.