BP-463 changed configuration without camunda
diff --git a/oKBereitschaftsplanungDoku/howto/config.adoc b/oKBereitschaftsplanungDoku/howto/config.adoc
index 445672f..46d17d4 100644
--- a/oKBereitschaftsplanungDoku/howto/config.adoc
+++ b/oKBereitschaftsplanungDoku/howto/config.adoc
@@ -47,29 +47,46 @@
.database
[source]
--- Database: "BP"
--- DROP DATABASE "BP";
-CREATE DATABASE "BP"
+--CREATE DATABASE "BP"
WITH OWNER = bp
ENCODING = 'UTF8'
TABLESPACE = pg_default
- LC_COLLATE = 'German_Germany.1252'
- LC_CTYPE = 'German_Germany.1252'
+ LC_COLLATE = 'en_US.UTF-8'
+ LC_CTYPE = 'en_US.UTF-8'
CONNECTION LIMIT = -1;
-== Camunda
+== oK Auth2Auth core module
+
+The frontend and backend of the auth2auth modul has to be put in the webapps folder. In this case portal.war file and portalFE folder has to be put there.
+[source]
+ webapps/portal.war
+ webapps/portalFE
+
+Configure the portalFE url to your local environment. For more details see the dcumentation of the auth2auth core-module.
+
+[source]
+ webapps/portal/WEB-INF/classes/backendConfigProduction.json // URL to keycloak
+ webapps/portal/WEB-INF/classes/moduleConfigDevLocal.json // Modulconfiguration Dev
+ webapps/portal/WEB-INF/classes/moduleConfigProduction.json // Modulconfiguration Prod
+
+In out case is the following module entry needed:
+
+[source]
+ {
+ "name": "Bereitschaftsplanung",
+ "cols": 1,
+ "rows": 1,
+ "color": "#ffffff",
+ "link": "https://localhost:8080/spfe",
+ "pictureLink": "https://www.openkonsequenz.de/medien/cache/main_image/l_bereitschaftsplan_57882047.jpg",
+ "requiredRole": "planning-access"
+ }
+
=== server.xml
The following Resources has added to the *<GlobalNamingResources>* section of the tomcat server.xml.
[source, xml]
- <!--camunda resource-->
- <Resource auth="Container"
- driverClassName="org.postgresql.Driver"
- factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" maxActive="20"
- minIdle="5" name="jdbc/ProcessEngine" password="camunda"
- type="javax.sql.DataSource" uniqueResourceName="process-engine"
- url="jdbc:postgresql://localhost:5432/camunda" username="camunda" />
- <!--spbe resource-->
+ <!--BP resource-->
<Resource auth="Container"
driverClassName="org.postgresql.Driver"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" maxActive="20"
@@ -78,15 +95,6 @@
username="bp" />
-The following Resources has to be disabled or out commented in the *<GlobalNamingResources>* section of the tomcat server.xml because it uses the default camunda h2 database. This should not be used for the Standby Planning module.
-[source, xml]
- <Resource auth="Container"
- defaultTransactionIsolation="READ_COMMITTED"
- driverClassName="org.h2.Driver"
- factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" maxActive="20"
- maxIdle="20" minIdle="5" name="jdbc/ProcessEngine" password="sa"
- type="javax.sql.DataSource" uniqueResourceName="process-engine"
- url="jdbc:h2:./camunda-h2-dbs/process-engine;MVCC=TRUE;TRACE_LEVEL_FILE=0;DB_CLOSE_ON_EXIT=FALSE" username="sa"/>
== define Keycloak URL
@@ -100,4 +108,12 @@
.change url in spfe/main*.js
[source]
- basePath:"https://localhost:8080/spbe/webapi"
\ No newline at end of file
+ basePath:"https://localhost:8080/spbe/webapi"
+
+== Setup the Application Standbyplanning
+You need to build the standbyplanning forntend and backand. Then you will have two *.war files.
+[source]
+ spfe.war
+ spbe.war
+
+Both war files schold be placed
\ No newline at end of file