-
Notifications
You must be signed in to change notification settings - Fork 188
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 'refs/remotes/origin/master'
- Loading branch information
Showing
27 changed files
with
560 additions
and
219 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
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
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
5 changes: 3 additions & 2 deletions
5
...c/test/resources/upgrade/objects/case.xml → ...est/resources/validator/expected/case.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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<case xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> | ||
<case xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
oid="10a2c2b4-4d02-4f52-a4ac-092d8e321006"> | ||
|
||
<name>case</name> | ||
<taskRef oid="0e5b7304-ea5c-438e-84d1-2b0ce40517ce"/> | ||
</case> |
15 changes: 15 additions & 0 deletions
15
infra/schema/src/test/resources/validator/expected/resource.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,15 @@ | ||
<resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" | ||
oid="5b55729f-8866-442a-b39d-c5a9def5b345"> | ||
|
||
<name>Invalid resource</name> | ||
|
||
<capabilities> | ||
<native/> | ||
<configured> | ||
<cap:update> | ||
<cap:addRemoveAttributeValues>false</cap:addRemoveAttributeValues> | ||
</cap:update> | ||
</configured> | ||
</capabilities> | ||
</resource> |
20 changes: 20 additions & 0 deletions
20
infra/schema/src/test/resources/validator/expected/role.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,20 @@ | ||
<!-- | ||
~ Copyright (C) 2010-2023 Evolveum and contributors | ||
~ | ||
~ This work is dual-licensed under the Apache License 2.0 | ||
~ and European Union Public License. See LICENSE file for details. | ||
--> | ||
|
||
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
oid="f4244705-69a7-4602-95ad-6a4ad7beddb7"> | ||
|
||
<name>role</name> | ||
|
||
<assignment id="1"> | ||
<personaConstruction> | ||
<targetType>some-type</targetType> | ||
<targetSubtype>some-subtype</targetSubtype> | ||
</personaConstruction> | ||
</assignment> | ||
|
||
</role> |
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
70 changes: 70 additions & 0 deletions
70
infra/schema/src/test/resources/validator/expected/system-configuration.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,70 @@ | ||
<!-- | ||
~ Copyright (C) 2010-2023 Evolveum and contributors | ||
~ | ||
~ This work is dual-licensed under the Apache License 2.0 | ||
~ and European Union Public License. See LICENSE file for details. | ||
--> | ||
<systemConfiguration xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
oid="3947d3b1-b6e8-46ec-b382-1bde67da6f07"> | ||
|
||
<name>system-configuration</name> | ||
|
||
<notificationConfiguration> | ||
<!--<sms> | ||
<gateway> | ||
<urlExpression> | ||
<script> | ||
<code> | ||
return 'one.example' | ||
</code> | ||
</script> | ||
</urlExpression> | ||
</gateway> | ||
</sms> | ||
<sms> | ||
<redirectToFile>redirected.log</redirectToFile> | ||
<blackList>blacklisted@example.com</blackList> | ||
<debug>true</debug> | ||
<logToFile>log.log</logToFile> | ||
<recipientFilterExpression> | ||
<script> | ||
<code> | ||
return null | ||
</code> | ||
</script> | ||
</recipientFilterExpression> | ||
<whiteList>whitelisted@example.com</whiteList> | ||
<gateway> | ||
<method>get</method> | ||
<urlExpression> | ||
<script> | ||
<code> | ||
return 'example.com' | ||
</code> | ||
</script> | ||
</urlExpression> | ||
<username>user</username> | ||
<password>pass</password> | ||
</gateway> | ||
</sms>--> | ||
</notificationConfiguration> | ||
|
||
<adminGuiConfiguration> | ||
<userDashboardLink> | ||
<targetUrl>https://google.com</targetUrl> | ||
</userDashboardLink> | ||
<accessRequest> | ||
<roleCatalog> | ||
<roleCatalogRef oid="0e5b7304-ea5c-438e-84d1-2b0ce40517ce" type="OrgType"/> | ||
<collection> | ||
<identifier>allRoles</identifier> | ||
<collectionIdentifier>allRoles</collectionIdentifier> | ||
</collection> | ||
<collection> | ||
<identifier>myCustomCollection</identifier> | ||
<collectionIdentifier>myCustomCollection</collectionIdentifier> | ||
</collection> | ||
</roleCatalog> | ||
</accessRequest> | ||
</adminGuiConfiguration> | ||
</systemConfiguration> |
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
Oops, something went wrong.