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

matthew_swift
19.31.2007 38afdba5a37f3a89ca59c8dca9376919fbb41ce5
refs
author matthew_swift <matthew_swift@localhost>
Wednesday, September 19, 2007 02:31 +0200
committer matthew_swift <matthew_swift@localhost>
Wednesday, September 19, 2007 02:31 +0200
commit38afdba5a37f3a89ca59c8dca9376919fbb41ce5
tree f4dd35736426f3a266a84609a3ba8de70ea6153e tree | zip | gz
parent d69cfd5c912a474c506167926990b6dbcaa7d42c view | diff
More changes relating to issue 1449: aggregation support.

This change adds some niceness to dsconfig so that it will ask users if they want to enable a referenced component which is currently disabled. If the user says yes, dsconfig will enable the referenced component and commit the change. If this fails (e.g. the current state of the component means that it cannot be enabled), the user is given the opportunity to edit the properties of the component in order to fix the problems. Users a free to cancel out at any moment.

As part of this change I also refactored some of the error handling. One advantage of this is that if a problem occurs while using dsconfig non-interactively, more helpful messages will be displayed in certain situations. For example, if there are missing mandatory properties, a table is displayed showing the mandatory properties and their syntax.
11 files modified
1193 ■■■■ changed files
opendj-sdk/opends/src/messages/messages/dsconfig.properties 17 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/MissingMandatoryPropertiesException.java 46 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/OperationRejectedException.java 81 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPDriver.java 9 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagedObject.java 30 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/AbstractManagedObject.java 12 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/Driver.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/ArgumentExceptionFactory.java 178 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/CreateSubCommandHandler.java 380 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/DSConfig.java 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java 385 ●●●● diff | view | raw | blame | history