v18.1.0
Dashboard Requirement
Note that this release contains breaking changes for the Cumulus Dashboard. You must use the Cumulus Dashboard v12.1.0 or greater
MIGRATION notes
Rules API Endpoint Versioning
As part of the work on CUMULUS-3095, we have added a required header for the
rules PUT/PATCH endpoints -- to ensure that older clients/utilities do not
unexpectedly make destructive use of those endpoints, a validation check of a
header value against supported versions has been implemented.
Moving forward, if a breaking change is made to an existing endpoint that
requires user updates, as part of that update we will set the current version of
the core API and require a header that confirms the client is compatible with
the version required or greater.
In this instance, the rules PUT/PATCH
endpoints will require a Cumulus-API-Version
value of at least 2
.
curl --request PUT https://example.com/rules/repeat_test\
--header 'Cumulus-API-Version: 2'\
--header 'Content-Type: application/json'\
--header 'Authorization: Bearer ReplaceWithToken'\
--data ...
Users/clients that do not make use of these endpoints will not be impacted.
Breaking Changes
- CUMULUS-3427
- Changed the naming conventions for memory size and timeouts configuration to simply the lambda name
Notable Changes
- CUMULUS-3095
- Added
PATCH
rules endpoint to update rule which works as the existingPUT
endpoint. - Updated
PUT
rules endpoint to replace rule.
- Added
Added
- CUMULUS-3218
- Added optional
maxDownloadTime
field toprovider
schema - Added
max_download_time
column to PostgreSQLproviders
table - Updated
@cumulus/ingest/lock
to check expired locks based onprovider.maxDownloadTime
- Added optional
Changed
- CUMULUS-3095
- Updated
@cumulus/api-client/rules
to havereplaceRule
andupdateRule
methods. - Updated mapping for rule Elasticsearch records to prevent dynamic field for keys under
meta
andpayload
, and fixedrule
field mapping.
- Updated
- CUMULUS-3351
- Updated
constructOnlineAccessUrls()
to group CMR online access URLs by link type.
- Updated
- CUMULUS-3377
- Added configuration option to cumulus-tf/terraform.tfvars to include sns:Subscribe access policy for
executions, granules, collections, and PDRs report topics.
- Added configuration option to cumulus-tf/terraform.tfvars to include sns:Subscribe access policy for
- CUMULUS-3392
- Modify cloudwatch rule by deleting
custom
- Modify cloudwatch rule by deleting
- CUMULUS-3434
- Updated
@cumulus/orca-recovery-adapter
task to output both input granules and recovery output. - Updated
example/cumulus-tf/orca.tf
to use v9.0.0.
- Updated
Fixed
- CUMULUS-3095
- Added back
rule
schema validation which is missing after RDS phase 3. - Fixed a bug for creating rule with tags.
- Added back
- CUMULUS-3286
- Fixed
@cumulus/cmrjs/cmr-utils/getGranuleTemporalInfo
and@cumulus/message/Granules/getGranuleCmrTemporalInfo
to handle non-existing cmr file. - Updated mapping for granule and deletedgranule Elasticsearch records to prevent dynamic field for keys under
queryFields
. - Updated mapping for collection Elasticsearch records to prevent dynamic field for keys under
meta
.
- Fixed
- CUMULUS-3393
- Fixed
PUT
collection endpoint to update collection configuration in S3.
- Fixed
- CUMULUS-3427
- Fixed issue where some lambda and task memory sizes and timeouts were not configurable
- @AWS-SDK upgrade
- Fixed TS compilation error on aws-client package caused by @aws-sdk/client-dynamodb 3.433.0 upgrade