30 Jul, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12706 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adapts the project files for the move of server doc content. git-svn-id: https://svn.forgerock.org/opendj/trunk@12705 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jul, 2015
1 commit
-
Hand-written docs depend on generated doc sources. In order to move the hand-written docs out of the project, the sources generated from project code must be in artifacts. This initial patch creates the artifacts for man pages and other generated documentation. git-svn-id: https://svn.forgerock.org/opendj/trunk@12703 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jul, 2015
7 commits
-
The real problem is the server is killed before flushing has a chance to run and the fact operations for tree creation do not appear in the journal file. Adding a flag to open tree operations so that we can skip errors on missing trees while the storage is read only. Moreover, verify-index was trying to verify indexes already known to be in degraded state, and printing weird stats about them. git-svn-id: https://svn.forgerock.org/opendj/trunk@12702 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This commit makes all tools consistent in the way that if no arguments are provided on the command line (or only the non prompt argument for interactive tools), tool prints the error and the help reference message on error stream. Changes details: * ArgumentParser ** Create method displayMessageAndUsageReference(), this method is used by tools to print both an error message and the help usage reference message ** getHelpUsageReference() has been moved from SubCommandArgumentParser * DSConfig ** displayErrorMessageAndUsageReference() has been moved to ArgumentParser * CreateRCScript ** Moves the server root path check after the argument parsing in order to have a consistent error message if arguments are invalid. * RebuildIndex * VerifyIndex ** Removed dead code which printed usage if no args were provided (if so, an argument exception is raised before). * MakeLDIF ** Add a main method for test purpose * ArgumentParserToolsTestCase ** Test that tools are consistent if an invalid argument is provided or if no args are provided. Tools modified by this commit are the following: Server tools * Does not print usage anymore ** backup ** base64 (only if no args are provided) ** control-panel ** create-rc-script ** dbtest ** dsjavaproperties ** dsreplication ** encode-password ** export-ldif ** import-ldif ** ldapcompare ** ldapdelete ** ldapmodify ** ldappasswordmodify ** ldapsearch ** ldif-diff ** ldifmodify ** ldifsearch ** make-ldif ** manage-account ** manage-tasks ** rebuild-index ** restore ** setup ** start-ds ** status ** stop-ds ** uninstall ** upgrade ** verify-index * Usage reference message added ** base64 (only if invalid args are provided) SDK tools * Does not print usage anymore ** addrate ** makeldif * Usage reference message added ** authrate ** ldapcompare ** ldapmodify ** ldappasswordmodify ** ldapsearch ** ldifdiff ** ldifmodify ** ldifsearch ** modrate ** searchrate git-svn-id: https://svn.forgerock.org/opendj/trunk@12701 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* MakeLDIFITCase ** Inherits from ToolITCase ** Uses parent checkOutputStreams() method ** Add a test to check that -H displays help ** Code cleanup git-svn-id: https://svn.forgerock.org/opendj/trunk@12700 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* MakeLDIFTestCase -> MakeLDIFITCase to improve consistency in the package. git-svn-id: https://svn.forgerock.org/opendj/trunk@12699 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12698 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch documents an example app that checks an entry against the directory server schema before attempting an LDAP add. git-svn-id: https://svn.forgerock.org/opendj/trunk@12697 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adds an example app that checks an entry against the directory server schema before attempting an LDAP add. git-svn-id: https://svn.forgerock.org/opendj/trunk@12696 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Jul, 2015
1 commit
-
Just clarify the optimization should only be applied to single value attributes git-svn-id: https://svn.forgerock.org/opendj/trunk@12694 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Jul, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12692 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Jul, 2015
2 commits
-
Walking the array with the wrong test will not walk the array. git-svn-id: https://svn.forgerock.org/opendj/trunk@12689 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fix NPE which makes PrivilegeTestCase setup fail later during the build. Extracted method getJmxConnectionHandler(). Used TestNG assert methods. git-svn-id: https://svn.forgerock.org/opendj/trunk@12688 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Jul, 2015
2 commits
-
* Note that this migration just solved compilation issues, it does not try to take benefits from the apis enhancements. * The major change is that org.forgerock.opendj.ldap.ResultHandler has been renamed to org.forgerock.opendj.ldap.LdapResultHandler.java to prevent conflicts with the org.forgerock.util.promise.ResultHandler git-svn-id: https://svn.forgerock.org/opendj/trunk@12687 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12686 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Jul, 2015
2 commits
-
* org/forgerock/opendj/ldap/spi/LdapPromiseWrapper.java ** Improve consistency of imports * clirr-ignored-api-changes.xml ** Format file git-svn-id: https://svn.forgerock.org/opendj/trunk@12685 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Factorize code for tools message printing. * opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java ** Introduce handly methods to print a message/string on a stream. * Other files uses the methods described above. git-svn-id: https://svn.forgerock.org/opendj/trunk@12684 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Jul, 2015
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12683 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12682 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12681 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
SevenBitCleanPlugin.java: In doLDIFImport(), fixed a bug. git-svn-id: https://svn.forgerock.org/opendj/trunk@12680 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed code duplication. Code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@12679 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
MatchedValuesFilter.java: Extracted methods matches() and appendAttributeTypeAndAssertion(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12678 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Matthew Swift ClientConnection.java: Reworked hasAllPrivileges() to make it a lot more understandable. git-svn-id: https://svn.forgerock.org/opendj/trunk@12677 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Jul, 2015
9 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12676 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12675 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12674 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12673 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12672 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* src/main/java/org/opends/server/tools/RebuildIndex.java ** Remove an unreachable use case ** Print usage on error stream after an error instead of output stream * src/main/java/org/opends/server/tools/VerifyIndex.java ** Print usage on error stream after an error instead of output stream git-svn-id: https://svn.forgerock.org/opendj/trunk@12671 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Preparatory work for OPENDJ-2027: * src/main/java/org/opends/server/backends/jeb/DBTest.java ** Reduce visibilty of printMessage and rename it to printErrorMessage to improve code consistency * src/main/java/org/opends/server/tools/ConfigureWindowsService.java * src/main/java/org/opends/server/tools/StartWindowsService.java * src/main/java/org/opends/server/tools/StopWindowsService.java ** Autorefactor'ed file + format ** Use straigt return ** Remove unecessary comment ** Additionnal minor cleanup ** Extract method serviceState() to avoid multiple nullchecks on output streams. * Changes in other files are related to the serviceState() extracted method git-svn-id: https://svn.forgerock.org/opendj/trunk@12670 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* org/opends/server/tools/InstallDS.java ** migrate old print command to println which includes isQuiet() check. git-svn-id: https://svn.forgerock.org/opendj/trunk@12669 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* src/main/java/org/opends/quicksetup/QuickSetupLog.java ** Autorefactor'd file + reformat ** Rename static elements to uppercase ** Factorize code a bit * src/main/java/org/opends/guitools/controlpanel/ui/BrowseSchemaPanel.java ** Autorefactor'ed file + Reformat ** Minor code cleanup ** Add final keyword ** Reduce visibility when it was possible ** Use straight return ** Use interface instead of concrete class for local variable which are collections ** Use ternary operator ** Format javadoc ** Add some generic statement to prevent warnings * src/main/java/org/opends/guitools/controlpanel/task/DeleteSchemaElementsTask.java ** Consequences of cleanup done in BrowseSchemaPanel.java git-svn-id: https://svn.forgerock.org/opendj/trunk@12668 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Jul, 2015
1 commit
-
This patch merges the GUI and CLI install chapters into one. git-svn-id: https://svn.forgerock.org/opendj/trunk@12665 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Jul, 2015
5 commits
-
- used early exits - removed code duplication git-svn-id: https://svn.forgerock.org/opendj/trunk@12664 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12663 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12662 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed duplication. git-svn-id: https://svn.forgerock.org/opendj/trunk@12661 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12660 41b1ffd8-f28e-4786-ab96-9950f0a78031