opendj-server-legacy/pom.xml
@@ -1679,11 +1679,11 @@ </tool> <tool> <name>backendtool</name> <application>org.opends.server.backends.pluggable.BackendTool</application> <name>backendstat</name> <application>org.opends.server.backends.pluggable.BackendStat</application> <trailingSectionPaths> <trailingSectionPath>exit-codes-0-gt0.xml</trailingSectionPath> <trailingSectionPath>backendtool-examples.xml</trailingSectionPath> <trailingSectionPath>backendstat-examples.xml</trailingSectionPath> </trailingSectionPaths> </tool> opendj-server-legacy/resource/bin/backendstat
File was renamed from opendj-server-legacy/resource/bin/backendtool @@ -25,11 +25,11 @@ # Portions Copyright 2015 ForgeRock AS # This script may be used to debug Pluggable backends in the Directory Server. OPENDJ_INVOKE_CLASS="org.opends.server.backends.pluggable.BackendTool" # This script may be used to debug pluggable backends in the Directory Server. OPENDJ_INVOKE_CLASS="org.opends.server.backends.pluggable.BackendStat" export OPENDJ_INVOKE_CLASS SCRIPT_NAME="backendtool" SCRIPT_NAME="backendstat" export SCRIPT_NAME SCRIPT_DIR=`dirname "${0}"` opendj-server-legacy/resource/bin/backendstat.bat
File was renamed from opendj-server-legacy/resource/bin/backendtool.bat @@ -26,7 +26,7 @@ setlocal set OPENDJ_INVOKE_CLASS="org.opends.server.backends.pluggable.BackendTool" set SCRIPT_NAME=backendtool set OPENDJ_INVOKE_CLASS="org.opends.server.backends.pluggable.BackendStat" set SCRIPT_NAME=backendstat for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* opendj-server-legacy/src/main/docbkx/man-pages/backendstat-examples.xml
File was renamed from opendj-server-legacy/src/main/docbkx/man-pages/backendtool-examples.xml @@ -36,7 +36,7 @@ </para> <screen> $ <userinput>bin/backendtool dump-tree -n userRoot -b dc=example,dc=com -t id2childrencount </userinput> $ <userinput>bin/backendstat dump-tree -n userRoot -b dc=example,dc=com -t id2childrencount </userinput> <computeroutput> Key (len 2): 1#52 Value (len 8): 1 opendj-server-legacy/src/main/docbkx/man-pages/index.xml
@@ -63,7 +63,7 @@ <xinclude:include href="man-backup.xml"> <xinclude:fallback><!-- Failed to include page --></xinclude:fallback> </xinclude:include> <xinclude:include href="man-backendtool.xml"> <xinclude:include href="man-backendstat.xml"> <xinclude:fallback><!-- Failed to include page --></xinclude:fallback> </xinclude:include> <xinclude:include href="man-base64.xml"> opendj-server-legacy/src/main/docbkx/man-pages/variablelist-backendstat-index-status.xml
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java
File was renamed from opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendTool.java @@ -96,7 +96,7 @@ * internally within the server process (e.g., via the tasks interface); it still * requires configuration information and access to Directory Server instance data. */ public class BackendTool public class BackendStat { /** * Collects all necessary interaction interfaces with either a Backend using TreeNames @@ -327,7 +327,7 @@ */ public static int main(String[] args, OutputStream outStream, OutputStream errStream) { BackendTool app = new BackendTool(outStream, errStream); BackendStat app = new BackendStat(outStream, errStream); return app.run(args); } @@ -337,7 +337,7 @@ * @param out The application output stream. * @param err The application error stream. */ public BackendTool(OutputStream out, OutputStream err) public BackendStat(OutputStream out, OutputStream err) { this.out = NullOutputStream.wrapOrNullStream(out); this.err = NullOutputStream.wrapOrNullStream(err);