@cumulus/message 14.0.0 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AsyncOperations.js +1 -1
- package/AsyncOperations.js.map +1 -1
- package/Collections.js +2 -2
- package/Collections.js.map +1 -1
- package/Executions.js +2 -2
- package/Executions.js.map +1 -1
- package/Granules.js +11 -11
- package/Granules.js.map +1 -1
- package/PDRs.js +7 -7
- package/PDRs.js.map +1 -1
- package/Providers.js +2 -2
- package/Providers.js.map +1 -1
- package/Queue.js +1 -2
- package/Queue.js.map +1 -1
- package/StepFunctions.js +3 -6
- package/StepFunctions.js.map +1 -1
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
- package/workflows.js +4 -4
- package/workflows.js.map +1 -1
package/workflows.js
CHANGED
|
@@ -14,7 +14,7 @@ const errors_1 = require("@cumulus/errors");
|
|
|
14
14
|
*
|
|
15
15
|
* @alias module:workflows
|
|
16
16
|
*/
|
|
17
|
-
const getMetaStatus = (message) =>
|
|
17
|
+
const getMetaStatus = (message) => message.meta?.status;
|
|
18
18
|
exports.getMetaStatus = getMetaStatus;
|
|
19
19
|
/**
|
|
20
20
|
* Get the workflow tasks in a workflow message, if any.
|
|
@@ -24,7 +24,7 @@ exports.getMetaStatus = getMetaStatus;
|
|
|
24
24
|
*
|
|
25
25
|
* @alias module:workflows
|
|
26
26
|
*/
|
|
27
|
-
const getMessageWorkflowTasks = (message) =>
|
|
27
|
+
const getMessageWorkflowTasks = (message) => message.meta?.workflow_tasks;
|
|
28
28
|
exports.getMessageWorkflowTasks = getMessageWorkflowTasks;
|
|
29
29
|
/**
|
|
30
30
|
* Get the workflow start time, if any.
|
|
@@ -49,7 +49,7 @@ exports.getMessageWorkflowStartTime = getMessageWorkflowStartTime;
|
|
|
49
49
|
*
|
|
50
50
|
* @alias module:workflows
|
|
51
51
|
*/
|
|
52
|
-
const getMessageWorkflowStopTime = (message) =>
|
|
52
|
+
const getMessageWorkflowStopTime = (message) => message.cumulus_meta?.workflow_stop_time;
|
|
53
53
|
exports.getMessageWorkflowStopTime = getMessageWorkflowStopTime;
|
|
54
54
|
/**
|
|
55
55
|
* Get the workflow name, if any.
|
|
@@ -59,7 +59,7 @@ exports.getMessageWorkflowStopTime = getMessageWorkflowStopTime;
|
|
|
59
59
|
*
|
|
60
60
|
* @alias module:workflows
|
|
61
61
|
*/
|
|
62
|
-
const getMessageWorkflowName = (message) =>
|
|
62
|
+
const getMessageWorkflowName = (message) => message.meta?.workflow_name;
|
|
63
63
|
exports.getMessageWorkflowName = getMessageWorkflowName;
|
|
64
64
|
/**
|
|
65
65
|
* Get the workflow duration.
|
package/workflows.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["src/workflows.ts"],"names":[],"mappings":";;;;;;AAAA,yDAAiC;AACjC,4CAAsD;AActD;;;;;;;GAOG;AACI,MAAM,aAAa,GAAG,CAC3B,OAAwC,EACJ,EAAE,
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["src/workflows.ts"],"names":[],"mappings":";;;;;;AAAA,yDAAiC;AACjC,4CAAsD;AActD;;;;;;;GAOG;AACI,MAAM,aAAa,GAAG,CAC3B,OAAwC,EACJ,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;AAFjD,QAAA,aAAa,iBAEoC;AAE9D;;;;;;;GAOG;AACI,MAAM,uBAAuB,GAAG,CACrC,OAAwC,EACpB,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC;AAFzC,QAAA,uBAAuB,2BAEkB;AAEtD;;;;;;;GAOG;AACI,MAAM,2BAA2B,GAAG,CACzC,OAAwC,EAChC,EAAE;IACV,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,mBAAmB,EAAE;QAC7C,MAAM,IAAI,4BAAmB,CAAC,wEAAwE,CAAC,CAAC;KACzG;IACD,OAAO,OAAO,CAAC,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