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

matthew_swift
19.13.2007 8d73d4b84c10e52c5ee187fde05b4d238c3655a9
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
commit8d73d4b84c10e52c5ee187fde05b4d238c3655a9
tree d3821ad640a55f3ad066ebb46663666eda801bdd tree | zip | gz
parent 8532670c1a63bdc2ad973f35343882b642d3f4ef 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
opendj-sdk/opends/resource/admin/admin-cli.xsd 14 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/admin/cliMOProfile.xsl 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/CLIProfile.java 36 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandler.java 14 ●●●●● diff | view | raw | blame | history