[midPoint] Create ServiceType-Objects from CSV-Ressource

Ivan Noris ivan.noris at evolveum.com
Tue Jun 5 09:37:32 CEST 2018


Hi Fabian,

the simplest solution assumes that the CSV file contains only the
services. Then you make midPoint to pretend that the accounts in the CSV
file are actually services.

If you set focusType in synchronization for (CSV) AccountObjectClass,
the focus objects in midPoint used for synchronization will be Services,
not Users.

       <synchronization>
                <objectSynchronization>
                        <name>Account sync</name>
                        <objectClass>ri:AccountObjectClass</objectClass>
                        <kind>account</kind>
                        <intent>default</intent>
                        <focusType>ServiceType</focusType>
                        <enabled>true</enabled>
. . .

This assumes you are also creating the service projections as accounts
(schema handling kind/intent/objectClass).

The new CSV connector should be also able to work with non-accounts,
using object class definitions, but I have no experience with that. I
suppose you would have multiple CSV files for that configured in the
resource and some mapping between the CSV files and object classes must
be made for the connector. As I said, no experience with this yet.


Best regards,
Ivan

On 05.06.2018 09:24, Fabian Bosch wrote:
> Hello
>
> Maybe there is an easy solution to that but I am stuck with creating
> Objects of kind ServiceType from a CSV-Ressource which means that I
> try to not create Services and afterwards add an Inducement with
> ressourceRef (manually or by using a role) but read CSV-Entrys as
> ServiceObjects.
> By "default" I can import Accounts with AccountObjectClass. Is there a
> way to do this with something like "ServiceObjectClass" (without
> modifying the CSV-Connector)? I didn't find anything about this.
>
> regards,
>
> Fabian
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Senior Identity Engineer
evolveum.com




More information about the midPoint mailing list