[midPoint] Multi construction on same object
Sylvaire kevin TIPA
sylvaire-kevin.tipa at mythalesgroup.io
Tue Dec 15 08:42:03 CET 2020
Thanks for reply, yes it can be a solution but this create code duplication. I will need to duplicate this object 3 time with same mapping and synch.
I hoped than I can use the same kind/intent and just rewrite name in construction attribute. But maybe not.
Cordialement,
[cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45]
Sylvaire-Kevin TIPA
Thales Services / DIO / DevOps Automatisation
…………………………………………………………………………………………
THALES SERVICES SAS
44 Quai Charles de Gaulle
CS 20100
69463 Lyon Cedex 06
…………………………………………………………………………………………
www.thalesgroup.com<http://www.thalesgroup.com/>
De : Pálos Gustáv <gustav.palos at gmail.com>
Envoyé : mardi 15 décembre 2020 06:51
À : midPoint General Discussion <midpoint at lists.evolveum.com>
Cc : Sylvaire kevin TIPA <sylvaire-kevin.tipa at mythalesgroup.io>
Objet : Re: [midPoint] Multi construction on same object
Hi Kevin,
Why can't you use 3 different intents?
kind=entitlement for all, and:
intent 1 = artifactoryp_reader
intent 2 = artifactoryp_deploy
intent 3 = artifactoryp_manage
with near similar mappings expect name
best regards,
Gustav
ut 15. 12. 2020 o 2:01 Sylvaire kevin TIPA via midPoint <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>> napísal(a):
Hello,
I search how to create multi construction with same intent and kind for one object.
I have a org, than need to create 3 permission object construction. This object have the same kind and intent but different name. When I try to implement it, MP merge all the construction and give me a error because a try to create one object with multi value as name.
What I want is 3 object with 3 name, aka, compute each construction as own. Do MP have this kind of think ?
<inducement id="6">
<construction>
<resourceRef oid="da5a9452-ebf4-4f8f-b463-2621af99efeb" relation="org:default" type="c:ResourceType">
<!-- resource-artifactory -->
</resourceRef>
<kind>entitlement</kind>
<intent>artifactoryp</intent>
<attribute id="10">
<c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:name</c:ref>
<outbound>
<strength>strong</strength>
<source>
<c:path>$focus/name</c:path>
</source>
<expression>
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:ScriptExpressionEvaluatorType">
<code>
return name + "#reader"
</code>
</script>
</expression>
</outbound>
</attribute>
</construction>
<order>2</order>
<focusType>c:OrgType</focusType>
</inducement>
<inducement id="7">
<construction>
<resourceRef oid="da5a9452-ebf4-4f8f-b463-2621af99efeb" relation="org:default" type="c:ResourceType">
<!-- resource-artifactory -->
</resourceRef>
<kind>entitlement</kind>
<intent>artifactoryp</intent>
<attribute id="11">
<c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:name</c:ref>
<outbound>
<strength>strong</strength>
<source>
<c:path>$focus/name</c:path>
</source>
<expression>
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:ScriptExpressionEvaluatorType">
<code>
return name + "#deploy"
</code>
</script>
</expression>
</outbound>
</attribute>
</construction>
<order>2</order>
<focusType>c:OrgType</focusType>
</inducement>
<inducement id="8">
<construction>
<resourceRef oid="da5a9452-ebf4-4f8f-b463-2621af99efeb" relation="org:default" type="c:ResourceType">
<!-- resource-artifactory -->
</resourceRef>
<kind>entitlement</kind>
<intent>artifactoryp</intent>
<attribute id="12">
<c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:name</c:ref>
<outbound>
<strength>strong</strength>
<source>
<c:path>$focus/name</c:path>
</source>
<expression>
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="c:ScriptExpressionEvaluatorType">
<code>
return name + "#manage"
</code>
</script>
</expression>
</outbound>
</attribute>
</construction>
<order>2</order>
<focusType>c:OrgType</focusType>
</inducement>
Cordialement,
[cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45]
Sylvaire-Kevin TIPA
Thales Services / DIO / DevOps Automatisation
…………………………………………………………………………………………
THALES SERVICES SAS
44 Quai Charles de Gaulle
CS 20100
69463 Lyon Cedex 06
…………………………………………………………………………………………
www.thalesgroup.com<http://www.thalesgroup.com/>
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
https://lists.evolveum.com/mailman/listinfo/midpoint
--
s pozdravom
Gustáv Pálos
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201215/b52d1934/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6112 bytes
Desc: image001.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201215/b52d1934/attachment-0001.png>
More information about the midPoint
mailing list