From 774973032184993b3bea24fa4440f43aa1689fc7 Mon Sep 17 00:00:00 2001 From: Peter Suna Date: Thu, 2 Mar 2023 15:55:48 +0100 Subject: [PATCH] Update dev-guide doc for H2 client The current documentation is missing information about the credentials and the location where the H2 database is stored. JIRA: AAA-253 Change-Id: Ifb01e9f1ea9583520bf09ce1dcb19770107feb4c Signed-off-by: Peter Suna (cherry picked from commit 3ce70e932976cacb8457870520d57855b595bf4e) --- docs/dev-guide.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/dev-guide.rst b/docs/dev-guide.rst index 525d73b7f..edea3aead 100644 --- a/docs/dev-guide.rst +++ b/docs/dev-guide.rst @@ -266,8 +266,8 @@ command to enable the user interface: .. code-block:: bash - java -cp ./system/com/h2database/h2/2.1.214/h2-2.1.214.jar - org.h2.tools.Server -trace -pg -web -webAllowOthers -baseDir `pwd` + java -cp ./system/com/h2database/h2/2.1.214/h2-2.1.214.jar org.h2.tools.Server \ + -trace -pg -web -webAllowOthers You can navigate to the following and login via the browser: @@ -276,6 +276,15 @@ You can navigate to the following and login via the browser: http://{IP}:8082/ +Within the browser, you can log in to the H2 database by providing your credentials and the path to the database. +The default configuration is as follows: + +:: + + JDBC URL: jdbc:h2:[ABSOLUTE_PATH_TO_KARAF_FOLDER]/data/idmlight.db + User Name: foo + Password: bar + ODLJndiLdapRealm ^^^^^^^^^^^^^^^^ -- 2.36.6