Skip to content

Commit 4ac27d9

Browse files
authored
[OGUI-1447] Follow new ECS operation for trigger end timestamp (#1907)
* follow two operations for trg_end timestamp * Bump patch version
1 parent 6e37854 commit 4ac27d9

File tree

3 files changed

+52
-133
lines changed

3 files changed

+52
-133
lines changed

lib/server/kafka/AliEcsSynchronizer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ class AliEcsSynchronizer {
109109

110110
if (operationName === 'trg.RunStart()' && operationStepStatus === 'DONE_OK') {
111111
await runService.createOrUpdate(runNumber, environmentId, { timeTrgStart: timestamp.toNumber() });
112-
} else if (operationName === 'trg.RunStop()' && operationStepStatus === 'DONE_OK') {
112+
} else if (operationStepStatus === 'DONE_OK'
113+
&& (operationName === 'trg.RunStop()' || operationName === 'trg.EnsureRunStop()')
114+
) {
113115
await runService.createOrUpdate(runNumber, environmentId, { timeTrgEnd: timestamp.toNumber() });
114116
}
115117
});

package-lock.json

Lines changed: 48 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aliceo2/bookkeeping",
3-
"version": "1.9.2",
3+
"version": "1.9.3",
44
"author": "ALICEO2",
55
"scripts": {
66
"coverage": "nyc npm test && npm run coverage:report",

0 commit comments

Comments
 (0)