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

matthew_swift
11.35.2007 f2f3d93a4ea2448ad218628eef04cd93dd58c491
Fix issue 1934: define which JE index properties will be displayed by default by the dsconfig list-je-indexes sub-command. Also fix the JE index index-substring-length property LDAP schema: its attribute type was not included in its object class definition.
3 files modified
15 ■■■■ changed files
opends/resource/schema/02-config.ldif 3 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml 8 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/JEIndexConfiguration.xml 4 ●●●● patch | view | raw | blame | history
opends/resource/schema/02-config.ldif
@@ -1535,7 +1535,8 @@
  X-ORIGIN 'OpenDS Directory Server' )
objectClasses: ( 1.3.6.1.4.1.26027.1.2.8 NAME 'ds-cfg-je-index' SUP top
  STRUCTURAL MUST ( ds-cfg-index-attribute $ ds-cfg-index-type )
  MAY ds-cfg-index-entry-limit X-ORIGIN 'OpenDS Directory Server' )
  MAY ( ds-cfg-index-entry-limit $ ds-cfg-index-substring-length )
  X-ORIGIN 'OpenDS Directory Server' )
objectClasses: ( 1.3.6.1.4.1.26027.1.2.9 NAME 'ds-cfg-schema-backend'
  SUP ds-cfg-backend STRUCTURAL
  MAY ( ds-cfg-schema-entry-dn $ ds-cfg-show-all-attributes )
opends/src/admin/defn/org/opends/server/admin/std/JEBackendConfiguration.xml
@@ -30,7 +30,8 @@
  package="org.opends.server.admin.std"
  extends="backend"
  xmlns:adm="http://www.opends.org/admin"
  xmlns:ldap="http://www.opends.org/admin-ldap">
  xmlns:ldap="http://www.opends.org/admin-ldap"
  xmlns:cli="http://www.opends.org/admin-cli">
  <adm:synopsis>
    The primary backend provided by the OpenDS Directory Server uses the
    Berkeley DB Java Edition to store user-provided data in a local repository.
@@ -62,6 +63,11 @@
        ds-cfg-index-attribute
      </ldap:naming-attribute>
    </adm:profile>
    <adm:profile name="cli">
      <cli:relation>
        <cli:default-property name="index-type" />
      </cli:relation>
    </adm:profile>
  </adm:relation>
  <adm:property-override name="backend-class">
    <adm:default-behavior>
opends/src/admin/defn/org/opends/server/admin/std/JEIndexConfiguration.xml
@@ -122,7 +122,7 @@
    </adm:synopsis>
    <adm:description>
      For equality, presence, and substring index types, the associated
      attribute type must have a corrsponding matching rule.
      attribute type must have a corresponding matching rule.
    </adm:description>
    <adm:requires-admin-action>
      <adm:other>
@@ -201,7 +201,7 @@
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:oid>1.3.6.1.4.1.26027.1.1.380</ldap:oid>
        <ldap:name>ds-cfg-ds-cfg-index-substring-length</ldap:name>
        <ldap:name>ds-cfg-index-substring-length</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>