@cumulus/common
Advanced tools
Changelog
[v18.2.0] 2024-02-02
From this release forward, Cumulus Core will be tested against PostgreSQL v13. Users should migrate their datastores to Aurora PostgreSQL 13.9+ compatible data stores as soon as possible after upgrading to this release.
Users utilizing the cumulus-rds-tf
module should reference cumulus-rds-tf
upgrade
instructions.
@cumulus/aws-client
package.@cumulus/aws-client
package.cumulus-rds-tf
module to take additional parameters in support of
migration from Aurora PostgreSQl v11 to v13. See Migration Notes for more detailscumulus-rds-tf
engine_version
to 13.9
cumulus-rds-tf
parameter_group_family
to aurora-postgresql13
_removeGranuleFromCmr
function for granule bulkDelete
to not throw an error and instead catch the error when the granule is not found in CMR/sqs/
to /failed-sqs/
locationchildWorkflowMeta
to QueueWorkflow
task configurationrules.buildPayload' to restore changes from ticket
CUMULUS-2969which limited the definition object to
nameand
arn` to
account for AWS character limits.var.lambda_memory_size
is supposed to be var.lambda_memory_sizes
@cumulus/api
validateAndUpdateSqsRule
method to allow 0 retries and 0 visibilityTimeout
in rule's meta. This fix from CUMULUS-2863 was not in release 16 and later.Changelog
[v16.1.3] 2024-1-15
Please note changes in 16.1.3 may not yet be released in future versions, as this is a backport/patch release on the 16.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
rules.buildPayload' to restore changes from ticket
CUMULUS-2969which limited the definition object to
nameand
arn` to
account for AWS character limits.@cumulus/api
validateAndUpdateSqsRule
method to allow 0 retries and 0 visibilityTimeout
in rule's meta. This fix from CUMULUS-2863 was not in release 16 and later.Changelog
[v16.1.2] 2023-11-01
Please note changes in 16.1.2 may not yet be released in future versions, as this is a backport/patch release on the 16.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
maxDownloadTime
field to provider
schemamax_download_time
column to PostgreSQL providers
table@cumulus/ingest/lock
to check expired locks based on provider.maxDownloadTime
meta
.@cumulus/cmrjs/cmr-utils/getGranuleTemporalInfo
and @cumulus/message/Granules/getGranuleCmrTemporalInfo
to handle non-existing cmr file.queryFields
./sqs/
to /failed-sqs/
locationPUT
collection endpoint to update collection configuration in S3.childWorkflowMeta
to QueueWorkflow
task configurationChangelog
[v18.1.0] 2023-10-25
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.
PATCH
rules endpoint to update rule which works as the existing PUT
endpoint.PUT
rules endpoint to replace rule.maxDownloadTime
field to provider
schemamax_download_time
column to PostgreSQL providers
table@cumulus/ingest/lock
to check expired locks based on provider.maxDownloadTime
@cumulus/api-client/rules
to havereplaceRule
and updateRule
methods.meta
and payload
, and fixed rule
field mapping.constructOnlineAccessUrls()
to group CMR online access URLs by link type.custom
@cumulus/orca-recovery-adapter
task to output both input granules and recovery output.example/cumulus-tf/orca.tf
to use v9.0.0.rule
schema validation which is missing after RDS phase 3.@cumulus/cmrjs/cmr-utils/getGranuleTemporalInfo
and @cumulus/message/Granules/getGranuleCmrTemporalInfo
to handle non-existing cmr file.queryFields
.meta
.PUT
collection endpoint to update collection configuration in S3.Changelog
[v18.0.0] 2023-08-28
collectionRuleMatcher
Rules Helper, which is used by the sqs-message-consumer and message-consumer Lambdas,
to report when an incoming message's collection does not match any rules.Changelog
[v17.0.0] 2023-08-09
hashicorp/aws
provider required by Cumulus to ~> 5.0
which in turn requires updates to all modules deployed with Core in the same stack
to use a compatible provider version.terraform plan
or
terraform apply
changeset to ensure the changes between providers are what
you're expecting for all modules you've chosen to deploy with CumulusUpdate @cumulus/api/lib/orca/getOrcaRecoveryStatusByGranuleCollection to @cumulus/api/lib/orca/getOrcaRecoveryStatusByGranuleIdAndCollection and add collectionId to arguments to support Orca v8+ required use of collectionId
Updated all terraform AWS providers to ~> 5.0
Changelog
[v16.1.1] 2023-08-03
onetime
rules RuleTrigger to only execute when the state is ENABLED
and updated documentation to reflect the changeinvokeRerun
function to only re-run enabled rules@cumulus/orca-copy-to-archive-adapter
, and add the task to tf-modules/ingest
tf-modules/cumulus
module to take variable orca_lambda_copy_to_archive_arn
and pass to tf-modules/ingest
example/cumulus-tf/ingest_and_publish_granule_with_orca_workflow.tf
CopyToGlacier
(renamed to CopyToArchive
) step to call
orca_copy_to_archive_adapter_task
@cumulus/orca-recovery-adapter
, and add the task to tf-modules/ingest
tf-modules/cumulus
module to take variable orca_sfn_recovery_workflow_arn
and pass to tf-modules/ingest
example/cumulus-tf/orca_recovery_adapter_workflow.tf
, OrcaRecoveryAdapterWorkflow
workflow has OrcaRecoveryAdapter
task
to call the ORCA recovery step-function.example/data/collections/
collection configuration meta.granuleRecoveryWorkflow
to use OrcaRecoveryAdapterWorkflow
api/tests/lib/test-rulesHelpers
and removed extraneous test files.@cumulus/queue-granules
is now written in TypeScript@cumulus/schemas
can now generate TypeScript interfaces for the task input, output and config.throttled-queue.tf
@cumulus/api
getGranulesForPayload
function to query cloud metrics es when needed.send-pan
and startAsyncOperation
lambdas to nodejs16.x