<div dir="auto">Hello Pavol,<div dir="auto"><br></div><div dir="auto">Thank you, got it!</div><div dir="auto">This would be very useful to customize deployment information from the config.xml file using constants.</div><div dir="auto"><br></div><div dir="auto">-Frederic</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Dec 10, 2019, 09:26 Pavol Mederly <<a href="mailto:mederly@evolveum.com">mederly@evolveum.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello Fréderic,</p>
<p>oh, I've found this message right now. :) As I wrote, this could
- eventually - work but it's not supported right now.</p>
<p>Best regards,<br>
</p>
<pre cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank" rel="noreferrer">evolveum.com</a>
</pre>
<div>On 09/12/2019 14:21, Frédéric Lohier
wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<p style="font-family:sans-serif;font-size:12.8px">Hello,</p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
<p style="font-family:sans-serif;font-size:12.8px">I am trying
to make use of the constants as described here, but the
systemConfiguration object doesn’t resolve the constant.</p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
<p style="font-family:sans-serif;font-size:12.8px">In
midpoint.home/config.xml I have the following :</p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
<p style="font-family:sans-serif;font-size:12.8px"><configuration></p>
<p style="font-family:sans-serif;font-size:12.8px">
<midpoint></p>
<p style="font-family:sans-serif;font-size:12.8px">
<constants></p>
<p style="font-family:sans-serif;font-size:12.8px">
<orgName>Example, Inc.</orgName></p>
<p style="font-family:sans-serif;font-size:12.8px">
</constants></p>
<p style="font-family:sans-serif;font-size:12.8px">
</midpoint></p>
<p style="font-family:sans-serif;font-size:12.8px"></configuration></p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
<p style="font-family:sans-serif;font-size:12.8px">And in
systemConfiguration object I have the following :</p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
<p style="font-family:sans-serif;font-size:12.8px"><systemConfiguration></p>
<p style="font-family:sans-serif;font-size:12.8px">
<deploymentInformation></p>
<p style="font-family:sans-serif;font-size:12.8px">
<customerName></p>
<p style="font-family:sans-serif;font-size:12.8px">
<expression></p>
<p style="font-family:sans-serif;font-size:12.8px">
<const>orgName</const></p>
<p style="font-family:sans-serif;font-size:12.8px"> </expression></p>
<p style="font-family:sans-serif;font-size:12.8px">
</customerName></p>
<p style="font-family:sans-serif;font-size:12.8px">
</deploymentInformation></p>
<p style="font-family:sans-serif;font-size:12.8px"></systemConfiguration></p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
<p style="font-family:sans-serif;font-size:12.8px">Is it
supposed to work in the systemConfiguration object ?</p>
<p style="font-family:sans-serif;font-size:12.8px">My deployment
is using Midpoint 4.0.1-dist</p>
<p style="font-family:sans-serif;font-size:12.8px"> </p>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="noreferrer">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank" rel="noreferrer">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="noreferrer">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div></div>