diff --git a/README.md b/README.md index 9c26654..2c500f3 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,12 @@ This application requires a Java 11+ JVM and standard library to run, plus a Jav Wildfly must be pre-configured before the first deployment of the app. The [wildfly bash scripts](https://github.com/JeffersonLab/wildfly#configure) can be used to accomplish this. See the [Dockerfile](https://github.com/JeffersonLab/srm/blob/main/Dockerfile) for an example. ### Runtime -Uses the [Smoothness Environment Variables](https://github.com/JeffersonLab/smoothness#environment-variables). +Uses the [Smoothness Environment Variables](https://github.com/JeffersonLab/smoothness#environment-variables) plus the following application specific: -Additionally, the scheme, host name and port of the CEBAF Element Database (CED) server is configured with environment variable `CED_SERVER_URL`. +| Name | Description | +|----------------|---------------------------------------------------------------------------------------------------------------------------------| +| SRM_BOOKS_CSV | Comma Separated Logbooks to post CREATED/DELETED entries to. Defaults to TLOG. Generally should be set to ELOG in production. | +| CED_SERVER_URL | The scheme, host name and port of the CEBAF Element Database (CED) | There are some [Settings](https://github.com/JeffersonLab/srm/blob/87cb8b7d1a9b0e2e36cc68b34eaefe02478bb89a/docker/oracle/setup/02_ddl.sql#L256-L264) in the database as well. diff --git a/src/main/java/org/jlab/srm/business/session/GroupSignoffFacade.java b/src/main/java/org/jlab/srm/business/session/GroupSignoffFacade.java index a7e2fd9..a25d9a2 100644 --- a/src/main/java/org/jlab/srm/business/session/GroupSignoffFacade.java +++ b/src/main/java/org/jlab/srm/business/session/GroupSignoffFacade.java @@ -475,13 +475,13 @@ private Long createOpsPr( String subject = "System Readiness (HCO) Update for " + system.getName(); - String logbooks = System.getenv("LOGBOOK_OPS_BOOKS_CSV"); + String logbooks = System.getenv("SRM_BOOKS_CSV"); if (logbooks == null || logbooks.isEmpty()) { logbooks = "TLOG"; LOGGER.log( Level.WARNING, - "Environment variable 'LOGBOOK_OPS_BOOKS_CSV' not found, using default TLOG"); + "Environment variable 'SRM_BOOKS_CSV' not found, using default TLOG"); } ProblemReport report =