[Midpoint-dev] GenericObjectType

Radovan Semancik radovan.semancik at evolveum.com
Tue Oct 24 14:36:20 CEST 2017


GenericObjectType was introduced to midPoint design very early. But 
honestly, it was never really used much. What we usually do it to use 
other existing midPoint objects and "derive" new object type from that. 
E.g. teams, projects, companies can be modeled as OrgType, networks, 
applications, virtual machines, cloud services, devices, printets can be 
modeled as ServiceType and so on. Individual "subtypes" are usually 
differentiated by using the subtype fields (roleType, orgType, 
serviceType). This is much better than creating new types from scratch. 
If new type is derived from midPoint types then they automatically 
inhering part of midPoint functionality (e.g. object templates, 
application of meta-roles, policy rules, ...)

This is the way forward. However, the functionality is not perfect yet. 
There are some improvements planned for 3.8 (e.g. unify roleType, 
orgType and serviceType to single subtype). That will improve the 
situation a bit, but it is not definitive solution yet. The real 
solution is the proposed archetype feature:


We are looking for funding for this functionality. If you are interested 
then please contact Evolveum sales.

Radovan Semancik
Software Architect

On 10/24/2017 02:21 PM, Нуриев Илья Равильевич wrote:
> Hi,
> I have a task to create a custom object (catalog)...
> Where can I find an example of creating an entity (custom object) as a 
> GenericObjectType?
> Where can I find an example of how to add the created object to the gui?
> Best Regards,
> Ilya
> УВЕДОМЛЕНИЕ О КОНФИДЕНЦИАЛЬНОСТИ: Это электронное сообщение и любые 
> документы, приложенные к нему, содержат конфиденциальную информацию. 
> Настоящим уведомляем Вас о том, что если это сообщение не 
> предназначено Вам, использование, копирование, распространение 
> информации, содержащейся в настоящем сообщении, а также осуществление 
> любых действий на основе этой информации, строго запрещено. Если Вы 
> получили это сообщение по ошибке, пожалуйста, сообщите об этом 
> отправителю по электронной почте и удалите это сообщение. 
> CONFIDENTIALITY NOTICE: This email and any files attached to it are 
> confidential. If you are not the intended recipient you are notified 
> that using, copying, distributing or taking any action in reliance on 
> the contents of this information is strictly prohibited. If you have 
> received this email in error please notify the sender and delete this 
> email.
> _______________________________________________
> midPoint-dev mailing list
> midPoint-dev at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20171024/ea5e805f/attachment.html>

More information about the midPoint-dev mailing list