Skip to content

Commit

Permalink
sqale: Updated organization configurations to 4.4 compliant
Browse files Browse the repository at this point in the history
orgType is planned for removal in 4.4 and is not supported in new repo
  • Loading branch information
tonydamage committed Aug 23, 2021
1 parent 2042d86 commit 20830c8
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<description>The office of the most respectful Governor.</description>
<displayName>Governor Office</displayName>
<identifier>0001</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CC0</costCenter>
<locality>The Governor's Mansion</locality>
</org>
Expand All @@ -31,7 +31,7 @@
<delegable>true</delegable>
<displayName>Ministry of Defense</displayName>
<identifier>0002</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<locality>The towers, bastions and bars</locality>
</org>

Expand All @@ -45,7 +45,7 @@
<delegable>true</delegable>
<displayName>Ministry of Offense</displayName>
<identifier>0003</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CC666</costCenter>
</org>

Expand All @@ -59,7 +59,7 @@
<delegable>true</delegable>
<displayName>Ministry of Rum</displayName>
<identifier>0004</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CCRUM</costCenter>
</org>

Expand All @@ -73,7 +73,7 @@
<delegable>true</delegable>
<displayName>Swashbuckler Section</displayName>
<identifier>0005</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
</org>

<!-- Scumm Bar also acts as a role, assigning account on dummy resource. -->
Expand All @@ -97,7 +97,7 @@
<delegable>true</delegable>
<displayName>Scumm Bar</displayName>
<identifier>0006</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<locality>Mêlée Island</locality>
</org>

Expand All @@ -107,7 +107,7 @@
<name>PRoot</name>
<description>Project organizational structure root</description>
<displayName>Projects</displayName>
<orgType>project</orgType>
<subtype>project</subtype>
</org>

<org oid="00000000-8888-6666-0000-200000000001">
Expand All @@ -119,7 +119,7 @@
<delegable>true</delegable>
<displayName>Save Elaine</displayName>
<identifier>0001</identifier>
<orgType>project</orgType>
<subtype>project</subtype>
</org>

<org oid="00000000-8888-6666-0000-200000000002">
Expand All @@ -131,7 +131,7 @@
<delegable>true</delegable>
<displayName>Kidnap and marry Elaine</displayName>
<identifier>0002</identifier>
<orgType>project</orgType>
<subtype>project</subtype>
</org>

</objects>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</extension>
<displayName>Governor Office</displayName>
<identifier>0001</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CC0</costCenter>
<locality>The Governor's Mansion</locality>
</org>
Expand All @@ -35,7 +35,7 @@
</assignment>
<displayName>Ministry of Defense</displayName>
<identifier>0002</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<locality>The towers, bastions and bars</locality>
</org>

Expand All @@ -48,7 +48,7 @@
</assignment>
<displayName>Ministry of Offense</displayName>
<identifier>0003</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CC666</costCenter>
</org>

Expand All @@ -61,7 +61,7 @@
</assignment>
<displayName>Ministry of Rum</displayName>
<identifier>0004</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CCRUM</costCenter>
</org>

Expand All @@ -74,7 +74,7 @@
</assignment>
<displayName>Swashbuckler Section</displayName>
<identifier>0005</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
</org>

<!-- Scumm Bar also acts as a role, assigning account on dummy resource. -->
Expand All @@ -97,7 +97,7 @@
</assignment>
<displayName>Scumm Bar</displayName>
<identifier>0006</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<locality>Mêlée Island</locality>
</org>

Expand All @@ -107,7 +107,7 @@
<name>PRoot</name>
<description>Project organizational structure root</description>
<displayName>Projects</displayName>
<orgType>project</orgType>
<subtype>project</subtype>
</org>

<org oid="00000000-8888-6666-0000-200000000001">
Expand All @@ -118,7 +118,7 @@
</assignment>
<displayName>Save Elaine</displayName>
<identifier>0001</identifier>
<orgType>project</orgType>
<subtype>project</subtype>
</org>

<org oid="00000000-8888-6666-0000-200000000002">
Expand All @@ -129,7 +129,7 @@
</assignment>
<displayName>Kidnap and marry Elaine</displayName>
<identifier>0002</identifier>
<orgType>project</orgType>
<subtype>project</subtype>
</org>

