@rainbow-o23/n3 0.1.8 → 0.1.9
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/index.cjs
CHANGED
|
@@ -577,7 +577,7 @@ class AbstractFragmentaryPipelineStep extends n1.AbstractPipelineStep {
|
|
|
577
577
|
const steps = await Promise.all(builders.map(async (builder) => await builder.create(options)));
|
|
578
578
|
const response = await steps.reduce(async (promise, step) => {
|
|
579
579
|
const request = await promise;
|
|
580
|
-
return await this.measurePerformance(traceId, 'STEP')
|
|
580
|
+
return await this.measurePerformance(traceId, 'STEP', step.constructor.name)
|
|
581
581
|
.execute(async () => {
|
|
582
582
|
this.traceStepIn(traceId, step, request);
|
|
583
583
|
const response = await step.perform({ ...request, $context: { ...errorContext, traceId } });
|
|
@@ -699,7 +699,7 @@ class PipelineStepSets extends AbstractFragmentaryPipelineStep {
|
|
|
699
699
|
const steps = await this.createSteps();
|
|
700
700
|
const response = await steps.reduce(async (promise, step) => {
|
|
701
701
|
const request = await promise;
|
|
702
|
-
return await this.measurePerformance(traceId, 'STEP')
|
|
702
|
+
return await this.measurePerformance(traceId, 'STEP', step.constructor.name)
|
|
703
703
|
.execute(async () => {
|
|
704
704
|
this.traceStepOut(traceId, step, request);
|
|
705
705
|
const response = await step.perform({ ...request, $context: { ...context, traceId } });
|
package/index.js
CHANGED
|
@@ -575,7 +575,7 @@ class AbstractFragmentaryPipelineStep extends AbstractPipelineStep {
|
|
|
575
575
|
const steps = await Promise.all(builders.map(async (builder) => await builder.create(options)));
|
|
576
576
|
const response = await steps.reduce(async (promise, step) => {
|
|
577
577
|
const request = await promise;
|
|
578
|
-
return await this.measurePerformance(traceId, 'STEP')
|
|
578
|
+
return await this.measurePerformance(traceId, 'STEP', step.constructor.name)
|
|
579
579
|
.execute(async () => {
|
|
580
580
|
this.traceStepIn(traceId, step, request);
|
|
581
581
|
const response = await step.perform({ ...request, $context: { ...errorContext, traceId } });
|
|
@@ -697,7 +697,7 @@ class PipelineStepSets extends AbstractFragmentaryPipelineStep {
|
|
|
697
697
|
const steps = await this.createSteps();
|
|
698
698
|
const response = await steps.reduce(async (promise, step) => {
|
|
699
699
|
const request = await promise;
|
|
700
|
-
return await this.measurePerformance(traceId, 'STEP')
|
|
700
|
+
return await this.measurePerformance(traceId, 'STEP', step.constructor.name)
|
|
701
701
|
.execute(async () => {
|
|
702
702
|
this.traceStepOut(traceId, step, request);
|
|
703
703
|
const response = await step.perform({ ...request, $context: { ...context, traceId } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainbow-o23/n3",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "o23 pipelines",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"module": "index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/InsureMO/rainbow-o23/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@rainbow-o23/n1": "0.1.
|
|
23
|
+
"@rainbow-o23/n1": "0.1.9",
|
|
24
24
|
"@theinternetfolks/snowflake": "^1.3.0",
|
|
25
25
|
"node-fetch": "2.6.1",
|
|
26
26
|
"typeorm": "^0.3.17"
|
|
@@ -286,7 +286,7 @@ export abstract class AbstractFragmentaryPipelineStep<In = PipelineStepPayload,
|
|
|
286
286
|
const steps = await Promise.all(builders.map(async builder => await builder.create(options)));
|
|
287
287
|
const response = await steps.reduce(async (promise, step) => {
|
|
288
288
|
const request = await promise;
|
|
289
|
-
return await this.measurePerformance(traceId, 'STEP')
|
|
289
|
+
return await this.measurePerformance(traceId, 'STEP', step.constructor.name)
|
|
290
290
|
.execute(async () => {
|
|
291
291
|
this.traceStepIn(traceId, step, request);
|
|
292
292
|
const response = await step.perform({...request, $context: {...errorContext, traceId}});
|
|
@@ -83,7 +83,7 @@ export class PipelineStepSets<In = PipelineStepPayload, Out = PipelineStepPayloa
|
|
|
83
83
|
const steps = await this.createSteps();
|
|
84
84
|
const response = await steps.reduce(async (promise, step) => {
|
|
85
85
|
const request = await promise;
|
|
86
|
-
return await this.measurePerformance(traceId, 'STEP')
|
|
86
|
+
return await this.measurePerformance(traceId, 'STEP', step.constructor.name)
|
|
87
87
|
.execute(async () => {
|
|
88
88
|
this.traceStepOut(traceId, step, request);
|
|
89
89
|
const response = await step.perform({...request, $context: {...context, traceId}});
|