[midPoint] Use of constants in systemConfiguration object?
Frédéric Lohier
frederic at lohier.org
Tue Dec 10 10:20:05 CET 2019
Hello Pavol,
Thank you, got it!
This would be very useful to customize deployment information from the
config.xml file using constants.
-Frederic
On Tue, Dec 10, 2019, 09:26 Pavol Mederly <mederly at evolveum.com> wrote:
> Hello Fréderic,
>
> oh, I've found this message right now. :) As I wrote, this could -
> eventually - work but it's not supported right now.
>
> Best regards,
>
> Pavol Mederly
> Software developerevolveum.com
>
> On 09/12/2019 14:21, Frédéric Lohier wrote:
>
> Hello,
>
>
>
> I am trying to make use of the constants as described here, but the
> systemConfiguration object doesn’t resolve the constant.
>
>
>
> In midpoint.home/config.xml I have the following :
>
>
>
> <configuration>
>
> <midpoint>
>
> <constants>
>
> <orgName>Example, Inc.</orgName>
>
> </constants>
>
> </midpoint>
>
> </configuration>
>
>
>
> And in systemConfiguration object I have the following :
>
>
>
> <systemConfiguration>
>
> <deploymentInformation>
>
> <customerName>
>
> <expression>
>
> <const>orgName</const>
>
> </expression>
>
> </customerName>
>
> </deploymentInformation>
>
> </systemConfiguration>
>
>
>
> Is it supposed to work in the systemConfiguration object ?
>
> My deployment is using Midpoint 4.0.1-dist
>
>
>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20191210/f13fc6d4/attachment.htm>
More information about the midPoint
mailing list