@cumulus/checksum
Advanced tools
Changelog
[v9.9.2] 2021-02-10 [BACKPORT]
Please note changes in 9.9.2 may not yet be released in future versions, as this is a backport and patch release on the 9.9.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.### Added
tf-modules/rds-cluster-tf
. The allowed parameters for the parameter group can be found in the AWS documentation of allowed parameters for an Aurora PostgreSQL cluster. By default, the following parameters are specified:
shared_preload_libraries
: pg_stat_statements,auto_explain
log_min_duration_statement
: 250
auto_explain.log_min_duration
: 250
granule_cumulus_id
to the RDS files table.timeout_action
to ForceApplyCapacityChange
by default for the RDS serverless database cluster tf-modules/rds-cluster-tf
Changelog
[v9.4.1] 2022-02-14 [BACKPORT]
Please note changes in 9.4.1 may not yet be released in future versions, as this is a backport and patch release on the 9.4.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
ssh2
package from @cumulus/common
to @cumulus/sftp-client
and
upgraded package from ^0.8.7
to ^1.0.0
to address security vulnerability
issue in previous version.Changelog
[v9.9.1] 2021-02-10 [BACKPORT]
Please note changes in 9.9.1 may not yet be released in future versions, as this is a backport and patch release on the 9.9.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
@cumulus/api-client
to not log an error for 201 response from updateGranule
@cumulus/cumulus-message-adapter-js
from 2.0.3
to 2.0.4
for
all Cumulus workflow tasks@cumulus/api-client/invokeApi()
to accept a single accepted status code or an array
of accepted status codes via expectedStatusCodes
Changelog
[v10.0.1] 2022-02-03
<prefix>-postgres-migration-async-operation
Lambda
which prevented it from running a Fargate task for data migration.Changelog
[v10.0.0] 2022-02-01
task-config
for all workflows that use the sync-granule
task to include workflowStartTime
set to
{$.cumulus_meta.workflow_start_time}
. See here for an example.isCMRFilename
and isCMRFile
isECHO10File
-> isECHO10Filename
isUMMGFile
-> isUMMGFilename
isISOFile
-> isCMRISOFilename
files
object now matches the file schema in the
Cumulus database and thus also matches the files
object produced by the API with use cases like
applyWorkflow
. This includes removal of name
and filename
in favor of bucket
and key
,
removal of certain properties such as etag
and duplicate_found
and outputting them as
separate objects stored in meta
.@cumulus/checksum
are now converted to string to standardize
checksum formatting across the Cumulus library.sync-granule
task has been updated to support an optional configuration parameter workflowStartTime
. The output payload of sync-granule
now includes a createdAt
time for each granule which is set to the
provided workflowStartTime
or falls back to Date.now()
if not provided. Workflows using
sync-granule
may be updated to include this parameter with the value of {$.cumulus_meta.workflow_start_time}
in the task_config
.@cumulus/cumulus-message-adapter-js
from 2.0.3
to 2.0.4
for
all Cumulus workflow tasksPOST /deadLetterArchive/recoverCumulusMessages
POST /elasticsearch/index-from-database
POST /granules/bulk
POST /granules/bulkDelete
POST /granules/bulkReingest
POST /migrationCounts
POST /reconciliationReports
POST /replays
POST /replays/sqs
knex
package from 0.95.11
to 0.95.15
example/cumulus-tf
module to retrieve default VPC and subnets in NGAP accounts
vpc_tag_name
variable which defines the tags used to look up a VPC. Defaults to VPC tag name used in NGAP accountssubnets_tag_name
variable which defines the tags used to look up VPC subnets. Defaults to a subnet tag name used in NGAP accountsexample/data-persistence-tf
module to retrieve default VPC and subnets in NGAP accounts
vpc_tag_name
variable which defines the tags used to look up a VPC. Defaults to VPC tag name used in NGAP accountssubnets_tag_name
variable which defines the tags used to look up VPC subnets. Defaults to a subnet tag name used in NGAP accountsexample/rds-cluster-tf
module to retrieve default VPC and subnets in NGAP accounts
vpc_tag_name
variable which defines the tags used to look up a VPC. Defaults to VPC tag name used in NGAP accountssubnets_tag_name
variable which defines the tags used to look up VPC subnets. Defaults to tag names used in subnets in for NGAP accountsSHA-256
vs SHA256
) to tasks that calculate checksums.cmr_search_client_config
tfvars to the archive and cumulus terraform modules.s3MultipartChunksizeMb
to collection's meta
fieldmove-granules
task to take in an optional config parameter s3MultipartChunksizeMbvpc_id
variable optional for example/cumulus-tf
modulevpc_id
and subnet_ids
variables optional for example/data-persistence-tf
modulevpc_id
and subnets
variables optional for example/rds-cluster-tf
moduleUSE\_CACHED\_BOOTSTRAP
is disabled.BucketType
.workflowStartTime
createdAt
on output based on workflowStartTime
if provided,
falling back to Date.now()
if not provided.task_config
of SyncGranule in example workflows@cumulus/cumulus-message-adapter-js
version 2.0.3
, which includes an
update cma-js to better expose CMA stderr stream output on lambda timeouts
as well as minor logging enhancements.finalPayload.*
will not dynamically add new fields to mappingoriginalPayload.*
will not dynamically add new fields to mappingtasks
will not dynamically add new fields to mappingTypeError
thrown by @cumulus/cmrjs/cmr-utils.getGranuleTemporalInfo
when
a granule's associated UMM-G JSON metadata file does not contain a ProviderDates
element that has a Type
of either "Update"
or "Insert"
. If neither are
present, the granule's last update date falls back to the "Create"
type
provider date, or undefined
, if none is present.@cumulus/api-client/invokeApi()
to accept a single accepted status code or an array
of accepted status codes via expectedStatusCodes
@cumulus/launchpad-auth/LaunchpadToken.requestToken
and validateToken
to use the HTTPS request option https.pfx
instead of the deprecated pfx
option
for providing the certificate.cmr-utils/getGranuleTemporalInfo
to search for a SingleDateTime
element, when beginningDateTime value is not
found in the metadata file. The granule's temporal information is
returned so that both beginningDateTime and endingDateTime are set to the
discovered singleDateTimeValue._writeGranule()
in write-granules.js
to catch failed granule writes due to schema validation, log the failure and then attempt to set the status of the granule to failed
if it already exists to prevent a failure from allowing the granule to get "stuck" in a non-failed status.@cumulus/api-client
to not log an error for 201 response from updateGranule
hyrax-metadata-updates
task to support reading the DatasetId from ECHO10 XML, and the EntryTitle from UMM-G JSON; these are both valid alternatives to the shortname and version ID.Changelog
[v9.7.1] 2021-12-08 [Backport]
Please note changes in 9.7.0 may not yet be released in future versions, as this is a backport and patch release on the 9.7.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases. Fixed
Changelog
[v9.9.0] 2021-11-03
MoveGranules
step
isISOFile
to check if a given file object is an ISO filegranuleToCmrFileObject
and granulesToCmrFileObjects
now take a
filterFunc
argument
filterFunc
's default value is isCMRFile
, so the previous behavior is
maintained if no value is given for this argumentMoveGranules
passes a custom filter function to
granulesToCmrFileObjects
to check for isISOFile
in addition to
isCMRFile
, so that metadata from .iso.xml
files can be used in the
urlPathTemplate
elasticsearch_client_config
tfvars to the archive and cumulus terraform modules.default_s3_multipart_chunksize_mb
setting to the move-granules
lambda function.default_s3_multipart_chunksize_mb
tfvars to the cumulus and ingest terraform modules.chunkSize
to @cumulus/aws-client/S3.moveObject
and
@cumulus/aws-client/S3.multipartCopyObject
to set the chunk size of the S3 multipart uploads.maxChunkSize
to chunkSize
in
@cumulus/aws-client/lib/S3MultipartUploads.createMultipartChunks
.@cumulus/cumulus-message-adapter-js
version 2.0.1
@cumulus/api/launchpadSaml.launchpadPublicCertificate
to correctly retrieve
certificate from launchpad IdP metadata with and without namespace prefix.