Release Notes / Version 10.2101
Table Of ContentsThird-Party Update: Apache Tika and Transitive Dependencies
Apache Tika has been updated to version 1.26. As part of this change, the following transitive dependencies of Apache Tika have been updated to match versions used by Tika. These updates fix known security vulnerabilities: CVE-2021-28657 (Tika), CVE-2021-27807 (PDFBox).
Updated dependencies:
com.google.guava:guava: 30.1.1-jre
org.apache.commons:commons-lang3: 3.12.0
org.apache.pdfbox:fontbox: 2.0.23
org.apache.pdfbox:pdfbox: 2.0.23
org.apache.pdfbox:pdfbox-tools: 2.0.23
org.apache.pdfbox:preflight: 2.0.23
org.apache.pdfbox:xmpbox: 2.0.23
org.apache.tika:tika-core: 1.25
org.apache.tika:tika-parsers: 1.25
org.bouncycastle:bcmail-jdk15on: 1.68
org.bouncycastle:bcpkix-jdk15on: 1.68
org.bouncycastle:bcprov-jdk15on: 1.68
org.ow2.asm:asm: 9.1
org.tukaani:xz: 1.9
If you use these libraries in project code, please check their respective release notes for changes and upgrade information. No changes were necessary in the CoreMedia Blueprint for these updates.
(CMS-19202)
Runlevel based health indicator added to the content-server application
A runlevel based health indicator has been added to the content-server application. The endpoint is available at
:8081/actuator/health/runlevel
. The indicator will be set to:
UP if the runlevel is
ONLINE
orMAINTENANCE
DOWN. if the runlevel is
ADMINISTRATION
orOFFLINE
To activate/deactivate the healthcheck, set the application property
management.health.runlevel.enabled=true|false
.
(CMS-18871)
Runlevel actuator endpoint added
The content-server application now has a runlevel endpoint to get the current runlevel or change the runlevel. The endpoint is available at
:8081/actuator/runlevel
and can be enabled by setting the property
management.endpoint.runlevel.enabled=true
. The endpoint is disabled by default. To change the runlevel you can send a HTTP POST request i.e.
/usr/bin/curl -X POST \ -H "Content-Type: application/json" \ -d '{"runlevel": "MAINTENANCE", "gracePeriod": 30}' \ http://localhost:8081/actuator/runlevel
The runlevels are:
ONLINE
MAINTENANCE
ADMINISTRATION
OFFLINE
(CMS-18578)