------------------------------------------------------------------------ r2551 | smaguin | 2007-08-03 01:39:19 -0700 (Fri, 03 Aug 2007) | 3 lines use dsconfig to configure SSL and TLS ------------------------------------------------------------------------ r2552 | smaguin | 2007-08-03 01:50:23 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configre SSL ------------------------------------------------------------------------ r2553 | smaguin | 2007-08-03 01:51:48 -0700 (Fri, 03 Aug 2007) | 2 lines activate all security testsuites ------------------------------------------------------------------------ r2554 | smaguin | 2007-08-03 01:55:14 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2555 | smaguin | 2007-08-03 01:56:50 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2556 | smaguin | 2007-08-03 01:58:50 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2557 | smaguin | 2007-08-03 02:01:25 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2558 | smaguin | 2007-08-03 02:04:50 -0700 (Fri, 03 Aug 2007) | 3 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2559 | smaguin | 2007-08-03 02:06:18 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2560 | smaguin | 2007-08-03 02:16:57 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2561 | smaguin | 2007-08-03 02:20:22 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2562 | smaguin | 2007-08-03 02:21:25 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2563 | smaguin | 2007-08-03 02:23:15 -0700 (Fri, 03 Aug 2007) | 2 lines use dsconfig to configure ssl ------------------------------------------------------------------------ r2564 | smaguin | 2007-08-03 02:39:59 -0700 (Fri, 03 Aug 2007) | 2 lines don't use ldaps_port.ldif to confdigure LDAPS connection handler ------------------------------------------------------------------------ r2565 | smaguin | 2007-08-03 02:40:47 -0700 (Fri, 03 Aug 2007) | 2 lines ldaps_port.ldif is no more used ------------------------------------------------------------------------ r2566 | neil_a_wilson | 2007-08-03 08:31:30 -0700 (Fri, 03 Aug 2007) | 7 lines Update the build script so that the server can use up to 192MB of memory when compiling, generating javadoc, running unit tests, etc. Also, update the configuration used for running the unit tests so that all JE backends other than userRoot will only use up to 2% each of the JVM memory for caching rather than up to 10%. ------------------------------------------------------------------------ r2567 | neil_a_wilson | 2007-08-03 11:29:06 -0700 (Fri, 03 Aug 2007) | 3 lines Update the global ACI that indicates which controls will be allowed by default to allow anyone to request the password policy control. ------------------------------------------------------------------------ r2568 | ugaston | 2007-08-04 09:13:42 -0700 (Sat, 04 Aug 2007) | 1 line New replication test suites + a few fixes in existing functions ------------------------------------------------------------------------ r2569 | neil_a_wilson | 2007-08-04 15:25:50 -0700 (Sat, 04 Aug 2007) | 7 lines Update the "Who Am I?" extended operation handler so that it supports the use of the proxied authorization control (versions 1 and 2). Also, add test cases that cover the use of the proxied auth control and an alternate authorization identity from a SASL bind. OpenDS Issue Number: 2061 ------------------------------------------------------------------------ r2570 | jvergara | 2007-08-05 04:19:47 -0700 (Sun, 05 Aug 2007) | 8 lines Fix for issue 2059. Mark the panels as non opaque to avoid having the white box in certain windows environments. Instead of simulating a click on the OK button when the user accepts the certificate, directly call the method invoked when the button is clicked. This avoids having issues with focus, that actually make the button click to be ignored. Use hexadecimal representation of the certificate instead of the address of the byte array. ------------------------------------------------------------------------ r2571 | jvergara | 2007-08-05 04:24:44 -0700 (Sun, 05 Aug 2007) | 2 lines Use a JEditorPanel instead of a label for the signature widget so that the text is wrapped. ------------------------------------------------------------------------ r2572 | tdj_tx | 2007-08-06 08:45:55 -0700 (Mon, 06 Aug 2007) | 3 lines removed the default backend, also added parsing for branches, attributes, and filters. for example, you can specify multiple include branches 'dsIncludeBranch' : ['dc=com','dc=example,dc=com'] ------------------------------------------------------------------------ r2573 | tdj_tx | 2007-08-06 08:52:46 -0700 (Mon, 06 Aug 2007) | 4 lines added the default backend where needed, added a test "Fractional Include Branch with backend ID". The behavior now is to allow include branch with and without a backend id. Also replaced importLdif with importLdifWithScript when using multiple branches, attributes, and filters. ------------------------------------------------------------------------ r2575 | neil_a_wilson | 2007-08-06 11:13:25 -0700 (Mon, 06 Aug 2007) | 3 lines Implement a TestCaseUtils.dsconfig method that provides a more convenient mechanism for making configuration changes within the unit test framework. ------------------------------------------------------------------------ r2576 | tdj_tx | 2007-08-06 14:20:28 -0700 (Mon, 06 Aug 2007) | 2 lines Needed for the command line utilities tests ------------------------------------------------------------------------ r2577 | tdj_tx | 2007-08-06 14:41:27 -0700 (Mon, 06 Aug 2007) | 2 lines Added command line utilities tests ------------------------------------------------------------------------ r2578 | tdj_tx | 2007-08-06 14:43:05 -0700 (Mon, 06 Aug 2007) | 2 lines Added clu, command line utilities, tests ------------------------------------------------------------------------ r2579 | tdj_tx | 2007-08-06 16:56:35 -0700 (Mon, 06 Aug 2007) | 2 lines did not need ------------------------------------------------------------------------ r2580 | matthew_swift | 2007-08-07 03:12:54 -0700 (Tue, 07 Aug 2007) | 1 line Fix minor bug in error message. ------------------------------------------------------------------------ r2581 | matthew_swift | 2007-08-07 03:14:23 -0700 (Tue, 07 Aug 2007) | 2 lines Fix the debug log publisher relation with debug targets to use a naming property and mark the naming property (debug-scope) as read-only. Also fix some minor typos in the descriptions. ------------------------------------------------------------------------ r2582 | jvergara | 2007-08-07 06:19:44 -0700 (Tue, 07 Aug 2007) | 2 lines Fix a bug that generated a NullPointerException in the merged version of the upgrader and the installer (which is not yet public). ------------------------------------------------------------------------ r2583 | jvergara | 2007-08-07 07:51:37 -0700 (Tue, 07 Aug 2007) | 2 lines Update the svn:eol-style property on these files. ------------------------------------------------------------------------ r2584 | neil_a_wilson | 2007-08-07 14:45:40 -0700 (Tue, 07 Aug 2007) | 14 lines Add support for a new type of plugin which can be used to detect changes and take some action whenever a subordinate entry is modified as a result of a modify DN operation that targets an entry that has one or more children (i.e., a subtree move or subtree rename operation). At present, subordinate modify DN plugins are not allowed to change the contents of the entry as it is being moved/renamed, but an appropriate API is in place if we decide to add this functionality in the future. This commit also includes a significant amount of cleanup for plugin result code, including corrections to copy-and-paste errors in the javadoc documentation. OpenDS Issue Number: 752 ------------------------------------------------------------------------ r2585 | neil_a_wilson | 2007-08-07 14:49:45 -0700 (Tue, 07 Aug 2007) | 3 lines Fix a bug in the TestCaseUtils.startServer() method in which we don't properly close a file after we're done reading it. ------------------------------------------------------------------------ r2586 | jvergara | 2007-08-07 15:32:50 -0700 (Tue, 07 Aug 2007) | 10 lines The following modifications have the following goals: 1. Provide a fix for the GUI part of issue 1894 (consider replication in uninstall). Basically the graphical uninstall checks whether there is an ADS defined and if the server is configured for replication and asks the users whether (s)he wants to remove the references to the server that is being uninstalled. 2. Fix some minor issues that appear in the merged version of the installer and upgrader. 3. Update the build so that statuspanel.jar disappears. The idea is to minimize the number of jars that we have. This is a requirement coming from customers and approved by Neil in a conversation we had a while ago. 4. Minimize the number of classes that go to quicksetup.jar so that its size is the minimal possible and we reduce the download time when launching the WebStart based tools. This has been done by moving the uninstaller tool to OpenDS.jar (with the status tools). ------------------------------------------------------------------------ r2587 | jvergara | 2007-08-07 15:52:45 -0700 (Tue, 07 Aug 2007) | 15 lines Add missing files to my previous commit: The following modifications have the following goals: 1. Provide a fix for the GUI part of issue 1894 (consider replication in uninstall). Basically the graphical uninstall checks whether there is an ADS defined and if the server is configured for replication and asks the users whether (s)he wants to remove the references to the server that is being uninstalled. 2. Fix some minor issues that appear in the merged version of the installer and upgrader. 3. Update the build so that statuspanel.jar disappears. The idea is to minimize the number of jars that we have. This is a requirement coming from customers and approved by Neil in a conversation we had a while ago. 4. Minimize the number of classes that go to quicksetup.jar so that its size is the minimal possible and we reduce the download time when launching the WebStart based tools. This has been done by moving the uninstaller tool to OpenDS.jar (with the status tools). ------------------------------------------------------------------------ r2588 | jvergara | 2007-08-07 16:02:21 -0700 (Tue, 07 Aug 2007) | 2 lines Add some more missing files. ------------------------------------------------------------------------ r2589 | neil_a_wilson | 2007-08-07 16:28:33 -0700 (Tue, 07 Aug 2007) | 3 lines Fix a number of copy-and-paste errors in the javadoc for the virtual static group implementation. ------------------------------------------------------------------------ r2590 | jdemendi | 2007-08-08 02:57:42 -0700 (Wed, 08 Aug 2007) | 7 lines This set of changes add ID to identify network groups, workflows and workflow elements. These identifiers pave the way for the network group and workflow configuration. A workflow that is registered with a network group must have an identifier that is not already registered with the network group. To deregister a workflow one has to provide either a workflow base DN or a workflow identifier. The former method is used when a backend is deregistered with the server while the later may be used when applying workflow configuration changes. The unit-tests are updated accordingly. ------------------------------------------------------------------------ r2591 | al_xipe | 2007-08-08 06:18:54 -0700 (Wed, 08 Aug 2007) | 1 line first commit towards the support of the new report format and the integration of the code coverage for the functional tests ------------------------------------------------------------------------ r2592 | kenneth_suter | 2007-08-08 07:32:21 -0700 (Wed, 08 Aug 2007) | 1 line corrected duplicate ordinal values and argument replacement types ------------------------------------------------------------------------ r2593 | smaguin | 2007-08-08 07:51:56 -0700 (Wed, 08 Aug 2007) | 2 lines in dsconfig function, replace parameters name ------------------------------------------------------------------------ r2594 | neil_a_wilson | 2007-08-08 11:19:31 -0700 (Wed, 08 Aug 2007) | 7 lines Make a change to the Group API that will allow for better nesting support. There are now variants of the isMember methods that include an additional Set argument to which the current group's DN should be added whenever a check is made to determine whether a user is a member. This will help provide a mechanism for avoiding infinite recursion loops if two groups both reference each other as nested groups. ------------------------------------------------------------------------ r2595 | dugan | 2007-08-08 11:19:48 -0700 (Wed, 08 Aug 2007) | 1 line Add the authorization identity request control OID to the list of anonymous controls allowed in the global ACI s. ------------------------------------------------------------------------ r2596 | mkeyes | 2007-08-08 12:27:53 -0700 (Wed, 08 Aug 2007) | 2 lines Converted functional tests for password validators to use dsconfig. Added more test cases to verify six more features. ------------------------------------------------------------------------ r2597 | jvergara | 2007-08-09 01:09:41 -0700 (Thu, 09 Aug 2007) | 4 lines Fix for issue 1857 (Uninstall silent option works as interactive option). The following modifications add a new option 'interactive' to the uninstall command line. The way interactive and silent work now in the uninstall command line is similar to the way the work for the upgrader. ------------------------------------------------------------------------ r2598 | smaguin | 2007-08-09 03:12:56 -0700 (Thu, 09 Aug 2007) | 2 lines add SUCCESS and ERROR keyword in output file ------------------------------------------------------------------------ r2599 | davidely | 2007-08-09 07:32:33 -0700 (Thu, 09 Aug 2007) | 1 line Replacing tabs with spaces in build.xml ------------------------------------------------------------------------ r2600 | davidely | 2007-08-09 10:01:37 -0700 (Thu, 09 Aug 2007) | 1 line Adding weave back as a dependency of the testinit target, which was accidentally checked in ------------------------------------------------------------------------ r2601 | neil_a_wilson | 2007-08-09 10:42:31 -0700 (Thu, 09 Aug 2007) | 8 lines Implement support for an identity mapper that can use regular expressions to transform the provided ID string before searching for the appropriate matching user in the server. This makes it possible, for example, to strip the realm portion of a Kerberos V principal to obtain just the username before searching for entries containing a uid attribute with that value. OpenDS Issue Number: 2087 ------------------------------------------------------------------------ r2602 | boli | 2007-08-09 12:57:53 -0700 (Thu, 09 Aug 2007) | 1 line Fix for issue 2066. Changed constants to use the small case and dash format from the admin framework. ------------------------------------------------------------------------ r2603 | jvergara | 2007-08-09 15:58:02 -0700 (Thu, 09 Aug 2007) | 2 lines Create a superclass of DsFrameworkCliParser so that command lines that do not have subcommands can use all the logic to parse the arguments associated with certificate management and to generate ApplicationTrustManager objects. ------------------------------------------------------------------------ r2604 | smaguin | 2007-08-10 01:29:44 -0700 (Fri, 10 Aug 2007) | 2 lines add dsconfigGet function ------------------------------------------------------------------------ r2606 | al_xipe | 2007-08-10 08:54:03 -0700 (Fri, 10 Aug 2007) | 1 line added a missing testCase_Preamble and indented the xml correctly ------------------------------------------------------------------------ r2608 | mkeyes | 2007-08-10 13:56:27 -0700 (Fri, 10 Aug 2007) | 2 lines Fixed test case names and log messages so that they are consistent with best practices. ------------------------------------------------------------------------ r2609 | matthew_swift | 2007-08-11 09:34:37 -0700 (Sat, 11 Aug 2007) | 5 lines Fix issues 1996 and 1998. The previous fix in revision 2434 only catered for managed objects being created, not existing managed objects. Also modify the ManagedObjectPath class to reject empty path names with an IllegalArgumentException. This will cause errors like this to be trapped earlier and fail predictably. ------------------------------------------------------------------------ r2610 | al_xipe | 2007-08-12 19:19:20 -0700 (Sun, 12 Aug 2007) | 1 line this commit includes some code refactoring but mainly code to support emma in the functional tests and the new XSL sheet for dynamic report drill down ------------------------------------------------------------------------ r2611 | dugan | 2007-08-13 04:57:26 -0700 (Mon, 13 Aug 2007) | 3 lines Add support for nested static groups and nesting of a dynamic groups in a static group. This implementation does not use a different attribute to define a nested group. Issue 423 ------------------------------------------------------------------------ r2612 | neil_a_wilson | 2007-08-13 07:48:19 -0700 (Mon, 13 Aug 2007) | 11 lines Provide a new org.opends.server.util.EmbeddedUtils class that can be used to simplify the process of running the server as an embedded application. There are methods to start, stop, and restart the server, as well as to determine whether the server is running. Also, provide a new org.opends.server.types.DirectoryEnvironmentConfig class that can be used to define a number of "environment" properties that provide information about the way in which the server should run. The TestCaseUtils.startServer method has been updated to make use of the new EmbeddedUtils functionality. ------------------------------------------------------------------------ r2613 | neil_a_wilson | 2007-08-13 08:15:45 -0700 (Mon, 13 Aug 2007) | 21 lines Add a new @PublicAPI annotation type that can be used later to mark OpenDS packages, classes, and methods to indicate what part (if any) they play in the OpenDS public API. This annotation type can be useful for documentation purposes, for helping to verify whether third-party code is using appropriate interfaces, and ensuring that what we declare as our public API does not change in an inappropriate way between releases. This commit also introduces a new StabilityLevel enumeration that can be used to indicate the likelihood that the associated code will change in an incompatible manner in the future. Comments in the @PublicAPI annotation type and the StabilityLevel enum should adequately describe their purpose and intended use. At the present time, none of the OpenDS code uses them, but we will add the @PublicAPI annotation to OpenDS code where appropriate before the 1.0 release in order to help define what is included in our public API. Note that checkstyle analysis is currently disabled for this annotation type because of an apparent checkstyle limitation that does not support the use of Javadoc comments in methods used to define annotation type properties. ------------------------------------------------------------------------ r2614 | neil_a_wilson | 2007-08-13 09:11:08 -0700 (Mon, 13 Aug 2007) | 9 lines Update the DIGEST-MD5 processing code to properly degrade to an initial authentication whenever a client requests subsequent authentication. The current implementation does not support subsequent authentication (which is an optional part of the spec), but we were previously incorrectly rejecting attempts to use it when instead we should have treated it as a completely new DIGEST-MD5 session. OpenDS Issue Number: 2098 ------------------------------------------------------------------------ r2615 | al_xipe | 2007-08-13 11:20:51 -0700 (Mon, 13 Aug 2007) | 1 line some code cleaning and a fix for security test suite ------------------------------------------------------------------------ r2616 | al_xipe | 2007-08-13 12:41:27 -0700 (Mon, 13 Aug 2007) | 1 line adding the XSL style sheet to generate the new report ------------------------------------------------------------------------ r2617 | al_xipe | 2007-08-13 14:19:09 -0700 (Mon, 13 Aug 2007) | 1 line Added convenience target opends. This is especially useful for the automated functional tests on windows platforms that do not allow hudson multiple ant calls ------------------------------------------------------------------------ r2618 | neil_a_wilson | 2007-08-13 14:34:00 -0700 (Mon, 13 Aug 2007) | 4 lines Update a number of password policy test cases so that configuration changes for those tests are made with dsconfig rather than ldapmodify. Also, update and re-enable a password history test that had previously caused sporadic failures. ------------------------------------------------------------------------ r2619 | neil_a_wilson | 2007-08-13 15:50:41 -0700 (Mon, 13 Aug 2007) | 9 lines Implement support for the "list" tag for use with MakeLDIF. This was the last major tag type that was supported by the SLAMD variant of MakeLDIF that was not available with the OpenDS version. Unfortunately, the OpenDS version is not able to use exactly the same syntax as the SLAMD version, but the OpenDS version has all of the same functionality and its syntax is actually more consistent with that used by other tags than the SLAMD version. OpenDS Issue Number: 588 ------------------------------------------------------------------------ r2620 | neil_a_wilson | 2007-08-13 17:48:04 -0700 (Mon, 13 Aug 2007) | 3 lines Add some missing package-info.java files, and add a unit test to ensure that these files are properly created from now on. ------------------------------------------------------------------------ r2621 | al_xipe | 2007-08-13 20:49:33 -0700 (Mon, 13 Aug 2007) | 1 line fix for tests launching multiple commands in parallel: block names must be unique. ------------------------------------------------------------------------ r2622 | al_xipe | 2007-08-14 05:47:29 -0700 (Tue, 14 Aug 2007) | 2 lines 1. strip the lien breaks out of the ldapsearch return string 2. make the logs more readable ------------------------------------------------------------------------ r2623 | al_xipe | 2007-08-14 05:52:29 -0700 (Tue, 14 Aug 2007) | 1 line generate block name with neither the command full path nor the command file extension to avoid STAXMonitor issues in the graphical representation. ------------------------------------------------------------------------ r2624 | dugan | 2007-08-14 09:32:26 -0700 (Tue, 14 Aug 2007) | 1 line Add ACI unit test for nested static groups. ------------------------------------------------------------------------ r2625 | al_xipe | 2007-08-14 10:39:14 -0700 (Tue, 14 Aug 2007) | 1 line fix for xml log parser ------------------------------------------------------------------------ r2626 | mkeyes | 2007-08-14 12:42:53 -0700 (Tue, 14 Aug 2007) | 2 lines Uncommenting the aci test suites. ------------------------------------------------------------------------ r2627 | al_xipe | 2007-08-14 13:40:12 -0700 (Tue, 14 Aug 2007) | 1 line fix for invalid testcase declaration ------------------------------------------------------------------------ r2628 | al_xipe | 2007-08-14 13:44:32 -0700 (Tue, 14 Aug 2007) | 1 line fix for invalid testcase declaration ------------------------------------------------------------------------ r2629 | tdj_tx | 2007-08-14 14:34:29 -0700 (Tue, 14 Aug 2007) | 2 lines Changed unlimited sizelimit from -1 to 0 ------------------------------------------------------------------------ r2630 | tdj_tx | 2007-08-14 14:39:24 -0700 (Tue, 14 Aug 2007) | 2 lines updated to use dsconfig ------------------------------------------------------------------------ r2631 | al_xipe | 2007-08-14 14:39:55 -0700 (Tue, 14 Aug 2007) | 1 line fix for invalid testcase declaration ------------------------------------------------------------------------ r2632 | tdj_tx | 2007-08-14 14:40:57 -0700 (Tue, 14 Aug 2007) | 2 lines updated to use dsconfig ------------------------------------------------------------------------ r2633 | tdj_tx | 2007-08-14 14:41:34 -0700 (Tue, 14 Aug 2007) | 2 lines updated to use dsconfig ------------------------------------------------------------------------ r2634 | al_xipe | 2007-08-14 14:42:43 -0700 (Tue, 14 Aug 2007) | 1 line fix for invalid testcase declaration ------------------------------------------------------------------------ r2635 | tdj_tx | 2007-08-14 14:42:56 -0700 (Tue, 14 Aug 2007) | 2 lines updated to use dsconfig ------------------------------------------------------------------------ r2636 | al_xipe | 2007-08-14 20:47:14 -0700 (Tue, 14 Aug 2007) | 1 line more fixes and refactoring for the backends suite. Some additional error checking in runCommand and some clean up in dsconfig.xml ------------------------------------------------------------------------ r2637 | mkeyes | 2007-08-15 10:06:18 -0700 (Wed, 15 Aug 2007) | 4 lines As a prelude to the cleanup of many test cases that call searchStringForSubstring xml function, the following commit is made. Now there is a default value for expectedResult parameter that allows the old behavior to work until the code can be refactored. New calls to this function should include the parameter, expectedResult, with eith a 0 (false or 1 (true) value. ------------------------------------------------------------------------ r2638 | mkeyes | 2007-08-15 10:10:15 -0700 (Wed, 15 Aug 2007) | 2 lines Adding functional tests that test the behavior of the list-xxx-yyy subcommand for dsconfig. ------------------------------------------------------------------------ r2639 | mkeyes | 2007-08-15 11:56:24 -0700 (Wed, 15 Aug 2007) | 2 lines Refactored functional test cases to reflect best practices with the searchStringForSubstring function call. ------------------------------------------------------------------------ r2640 | arnaud_lacour | 2007-08-15 14:01:41 -0700 (Wed, 15 Aug 2007) | 2 lines 1. refactored core test suite 2. added getTestCaseName function to return a well-formed name ------------------------------------------------------------------------ r2641 | kenneth_suter | 2007-08-15 14:34:53 -0700 (Wed, 15 Aug 2007) | 50 lines This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time. In general this commit converts any string values that might potentially be shown to an end user (client or administrator) to a new class called Message. This includes exception messages, error log messages, alert and email text, labels, and CLI output. Message's main interface includes methods for rendering itself as a string in the default locale using toString() or a specified locale toString(Locale). In addition to addressing localization, this would allow us to potentially support controls allowing clients to set a preferred locale for server communication or output log messages in different languages. Message extends CharSequence so it can be used in some places where strings are currently used with not code change (e.g. writing to a buffer) as well as allowing messages to be composed of one another. In order to create localized messages, instead of adding them to the *Messages.java class, you define them in the corresponding properties files. In general the property file keys are used to derive the new messages severity, category, and ordinal. There are directives that can be used in the properties file in order to avoid doing this however. For instance all the properties files used internally include the 'global.category' directive at the top of the file that instructs the generator to make all the following message belong to a single category. So for internal messages the property value key will be as follows: [SEVERITY]_[DESCRIPTION]_[ORDINAL] See the properties files themselves for more information. Once your messages are in the properties file you can use the ant target 'generatemessages' to create create MessageDescriptor objects that are referred to in the Java code. In the code you might think of these objects as replacing the int-valued message IDs. To create messages you call MessageDescriptor.get() which replaces MessageHandler.getMessage(). It might be helpful then to try to define your messages before referring to them in your code since until you run 'generatemessages' you won't have any Java-code with with to create your message objects. In order to support non-localizable text in messages (host names, DN's, etc.) Message's can be created from String values by calling Message.raw(String). In this way it is also possible to circumvent the intention of changing the APIs to use Message objects instead of Strings which is to support writing of localizable messages. This method is currently used in the code as a crutch for areas of the code that need internationalization (tagged with a 'TODO: i18n' comment). It might also be used by 3rd party developers that don't intend to localize their products. However for internal use we should not be using this method to create Messages for text that is locale sensitive. Additionally this code includes a MessageBuilder that can be used in much the same way that a StringBuilder can be used. It has a method toMessage() that can be used to generate a message object when needed. At this time this method just converts the buffer contents to a raw, unlocalizable message so this will need to addressed in the future. Some other issues: - While all of the unit tests pass after this commit, there may be issues in the code where we have no or minimal test coverage. This includes much of the setup and GUI tools packages for which I have not done any testing but will begin after this commit. - The new message related Java sources are contained in package org.opends.messages and organized in a new module src/module modeled somewhat after the admin module: src/messages/src (non-generated Java source files) src/messages/generated (generated source files) src/messages/messages (properties files for messages) If you run the code from within your IDE you will have to mark all messages/src, messages/generated and messages as source directories. - To generated the MessageDescriptor files you invoke the 'generatemessages' target. - If you run the code from within your IDE you will probably ne - This commit would change the plugin API. Here are the changes caught by DirectoryServerPluginTestCase: doShutdown(String)->doShutdown(Message) doPostDisconnect(PostDisconnectPluginResult,ClientConnection,DisconnectReason,int,String) -> doPostDisconnect(PostDisconnectPluginResult,ClientConnection,DisconnectReason,Message); - This commit aligns the entire code-base behind the new Formatter class (printf style formattings like %s) as opposed to the older MessageFormat style (using curly braces for message arguments). This allows us to provide more type safety for message arguments. So for instance you can include a %c argument specifier in your format string and the MessageDescriptor will enforce specification of a Character as message creation time. - Not all of the config framework has not been converted to use Messages. Perhaps as some point we might have a 'message' syntax for locale-sensitive textural data. I'm sure Matt will have ideas about this. - In addition to Message, MessageDescriptor and MessageBuilder, the org.opends.server.message package includes enums for Category and Severity that replace the definitions formerly found in MessageHandler. - The interface for the ErrorLogger has been simplified to allow logging of messages using a single Message parameter. The severity and category of the message will be derived from the Message itself instead of specified as arguments when a message is logged. - I will provide more documentation about this plumbing on the Wiki shortly. - I will expand on the included tests soon. ------------------------------------------------------------------------ r2642 | kenneth_suter | 2007-08-15 14:45:49 -0700 (Wed, 15 Aug 2007) | 1 line fixed eol-style property ------------------------------------------------------------------------ r2643 | davidely | 2007-08-15 15:28:20 -0700 (Wed, 15 Aug 2007) | 1 line Small fixes to have the message generation stuff work on Windows ------------------------------------------------------------------------ r2644 | davidely | 2007-08-15 15:48:11 -0700 (Wed, 15 Aug 2007) | 1 line Removed ambiguity between two Messages.raw methods to make certain IDEs happy by reodering the parameters of one of the methods ------------------------------------------------------------------------ r2645 | jvergara | 2007-08-15 15:59:05 -0700 (Wed, 15 Aug 2007) | 2 lines Launch the method backgroundTaskCompleted in the event thread. This way we avoid having locking problems and the reactivity of the Graphical interfaces using this classes improves a lot. ------------------------------------------------------------------------ r2646 | davidely | 2007-08-15 16:01:18 -0700 (Wed, 15 Aug 2007) | 1 line Moved two message test classes to the correct directory for their package ------------------------------------------------------------------------ r2647 | neil_a_wilson | 2007-08-15 16:37:28 -0700 (Wed, 15 Aug 2007) | 5 lines Update the javadoc for the ADSContextException.getReason() method because it had previously used {@inheritDoc} but after recent message changes now no longer inherits from any parent class and was therefore generating a javadoc warning. ------------------------------------------------------------------------ r2648 | neil_a_wilson | 2007-08-15 16:39:47 -0700 (Wed, 15 Aug 2007) | 2 lines Correct a number of spelling errors identified in the message files. ------------------------------------------------------------------------ r2649 | neil_a_wilson | 2007-08-15 17:22:53 -0700 (Wed, 15 Aug 2007) | 5 lines Make a change to remove additional ambiguity among Messages.raw methods. The version with arguments (Object, Object...) has been renamed to fromObject, as it may have been seen as a conflict with one or more other raw methods. There was only a single existing use of the renamed method, and it has been updated. ------------------------------------------------------------------------ r2650 | neil_a_wilson | 2007-08-15 17:36:48 -0700 (Wed, 15 Aug 2007) | 30 lines Update package-info.java files to include the @PublicAPI annotation to indicate whether any or all of the classes in that package are intended to be part of the public API. Further, mark all classes that we intend to be part of the public API with the @PublicAPI annotation to indicate the ways in which they may be used. Note that the use of these annotations and the ultimate determination as to what is in our public API and the ways in which those elements may be used still needs to be carefully reviewed before the 1.0 release. Also, perform minor cleanup in various places througout the code. This includes: - Eliminate the use of protected fields in classes that are in the org.opends.server.api package (and the classes that extend them). The use of protected fields can be troublesome, and there are generally better ways to accomplish the same thing. - Eliminate the use of the {@inheritDoc} Javadoc tag in classes that are intended to be part of the public API. Some IDEs don't resolve {@inheritDoc} to show the actual documentation. Further, there were problems in the way that some instances of {@inheritDoc} were used, namely having a method sourced from multiple parents, and in some cases {@inheritDoc} was used to refer to code defined outside of the OpenDS codebase, which will not be properly handled by the javadoc utility. - Update a number of public API classes to mark them as final if we do not intend for them to be overridden. Further, for some classes that cannot be marked final, mark some methods final if we do not intend for those methods to be overridden. ------------------------------------------------------------------------ r2651 | kenneth_suter | 2007-08-15 20:29:27 -0700 (Wed, 15 Aug 2007) | 1 line Fix for broken message generation on Windows ------------------------------------------------------------------------ r2652 | kenneth_suter | 2007-08-16 07:57:26 -0700 (Thu, 16 Aug 2007) | 1 line changed method of finding workspace base dir ------------------------------------------------------------------------ r2653 | kenneth_suter | 2007-08-16 09:59:28 -0700 (Thu, 16 Aug 2007) | 1 line added message source directories to rebuild target compilation (issue 2108) ------------------------------------------------------------------------ r2654 | mkeyes | 2007-08-16 10:32:27 -0700 (Thu, 16 Aug 2007) | 3 lines Fixed test suite to account for the code changes in revision 2535. Added some test cases to verify Issue 2032. ------------------------------------------------------------------------ r2655 | arnaud_lacour | 2007-08-16 10:45:29 -0700 (Thu, 16 Aug 2007) | 1 line Added dsconfig suite ------------------------------------------------------------------------ r2656 | kenneth_suter | 2007-08-16 10:56:25 -0700 (Thu, 16 Aug 2007) | 6 lines This addresses a few errors related to the messaging framework: - Fixes an error introduced in with Application.ErrorPrintStream no longer overrode println(String) as was causing a stack overflow. - Fixes a problem with Message in which raw format strings were run through the formatter with illegal argument specifiers which would throw an exception. ------------------------------------------------------------------------ r2657 | kenneth_suter | 2007-08-16 13:18:39 -0700 (Thu, 16 Aug 2007) | 1 line fixed another stream almost identical to the previously problematic one ------------------------------------------------------------------------ r2658 | kenneth_suter | 2007-08-16 13:56:31 -0700 (Thu, 16 Aug 2007) | 4 lines This commit gets the QuickSetup installer working again by specifying the server root during the directory configuration. This is addressed by adding a hidden arg to ConfigureDS for the server root that the installer uses for the specification of the directory. This also fixes SchemaConfigManager so that it doesn' throw an NPE if the server root happens to not be specified and the schema directory cannot be determined. ------------------------------------------------------------------------ r2659 | neil_a_wilson | 2007-08-16 14:31:57 -0700 (Thu, 16 Aug 2007) | 7 lines Fix a problem in the network group design that prevented the server from restarting correctly when performing an in-core restart. Also, eliminate a potential null pointer exception if an admin alert was generated early in the server startup process. OpenDS Issue Number: 1518 ------------------------------------------------------------------------ r2660 | neil_a_wilson | 2007-08-16 14:37:56 -0700 (Thu, 16 Aug 2007) | 5 lines Add a new convenience constructor for the InternalClientConnection class that allows you to create a new internal client connection authenticated as a given user by providing only that user's DN (as opposed to having to create an AuthenticationInfo object for the user in order to use the other constructor). ------------------------------------------------------------------------ r2661 | mkeyes | 2007-08-16 15:02:24 -0700 (Thu, 16 Aug 2007) | 2 lines Fixed a situation where on slow machines, OpenDS does not completely stop before it is suppsoed to start again. In this situation, when OpenDS tries to start, an error arises that the port is not available. ------------------------------------------------------------------------ r2662 | kenneth_suter | 2007-08-16 16:16:27 -0700 (Thu, 16 Aug 2007) | 1 line fixes broken launch status panel button ------------------------------------------------------------------------ r2663 | neil_a_wilson | 2007-08-16 16:27:24 -0700 (Thu, 16 Aug 2007) | 3 lines Disable the DependencyTest.addDelAddDependencyTest() test case because it is causing frequent failures. Issue #2111 has been opened to track this. ------------------------------------------------------------------------ r2664 | neil_a_wilson | 2007-08-16 17:24:18 -0700 (Thu, 16 Aug 2007) | 12 lines Provide a new EmbeddedUtils.initializeForClientUse() method that can be used to initialize the proper internal structures so that OpenDS code can be more easily used for client-side applications that could benefit from the code but don't want or need to be running in the same JVM as the server. Also, update the DirectoryServer.bootstrapClient() method (which is what EmbeddedUtils.initializeForClientUse() uses behind the scenes) can be called multiple times on the same server instance without interfering with any previous initialization that might have been done. In short, it will ensure that this initialization occurs no more than once during the life of the DirectoryServer object instance. ------------------------------------------------------------------------ r2665 | jvergara | 2007-08-16 17:53:26 -0700 (Thu, 16 Aug 2007) | 12 lines The following modifications have the following goals: 1. Provide a fix for the CLI part of issue 1894 (consider replication in uninstall). The command line now proposes to remove references in remote servers of the server that is being uninstalled. 2. Add options to specify to uninstall only some parts of the server as appears in http://bde.central.sun.com/projects/opendsw/cmdline/commandmatrix.html. 3. Fix some bugs in the messages. 4. The fix of 1894 includes some code to display certificates to the user so that they can be viewed and accepted interactively. 5. Separate the uninstall command-line into two different command lines (uninstall-gui and uninstall) as appears in http://bde.central.sun.com/projects/opendsw/cmdline/commandmatrix.html. ------------------------------------------------------------------------ r2666 | jvergara | 2007-08-16 19:18:45 -0700 (Thu, 16 Aug 2007) | 2 lines Fix for issue 2113. The Listeners Model must return a String as a value for the listener state as it does for the other columns. ------------------------------------------------------------------------ r2667 | jvergara | 2007-08-16 19:41:41 -0700 (Thu, 16 Aug 2007) | 4 lines Fix for issue 2114. The DatabasesTableModel now returns for several values Message objects. Update the DatabaseTableCellRenderer to take this into account. ------------------------------------------------------------------------ r2668 | jvergara | 2007-08-17 03:12:18 -0700 (Fri, 17 Aug 2007) | 2 lines Fix for issues 2099 and 2101 (add package-info.java file for the packages of the ADS and of guitools). ------------------------------------------------------------------------ r2669 | kenneth_suter | 2007-08-17 07:35:22 -0700 (Fri, 17 Aug 2007) | 2 lines Fixed some minor issues that were pointed out in review of the messages commit. This biggest issues here is the reversion of the Validator class to use String based messages instead of the message framework as the class is only used internally. ------------------------------------------------------------------------ r2670 | jvergara | 2007-08-17 07:56:47 -0700 (Fri, 17 Aug 2007) | 2 lines Fix for issue 2114. The fix consists of actually adding some missing classes to quicksetup.jar (OpenDsException) and fix some code to also add the messages properties files. Only QuickSetupMessages are required, so these are the only messages that are being added. ------------------------------------------------------------------------ r2671 | jvergara | 2007-08-17 08:21:38 -0700 (Fri, 17 Aug 2007) | 4 lines Fix a ClassCastException with Message objects in the Security Options dialog of the installer. Fix a bug that made the label of the server location not to appear as invalid when we detected that the installation path was not valid. Fix a bug in UIFactory so that the invalid labels have again a red color. ------------------------------------------------------------------------ r2672 | kenneth_suter | 2007-08-17 09:03:06 -0700 (Fri, 17 Aug 2007) | 1 line enhanced tests for Message ------------------------------------------------------------------------ r2673 | jvergara | 2007-08-17 09:40:55 -0700 (Fri, 17 Aug 2007) | 2 lines Fix for issue 2123. We were calling the wrong launcher in the batch file. ------------------------------------------------------------------------ r2674 | jvergara | 2007-08-17 10:00:58 -0700 (Fri, 17 Aug 2007) | 2 lines Fix for issue 2125. The bug was generated because the DatabaseTableModel now returns Message objects. ------------------------------------------------------------------------ r2675 | jvergara | 2007-08-17 10:03:26 -0700 (Fri, 17 Aug 2007) | 2 lines Fix for bug 2122. The problem came because we were using directly a Message object as an ADSContext.ServerProperty. Use the String representation instead. ------------------------------------------------------------------------ r2676 | mkeyes | 2007-08-17 12:08:29 -0700 (Fri, 17 Aug 2007) | 2 lines Refactored four of the aci test suites to account for the new parameter, expectedResult, in the searchStringForSubstring function. ------------------------------------------------------------------------ r2677 | kenneth_suter | 2007-08-17 12:23:08 -0700 (Fri, 17 Aug 2007) | 11 lines New tests for messaging plumbing to replace old ones: - Format string cannot end with '.' (QUICKSETUP and ADMIN_TOOLS excluded) - Categories cannot span multiple files and files cannot define messages in multiple categories Addional methods for MessageDescriptorRegistry to access descriptors by defining class Corrected some offending format strings Corrected message property file boilerplates and help comments ------------------------------------------------------------------------ r2678 | kenneth_suter | 2007-08-17 14:57:02 -0700 (Fri, 17 Aug 2007) | 4 lines - Restored running of messages tests to precommit target - Fixed broken SeverityTest - Added test to check for duplicate keys in messages properties files ------------------------------------------------------------------------ r2679 | mkeyes | 2007-08-17 15:10:18 -0700 (Fri, 17 Aug 2007) | 2 lines Adding some functional tests using dsconfig with the get-xxx-yyy-prop subcommands ------------------------------------------------------------------------ r2680 | neil_a_wilson | 2007-08-17 22:13:52 -0700 (Fri, 17 Aug 2007) | 3 lines Update a message test case to replace a method call only available in Java 6 with one that will work properly in Java 5. ------------------------------------------------------------------------ r2681 | jvergara | 2007-08-18 08:02:57 -0700 (Sat, 18 Aug 2007) | 4 lines Fix for issue 2127 (Show Exception details in Graphical interfaces is broken). The code was returning the raw version of the Message object that was being passed as parameter instead of the modified String. ------------------------------------------------------------------------ r2682 | jvergara | 2007-08-18 17:07:10 -0700 (Sat, 18 Aug 2007) | 13 lines Fix for issue 2112. A new global property has been added to be able to specify to use a ClassLoader that limits the search of the bundles to the jar containint the Messages class i f we are running WebStart setup/upgrader. This property is only set in the quic ksetup.properties file, so the current behavior is preserved for all the other m essages files. The MessageDescriptor constructors have also been modified and n ow require a ClassLoader as parameter. With this modifications we have a ClassL oader defined in QuickSetupMessages.java that will only be used if we are runnin g QuickSetup. The JnlpProperties have been moved to SetupUtils so that the mess ages classes only depend on classes on the org.opends.server classes that can be compiled independently. ------------------------------------------------------------------------ r2683 | neil_a_wilson | 2007-08-19 15:11:30 -0700 (Sun, 19 Aug 2007) | 4 lines Update the JmxTestCase.setUp() method to ensure that the test backend is always initialized and contains the parent entry, since some JMX test methods assume that to be true. ------------------------------------------------------------------------ r2684 | abobrov | 2007-08-19 16:28:49 -0700 (Sun, 19 Aug 2007) | 4 lines - implement new toVerboseString() method. - fix bugs found by entry cache unit tests. - sanitize backend map maintenance. ------------------------------------------------------------------------ r2685 | abobrov | 2007-08-19 16:48:45 -0700 (Sun, 19 Aug 2007) | 6 lines [Issue 1995] Need unit tests for file system entry cache : These tests provide full unit test coverage for all existing entry cache implementations. Some of the test methods reside in "slow" group so that they are skipped for precommit and alike while all implementation test classes belong to "entrycache" group in order to provide selective entry cache tests scope. ------------------------------------------------------------------------ r2686 | neil_a_wilson | 2007-08-19 22:49:52 -0700 (Sun, 19 Aug 2007) | 2 lines Disable the entry cache unit tests as they are causing the build to fail. ------------------------------------------------------------------------ r2687 | gbellato | 2007-08-20 01:04:16 -0700 (Mon, 20 Aug 2007) | 41 lines These changes rovides the ability to repair the consistency in the replication topology in the (hopefully) rare case when hardware failure or software bugs could break it (issue 788 and 791) There are several parts in this commit : - a new log file called replication was added. It's purpose is to store all the consistency errors detected by the replication with enough information to allow the administrator to repair the problem. This file is configured by default and contain only the replication errors, To achieve the a new log severity keyword "None" has been created so that the associated error log publisher does not print any error not related to replication. (I will update the reference guide after this commit) - a new control (the replication repair control) has been added. When this control is used in a MODIFY, DELETE, ADD or MODDN operation the operation is marked as a non-replicated replication operation. This cause the following : - The operation is allowed to modify attributes that are normally not allowed to be modified or added (NO-USER-MODIFCATION) such as entryuuid and ds-sync-hist To achieve this I add to move those checks from the AddOperationBasis.getObjectClasses() or AddOperationBasis.getUserAttributes() to the LocalBackendWorkflowElement.processAdd() but this has already been reviewed. - no change number is associated to the operation. - the operation is not published to the replication server and is therefore a local only operation. - the replication don't try to solve conflict or generate historical information for this operation. The intended usage of this control is that the administrator will check for errors in the replication log, determine the entries that have inconsistent values and use the control to repair them. I will write some documentation explaining in more details how to do this. - even though this is not related to replication repair I also took advantage of this change to add the multimaster replication synchronization provider in the default configuration. This will make configuration of replication using dsconfig easier because the user will now only need to configure the replication servers and replication domains. ------------------------------------------------------------------------ r2688 | abobrov | 2007-08-20 01:43:33 -0700 (Mon, 20 Aug 2007) | 2 lines - fix IllegalMonitorStateException/UnlockWhenNotOwner bug found by the unit tests. ------------------------------------------------------------------------ r2689 | gary_williams | 2007-08-20 01:58:23 -0700 (Mon, 20 Aug 2007) | 2 lines Explicitly set backend name in replication tests ------------------------------------------------------------------------ r2690 | gary_williams | 2007-08-20 02:32:57 -0700 (Mon, 20 Aug 2007) | 2 lines Ensure replication tests pick up correct xml files ------------------------------------------------------------------------ r2691 | gbellato | 2007-08-20 04:56:27 -0700 (Mon, 20 Aug 2007) | 11 lines fix for 2111 : Investigate DependencyTest.addDelAddDependencyTest() The test was not working as designed. The goal was to test dependecies of ADD/DEL/ADD sequence but the test was trying to create children of entries already deleted, therefore mixing naming conflict resolution with dependency resolution. The test now create and delete independent entries and should work better, I have therefore re-enabled it. No modification was done to the server itself. ------------------------------------------------------------------------ r2692 | smaguin | 2007-08-20 06:34:51 -0700 (Mon, 20 Aug 2007) | 2 lines add function to list folder ------------------------------------------------------------------------ r2693 | smaguin | 2007-08-20 06:37:17 -0700 (Mon, 20 Aug 2007) | 2 lines add funtoin to set the tests status ------------------------------------------------------------------------ r2694 | abobrov | 2007-08-20 06:46:51 -0700 (Mon, 20 Aug 2007) | 5 lines - remove toVerboseString method from the public EntryCache API. - make toVerboseString method private in implementation classes. - make toVerboseString use StringBuilder instead of string concat. - make toVerboseString use ServerConstants.EOL where required. ------------------------------------------------------------------------ r2695 | smaguin | 2007-08-20 06:49:47 -0700 (Mon, 20 Aug 2007) | 2 lines new testsuite on logging ------------------------------------------------------------------------ r2696 | smaguin | 2007-08-20 06:53:19 -0700 (Mon, 20 Aug 2007) | 2 lines lib not used ------------------------------------------------------------------------ r2697 | abobrov | 2007-08-20 06:55:22 -0700 (Mon, 20 Aug 2007) | 6 lines - add common toVerboseString method that reflects private toVerboseString method, if any, in related entry cache implementation. - use ServerConstants.EOL where appropriate. - enable entry cache unit tests again [IllegalMonitorStateException should be resolved in r2688/FileSystemEntryCache.java]. ------------------------------------------------------------------------ r2698 | kenneth_suter | 2007-08-20 07:00:51 -0700 (Mon, 20 Aug 2007) | 1 line made rebuild target depend on generatemessages ------------------------------------------------------------------------ r2699 | smaguin | 2007-08-20 07:34:12 -0700 (Mon, 20 Aug 2007) | 2 lines fix bug ------------------------------------------------------------------------ r2700 | smaguin | 2007-08-20 07:36:46 -0700 (Mon, 20 Aug 2007) | 2 lines Add restartDn function ------------------------------------------------------------------------ r2701 | smaguin | 2007-08-20 08:15:05 -0700 (Mon, 20 Aug 2007) | 2 lines use testPassed and testFailed ------------------------------------------------------------------------ r2702 | smaguin | 2007-08-20 08:15:38 -0700 (Mon, 20 Aug 2007) | 2 lines use testFailed and testPassed ------------------------------------------------------------------------ r2703 | smaguin | 2007-08-20 08:16:35 -0700 (Mon, 20 Aug 2007) | 2 lines rename functioh testPassed and testFailed ------------------------------------------------------------------------ r2704 | mkeyes | 2007-08-20 08:38:34 -0700 (Mon, 20 Aug 2007) | 2 lines The rest of the functional tests for the get subcommand for dsconfig. ------------------------------------------------------------------------ r2705 | smaguin | 2007-08-20 09:08:19 -0700 (Mon, 20 Aug 2007) | 2 lines add logging testsuite ------------------------------------------------------------------------ r2706 | neil_a_wilson | 2007-08-20 09:33:24 -0700 (Mon, 20 Aug 2007) | 11 lines Add a new internal LDAP socket implementation that provides a mechanism which allows third-party LDAP SDKs to be used to perform internal operations within the server. Rather than performing network communication, the custom socket decodes the request written to it, converts it to an internal operation, processes the request, and encodes the response so that it can be read from the socket by the LDAP SDK. This has been tested with both the Mozilla LDAP SDK for Java (which requires a trivial custom LDAPSocketFactory implementation) and JNDI (which requires a custom property to be set). ------------------------------------------------------------------------ r2707 | jvergara | 2007-08-20 09:33:40 -0700 (Mon, 20 Aug 2007) | 2 lines Used the merged version of the installer and the upgrader in the QuickSetup.jnlp file generated by create-webstart-standalone.sh and do no longer generate the QuickUpgrade.jnlp file ------------------------------------------------------------------------ r2708 | gary_williams | 2007-08-20 10:01:58 -0700 (Mon, 20 Aug 2007) | 2 lines runCommand does not always pass location ------------------------------------------------------------------------ r2709 | neil_a_wilson | 2007-08-20 11:16:37 -0700 (Mon, 20 Aug 2007) | 3 lines Eliminate the user of an IOException method signature that was first introduced in Java 6. ------------------------------------------------------------------------ r2710 | mkeyes | 2007-08-20 11:35:29 -0700 (Mon, 20 Aug 2007) | 2 lines Deleted two lines of test code that were breaking the ldapPasswordModifyWithScript function in the functional tests. ------------------------------------------------------------------------ r2711 | kenneth_suter | 2007-08-20 11:39:58 -0700 (Mon, 20 Aug 2007) | 1 line the addition of the new DS environment config means that client tools need to speicfy the server root for DirectoryServer operations (issue 2121) ------------------------------------------------------------------------ r2713 | mkeyes | 2007-08-20 12:26:44 -0700 (Mon, 20 Aug 2007) | 2 lines Adding functional test cases for Similarity-Based password validators. ------------------------------------------------------------------------ r2714 | mkeyes | 2007-08-20 12:34:26 -0700 (Mon, 20 Aug 2007) | 2 lines Similarity-Based passowrd validator functional test cases now call getTestCaseName according to current best practices. ------------------------------------------------------------------------ r2715 | kenneth_suter | 2007-08-20 12:47:03 -0700 (Mon, 20 Aug 2007) | 1 line Fixed test broken under Windows due to EOL issue. ------------------------------------------------------------------------ r2716 | mkeyes | 2007-08-20 12:58:14 -0700 (Mon, 20 Aug 2007) | 2 lines Some housecleaning. ------------------------------------------------------------------------ r2717 | mkeyes | 2007-08-20 14:21:30 -0700 (Mon, 20 Aug 2007) | 2 lines Refactored four more aci test suites to account for the new parameter, expectedResult, in the searchStringForSubstring function. ------------------------------------------------------------------------ r2718 | mkeyes | 2007-08-20 14:29:34 -0700 (Mon, 20 Aug 2007) | 2 lines Cleaned up a couple of test cases based on a fix committed for Issue 1473. ------------------------------------------------------------------------ r2719 | mkeyes | 2007-08-20 15:20:37 -0700 (Mon, 20 Aug 2007) | 2 lines Putting back a file that should not have been modified. ------------------------------------------------------------------------ r2720 | smaguin | 2007-08-21 00:52:09 -0700 (Tue, 21 Aug 2007) | 2 lines add main_logging ------------------------------------------------------------------------ r2721 | dugan | 2007-08-21 06:31:07 -0700 (Tue, 21 Aug 2007) | 38 lines Add attribute uniqueness plugin implementation that provides single-server attribute uniqueness. The plugin has the following features: - provides ability to specify a group of attribute types that must have unique values; if no attribute types are specified then the plugin allows the operations to proceed with no checking - provides ability to specify a set of base DNs that limit the scope of the uniqueness checking; if no base DNs are specified the server's public naming contexts are used - allow changing of these configuration options without server restart - allows the uniqueness checking to span multiple base DNs; if the server's public naming contexts are used, then the specified attribute type values must be globally unique within the server Two configuration attributes have been added: 1. ds-cfg-unique-attribute-type used to specify the unique attribute type(s) 2. ds-cfg-unique-attribute-base-dn used specify the base DN(s) to limit the search scope A disabled plugin configuration has been added to the config.ldif file for the uid attribute: dn: cn=UID Unique Attribute ,cn=Plugins,cn=config objectClass: top objectClass: ds-cfg-plugin objectClass: ds-cfg-unique-attribute-plugin cn: UID Unique Attribute ds-cfg-plugin-class: org.opends.server.plugins.UniqueAttributePlugin ds-cfg-plugin-enabled: false ds-cfg-plugin-type: preOperationAdd ds-cfg-plugin-type: preOperationModify ds-cfg-plugin-type: preOperationModifyDN ds-cfg-unique-attribute-type: uid Issue 258. ------------------------------------------------------------------------ r2722 | matthew_swift | 2007-08-21 07:19:19 -0700 (Tue, 21 Aug 2007) | 2 lines Remove unused message file. ------------------------------------------------------------------------ r2723 | smaguin | 2007-08-21 07:56:57 -0700 (Tue, 21 Aug 2007) | 2 lines replace bad group ------------------------------------------------------------------------ r2724 | gary_williams | 2007-08-21 08:36:56 -0700 (Tue, 21 Aug 2007) | 2 lines runCommand can have non unique block name ------------------------------------------------------------------------ r2725 | dugan | 2007-08-21 09:24:33 -0700 (Tue, 21 Aug 2007) | 1 line Remove method accidently included in commit. ------------------------------------------------------------------------ r2726 | mkeyes | 2007-08-21 10:55:28 -0700 (Tue, 21 Aug 2007) | 2 lines dded functional test cases for CRYPT password storage scheme. ------------------------------------------------------------------------ r2727 | mkeyes | 2007-08-21 11:04:44 -0700 (Tue, 21 Aug 2007) | 2 lines Fixed test case names so the results sof different tests aren't calculated together. ------------------------------------------------------------------------ r2728 | mkeyes | 2007-08-21 11:15:40 -0700 (Tue, 21 Aug 2007) | 2 lines Fixed one test suite to reflect the proper feature number in Issue Tracker. ------------------------------------------------------------------------ r2729 | mkeyes | 2007-08-21 11:32:09 -0700 (Tue, 21 Aug 2007) | 2 lines Fixed more test case names so that the results from different test suites aren't run together. ------------------------------------------------------------------------ r2730 | al_xipe | 2007-08-21 11:37:57 -0700 (Tue, 21 Aug 2007) | 1 line changed the way a test case log is represented in XML to avoid later XSL transform problems ------------------------------------------------------------------------ r2731 | al_xipe | 2007-08-21 11:55:28 -0700 (Tue, 21 Aug 2007) | 1 line Replaced tabs with two whitespaces across the functional-tests ------------------------------------------------------------------------ r2732 | mkeyes | 2007-08-21 12:13:51 -0700 (Tue, 21 Aug 2007) | 2 lines Code cleanup. Removed test case that was commented out. ------------------------------------------------------------------------ r2733 | jvergara | 2007-08-21 14:03:35 -0700 (Tue, 21 Aug 2007) | 4 lines Update the messages in admin_tool.properties to use the proper severity and not only the INFO severity. Add some methods in the SecureConnectionCliParser that will be used by the replication CLI utilities. ------------------------------------------------------------------------ r2734 | abobrov | 2007-08-21 14:56:56 -0700 (Tue, 21 Aug 2007) | 3 lines - fix map inconsistency bug in clearBackend method. - sanitize backend handling in clearSubtree method. ------------------------------------------------------------------------ r2735 | abobrov | 2007-08-21 15:01:17 -0700 (Tue, 21 Aug 2007) | 2 lines - fix proper cleanup to cater for leftovers at temporary location after test completion. ------------------------------------------------------------------------ r2736 | gbellato | 2007-08-21 23:57:34 -0700 (Tue, 21 Aug 2007) | 12 lines Fix for 1602 : removing root entries of domain cause replay of many changes Before this fix, If one remove the root entry of a replication domain, then stop the server The PersistentServerState is lost. Therefore when later restarting the server all the changes from the replication server are replayed on the database. To avoid this the fix is simply to store the PersistentServerState to the configuration entry when the root entry does not exist. I have not developed a unit test for this scenario because I believe that it is not possible to restart the server during the unit test. I have done manual tests to check that the PersistentServerState is correctly saved and reread. ------------------------------------------------------------------------ r2737 | gbellato | 2007-08-22 00:36:24 -0700 (Wed, 22 Aug 2007) | 12 lines issue 1804 : Ensure that conflicts are visible to administrators The replication monitoring information already provides the attribute unresolved-naming-conflicts that counts the number of conflicts that was not automatically resolved since last startup. The conflicting entries are also marked with the ds-sync-confict attribute so that administrators can look for these entries using filter ds-sync-confict=* This code add the generation of an administrative alert when a conflict is detected so that administrators can be made aware of the problem. ------------------------------------------------------------------------ r2738 | gary_williams | 2007-08-22 03:51:16 -0700 (Wed, 22 Aug 2007) | 2 lines fix indentation misaligned in logging tests ------------------------------------------------------------------------ r2739 | gary_williams | 2007-08-22 05:54:20 -0700 (Wed, 22 Aug 2007) | 2 lines fix indentation misaligned in client auth tests ------------------------------------------------------------------------ r2740 | gbellato | 2007-08-22 06:56:14 -0700 (Wed, 22 Aug 2007) | 20 lines issue 2119 : replication servers do not connect to each other when using setup When using the setup to configure 2 servers in multimaster mode. The setup first creates the configuration of the first server and start it When the second setup is run to configure the second server, the setup updates the configuration of the replication-server on the first server, however the code for handling this dynamic configuration was not yet written and this information is not taken into account. The replication servers are therefore not connected and the replication server on the new host therefore does not get the updates. These changes implement the dynamic configuration of replication servers so that the same scenario works fine. The only properties that is now not dynamically configurable is the path of the changelog database. A new test has been added for these changes. I've also tested manually that this does fix the replication server problem after configuration using the setup program. ------------------------------------------------------------------------ r2741 | mkeyes | 2007-08-22 07:42:49 -0700 (Wed, 22 Aug 2007) | 4 lines Fixed proxied auth test where the return code was changed in OpenDS to 123. More refactoring to account for the new parameter, expectedResult, in the searchStringForSubstring function. ------------------------------------------------------------------------ r2742 | kenneth_suter | 2007-08-22 09:02:12 -0700 (Wed, 22 Aug 2007) | 1 line fix task to corrently store message ID instead of ordinal for added log messages ------------------------------------------------------------------------ r2743 | kenneth_suter | 2007-08-22 09:48:31 -0700 (Wed, 22 Aug 2007) | 16 lines Expands the interface of both the export-ldif and import-ldif tools to include arguments that allow the task to be scheduled to run in the directory server's JVM through the task interface as well as through the existing method or operating within the running JVM. - This introduces several classes that handle the plumbing of scheduling a task: LDAPConnectionArgumentParser: an argument parser that comes pre-populated with the common options used to specify an LDAP connection and includes a method for creating a connection TaskScheduleInformation: source of information important for creating the scheduled task entry in the backend TaskScheduleClient: interacts on behalf of clients that wish to schedule tasks TaskTool: base class that the tools can implement to handle decision about whether to operate locally or remotely - For export-ldif I removed the short identifier -w for the wrap options since it conflicted with the -w password option. - For import-ldif I removed the short identifiers -K for skipFile and -q for quiet since they conflicted with the options for specifying the keystore path and startTLS options respectively. ------------------------------------------------------------------------ r2744 | mkeyes | 2007-08-22 10:02:14 -0700 (Wed, 22 Aug 2007) | 2 lines Commenting out the aci import functional tests. ------------------------------------------------------------------------ r2745 | mkeyes | 2007-08-22 13:16:35 -0700 (Wed, 22 Aug 2007) | 2 lines Adding some functional test cases for Issue 420. ------------------------------------------------------------------------ r2746 | mkeyes | 2007-08-22 14:01:39 -0700 (Wed, 22 Aug 2007) | 2 lines Finished refactoring the ACI test suites to account for the new parameter, expectedResult, in the function, searchStringForSubstring. ------------------------------------------------------------------------ r2747 | mkeyes | 2007-08-22 14:35:42 -0700 (Wed, 22 Aug 2007) | 2 lines Code cleanup - removed a test case that was commented out. ------------------------------------------------------------------------ r2748 | boli | 2007-08-22 16:05:23 -0700 (Wed, 22 Aug 2007) | 4 lines Fixed issue where name of the base-object search scope used in VLV index configuration was incorrectly called "base-level" Fix for issue 2134 ------------------------------------------------------------------------ r2749 | gary_williams | 2007-08-23 00:08:53 -0700 (Thu, 23 Aug 2007) | 2 lines ensure tests can be run remotely ------------------------------------------------------------------------ r2750 | gbellato | 2007-08-23 07:04:58 -0700 (Thu, 23 Aug 2007) | 8 lines fix for issue 2097 : total update fails sending a Message to ReplicationCache The total update was failing because the updated server was badly exiting the loop of meessage reception when it was receiving a message other than total update messages. This was caused by a mis-placed return null statement . ------------------------------------------------------------------------ r2751 | matthew_swift | 2007-08-23 08:54:22 -0700 (Thu, 23 Aug 2007) | 6 lines Add support for overriding the user friendly singlular and plural names of components. The user friendly names (UFN) are usually derived automatically from the component's "name" and "plural-name" attribute. However, sometimes these names are not that user friendly. For example, the names may be abbreviated forms (e.g. replication -> repl or password policy -> pwp). In these cases it would be nice to be abled to display the full human friendly name in help and documentation. This change includes an overridden UFN for the global configuration. So we should stop seeing messages in applications like "The Global was updated successfully". ------------------------------------------------------------------------ r2752 | matthew_swift | 2007-08-23 08:56:41 -0700 (Thu, 23 Aug 2007) | 1 line Very minor code clean-up. ------------------------------------------------------------------------ r2753 | matthew_swift | 2007-08-23 08:59:55 -0700 (Thu, 23 Aug 2007) | 1 line Clean up bad javadoc. ------------------------------------------------------------------------ r2754 | matthew_swift | 2007-08-23 09:04:17 -0700 (Thu, 23 Aug 2007) | 2 lines Modify wrapText() to support optional indentation. The method now supports a third argument which is the number of spaces to indent each wrapped line. There are also delegate wrapText() methods which simulate the old behavior by passing an indentation of 0. ------------------------------------------------------------------------ r2755 | boli | 2007-08-23 09:48:20 -0700 (Thu, 23 Aug 2007) | 6 lines Fix the issue where changing the time-interval of a logger doesn't work if the previous value is longer then the new value. If the previous value was set to a long time (ie 5 hours), the new value wouldn't take effect until the previous 5 hours has expired. With this fix, the new value will take effect immediately by interrupting the rotator thread if its asleep. Fix for issue 2103 ------------------------------------------------------------------------ r2756 | mkeyes | 2007-08-23 10:36:26 -0700 (Thu, 23 Aug 2007) | 2 lines added list-je-indexes to the dsconfig_list functional test suite. ------------------------------------------------------------------------ r2757 | kenneth_suter | 2007-08-23 10:46:41 -0700 (Thu, 23 Aug 2007) | 8 lines Expands the interfaces of backup and restore with arguments for specifying an LDAP connection that can be used to schedule these operations as tasks in addition to the current behavior of operating locally. - In order to add the LDAP connection arguments I changed the short identifier for the -h/--hash argument of back up to be -A - BooleanArgument was changed to have an implicit value equal to that of the value of isPresent() and a default value of "false". - Scheduling an ImportLDIF task now respects the quiet argument and does not print a confirmation message if present. ------------------------------------------------------------------------ r2758 | kenneth_suter | 2007-08-23 11:08:08 -0700 (Thu, 23 Aug 2007) | 5 lines Message/MessageDescriptor performance improvements: - MessageDescriptors cache format strings by Locale - Check for whether or not the Formatter is required is performed only as needed by MessageDescriptors and not upon Message.toString() ------------------------------------------------------------------------ r2759 | david_page | 2007-08-23 11:32:04 -0700 (Thu, 23 Aug 2007) | 19 lines Issue 466 preparation. As part of https://opends.dev.java.net/issues/show_bug.cgi?id=466 org.opends.admin.ads.ADSContext#registerServer will add an entry for the instance key public-key certificate under 'cn=instance keys,cn=admin data'. Conversely, the ADSContext#unregisterServer method will deprecate the instance key public-key certificate (i.e., add ds-cfg-key-deprecation-time to the key entry under cn=instance keys,cn=admin data) associated with the server. Adding or deprecating a instance key public-key certificate entry in ADS has side effects across the ADS domain hosts. In particular, if the instance is an ADS host, each shared secret (encryption) key is wrapped in the instance's public key certificate, so on an addition, the keys are wrapped and added to ADS, while on a certificate deprecation, the keys wrapped with that certificate are deleted. In the current implementation of org.opends.quicksetup.installer.Installer#updateADS , if the installer detects an ADS entry for the to-be-registered server, it calls ADSContext.unregisterServer then ADSContext.registerServer. To avoid the perturbation in the ADS-based key distribution, I have replaced the unregister-register sequence with a call to ADSContext.updateServer (which does an LDAP modify replace for the attribute values in the server attribute map). This change was accomplished by calling ADSContext.registerOrUpdateServer. The changes also include some minor code cleanup, comments, and tidying to eliminate IDEA warnings in ADSContext. Tests: I have run the precommit target and done some simple tests to ensure a 1) a remote standalone instance can be promoted to an ADS during an new instance creation; 2) an instance can be created as an ADS and another new instance can be created and added to that ADS; and 3) an instance already in ADS can be destroyed (without unregistering) and recreated and re-added to the ADS (the updateServer scenario). The message for that case is now: Aug 23, 2007 11:04:05 AM org.opends.quicksetup.installer.Installer updateADS WARNING: Server was already registered. Updating server registration. ------------------------------------------------------------------------ r2760 | mkeyes | 2007-08-23 11:50:54 -0700 (Thu, 23 Aug 2007) | 2 lines adding get-je-index-prop --backend-name to the dsconfig_get functional tests. ------------------------------------------------------------------------ r2761 | gary_williams | 2007-08-23 12:08:55 -0700 (Thu, 23 Aug 2007) | 2 lines fix indexes tests commands ------------------------------------------------------------------------ r2764 | neil_a_wilson | 2007-08-23 12:27:42 -0700 (Thu, 23 Aug 2007) | 2 lines Add missing CDDL headers to a couple of build tool classes. ------------------------------------------------------------------------ r2765 | mkeyes | 2007-08-23 13:05:05 -0700 (Thu, 23 Aug 2007) | 2 lines Finished adding functional tests using get-xxx-yyy-prop subcommand for dsconfig. ------------------------------------------------------------------------ r2766 | mkeyes | 2007-08-23 13:45:18 -0700 (Thu, 23 Aug 2007) | 2 lines Added a dsconfig call to create and delete a new password policy. The new passowrd policy is tested in the test cases. ------------------------------------------------------------------------ r2767 | tdj_tx | 2007-08-23 14:51:57 -0700 (Thu, 23 Aug 2007) | 2 lines Removed -w option and replaced it with --wrapColumn. The -w option was removed from the export tool. ------------------------------------------------------------------------ r2768 | kenneth_suter | 2007-08-23 14:57:46 -0700 (Thu, 23 Aug 2007) | 1 line standardized the tools various option forms for suppressing output to -Q/--quiet ------------------------------------------------------------------------ r2769 | neil_a_wilson | 2007-08-23 15:02:59 -0700 (Thu, 23 Aug 2007) | 3 lines Add a main method to the org.opends.server.util.EMailMessage class that can be used to send an e-mail message from the command line. ------------------------------------------------------------------------ r2770 | neil_a_wilson | 2007-08-23 15:47:47 -0700 (Thu, 23 Aug 2007) | 2 lines Add missing periods to the end of javadoc descriptions. ------------------------------------------------------------------------ r2771 | boli | 2007-08-23 16:06:40 -0700 (Thu, 23 Aug 2007) | 6 lines Fix a issue where adding entries below a parent entry and modifying the parent entry causes lock expirations. All writer threads for the modify operations were being starved by the reader threads for the add operations. Changed the LockManager to observe fairness rules when granting locks so waiting write locks are granted before read locks. Fix for issue 1896 ------------------------------------------------------------------------ r2772 | boli | 2007-08-23 16:14:02 -0700 (Thu, 23 Aug 2007) | 5 lines Added the JE backend configuration attribute to enable or disable compression when encoding entries for ID2Entry. When backend-compact-encoding is enabled, attribute type descriptions and object class sets will be encoded using a compressed form. This behavior is enabled by default. Fix for issue 2135 ------------------------------------------------------------------------ r2773 | gary_williams | 2007-08-24 04:33:34 -0700 (Fri, 24 Aug 2007) | 2 lines change -s to -Q for setup ------------------------------------------------------------------------ r2774 | david_page | 2007-08-24 07:07:27 -0700 (Fri, 24 Aug 2007) | 23 lines Issue 466 preparation. Secure replication depends on ADS containing at least the instance-to-be-initialized's instance key public-key certificate in the ADS-based truststore because the existing replication domain server requires it to "trust" the new server. (The new server trusts the domain server by some future ADSContext code that will fetch the domain host's public-key certificate and write it into the new server's truststore backend - all via LDAP.) Hence, this change reverses the invocation order of Installer.initializeSuffixes and Installer.updateADS so that the latter is now run first (but still subsequent to Installer.configureReplication). Note that Installer.updateADS does require Installer.configureReplication to have been run, since it configures replication for and initializes "cn=admin data". M src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java M src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java Tests: In addition to the precommit target, I've run the following setup scenarios using the OfflineInstaller: 1) Setup standalone server with data; setup new server as part of existing replication. Then the new server setup configures replication, ADS, and initializes suffixes on both instances. 2) Setup initial replicated server with data; setup new server as part of existing replication. I'm not sure how to test the WebStartInstaller, but the code and changes are identical to the OfflineInstaller, so perhaps it is ok. -- Thanks to Josu for the review. ------------------------------------------------------------------------ r2775 | mkeyes | 2007-08-24 07:31:11 -0700 (Fri, 24 Aug 2007) | 2 lines Adding functional test cases using multiple password validators. The tests include dsconfig commands to create, modify, and delete a custom password validator. ------------------------------------------------------------------------ r2776 | jvergara | 2007-08-24 08:58:49 -0700 (Fri, 24 Aug 2007) | 2 lines Fix for issue 2153. Add uninstall-gui to the list of files that must have executable permissions. ------------------------------------------------------------------------ r2777 | abobrov | 2007-08-24 09:25:51 -0700 (Fri, 24 Aug 2007) | 4 lines - add assertions covering cache maps out of sync. - replace atomic init followed by clear in favor of before/after group to improve concurrency. - fix FIFO rotation test bug to assert for all rotated entries. ------------------------------------------------------------------------ r2778 | mkeyes | 2007-08-24 12:15:37 -0700 (Fri, 24 Aug 2007) | 2 lines Added functional test cases for adding a new password storage scheme. ------------------------------------------------------------------------ r2779 | abobrov | 2007-08-24 13:29:55 -0700 (Fri, 24 Aug 2007) | 2 lines - fix an NPE found by the entry cache concurrency test. ------------------------------------------------------------------------ r2780 | neil_a_wilson | 2007-08-24 13:34:15 -0700 (Fri, 24 Aug 2007) | 5 lines Update the default configuration to ensure that the uniqueMember attribute type is indexed for equality by default. Also, include the ds-cfg-backend-compact-encoding in the userRoot configuration entry so that it's more obvious what the value is when looking at the configuration. ------------------------------------------------------------------------ r2781 | neil_a_wilson | 2007-08-24 13:36:15 -0700 (Fri, 24 Aug 2007) | 4 lines Add a tool that can be used to base64 encode or decode information. The source can be provided as a string, contained in a file, or piped in via standard input, and the result can be sent to standard output or written to a file. ------------------------------------------------------------------------ r2782 | mkeyes | 2007-08-24 13:36:22 -0700 (Fri, 24 Aug 2007) | 2 lines Adding functional tests for creating and deleting sasl mechanisms. ------------------------------------------------------------------------ r2783 | boli | 2007-08-24 13:45:17 -0700 (Fri, 24 Aug 2007) | 4 lines Added property to enable or disable fair ordering for the entry lock manager. By default, fair ordering will be used. ------------------------------------------------------------------------ r2784 | mkeyes | 2007-08-24 13:59:23 -0700 (Fri, 24 Aug 2007) | 2 lines Fixed a bug where some functional tests were using the incorrect configuration string for the default-password-storage-scheme. ------------------------------------------------------------------------ r2785 | david_page | 2007-08-24 14:04:32 -0700 (Fri, 24 Aug 2007) | 21 lines Issue 466 preparation. Each instance has an associated public-private key-pair called the "instance key". The collection of public-key certificates from all instances forms an ADS-domain truststore. Secure replication uses this truststore in its TLS setup. The instance key is maintained by the local instance using a new "truststore" backend type that manages a local keystore file. The backend is induced to generate and self-sign a key when an entry with a special dn is written to it. Once the truststore has been so initialized, the public-key certificate can be retrieved with an LDAP search operation. This change adds a method to the ADSContext to retrieve the instance key public-key certificate from the instance to which the context is bound, and set a field in the context with the cert. The method detects if it needs to induce the backend to produce the key. A subsequent change will publish the key in ADS. For now (until Andy commits the truststore backend code), the attempt to retrieve the key is guarded by a check for the ads-truststore backend's presence. There is also some minor cleanup of existing code, and some additional code related to upcoming CryptoManager related ADS setup. M src/ads/org/opends/admin/ads/ADSContext.java Tests: In addition to the precommit target, I've run the following setup scenarios using the OfflineInstaller: 1) Setup standalone server with data; setup new server as part of existing replication. Then the new server setup configures replication, ADS, and initializes suffixes on both instances. 2) Setup initial replicated server with data; setup new server as part of existing replication. ------------------------------------------------------------------------ r2786 | boli | 2007-08-24 14:09:04 -0700 (Fri, 24 Aug 2007) | 2 lines Added a setter method for the lock manager fair ordering property introduced in revision 2783 ------------------------------------------------------------------------ r2787 | neil_a_wilson | 2007-08-24 14:31:41 -0700 (Fri, 24 Aug 2007) | 2 lines Fix checkstyle failures. ------------------------------------------------------------------------ r2788 | neil_a_wilson | 2007-08-24 16:00:23 -0700 (Fri, 24 Aug 2007) | 10 lines Add a mechanism for generating an RC script that can be used on UNIX systems to configure the server to automatically start when the system boots. Also, update the stop-ds script so that if the server is to be stopped via kill but no PID file is present, the stop script will generate an error instead of trying to invoke the stop task (which is guaranteed to fail since the attempt will be made anonymously, and this will give a confusing error message). OpenDS Issue Number: 526 ------------------------------------------------------------------------ r2789 | neil_a_wilson | 2007-08-24 16:03:45 -0700 (Fri, 24 Aug 2007) | 3 lines Temporarily disable the replication dependency test cases because they are frequently failing. ------------------------------------------------------------------------ r2790 | al_xipe | 2007-08-25 00:20:36 -0700 (Sat, 25 Aug 2007) | 1 line fix for groups test suite ------------------------------------------------------------------------ r2791 | al_xipe | 2007-08-25 00:53:53 -0700 (Sat, 25 Aug 2007) | 1 line fix for replication binary copy tests ------------------------------------------------------------------------ r2792 | al_xipe | 2007-08-25 01:28:43 -0700 (Sat, 25 Aug 2007) | 1 line fix for replication resynchronization tests to account for the new index key map ------------------------------------------------------------------------ r2793 | al_xipe | 2007-08-25 05:21:54 -0700 (Sat, 25 Aug 2007) | 1 line massive retrofit of the logging tests into the framework ------------------------------------------------------------------------ r2794 | neil_a_wilson | 2007-08-25 10:10:24 -0700 (Sat, 25 Aug 2007) | 5 lines Disable the compact entry encoding by default because it introduces new dependencies in backup/restore and binary copy that could cause problems for administrators if they're not aware of them. We should leave it disabled until issue #2158 has been addressed. ------------------------------------------------------------------------