</c:objects>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<authoritative>true</authoritative>
<strength>strong</strength> <!-- there's already an assignment, so normal mappings are skipped on object add -->
<source>
<path>orgType</path>
<path>subtype</path>
</source>
<expression>
<assignmentTargetSearch>
Expand All @@ -45,7 +45,7 @@
</expression>
<condition>
<script>
<code>orgType == 'fictional'</code>
<code>subtype == 'fictional'</code>
</script>
</condition>
</mapping>
Expand All @@ -56,7 +56,7 @@
<authoritative>true</authoritative>
<strength>strong</strength> <!-- there's already an assignment, so normal mappings are skipped on object add -->
<source>
<path>orgType</path>
<path>subtype</path>
</source>
<expression>
<assignmentTargetSearch>
Expand All @@ -69,7 +69,7 @@
</target>
<condition>
<script>
<code>orgType == 'functional'</code>
<code>subtype == 'functional'</code>
</script>
</condition>
</mapping>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</assignment>
<displayName>The Golden Age of Piracy</displayName>
<identifier>C001</identifier>
<orgType>piracy</orgType>
<subtype>piracy</subtype>
</org>

<org oid="00000000-8888-6666-0000-c00000000002">
Expand All @@ -30,7 +30,7 @@
</assignment>
<displayName>The Crown</displayName>
<identifier>C002</identifier>
<orgType>piracy</orgType>
<subtype>piracy</subtype>
</org>

<org oid="00000000-8888-6666-0000-c00000000003">
Expand All @@ -44,7 +44,7 @@
</assignment>
<displayName>Government of Jamaica</displayName>
<identifier>C003</identifier>
<orgType>piracy</orgType>
<subtype>piracy</subtype>
<inducement>
<!-- Monkey Island Governor Office -->
<targetRef oid="00000000-8888-6666-0000-100000000001" type="OrgType"/>
Expand All @@ -63,7 +63,7 @@
<delegable>true</delegable>
<displayName>Department of Things</displayName>
<identifier>C004</identifier>
<orgType>piracy</orgType>
<subtype>piracy</subtype>
</org>

<org oid="00000000-8888-6666-0000-c00000000005">
Expand All @@ -78,7 +78,7 @@
<delegable>true</delegable>
<displayName>Department of People</displayName>
<identifier>C005</identifier>
<orgType>piracy</orgType>
<subtype>piracy</subtype>
<inducement>
<!-- Monkey Island Scumm Bar -->
<targetRef oid="00000000-8888-6666-0000-100000000006" type="OrgType"/>
Expand All @@ -98,7 +98,7 @@
<delegable>true</delegable>
<displayName>Entertainment Section</displayName>
<identifier>C006</identifier>
<orgType>piracy</orgType>
<subtype>piracy</subtype>
</org>

</objects>
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<description>Fictional org unit. It triggers mapping in object template.</description>
<displayName>Fictional Org</displayName>
<identifier>FfFfFf</identifier>
<orgType>fictional</orgType>
<subtype>fictional</subtype>
</org>

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<description>Suddenly appearing and disappearing org</description>
<displayName>Temp Org</displayName>
<identifier>oooo</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
<costCenter>CCoooo</costCenter>
</org>

Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
</assignment>
<displayName>Reclaim Black Pearl</displayName>
<identifier>5000</identifier>
<orgType>project</orgType>
<subtype>project</subtype>
</org>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
xmlns:piracy="http://midpoint.evolveum.com/xml/ns/samples/piracy">
<name>All Loot</name>
<inducement>
<targetRef>
<targetRef type="RoleType">
<filter>
<q:equal>
<q:path>roleType</q:path>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
xmlns:piracy="http://midpoint.evolveum.com/xml/ns/samples/piracy">
<name>All Treasure</name>
<inducement>
<targetRef>
<targetRef type="RoleType">
<filter>
<q:equal>
<q:path>roleType</q:path>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
xmlns:piracy="http://midpoint.evolveum.com/xml/ns/samples/piracy">
<name>All You Can Get</name>
<inducement>
<targetRef>
<targetRef type="RoleType">
<filter>
<q:equal>
<q:path>roleType</q:path>
Expand All @@ -24,7 +24,7 @@
</targetRef>
</inducement>
<inducement>
<targetRef>
<targetRef type="RoleType">
<filter>
<q:equal>
<q:path>roleType</q:path>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<type>OrgType</type>
<filter>
<q:equal>
<q:path>orgType</q:path>
<q:path>subtype</q:path>
<q:value>project</q:value>
</q:equal>
</filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
<description>Top-level org</description>
<displayName>TOP</displayName>
<identifier>0000</identifier>
<orgType>functional</orgType>
<subtype>functional</subtype>
</org>
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<item>identifier</item>
<item>description</item>
<item>riskLevel</item>
<item>orgType</item>
<item>subtype</item>
</authorization>
<authorization>
<name>services-read</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<type>OrgType</type>
<filter>
<q:equal>
<q:path>orgType</q:path>
<q:path>subtype</q:path>
<q:value>functional</q:value>
</q:equal>
</filter>
Expand Down

0 comments on commit 20830c8

Please sign in to comment.