mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
16.22.2007 a6fa9f70d1ceb4c9d6df89a4583ffa54281df394
Add the xml definitions files missing in the previous commit

use the admin framework facilities to do pattern matchin on the
replication server addresses to make sure that it contain
both a hostname and a port number.

Also use the last : as the separator in case somebody would want to
use a IPv6 address.

Issue number 1579
2 files modified
18 ■■■■ changed files
opends/src/admin/defn/org/opends/server/admin/std/MultimasterDomainConfiguration.xml 9 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml 9 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/MultimasterDomainConfiguration.xml
@@ -58,7 +58,14 @@
      <adm:none />
    </adm:requires-admin-action>
    <adm:syntax>
      <adm:string></adm:string>
      <adm:string>
        <adm:pattern>
          <adm:regex>.+:[0-9]+</adm:regex>
          <adm:synopsis>
            A hostname, followed by a ":" followed by a port number.
          </adm:synopsis>
        </adm:pattern>
      </adm:string>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
opends/src/admin/defn/org/opends/server/admin/std/ReplicationServerConfiguration.xml
@@ -62,7 +62,14 @@
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:string></adm:string>
      <adm:string>
        <adm:pattern>
          <adm:regex>.+:[0-9]+</adm:regex>
          <adm:synopsis>
            A hostname, followed by a ":" followed by a port number.
          </adm:synopsis>
        </adm:pattern>
      </adm:string>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>