Skip to content

Commit

Permalink
Merge pull request #17 from nasa/Cumulus-687-c
Browse files Browse the repository at this point in the history
Cumulus 687
  • Loading branch information
kkelly51 authored Jul 26, 2018
2 parents 8ecbb15 + b0c6739 commit d8f9772
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [v1.0.3] - 2018-07-26

- Fixed location for pulling execution name.

## [v1.0.2] - 2018-07-23
### Fixed

Expand All @@ -19,7 +23,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

Initial release

[Unreleased]: https://github.com/cumulus-nasa/cumulus-cumulus-message-adapter-js/compare/v1.0.2...HEAD
[Unreleased]: https://github.com/cumulus-nasa/cumulus-cumulus-message-adapter-js/compare/v1.0.3...HEAD
[v1.0.3]: https://github.com/cumulus-nasa/cumulus-cumulus-message-adapter-js/compare/v1.0.2...v1.0.3
[v1.0.2]: https://github.com/cumulus-nasa/cumulus-cumulus-message-adapter-js/compare/v1.0.1...v1.0.2
[v1.0.1]: https://github.com/cumulus-nasa/cumulus-cumulus-message-adapter-js/compare/v1.0.0...v1.0.1
[v1.0.0]: https://github.com/cumulus-nasa/cumulus-message-adapter-js/tree/v1.0.0
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function invokePromisedTaskFunction(taskFunction, cumulusMessage, context) {
*/
function runCumulusTask(taskFunction, cumulusMessage, context, callback, schemas) {
let promisedNextEvent;
if (cumulusMessage.input) {
process.env.EXECUTIONS = cumulusMessage.input.cumulus_meta.execution_name;
if (cumulusMessage.cumulus_meta) {
process.env.EXECUTIONS = cumulusMessage.cumulus_meta.execution_name;
}
process.env.SENDER = context.functionName;
process.env.TASKVERSION = context.functionVersion;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cumulus/cumulus-message-adapter-js",
"version": "1.0.2",
"version": "1.0.3",
"description": "Cumulus message adapter",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d8f9772

Please sign in to comment.