Skip to content

Commit 783cf44

Browse files
committed
Update remote content FOLIO-3311
1 parent d374349 commit 783cf44

3 files changed

Lines changed: 18 additions & 9 deletions

File tree

_remote/folio-vertx-lib/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ The following environment variables are supported:
203203
- `DB_MAX_LIFETIME`
204204
- `DB_RECONNECTATTEMPTS`
205205
- `DB_RECONNECTINTERVAL`
206+
- `DB_CONNECTIONRELEASEDELAY`
206207
- `DB_SERVER_PEM`
207208

208209
These are also recognized by by RMB. Refer to the

_remote/raml-module-builder/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,15 @@ we will get your local development server running and populated with test data.
324324

325325
## Command-line options
326326

327+
Use the `-D` option before the `-jar` argument to pass options as system properties.
328+
327329
- `-Dhttp.port=8080` Optional -- defaults to 8081
328330

329331
- `-Ddebug_log_package=*` Optional -- Set log level to debug for all packages.
330332
Or use `org.folio.rest.*` for all classes within a specific package,
331333
or `org.folio.rest.RestVerticle` for a specific class.
332334

333-
- `db_connection=[path]` Optional -- path to a JSON config file with
335+
- `-Ddb_connection=[path]` Optional -- path to a JSON config file with
334336
connection parameters to a PostgreSQL DB
335337

336338
- for example Postgres: `{"host":"localhost", "port":5432, "maxPoolSize":50,
@@ -343,14 +345,6 @@ or `org.folio.rest.RestVerticle` for a specific class.
343345

344346
- if file not found or path is relative tries to read a class path resource with that path
345347

346-
- Other module-specific arguments can be passed via the command line in the format key=value. These will be accessible to implementing modules via `RestVerticle.MODULE_SPECIFIC_ARGS` map.
347-
348-
- Optional JVM arguments can be passed before the `-jar` argument, e.g.
349-
`-XX:+HeapDumpOnOutOfMemoryError`
350-
`-XX:+PrintGCDetails`
351-
`-XX:+PrintGCTimeStamps`
352-
`-Xloggc:C:\Git\circulation\gc.log`
353-
354348
## Environment Variables
355349

356350
RMB implementing modules expect a set of environment variables to be passed in at module startup. The environment variables expected by RMB modules are:

_remote/raml-module-builder/doc/upgrading.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ These are notes to assist upgrading to newer versions.
88
See the [NEWS](../NEWS.md) summary of changes for each version.
99

1010
<!-- ../../okapi/doc/md2toc -l 2 -h 3 upgrading.md -->
11+
* [Version 36.0](#version-360)
1112
* [Version 35.3](#version-353)
1213
* [Version 35.2](#version-352)
1314
* [Version 35.1](#version-351)
@@ -30,6 +31,19 @@ See the [NEWS](../NEWS.md) summary of changes for each version.
3031
* [Version 25](#version-25)
3132
* [Version 20](#version-20)
3233

34+
## Version 36.0
35+
36+
36.0.\* is the Trillium version.
37+
38+
All command line options must be passed as system properties using `-D` before the `-jar` argument. `MODULE_SPECIFIC_ARGS` no longer exists.
39+
Modules should prefer environment variables.
40+
41+
In the log4j pattern (used in log4j2.properties and log4j2-json.properties) upcase id:
42+
* `FolioLoggingContext:requestid` -> `FolioLoggingContext:requestId`
43+
* `FolioLoggingContext:tenantid` -> `FolioLoggingContext:tenantId`
44+
* `FolioLoggingContext:userid` -> `FolioLoggingContext:userId`
45+
* `FolioLoggingContext:moduleid` -> `FolioLoggingContext:moduleId`
46+
3347
## Version 35.3
3448

3549
35.3.\* is the Ramsons (R2 2024) version.

0 commit comments

Comments
 (0)