SCFapp cofiguration file

Information on the location and the elements of conf.json.

Location of conf.json

Production Application:  /opt/tomcat/webapps/AlmaRemoteStorageApp/WEB-INF/classes

ls -l

drwxr-xr-x 3 tomcat tomcat  4096 May 14 14:59 com
-rw-r--r-- 1 tomcat tomcat 10592 Aug  8 14:13 conf.json
-rw-r--r-- 1 root   root   10508 Aug  8 14:08 conf.json.GTtest   (older file, not used, can be deleted)
-rw-r--r-- 1 root   root   10490 Jun 17 13:24 conf.json.hold        (older file, not used, can be deleted)
-rw-r--r-- 1 tomcat tomcat   787 May 14 14:59 log4j.properties 

(This file controls some of the logging properties such as name of the log file, application.log.  This log file can be found at /opt/tomcat/logs.)

 

PSB Application:  /opt/tomcat/webapps/AlmaRSA-PSB/WEB-INF/classes

ls -l

drwxr-xr-x 3 tomcat tomcat 4096 Sep  4 10:41 ./
drwxr-xr-x 4 tomcat tomcat 4096 Feb  5  2024 ../
drwxr-xr-x 3 tomcat tomcat 4096 Feb  5  2024 com/
-rw-r--r-- 1 tomcat tomcat 3797 Sep  4 10:41 conf.json
-rw-r--r-- 1 tomcat tomcat  802 Feb  5  2024 log4j.properties

(This file controls some of the logging properties such as name of the log file, PSB-application.log.  This log file can be found at /opt/tomcat/logs.)

 

 

conf.json example

Find request_job_id

Use the IZ’s apikey (permissions: read/write Bibs, read Users) found in the IZ’s Developer Network account under “My APIs”

URL: https://api-na.hosted.exlibrisgroup.com/almaws/v1/conf/integration-profiles?                                                                                    + apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                + &type=REMOTE_STORAGE

https://api-na.hosted.exlibrisgroup.com/almaws/v1/conf/integration-profiles?apikey=l8xx dd61599bea484b8d8b7d84a722da788e&type=REMOTE_STORAGE

Intermediate Result:

Find publishing_job_id

Reloading conf.json and testing configuration

CRscfapp

Test URLs - Production
https://scfapp.wrlc.org/AlmaRemoteStorageApp/webhook?challenge=6473 (must be at WRLC or on L2TP VPN)
https://scfapp.wrlc.org/AlmaRemoteStorageApp/configuration (use this to reload conf.json)
https://scfapp.wrlc.org/AlmaRemoteStorageApp/logger?level=DEBUG

Test URLs - PSB (scfapp-tst can also be used for AlmaRemoteStorageApp production from 172.27.0.0/16)
http://scfapp.wrlc.org/AlmaRSA-PSB/webhook?challenge=16473 (must be on 172.27.0.0/16)
http://scfapp.wrlc.org/AlmaRSA-PSB/configuration (use this to reload conf.json)
http://scfapp.wrlc.org/AlmaRSA-PSB/logger?level=DEBUG

Applications: ExLibris's scfapp