Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
176 additions
and
42 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
24 changes: 24 additions & 0 deletions
24
model/model-intest/src/test/resources/crud/account-jack-dummy-maroon-no-delete.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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2010-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. | ||
--> | ||
|
||
<shadow | ||
xmlns='http://midpoint.evolveum.com/xml/ns/public/common/common-3' | ||
xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3' | ||
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" | ||
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" | ||
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"> | ||
<resourceRef oid="10000000-0000-0000-0000-00000000e105"/> | ||
<objectClass>ri:AccountObjectClass</objectClass> | ||
<attributes> | ||
<icfs:name>jack</icfs:name> | ||
<ri:fullname>Jack Sparrow</ri:fullname> | ||
</attributes> | ||
<activation> | ||
<administrativeStatus>enabled</administrativeStatus> | ||
</activation> | ||
</shadow> |
56 changes: 56 additions & 0 deletions
56
model/model-intest/src/test/resources/crud/resource-dummy-maroon-no-delete.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,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2010-2017 Evolveum and contributors | ||
~ | ||
~ This work is dual-licensed under the Apache License 2.0 | ||
~ and European Union Public License. See LICENSE file for details. | ||
--> | ||
|
||
<resource oid="10000000-0000-0000-0000-00000000e105" | ||
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" | ||
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" | ||
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" | ||
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" | ||
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
|
||
<name> | ||
<t:orig>Dummy Resource Maroon No Delete</t:orig> | ||
<!-- t:norm is intentionally missing --> | ||
</name> | ||
<description>Resource used for add test in CRUD interface</description> | ||
<connectorRef type="c:ConnectorType"> | ||
<filter> | ||
<q:and> | ||
<q:equal> | ||
<q:path>connectorType</q:path> | ||
<q:value>com.evolveum.icf.dummy.connector.DummyConnector</q:value> | ||
</q:equal> | ||
<q:equal> | ||
<q:path>connectorVersion</q:path> | ||
<q:value>2.0</q:value> | ||
</q:equal> | ||
</q:and> | ||
</filter> | ||
</connectorRef> | ||
<connectorConfiguration xmlns:icfi="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.icf.dummy/com.evolveum.icf.dummy.connector.DummyConnector" | ||
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"> | ||
|
||
<icfc:configurationProperties> | ||
<icfi:instanceId>maroonNoDelete</icfi:instanceId> | ||
</icfc:configurationProperties> | ||
|
||
</connectorConfiguration> | ||
|
||
<capabilities> | ||
<configured> | ||
<cap:delete> | ||
<cap:enabled>false</cap:enabled> | ||
</cap:delete> | ||
</configured> | ||
</capabilities> | ||
|
||
</resource> |