All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
This version of the CMA java client works with cumulus-message-adapter v2.0.2 or later, and it's built with JDK 11. The java client package works on AWS Java 11 Runtime or later.
- CUMULUS-3386
- Built CMA java client with JDK 11
This version of the CMA java client works with cumulus-message-adapter v2.0.2 or later, and it's built with JDK 1.8. When use the java client package in AWS Runtime environment, for Java 8 Amazon Linux 1, use cumulus-message-adapter v2.0.2, and for Java 8 Amazon Linux 2, use cumulus-message-adapter v2.0.3 or later.
- CUMULUS-3386
- Updated CMA client to utilize pre-packaged AWS LINUX 2 binary for CMA when system python is unavailable or USE_CMA_BINARY environment is set to true. This is a breaking change if your task environment does not have python in the system path, but generally should be backward compatible with most use cases.
- Updated ci configuration to test the package on jdk8 environment both with and without system python
This version of the CMA java client works with cumulus-message-adapter v2.0.2 or earlier, and it's built with JDK 1.8.
- CUMULUS-3182
- Updated
AdapterLogger.InitializeLogger
method to be public - Updated example Cumulus task to initialize logger, build with Gradle 8
- Updated com.amazonaws libraries to address security vulnerability
- Updated
- Updated
aws-lambda-java-log4j2
to1.5.1
to address security vulnerability
- Updated
log4j-api
to2.17.1
to address security vulnerability - Updated
log4j-core
to2.17.1
to address security vulnerability
- Added
log4j-api
version2.17.0
- Updated
aws-lambda-java-log4j2
to1.5.0
to address security vulnerability
- Updated
log4j-core
to2.17.0
to address security vulnerability
- Updated
aws-lambda-java-log4j2
to1.4.0
to address security vulnerability
- Updated
org.apache.logging.log4j
to2.16.0
to address security vulnerability
- Updated
aws-lambda-java-log4j2
to1.3.0
andorg.apache.logging.log4j
to2.15.0
to address critical security vulnerability - Updated
com.google.code.gson
to2.8.9
to address security vulnerabilities
- Fixed timeout on large messages
- CUMULUS-2017 - fixed the
AdapterLogger
timestamp to be in ISO format
- Updated external CMA call to utilize python3 in anticipation of updates to the CMA.
This is a breaking change as it requires the existence of a python3
runtime in the environment, similar to AWS's lambda runtime for Java8
- Added
JsonUtils
class to help with converting from a JSON string to aMap
with proper type assignmentJsonUtils.toMap()
converts JSON string to aMap
- Updated
MessageParser.HandleMessage()
to properly handle errors wheree.getMessage()
isnull
, such as aNullPointerException
- CUMULUS-1634 - Adds three new keys
granules
,parentArn
, andstackName
to the AdapterLogger class
- CUMULUS-1488 - Update java client to allow use of CUMULUS_MESSAGE_ADAPTER_DIR environment variable/support layers
- Updated CMA client to handle parameterized configuration, set execution env variable regardless of message format