[midPoint] Multi construction on same object

Sylvaire kevin TIPA sylvaire-kevin.tipa at mythalesgroup.io
Tue Dec 15 02:01:11 CET 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201215/dd6920e5/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/dd6920e5/attachment-0001.png>


More information about the midPoint mailing list