Update dev-guide doc for H2 client 66/105066/2
authorPeter Suna <peter.suna@pantheon.tech>
Thu, 2 Mar 2023 14:55:48 +0000 (15:55 +0100)
committerPeter Suna <peter.suna@pantheon.tech>
Wed, 12 Apr 2023 17:41:48 +0000 (19:41 +0200)
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 <peter.suna@pantheon.tech>
(cherry picked from commit 3ce70e932976cacb8457870520d57855b595bf4e)

docs/dev-guide.rst

index 525d73b7f1e84424e36b19d30b2c032c2f453c81..edea3aeadc948737700dbf5f6ac186b7c39f8c1f 100644 (file)
@@ -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
 ^^^^^^^^^^^^^^^^