Release Notes / Version 10.2010
Table Of ContentsRunlevel 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
(CMS-18871)
Third-Party Update: Apache Tika and Transitive Dependencies
Apache Tika has been updated to version 1.25. As part of this change, the following transitive dependencies of Apache Tika have been updated to match versions used by Tika. Some of these updates fix known security vulnerabilities: CVE-2020-28052 (Bouncy Castle), CVE-2020-8908 (Guava), CVE-2020-13956 (Http Client).
Updated dependencies:
com.google.guava:guava: 30.0-jre
com.rometools:rome: 1.15.0
commons-codec:commons-codec: 1.15
commons-io:commons-io: 2.8.0
jakarta.xml.bind:jakarta.xml.bind-api: 2.3.3
org.apache.commons:commons-lang3: 3.11
org.apache.httpcomponents:httpclient: 4.5.13
org.apache.httpcomponents:httpmime: 4.5.13
org.apache.pdfbox:pdfbox: 2.0.21
org.apache.tika:tika-core: 1.25
org.apache.tika:tika-parsers: 1.25
org.bouncycastle:bcmail-jdk15on: 1.67
org.bouncycastle:bcpkix-jdk15on: 1.67
org.bouncycastle:bcprov-jdk15on: 1.67
org.glassfish.jaxb:jaxb-runtime: 2.3.3
org.ow2.asm:asm: 9.0
If you use the 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-18720)
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/endpoint
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)