Skip to content

Commit

Permalink
Merge pull request #1001 from nasa/release-1.13.0
Browse files Browse the repository at this point in the history
Release 1.13.0
  • Loading branch information
laurenfrederick committed May 20, 2019
2 parents 2d25c3d + 31bdbda commit 1a1bcee
Show file tree
Hide file tree
Showing 44 changed files with 2,857 additions and 119 deletions.
19 changes: 10 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ stages:

jobs:
include:
- name: "npm audit"
stage: audit and lint
if: tag !~ ^v\d+.* AND commit_message !~ \[skip-audit\]
install:
- nvm install-latest-npm
- ln -s /dev/stdout ./lerna-debug.log
- npm install --no-audit
- npm run install-locks
script: npm run audit
# Temporarily disabling the audit step while we wait for npm audit to be fixed
# - name: "npm audit"
# stage: audit and lint
# if: tag !~ ^v\d+.* AND commit_message !~ \[skip-audit\]
# install:
# - nvm install-latest-npm
# - ln -s /dev/stdout ./lerna-debug.log
# - npm install --no-audit
# - npm run install-locks
# script: npm run audit

- name: "eslint"
stage: audit and lint
Expand Down
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v1.13.0] - 2019-5-20

### PLEASE NOTE

**CUMULUS-802** added some additional IAM permissions to support ECS autoscaling and changes were needed to run all lambdas in the VPC, so **you will have to redeploy your IAM stack.**
Expand All @@ -30,7 +32,7 @@ If running Cumulus within a VPC and extended downtime is acceptable, we recommen
Migrations for this version will need to be user-managed. (e.g. [elasticsearch](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-version-migration.html#snapshot-based-migration) and [dynamoDB](https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-template-exports3toddb.html)).
Order of stack deployment is `iam` -> `db` -> `app`.
- All stacks can now be deployed using a single `config.yml` file, i.e.: `kes cf deploy --kes-folder app --template node_modules/@cumulus/deployment/[iam|db|app] [...]`
Backwards-compatible. Please re-run `npm run bootstrap` to build new `kes` overrides.
Backwards-compatible. For development, please re-run `npm run bootstrap` to build new `kes` overrides.
Deployment docs have been updated to show how to deploy a single-config Cumulus instance.
- `params` have been moved: Nest `params` fields under `app`, `db` or `iam` to override all Parameters for a particular stack's cloudformation template. Backwards-compatible with multi-config setups.
- `stackName` and `stackNameNoDash` have been retired. Use `prefix` and `prefixNoDash` instead.
Expand All @@ -40,6 +42,7 @@ If running Cumulus within a VPC and extended downtime is acceptable, we recommen

- **CUMULUS-1212**
- `@cumulus/post-to-cmr` will now fail if any granules being processed are missing a metadata file. You can set the new config option `skipMetaCheck` to `true` to pass post-to-cmr without a metadata file.

- **CUMULUS-1232**
- `@cumulus/sync-granule` will no longer silently pass if no checksum data is provided. It will use input
from the granule object to:
Expand All @@ -48,13 +51,15 @@ If running Cumulus within a VPC and extended downtime is acceptable, we recommen
- Then, verify synced S3 file size if `file.size` is in the file record (throws `UnexpectedFileSize` on fail),
else log warning that no file size is available.
- Pass the step.

- **CUMULUS-1264**
- The Cloudformation templating and deployment configuration has been substantially refactored.
- `CumulusApiDefault` nested stack resource has been renamed to `CumulusApiDistribution`
- `CumulusApiV1` nested stack resource has been renamed to `CumulusApiBackend`
- The `urs: true` config option for when defining your lambdas (e.g. in `lambdas.yml`) has been deprecated. There are two new options to replace it:
- `urs_redirect: 'token'`: This will expose a `TOKEN_REDIRECT_ENDPOINT` environment variable to your lambda that references the `/token` endpoint on the Cumulus backend API
- `urs_redirect: 'distribution'`: This will expose a `DISTRIBUTION_REDIRECT_ENDPOINT` environment variable to your lambda that references the `/redirect` endpoint on the Cumulus distribution API

- **CUMULUS-1193**
- The elasticsearch instance is moved behind the VPC.
- Your account will need an Elasticsearch Service Linked role. This is a one-time setup for the account. You can follow the instructions to use the AWS console or AWS CLI [here](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html) or use the following AWS CLI command: `aws iam create-service-linked-role --aws-service-name es.amazonaws.com`
Expand Down Expand Up @@ -122,6 +127,9 @@ If running Cumulus within a VPC and extended downtime is acceptable, we recommen
- **CUMULUS-1236**
- Moves access to public files behind the distribution endpoint. Authentication is not required, but direct http access has been disallowed.

- **CUMULUS-1223**
- Adds unauthenticated access for public bucket files to the Distribution API. Public files should be requested the same way as protected files, but for public files a redirect to a self-signed S3 URL will happen without requiring authentication with Earthdata login.

- **CUMULUS-1232**
- Unifies duplicate handling in `ingest/granule.handleDuplicateFile` for maintainability.
- Changed `ingest/granule.ingestFile` and `move-granules/index.moveFileRequest` to use new function.
Expand All @@ -130,14 +138,11 @@ If running Cumulus within a VPC and extended downtime is acceptable, we recommen
`UnexpectedFileSize` error for file size not matching input.
- `ingest/granule.verifyFile` logs warnings if checksum and/or file size are not available.

- **CUMULUS-1223**
- Adds unauthenticated access for public bucket files to the Distribution API. Public files should be requested the same way as protected files, but for public files a redirect to a self-signed S3 URL will happen without requiring authentication with Earthdata login.

- **CUMULUS-1193**
- Moved reindex CLI functionality to an API endpoint
- Moved reindex CLI functionality to an API endpoint. See [API docs](https://nasa.github.io/cumulus-api/#elasticsearch-1)

- **CUMULUS-1207**
- No longer disable lambda event source mappings
- No longer disable lambda event source mappings when disabling a rule

### Fixed

Expand Down Expand Up @@ -1118,7 +1123,8 @@ We may need to update the api documentation to reflect this.

## [v1.0.0] - 2018-02-23

[Unreleased]: https://github.com/nasa/cumulus/compare/v1.12.1...HEAD
[Unreleased]: https://github.com/nasa/cumulus/compare/v1.13.0...HEAD
[v1.13.0]: https://github.com/nasa/cumulus/compare/v1.12.1...v1.13.0
[v1.12.1]: https://github.com/nasa/cumulus/compare/v1.12.0...v1.12.1
[v1.12.0]: https://github.com/nasa/cumulus/compare/v1.11.3...v1.12.0
[v1.11.3]: https://github.com/nasa/cumulus/compare/v1.11.2...v1.11.3
Expand Down
42 changes: 21 additions & 21 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cumulus-integration-tests",
"version": "1.12.1",
"version": "1.13.0",
"description": "Cumulus Integration Test Deployment",
"private": true,
"main": "index.js",
Expand Down Expand Up @@ -36,33 +36,33 @@
]
},
"dependencies": {
"@cumulus/api": "1.12.1",
"@cumulus/checksum": "1.12.1",
"@cumulus/cmrjs": "1.12.1",
"@cumulus/common": "1.12.1",
"@cumulus/deployment": "1.12.1",
"@cumulus/discover-granules": "1.12.1",
"@cumulus/discover-pdrs": "1.12.1",
"@cumulus/files-to-granules": "1.12.1",
"@cumulus/hello-world": "1.12.1",
"@cumulus/integration-tests": "1.12.1",
"@cumulus/move-granules": "1.12.1",
"@cumulus/parse-pdr": "1.12.1",
"@cumulus/pdr-status-check": "1.12.1",
"@cumulus/post-to-cmr": "1.12.1",
"@cumulus/queue-granules": "1.12.1",
"@cumulus/queue-pdrs": "1.12.1",
"@cumulus/sf-sns-report": "1.12.1",
"@cumulus/sync-granule": "1.12.1",
"@cumulus/test-processing": "1.12.1",
"@cumulus/api": "1.13.0",
"@cumulus/checksum": "1.13.0",
"@cumulus/cmrjs": "1.13.0",
"@cumulus/common": "1.13.0",
"@cumulus/deployment": "1.13.0",
"@cumulus/discover-granules": "1.13.0",
"@cumulus/discover-pdrs": "1.13.0",
"@cumulus/files-to-granules": "1.13.0",
"@cumulus/hello-world": "1.13.0",
"@cumulus/integration-tests": "1.13.0",
"@cumulus/move-granules": "1.13.0",
"@cumulus/parse-pdr": "1.13.0",
"@cumulus/pdr-status-check": "1.13.0",
"@cumulus/post-to-cmr": "1.13.0",
"@cumulus/queue-granules": "1.13.0",
"@cumulus/queue-pdrs": "1.13.0",
"@cumulus/sf-sns-report": "1.13.0",
"@cumulus/sync-granule": "1.13.0",
"@cumulus/test-processing": "1.13.0",
"aws-sdk": "^2.227.1",
"child-process-promise": "^2.2.1",
"lodash.differencewith": "^4.5.0",
"lodash.isequal": "^4.5.0",
"p-retry": "^2.0.0"
},
"devDependencies": {
"@cumulus/test-data": "1.12.1",
"@cumulus/test-data": "1.13.0",
"execa": "^1.0.0",
"fs-extra": "7.0.0",
"got": "^9.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {

const { loadYmlFile } = require('../../helpers/configUtils');

describe('When an iam override template is in the IAM directory ', () => {
xdescribe('When an iam override template is in the IAM directory ', () => {
let config;
let cloudFormation;
beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "2.9.0",
"version": "1.12.1",
"version": "1.13.0",
"packages": [
"example",
"packages/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/ecs/async-operation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node": ">=8.10.0"
},
"dependencies": {
"@cumulus/logger": "^1.10.0",
"@cumulus/logger": "^1.13.0",
"aws-sdk": "^2.279.1",
"got": "^9.2.2",
"lodash.iserror": "^3.1.1",
Expand Down
12 changes: 6 additions & 6 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/api",
"version": "1.12.1",
"version": "1.13.0",
"description": "Lambda functions for handling all daac's API operations",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -45,11 +45,11 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/cmrjs": "1.12.1",
"@cumulus/common": "1.12.1",
"@cumulus/ingest": "1.12.1",
"@cumulus/logger": "1.11.0",
"@cumulus/pvl": "1.12.1",
"@cumulus/cmrjs": "1.13.0",
"@cumulus/common": "1.13.0",
"@cumulus/ingest": "1.13.0",
"@cumulus/logger": "1.13.0",
"@cumulus/pvl": "1.13.0",
"@mapbox/dyno": "^1.4.2",
"ajv": "^5.2.2",
"archiver": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/checksum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/checksum",
"version": "1.12.1",
"version": "1.13.0",
"description": "Cumulus checksum utilities",
"engines": {
"node": ">=8.10.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/cmr-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/cmr-client",
"version": "1.12.1",
"version": "1.13.0",
"engines": {
"node": ">=8.10.0"
},
Expand Down Expand Up @@ -32,7 +32,7 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/logger": "1.12.1",
"@cumulus/logger": "1.13.0",
"got": "^9.6.0",
"lodash.get": "^4.4.2",
"lodash.property": "^4.4.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/cmrjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/cmrjs",
"version": "1.12.1",
"version": "1.13.0",
"description": "A node SDK for CMR",
"engines": {
"node": ">=8.10.0"
Expand Down Expand Up @@ -32,8 +32,8 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/cmr-client": "1.12.1",
"@cumulus/common": "1.12.1",
"@cumulus/cmr-client": "1.13.0",
"@cumulus/common": "1.13.0",
"got": "^8.3.0",
"js2xmlparser": "^4.0.0",
"lodash.flatten": "^4.4.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/common",
"version": "1.12.1",
"version": "1.13.0",
"description": "Common utilities used across tasks",
"keywords": [
"GIBS",
Expand Down Expand Up @@ -41,8 +41,8 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/checksum": "1.12.1",
"@cumulus/logger": "1.12.1",
"@cumulus/checksum": "1.13.0",
"@cumulus/logger": "1.13.0",
"ajv": "^5.2.2",
"async": "^2.0.0",
"aws-sdk": "^2.238.1",
Expand Down Expand Up @@ -78,7 +78,7 @@
"uuid": "^3.2.1"
},
"devDependencies": {
"@cumulus/test-data": "1.12.1",
"@cumulus/test-data": "1.13.0",
"ava": "^0.25.0",
"jsdoc-to-markdown": "^4.0.1",
"nock": "^10.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/deployment/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/deployment",
"version": "1.12.1",
"version": "1.13.0",
"description": "Deployment templates for cumulus",
"scripts": {
"test": "ava",
Expand Down Expand Up @@ -39,7 +39,7 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/common": "1.12.1",
"@cumulus/common": "1.13.0",
"aws-sdk": "^2.238.1",
"extract-zip": "^1.6.6",
"fs-extra": "^5.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/ingest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/ingest",
"version": "1.12.1",
"version": "1.13.0",
"description": "Ingest utilities",
"engines": {
"node": ">=8.10.0"
Expand Down Expand Up @@ -34,9 +34,9 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/cmrjs": "1.12.1",
"@cumulus/common": "1.12.1",
"@cumulus/pvl": "1.12.1",
"@cumulus/cmrjs": "1.13.0",
"@cumulus/common": "1.13.0",
"@cumulus/pvl": "1.13.0",
"aws-sdk": "^2.238.1",
"cksum": "^1.3.0",
"encodeurl": "^1.0.2",
Expand Down Expand Up @@ -64,7 +64,7 @@
"xml2js": "^0.4.19"
},
"devDependencies": {
"@cumulus/test-data": "1.12.1",
"@cumulus/test-data": "1.13.0",
"ava": "^0.25.0",
"nyc": "^14.0.0",
"proxyquire": "^2.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/integration-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/integration-tests",
"version": "1.12.1",
"version": "1.13.0",
"description": "Integration tests",
"bin": {
"cumulus-test": "./bin/cli.js"
Expand All @@ -24,10 +24,10 @@
"author": "Cumulus Authors",
"license": "Apache-2.0",
"dependencies": {
"@cumulus/api": "1.12.1",
"@cumulus/cmrjs": "1.12.1",
"@cumulus/common": "1.12.1",
"@cumulus/deployment": "1.12.1",
"@cumulus/api": "1.13.0",
"@cumulus/cmrjs": "1.13.0",
"@cumulus/common": "1.13.0",
"@cumulus/deployment": "1.13.0",
"aws-sdk": "^2.238.1",
"base-64": "^0.1.0",
"commander": "^2.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/logger",
"version": "1.12.1",
"version": "1.13.0",
"description": "A log library for use on Cumulus",
"keywords": [
"GIBS",
Expand Down
2 changes: 1 addition & 1 deletion packages/pvl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/pvl",
"version": "1.12.1",
"version": "1.13.0",
"description": "Parse and serialize Parameter Value Language, a data markup language used by NASA",
"main": "index.js",
"engine": {
Expand Down
4 changes: 2 additions & 2 deletions packages/task-debug/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cumulus/task-debug",
"private": true,
"version": "1.12.1",
"version": "1.13.0",
"description": "A harness for debugging workflows.",
"main": "index.js",
"homepage": "https://github.com/nasa/cumulus#readme",
Expand All @@ -21,7 +21,7 @@
"test": "test"
},
"dependencies": {
"@cumulus/common": "1.12.1",
"@cumulus/common": "1.13.0",
"commander": "^2.15.0"
},
"devDependencies": {
Expand Down

0 comments on commit 1a1bcee

Please sign in to comment.