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

matthew_swift
23.55.2007 802263ae38d5d54acdd4945dbbce39c5f6bd26eb
refs
author matthew_swift <matthew_swift@localhost>
Monday, July 23, 2007 19:55 +0200
committer matthew_swift <matthew_swift@localhost>
Monday, July 23, 2007 19:55 +0200
commit802263ae38d5d54acdd4945dbbce39c5f6bd26eb
tree 1aa84c4c06f4498b029481c9865dc2546decf69a tree | zip | gz
parent 9379952a4a28f0133af9670123b89747ba53cf46 view | diff
Fix issue 1819: add support for tagging properties as advanced.

It is now possible to tag a property as advanced. This is achieved by adding the "advanced" attribute to XML property definitions. For example:

<adm:property name="java-implementation-class" mandatory="true" advanced="true">
...
</adm:property>

Advanced properties must be either option or, if they are mandatory, have default values (defined or inherited). This constraint is enforced except for abstract property definitions where sub-definitions can override the property and give it a default (this is the case for java implementation class properties).

Dsconfig has been modified so that get-xxx-prop and list-properties sub-commands only display advanced properties if the user provides the "--advanced" command line option. There will be similar support for set-xxx-prop and create-xxx sub-commands once they have a fully functional interactive mode (issue 1831).

This change just adds support for advanced properties. A subsequent change (for issue 1829) will designate which properties are advanced.
10 files modified
200 ■■■■■ changed files
opends/resource/admin/admin.xsd 13 ●●●●● diff | view | raw | blame | history
opends/resource/admin/metaMO.xsl 55 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/ConnectionHandlerConfiguration.xml 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/PropertyOption.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/client/PropertySet.java 5 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ToolMessages.java 37 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/GetPropSubCommandHandler.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java 22 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandler.java 52 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/messages.properties 1 ●●●● diff | view | raw | blame | history