<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Fréderic,</p>
    <p>as a matter of fact, both config.xml and System configuration
      have some advantages and disadvantages. For example any change in
      config.xml requires midpoint restart, which is not the case for
      System configuration. Also in case of multi-node deployment, any
      change in config.xml must be done in all nodes, while change of
      System configuration is repository-centric.</p>
    <p>And you can always preconfigure your System configuration using
      post-initial configuration so that it will be loaded when midPoint
      is started for the very first time.</p>
    <p>Best regards,</p>
    <p>Ivan<br>
    </p>
    <div class="moz-cite-prefix">On 10. 12. 2019 10:20, Frédéric Lohier
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALRGK0oKMeaHOnsBF9Uj7xjY8LjE1nXEypUfyPRjfa_KP1M3Dw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
              moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank" rel="noreferrer" moz-do-not-send="true">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" moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
            <a
              href="http://lists.evolveum.com/mailman/listinfo/midpoint"
              rel="noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
  </body>
</html>