Update dev-guide doc for H2 client 28/104728/5
authorPeter Suna <peter.suna@pantheon.tech>
Thu, 2 Mar 2023 14:55:48 +0000 (15:55 +0100)
committerPeter Suna <peter.suna@pantheon.tech>
Wed, 8 Mar 2023 16:39:54 +0000 (17:39 +0100)
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>
docs/dev-guide.rst

index f770d46dc0114dc93a7a4bff940e48252a98bdbd..d0c007d1c18609630111fd98231f8a4a0063bf4f 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
 ^^^^^^^^^^^^^^^^