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

matthew_swift
19.13.2007 0326322b342aa2dea86f71760521022411739879
refs
author matthew_swift <matthew_swift@localhost>
Wednesday, December 19, 2007 15:13 +0100
committer matthew_swift <matthew_swift@localhost>
Wednesday, December 19, 2007 15:13 +0100
commit0326322b342aa2dea86f71760521022411739879
tree 671748d447f1a4d6f4aea18531cfaf24c532cbba tree | zip | gz
parent 867e3a6bbcdae9a66afc211e578252d6fb3b3e43 view | diff
Fix issue 2451 part #1: https://opends.dev.java.net/issues/show_bug.cgi?id=2451

It is now possible to override the default naming argument for dsconfig sub-commands using the CLI profile in the XML definitions. To do this add the "naming-argument-override" attribute to a relation's CLI profile relation element. For example:

<adm:relation name="virtual-attribute">
<adm:one-to-many />
<adm:profile name="ldap">
<ldap:rdn-sequence>
cn=Virtual Attributes,cn=config
</ldap:rdn-sequence>
</adm:profile>
<adm:profile name="cli">
<cli:relation naming-argument-override="name">
<cli:default-property name="enabled" />
<cli:default-property name="attribute-type" />
</cli:relation>
</adm:profile>
</adm:relation>
4 files modified
72 ■■■■ changed files
opends/resource/admin/admin-cli.xsd 14 ●●●●● diff | view | raw | blame | history
opends/resource/admin/cliMOProfile.xsl 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/CLIProfile.java 36 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandler.java 14 ●●●●● diff | view | raw | blame | history