@cumulus/common
Advanced tools
Changelog
[v1.10.1] - 2018-09-4
@cumulus/deployment/
Changelog
[v1.10.0] - 2018-08-31
@cumulus/common
@cumulus/common/test-helpers
@cumulus/common/task
@cumulus/common/message-source
getPossiblyRemote
function from @cumulus/common/aws
startPromisedSfnExecution
function from @cumulus/common/aws
getCurrentSfnTask
function from @cumulus/common/aws
@cumulus/sync-granule
, 'collection' is now an optional config parameter@cumulus/move-granules
and @cumulus/post-to-cmr
to @cumulus/ingest
. Fixed imports making assumptions about directory structure.@cumulus/ingest/consumer
correctly limits the number of messages being received and processed from SQS. Details:
@cumulus/api
includes a lambda <stack-name>-sqs2sf
which processes messages from the <stack-name>-startSF
SQS queue every minute. The sqs2sf
lambda uses @cumulus/ingest/consumer
to receive and process messages from SQS.messageLimit
number of messages were being consumed and processed from the <stack-name>-startSF
SQS queue. Many step functions were being triggered simultaneously by the lambda <stack-name>-sqs2sf
(which consumes every minute from the startSF
queue) and resulting in step function failure with the error: An error occurred (ThrottlingException) when calling the GetExecutionHistory
.@cumulus/ingest/consumer#processMessages
now processes messages until timeLimit
has passed OR once it receives up to messageLimit
messages. sqs2sf
is deployed with a default messageLimit
of 10.consumer
will actually process up to messageLimit * 2 - 1
messages. This is because sometimes receiveSQSMessages
will return less than messageLimit
messages and thus the consumer will continue to make calls to receiveSQSMessages
. For example, given a messageLimit
of 10 and subsequent calls to receiveSQSMessages
returns up to 9 messages, the loop will continue and a final call could return up to 10 messages.Changelog
[v1.9.1] - 2018-08-22
Please Note To take advantage of the added granule tracking API functionality, updates are required for the message adapter and its libraries. You should be on the following versions:
cumulus-message-adapter
1.0.9+cumulus-message-adapter-js
1.0.4+cumulus-message-adapter-java
1.2.7+cumulus-message-adapter-python
1.0.5+@cumulus/api
. Added integration test.@cumulus/deployment
supports a configurable docker storage driver for ECS. ECS can be configured with either devicemapper
(the default storage driver for AWS ECS-optimized AMIs) or overlay2
(the storage driver used by the NGAP 2.0 AMI). The storage driver can be configured in app/config.yml
with ecs.docker.storageDriver: overlay2 | devicemapper
. The default is overlay2
.
ifEquals
was added to packages/deployment/lib/kes.js
.@cumulus/api
added IAM roles required by the NGAP 2.0 AMI. The NGAP 2.0 AMI runs a script register_instances_with_ssm.py
which requires the ECS IAM role to include ec2:DescribeInstances
and ssm:GetParameter
permissions.@cumulus/deployment
uses overlay2
driver by default and does not attempt to write --storage-opt dm.basesize
to fix this error.@cumulus/api/lambdas.yml
@cumulus/api
@cumulus/api
executions endpoint under new tasks
property, and under workflow_tasks
in step input/output.
cumulus-message-adapter
1.0.9+, cumulus-message-adapter-js
1.0.4+, cumulus-message-adapter-java
1.2.7+ and cumulus-message-adapter-python
1.0.5+@cumulus/integration-tests
to handle remote lambda outputstate
to have default value ENABLED
@cumulus/deployment
, changed the example app config.yml to have additional IAM rolesChangelog
[v1.9.0] - 2018-08-06
Please note additional information and upgrade instructions here
@cumulus/deployment
@cumulus/deployment
and @cumulus/api
Changelog
[v1.8.1] - 2018-08-01
Note IAM roles should be re-deployed with this release.
@cumulus/integration-tests
: sfnStep
includes getStepInput
which returns the input to the schedule event of a given step function step.@cumulus/deployment
: Lambda processing IAM role includes kinesis::PutRecord
so step function lambdas can write to kinesis streams.@cumulus/api
. Refactored token endpoint to use environment variable flag OAUTH_PROVIDER
when determining with authentication method to use.api_lambda_memory
to @cumulus/api
and @cumulus/deployment
.@cumulus/api
: models/rules.js#addKinesisEventSource
was modified to call to deleteKinesisEventSource
with all required parameters (rule's name, arn and type).@cumulus/integration-tests
: getStepOutput
can now be used to return output of failed steps. If users of this function want the output of a failed event, they can pass a third parameter eventType
as 'failure'
. This function will work as always for steps which completed successfully.Cumulus-726
@cumulus/deployment
: Removed default auto scaling configuration for Granules and Files DynamoDB tables.CUMULUS-688
@cumulus/integration-tests
: api
includes getExecutionStatus
which returns the execution status from the Cumulus APIChangelog
[v1.7.1] - 2018-07-27 - [BACKPORT]
Changelog
[v1.8.0] - 2018-07-23
CUMULUS-718 Adds integration test for Kinesis triggering a workflow.
GITC-776-3 Added more flexibility for rules. You can now edit all fields on the rule's record We may need to update the api documentation to reflect this.
CUMULUS-681 - Add ingest-in-place action to granules endpoint
CUMULUS-685 - Add parent exeuction arn to the execution which is triggered from a parent step function
Changelog
[v1.5.5] - 2018-05-30
pdr
property to the sync-granule task's input config and output payload.@cumulus/deployment
's default cloudformation template now configures storage for Docker to match the configured ECS Volume. The template defines Docker's devicemapper basesize (dm.basesize
) using ecs.volumeSize
. This addresses ECS default of limiting Docker containers to 10GB of storage (Read more).