20 Aug, 2015
1 commit
-
Rename "opendj-ldap-toolkit/src/main/assembly/bat/addrate" to "opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat" git-svn-id: https://svn.forgerock.org/opendj/trunk@12759 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jul, 2015
4 commits
-
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
20 Jul, 2015
1 commit
-
* 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
01 Jun, 2015
2 commits
-
This patch has the side effect of removing some trailing spaces. git-svn-id: https://svn.forgerock.org/opendj/trunk@12388 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch has the side effect of removing some trailing spaces. git-svn-id: https://svn.forgerock.org/opendj/trunk@12386 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 May, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12354 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12352 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12261 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12231 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 May, 2015
1 commit
-
Review: Matt (uppon the shoulder) This commit replaces Java 6 occurences by Java 7 in messages. It also performs the Java version check against Java 7. * org.opends.quicksetup.util.Utils.java ** Use opendj-cli check java version, this allow us to remove old check process based on CompatibleJava * Other changes are just messages or text update. git-svn-id: https://svn.forgerock.org/opendj/trunk@12208 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12169 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Apr, 2015
2 commits
-
This patch moves long document strings out of properties files, replacing them with XIncluded files. Tested with a manual doc build and visual check. git-svn-id: https://svn.forgerock.org/opendj/trunk@12054 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch speeds up a basic clean install by moving doc generation out of the common path into a profile. This patch requires that both native package builds and also doc builds now use -Pman-pages to build the man pages. Otherwise the build breaks with a message: Man pages not found. You must build with -P man-pages. git-svn-id: https://svn.forgerock.org/opendj/trunk@12044 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Apr, 2015
1 commit
-
This patch brings the doc generation plugins together in a single module, and adapts the implementation of the log ref generation plugin to use a FreeMarker template as is already in use in other plugins. This patch also uses sections in the log ref. Sections, rather than naked variablelists, make the log ref easier to navigate. git-svn-id: https://svn.forgerock.org/opendj/trunk@12027 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Mar, 2015
1 commit
-
This patch replaces nearly all the server & SDK tools reference pages with generated pages. As explained in the comments for OPENDJ-1786, there's still a problem with <xref> linkends inside the dsconfig page. I've logged OPENDJ-1895 to address that. The rest of the content seems to correspond to what we had before, with minor formatting problems that are flagged in related JIRA issues. Thanks to Jean-Noël R. for reviews. git-svn-id: https://svn.forgerock.org/opendj/trunk@11994 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Mar, 2015
1 commit
-
This patch replaces a broken link with a reference. It removes the . at the end of the link to avoid confusing some apps. Thanks to Lee Trujillo for spotting the problem. git-svn-id: https://svn.forgerock.org/opendj/trunk@11975 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Mar, 2015
1 commit
-
***** opendj-cli ***** * ArgumentConstants.java ** Add constant for testonly long option * CommonArguments.java ** Removes getTestOnly(...) static method as it is only used in InstallDS. * cli.properties ** Removes INFO_ARGUMENT_DESCRIPTION_TESTONLY message and migrate it to server tool.properties to have consistant import in InstallDS.java ***** opendj-ldap-toolkit ***** * resources/.../_script_util.bat ** Replace short option call by long option call ***** opendj-server-legacy ***** * resources/.../bin/_script-util.sh _script-util.bat ** Replace short option call by long option call * InstallDSArgumentParser.java ** Inline static call to CommonArguments * tools.properties ** Add testonly argument information message git-svn-id: https://svn.forgerock.org/opendj/trunk@11968 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Feb, 2015
1 commit
-
This additional patch adds short descriptions to the tools. The descriptions are suitable for use in man page summary lines. This is a subtask of the following issue: OPENDJ-386 Move to single reference document git-svn-id: https://svn.forgerock.org/opendj/trunk@11814 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Feb, 2015
1 commit
-
This patch is like r11722, but for the LDAP SDK tools. This patch does not resolve the fact that duplicate tools exist. I have, however, logged OPENDJ-1810 regarding that point. Duplication should disappear in the move to a single set of tools. This is a subtask of the following issue: OPENDJ-386 Move to single reference document git-svn-id: https://svn.forgerock.org/opendj/trunk@11735 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Feb, 2015
1 commit
-
This is a port of relevant changes from r11722. This is a subtask of the following issue: OPENDJ-386 Move to single reference document git-svn-id: https://svn.forgerock.org/opendj/trunk@11731 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jan, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11660 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11658 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Jan, 2015
1 commit
-
This version includes *Bug fixes ** OPENDJ-1693: Solve NoSuchElementException by checking race conditions. ** OPENDJ-1694: Changes the age threshold feature implementation. *Improvement: Adding purge phase git-svn-id: https://svn.forgerock.org/opendj/trunk@11570 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Nov, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11357 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Nov, 2014
1 commit
-
…actory and GrizzlyLDAPConnectionFactory To avoid code duplication and makes API more fluent, we have merged HBCF, ACF and GCF by creating an AbstractLdapConnectionFactoryImpl. The new connection skeletal associated is AbstractLdapConnectionImpl. This is a sub-optimal solution, there is still some concurrency issues to address in AbstractLdapConnecitonImpl. git-svn-id: https://svn.forgerock.org/opendj/trunk@11348 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Nov, 2014
1 commit
-
- work with null checked expressions first - revert conditions - collapse if statements - push negations down - invert equals() Manually used ternary operators git-svn-id: https://svn.forgerock.org/opendj/trunk@11233 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Oct, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11161 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11160 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Oct, 2014
1 commit
-
* com.forgerock.opendj.ldap.tools.PerformanceRunner ** Makes the ResponseTimeBuckets inner class package private to allow unit tests. * com.forgerock.opendj.ldap.tools.PerformanceRunnerStatsTestCase ** Adds a simple black box unit test to control PerformanceRunner eTimes calculation. git-svn-id: https://svn.forgerock.org/opendj/trunk@11156 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Oct, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11142 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Oct, 2014
1 commit
-
Extracted local PrintStream variable rather than always calling app.getOutputStream(). git-svn-id: https://svn.forgerock.org/opendj/trunk@11085 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Oct, 2014
1 commit
-
* PerformanceRunner.java Implements a new way to compute eTimes by using "buckets" representing different eTimes ranges and maintain frequency counts. The warmup duration does now correctly clear eTimes. git-svn-id: https://svn.forgerock.org/opendj/trunk@11080 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Sep, 2014
1 commit
-
* org.forgerock.opendj.ldap package: ** Rename FutureResult to LdapPromise ** Rename FutureResultImpl to LdapPromiseImpl and move it to org.forgerock.opendj.ldap.spi ** Rename the util class FutureResultWrapper to LdapPromises and move it to org.forgerock.opendj.ldap.spi package ** Solve some bugs in HeartBeatConnectionFactory class org.forgerock.opendj.ldap.spi ** Merge old LDAPFutureResultImpl and AbstractLDAPFutureResultImpl and rename it as ResultLdapPromiseImpl ** Remove AbstractLDAPFutureResultImpl, LDAPFutureResultImpl and LDAPCompareFutureResultImpl ** Rename LDAP[Bind | Extended | Search]FutureResultImpl to [Bind | Extended | Search]ResultLdapPromiseImpl ** Add static methods in LdapPromises to return *LdapPromiseImpl instances git-svn-id: https://svn.forgerock.org/opendj/trunk@11065 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Sep, 2014
1 commit
-
…and remove ErrorResultIOException git-svn-id: https://svn.forgerock.org/opendj/trunk@11019 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Sep, 2014
1 commit
-
Connection, ConnectionFactory, ResultHandler and SearchResultHandler public APIs have been changed. * Connection.java In all xxxAsync method, the final handler parameter will be removed and the client is expected to register the handler with the returned promise. For search request, a SearchResultHandler is still required because it needs to handle search result entries/references. * ConnectionFactory.java In the method getConnectionAsync(), the final handler parameter will be removed. * ResultHandler.java Now extends SuccessHandler and FailureHandler in order to allow usage of then() method call. * SearchResultHandler.java Remove the inheritance link with ResultHandler. So client needs to register a ResultHandler instance when he calls searchAsync in addition to register a SearchResultHandler. git-svn-id: https://svn.forgerock.org/opendj/trunk@11001 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Aug, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10972 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Aug, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10950 41b1ffd8-f28e-4786-ab96-9950f0a78031