Skip to content

Commit d721b7f

Browse files
Nnaga1jennyhliuJkovarik
authored
CUMULUS-4241: Backport CUMULUS-4191 to v21.0.x (#4094)
* CUMULUS-4191: Update lambdas to filter rules based on provider in message (#4062) * CUMULUS-4191: Update lambdas to filter rules based on provider in message * add int test checking rule provider * add unit tests * add unit tests * remove serial * remove some comments * convert messageConsumer handler to new style * update changelog * PR feedback * CUMULUS-4252: Fix S3 unit test failures caused by stricter validation introduced in aws-sdk 3.896.0 (#4079) * fix test-multipartCopyObject failures caused by stricter validation introduced in aws-sdk 3.896.0 * update related unit tests * update changelog * remove unused import * Update lzards test client to use provider, add 'status' global to int… (#4080) * Update lzards test client to use provider, add 'status' global to int tests * Fix additional broken tests * Update CHANGELOG * Re-enable tests * Update tests to use collection param over metadata collection query * Fix unit tests * cherry-picking * CUMULUS-4254: Pin AWS-SDK version to circumvent circular JSON issue (#4081) * CI fix * changelog * sns fix * removing any type * pinning version * pinning all aws-sdk to 3.621 and also fixing lzards collection api issue * changing types to 3.609 and removing status from lzards reqs * fixing typo * update errorify to remove circular reference * unpinning versions * updated changelog for errorify * move errorify to errors package * using errors/errorify instead of api/errorify * re-adding status * mv errorify test to errors * fix lint additional errorify * test:ci * rename test file --------- Co-authored-by: jennyhliu <[email protected]> * updating version number * upating links at bottom --------- Co-authored-by: jennyhliu <[email protected]> Co-authored-by: Jonathan Kovarik <[email protected]> Co-authored-by: jennyhliu <[email protected]>
1 parent f819d89 commit d721b7f

File tree

108 files changed

+862
-520
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+862
-520
lines changed

CHANGELOG.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

7+
## [v21.0.1] 2025-10-16
8+
9+
### Changed
10+
11+
- **CUMULUS-4191**
12+
- Updated `messageConsumer` and `sqsMessageConsumer` Lambdas to apply rule filtering
13+
based on the provider from the record message.
14+
- Updated `messageConsumer` lambda handler to async/await style
15+
16+
- **CUMULUS-4242**
17+
- Updated @cumulus/lizards-api-client to include configured provider via `lzards_provider` env var in all queries
18+
- Updated LZARDS integration tests to work with updated API client query requirements for API version 1.5.25
19+
20+
- **CUMULUS-4252**
21+
- Fixed `@aws-client/S3` unit test failures caused by stricter validation introduced in
22+
`@aws-sdk/[email protected]`
23+
24+
- **CUMULUS-4254**
25+
- Moved `@cumulus/api/lib/utils.errorify` function to `@cumulus/errors` and updated it to remove circular reference
26+
- Used `errorify` instead of `JSON.stringify` for AWS errors
27+
- Added required `collection` field to lzards api request in `LzardsBackupSpec` integration test to fix the bug in `CUMULUS-4242`
28+
729
## [v21.0.0] 2025-09-09
830

931
### CUMULUS-4058 Handle Granules with Identical producerGranuleId in Different Collections
@@ -8869,9 +8891,12 @@ Note: There was an issue publishing 1.12.0. Upgrade to 1.12.1.
88698891
## [v1.0.0] - 2018-02-23
88708892

88718893

8872-
[Unreleased]: https://github.com/nasa/cumulus/compare/v21.0.0...HEAD
8873-
[v21.0.0]: https://github.com/nasa/cumulus/compare/v20.3.0...v21.0.0
8874-
[v20.3.0]: https://github.com/nasa/cumulus/compare/v20.2.1...v20.3.0
8894+
[Unreleased]: https://github.com/nasa/cumulus/compare/v21.0.1...HEAD
8895+
[v21.0.1]: https://github.com/nasa/cumulus/compare/v21.0.0...v21.0.1
8896+
[v21.0.0]: https://github.com/nasa/cumulus/compare/v20.3.1...v21.0.0
8897+
[v20.1.0]: https://github.com/nasa/cumulus/compare/v20.3.0...v20.3.1
8898+
[v20.3.0]: https://github.com/nasa/cumulus/compare/v20.2.2...v20.3.0
8899+
[v20.2.2]: https://github.com/nasa/cumulus/compare/v20.2.1...v20.2.2
88758900
[v20.2.1]: https://github.com/nasa/cumulus/compare/v20.2.0...v20.2.1
88768901
[v20.2.0]: https://github.com/nasa/cumulus/compare/v20.1.2...v20.2.0
88778902
[v20.1.2]: https://github.com/nasa/cumulus/compare/v20.1.1...v20.1.2

example/cumulus-tf/lambdas.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ resource "aws_lambda_function" "lzards_api_client_test" {
198198
launchpad_api = var.launchpad_api
199199
lzards_launchpad_certificate = var.launchpad_certificate
200200
lzards_launchpad_passphrase_secret_name = length(var.launchpad_passphrase) == 0 ? null : aws_secretsmanager_secret.lzards_api_client_test_launchpad_passphrase.name
201+
lzards_provider = var.lzards_provider
201202
}
202203
}
203204

example/lambdas/asyncOperations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cumulus/test-async-operations",
3-
"version": "21.0.0",
3+
"version": "21.0.1",
44
"description": "AsyncOperations Test Lambda",
55
"main": "index.js",
66
"private": true,

example/lambdas/ftpPopulateTestLambda/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cumulus/ftp-populate-test-lambda",
3-
"version": "21.0.0",
3+
"version": "21.0.1",
44
"description": "FTP Population Utility Lambda",
55
"main": "index.js",
66
"private": true,
@@ -19,12 +19,12 @@
1919
"access": "private"
2020
},
2121
"dependencies": {
22-
"@cumulus/api": "21.0.0",
23-
"@cumulus/api-client": "21.0.0",
24-
"@cumulus/common": "21.0.0",
25-
"@cumulus/integration-tests": "21.0.0",
26-
"@cumulus/logger": "21.0.0",
27-
"@cumulus/test-data": "21.0.0",
22+
"@cumulus/api": "21.0.1",
23+
"@cumulus/api-client": "21.0.1",
24+
"@cumulus/common": "21.0.1",
25+
"@cumulus/integration-tests": "21.0.1",
26+
"@cumulus/logger": "21.0.1",
27+
"@cumulus/test-data": "21.0.1",
2828
"fs-extra": "^9.0.0",
2929
"jsftp": "https://github.com/jkovarik/jsftp.git#add_288",
3030
"lodash": "^4.17.20"

example/lambdas/lzardsClientTest/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cumulus/test-lzards-api-lambda",
3-
"version": "21.0.0",
3+
"version": "21.0.1",
44
"description": "LZARDS API Client Test Lambda",
55
"private": true,
66
"engines": {
@@ -20,7 +20,7 @@
2020
"author": "Cumulus Authors",
2121
"license": "Apache-2.0",
2222
"dependencies": {
23-
"@cumulus/logger": "21.0.0",
24-
"@cumulus/lzards-api-client": "21.0.0"
23+
"@cumulus/logger": "21.0.1",
24+
"@cumulus/lzards-api-client": "21.0.1"
2525
}
2626
}

example/lambdas/python-processing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cumulus/python-process-activity",
33
"private": true,
4-
"version": "21.0.0",
4+
"version": "21.0.1",
55
"description": "Python reference activity",
66
"homepage": "https://github.com/nasa/cumulus/tree/master/example/lambdas/python-reference-activity",
77
"repository": {

example/lambdas/python-reference-activity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cumulus/python-reference-activity",
33
"private": true,
4-
"version": "21.0.0",
4+
"version": "21.0.1",
55
"description": "Python reference activity",
66
"homepage": "https://github.com/nasa/cumulus/tree/master/example/lambdas/python-reference-activity",
77
"repository": {

example/lambdas/python-reference-task/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cumulus/python-reference-task",
33
"private": true,
4-
"version": "21.0.0",
4+
"version": "21.0.1",
55
"description": "Python reference task",
66
"main": "index.js",
77
"homepage": "https://github.com/nasa/cumulus/tree/master/example/lambdas/python-reference-task",

example/lambdas/s3AccessTest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cumulus/test-s3-access",
3-
"version": "21.0.0",
3+
"version": "21.0.1",
44
"description": "S3 Access Test Lambda",
55
"main": "index.js",
66
"private": true,

example/lambdas/snsS3Test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cumulus/test-sns-s3",
3-
"version": "21.0.0",
3+
"version": "21.0.1",
44
"description": "SNS to S3 Test Lambda",
55
"main": "index.js",
66
"private": true,

0 commit comments

Comments
 (0)