@dbos-inc/dbos-sdk 1.12.13-preview.g7a8a447e44 → 1.13.2-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schemas/system_db_schema.d.ts +2 -0
- package/dist/schemas/system_db_schema.d.ts.map +1 -1
- package/dist/src/communicator.d.ts +1 -1
- package/dist/src/communicator.d.ts.map +1 -1
- package/dist/src/communicator.js.map +1 -1
- package/dist/src/dbos-executor.d.ts +27 -11
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +139 -46
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +14 -5
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +74 -18
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/decorators.d.ts +19 -2
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +104 -27
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts +22 -15
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +44 -35
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/httpServer/handlerTypes.d.ts +4 -1
- package/dist/src/httpServer/handlerTypes.d.ts.map +1 -1
- package/dist/src/httpServer/handlerTypes.js +3 -0
- package/dist/src/httpServer/handlerTypes.js.map +1 -1
- package/dist/src/httpServer/server.d.ts.map +1 -1
- package/dist/src/httpServer/server.js +34 -10
- package/dist/src/httpServer/server.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/kafka/kafka.d.ts +2 -3
- package/dist/src/kafka/kafka.d.ts.map +1 -1
- package/dist/src/kafka/kafka.js +2 -13
- package/dist/src/kafka/kafka.js.map +1 -1
- package/dist/src/scheduler/scheduler.d.ts +4 -8
- package/dist/src/scheduler/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler/scheduler.js +2 -9
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/system_database.d.ts +2 -0
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +61 -4
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +9 -5
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +24 -12
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/transaction.d.ts +1 -1
- package/dist/src/transaction.d.ts.map +1 -1
- package/dist/src/utils.d.ts +1 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +5 -1
- package/dist/src/utils.js.map +1 -1
- package/dist/src/workflow.d.ts +46 -10
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +72 -20
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240517000000_status_class_config.js +18 -0
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"system_db_schema.d.ts","sourceRoot":"","sources":["../../schemas/system_db_schema.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
1
|
+
{"version":3,"file":"system_db_schema.d.ts","sourceRoot":"","sources":["../../schemas/system_db_schema.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
@@ -3,7 +3,7 @@ import { GlobalLogger as Logger } from "./telemetry/logs";
|
|
3
3
|
import { WorkflowContextImpl } from "./workflow";
|
4
4
|
import { DBOSContext, DBOSContextImpl } from "./context";
|
5
5
|
import { WorkflowContextDebug } from "./debugger/debug_workflow";
|
6
|
-
export type Communicator<T extends
|
6
|
+
export type Communicator<T extends unknown[], R> = (ctxt: CommunicatorContext, ...args: T) => Promise<R>;
|
7
7
|
export interface CommunicatorConfig {
|
8
8
|
retriesAllowed?: boolean;
|
9
9
|
intervalSeconds?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"communicator.d.ts","sourceRoot":"","sources":["../../src/communicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"communicator.d.ts","sourceRoot":"","sources":["../../src/communicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAEzG,MAAM,WAAW,kBAAkB;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IAEtD,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,qBAAa,uBAAwB,SAAQ,eAAgB,YAAW,mBAAmB;IACzF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;gBAGjB,eAAe,EAAE,mBAAmB,GAAG,oBAAoB,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EACpH,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM;CAUhD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"communicator.js","sourceRoot":"","sources":["../../src/communicator.ts"],"names":[],"mappings":";;;AAGA,uCAAyD;
|
1
|
+
{"version":3,"file":"communicator.js","sourceRoot":"","sources":["../../src/communicator.ts"],"names":[],"mappings":";;;AAGA,uCAAyD;AAkBzD,MAAa,uBAAwB,SAAQ,yBAAe;IACjD,UAAU,CAAS;IACnB,cAAc,CAAU;IACxB,eAAe,CAAS;IACxB,WAAW,CAAS;IACpB,WAAW,CAAS;IAE7B,iCAAiC;IACjC,YAAY,eAA2D,EAAE,UAAkB,EAAE,IAAU,EAAE,MAAc,EACpH,MAA0B,EAAE,QAAgB;QAE7C,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC;QAC/C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,IAAI,CAAC;QACpD,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,iBAAiB,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAC7D,CAAC;CACF;AAnBD,0DAmBC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
import { Workflow, WorkflowConfig, WorkflowHandle, WorkflowParams, BufferedResult } from './workflow';
|
2
|
+
import { Workflow, WorkflowConfig, WorkflowHandle, WorkflowParams, WorkflowStatus, BufferedResult } from './workflow';
|
3
3
|
import { Transaction, TransactionConfig } from './transaction';
|
4
4
|
import { CommunicatorConfig, Communicator } from './communicator';
|
5
5
|
import { TelemetryCollector } from './telemetry/collector';
|
@@ -9,7 +9,7 @@ import { TelemetryConfig } from './telemetry';
|
|
9
9
|
import { PoolConfig } from 'pg';
|
10
10
|
import { SystemDatabase } from './system_database';
|
11
11
|
import { UserDatabase, UserDatabaseName } from './user_database';
|
12
|
-
import { MethodRegistrationBase } from './decorators';
|
12
|
+
import { MethodRegistrationBase, ConfiguredInstance } from './decorators';
|
13
13
|
export interface DBOSNull {
|
14
14
|
}
|
15
15
|
export declare const dbosNull: DBOSNull;
|
@@ -29,20 +29,21 @@ export interface DBOSConfig {
|
|
29
29
|
};
|
30
30
|
}
|
31
31
|
interface WorkflowInfo {
|
32
|
-
workflow: Workflow<
|
32
|
+
workflow: Workflow<unknown[], unknown>;
|
33
33
|
config: WorkflowConfig;
|
34
34
|
}
|
35
35
|
interface TransactionInfo {
|
36
|
-
transaction: Transaction<
|
36
|
+
transaction: Transaction<unknown[], unknown>;
|
37
37
|
config: TransactionConfig;
|
38
38
|
}
|
39
39
|
interface CommunicatorInfo {
|
40
|
-
communicator: Communicator<
|
40
|
+
communicator: Communicator<unknown[], unknown>;
|
41
41
|
config: CommunicatorConfig;
|
42
42
|
}
|
43
43
|
interface InternalWorkflowParams extends WorkflowParams {
|
44
44
|
readonly tempWfType?: string;
|
45
45
|
readonly tempWfName?: string;
|
46
|
+
readonly tempWfClass?: string;
|
46
47
|
}
|
47
48
|
export declare const OperationType: {
|
48
49
|
readonly HANDLER: "handler";
|
@@ -78,14 +79,29 @@ export declare class DBOSExecutor {
|
|
78
79
|
configureDbClient(): void;
|
79
80
|
init(...classes: object[]): Promise<void>;
|
80
81
|
destroy(): Promise<void>;
|
81
|
-
|
82
|
-
|
82
|
+
getWorkflowInfo(wf: Workflow<unknown[], unknown>): WorkflowInfo | undefined;
|
83
|
+
getWorkflowInfoByStatus(wf: WorkflowStatus): {
|
84
|
+
wfInfo: WorkflowInfo | undefined;
|
85
|
+
configuredInst: ConfiguredInstance | null;
|
86
|
+
};
|
87
|
+
getTransactionInfo(tf: Transaction<unknown[], unknown>): TransactionInfo | undefined;
|
88
|
+
getTransactionInfoByNames(className: string, functionName: string, cfgName: string): {
|
89
|
+
txnInfo: TransactionInfo | undefined;
|
90
|
+
clsInst: ConfiguredInstance | null;
|
91
|
+
};
|
92
|
+
getCommunicatorInfo(cf: Communicator<unknown[], unknown>): CommunicatorInfo | undefined;
|
93
|
+
getCommunicatorInfoByNames(className: string, functionName: string, cfgName: string): {
|
94
|
+
commInfo: CommunicatorInfo | undefined;
|
95
|
+
clsInst: ConfiguredInstance | null;
|
96
|
+
};
|
97
|
+
workflow<T extends unknown[], R>(wf: Workflow<T, R>, params: InternalWorkflowParams, ...args: T): Promise<WorkflowHandle<R>>;
|
98
|
+
internalWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, params: InternalWorkflowParams, callerUUID?: string, callerFunctionID?: number, ...args: T): Promise<WorkflowHandle<R>>;
|
83
99
|
/**
|
84
100
|
* DEBUG MODE workflow execution, skipping all the recording
|
85
101
|
*/
|
86
|
-
debugWorkflow<T extends
|
87
|
-
transaction<T extends
|
88
|
-
external<T extends
|
102
|
+
debugWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, params: WorkflowParams, callerUUID?: string, callerFunctionID?: number, ...args: T): Promise<WorkflowHandle<R>>;
|
103
|
+
transaction<T extends unknown[], R>(txn: Transaction<T, R>, params: WorkflowParams, ...args: T): Promise<R>;
|
104
|
+
external<T extends unknown[], R>(commFn: Communicator<T, R>, params: WorkflowParams, ...args: T): Promise<R>;
|
89
105
|
send<T>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
|
90
106
|
/**
|
91
107
|
* Wait for a workflow to emit an event, then return its value.
|
@@ -99,7 +115,7 @@ export declare class DBOSExecutor {
|
|
99
115
|
* A recovery process that by default runs during executor init time.
|
100
116
|
* It runs to completion all pending workflows that were executing when the previous executor failed.
|
101
117
|
*/
|
102
|
-
recoverPendingWorkflows(executorIDs?: string[]): Promise<WorkflowHandle<
|
118
|
+
recoverPendingWorkflows(executorIDs?: string[]): Promise<WorkflowHandle<unknown>[]>;
|
103
119
|
executeWorkflowUUID(workflowUUID: string): Promise<WorkflowHandle<unknown>>;
|
104
120
|
/**
|
105
121
|
* Periodically flush the workflow output buffer to the system database.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dbos-executor.d.ts","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";AA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AG,OAAO,CAAC,CAAC,CAAC;IAc3G,QAAQ,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAc5G,IAAI,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAS1G;;OAEG;IACG,QAAQ,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,GAAE,MAAmD,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAI5I;;OAEG;IACH,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAS5D;;;OAGG;IACG,uBAAuB,CAAC,WAAW,GAAE,MAAM,EAAc,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;IAuB9F,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAoFjF;;OAEG;IACG,oBAAoB;IAQpB,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAiDhD,qBAAqB;CAatB"}
|
@@ -191,19 +191,13 @@ class DBOSExecutor {
|
|
191
191
|
this.registeredOperations.push(...registeredClassOperations);
|
192
192
|
for (const ro of registeredClassOperations) {
|
193
193
|
if (ro.workflowConfig) {
|
194
|
-
|
195
|
-
this.#registerWorkflow(wf, { ...ro.workflowConfig });
|
196
|
-
this.logger.debug(`Registered workflow ${ro.name}`);
|
194
|
+
this.#registerWorkflow(ro);
|
197
195
|
}
|
198
196
|
else if (ro.txnConfig) {
|
199
|
-
|
200
|
-
this.#registerTransaction(tx, ro.txnConfig);
|
201
|
-
this.logger.debug(`Registered transaction ${ro.name}`);
|
197
|
+
this.#registerTransaction(ro);
|
202
198
|
}
|
203
199
|
else if (ro.commConfig) {
|
204
|
-
|
205
|
-
this.#registerCommunicator(comm, ro.commConfig);
|
206
|
-
this.logger.debug(`Registered communicator ${ro.name}`);
|
200
|
+
this.#registerCommunicator(ro);
|
207
201
|
}
|
208
202
|
}
|
209
203
|
}
|
@@ -242,6 +236,13 @@ class DBOSExecutor {
|
|
242
236
|
this.initialized = true;
|
243
237
|
// Only execute init code if under non-debug mode
|
244
238
|
if (!this.debugMode) {
|
239
|
+
for (const cls of classes) {
|
240
|
+
// Init its configurations
|
241
|
+
const creg = (0, decorators_1.getOrCreateClassRegistration)(cls);
|
242
|
+
for (const [_cfgname, cfg] of creg.configuredInstances) {
|
243
|
+
await cfg.initialize(new context_1.InitContext(this));
|
244
|
+
}
|
245
|
+
}
|
245
246
|
for (const v of this.registeredOperations) {
|
246
247
|
const m = v;
|
247
248
|
if (m.init === true) {
|
@@ -271,35 +272,112 @@ class DBOSExecutor {
|
|
271
272
|
await this.logger.destroy();
|
272
273
|
}
|
273
274
|
/* WORKFLOW OPERATIONS */
|
274
|
-
#registerWorkflow(
|
275
|
-
|
276
|
-
|
275
|
+
#registerWorkflow(ro) {
|
276
|
+
const wf = ro.registeredFunction;
|
277
|
+
if (wf.name === DBOSExecutor.tempWorkflowName) {
|
278
|
+
throw new error_1.DBOSError(`Unexpected use of reserved workflow name: ${wf.name}`);
|
279
|
+
}
|
280
|
+
const wfn = ro.className + '.' + ro.name;
|
281
|
+
if (this.workflowInfoMap.has(wfn)) {
|
282
|
+
throw new error_1.DBOSError(`Repeated workflow name: ${wfn}`);
|
277
283
|
}
|
278
284
|
const workflowInfo = {
|
279
285
|
workflow: wf,
|
280
|
-
config:
|
286
|
+
config: { ...ro.workflowConfig },
|
281
287
|
};
|
282
|
-
this.workflowInfoMap.set(
|
288
|
+
this.workflowInfoMap.set(wfn, workflowInfo);
|
289
|
+
this.logger.debug(`Registered workflow ${wfn}`);
|
283
290
|
}
|
284
|
-
#registerTransaction(
|
285
|
-
|
286
|
-
|
291
|
+
#registerTransaction(ro) {
|
292
|
+
const txf = ro.registeredFunction;
|
293
|
+
const tfn = ro.className + '.' + ro.name;
|
294
|
+
if (this.transactionInfoMap.has(tfn)) {
|
295
|
+
throw new error_1.DBOSError(`Repeated Transaction name: ${tfn}`);
|
287
296
|
}
|
288
297
|
const txnInfo = {
|
289
|
-
transaction:
|
290
|
-
config:
|
298
|
+
transaction: txf,
|
299
|
+
config: { ...ro.txnConfig },
|
291
300
|
};
|
292
|
-
this.transactionInfoMap.set(
|
301
|
+
this.transactionInfoMap.set(tfn, txnInfo);
|
302
|
+
this.logger.debug(`Registered transaction ${tfn}`);
|
293
303
|
}
|
294
|
-
#registerCommunicator(
|
295
|
-
|
296
|
-
|
304
|
+
#registerCommunicator(ro) {
|
305
|
+
const comm = ro.registeredFunction;
|
306
|
+
const cfn = ro.className + '.' + ro.name;
|
307
|
+
if (this.communicatorInfoMap.has(cfn)) {
|
308
|
+
throw new error_1.DBOSError(`Repeated Commmunicator name: ${cfn}`);
|
297
309
|
}
|
298
310
|
const commInfo = {
|
299
311
|
communicator: comm,
|
300
|
-
config:
|
312
|
+
config: { ...ro.commConfig },
|
301
313
|
};
|
302
|
-
this.communicatorInfoMap.set(
|
314
|
+
this.communicatorInfoMap.set(cfn, commInfo);
|
315
|
+
this.logger.debug(`Registered communicator ${cfn}`);
|
316
|
+
}
|
317
|
+
getWorkflowInfo(wf) {
|
318
|
+
const wfname = (wf.name === DBOSExecutor.tempWorkflowName)
|
319
|
+
? wf.name
|
320
|
+
: (0, decorators_1.getRegisteredMethodClassName)(wf) + '.' + wf.name;
|
321
|
+
return this.workflowInfoMap.get(wfname);
|
322
|
+
}
|
323
|
+
getWorkflowInfoByStatus(wf) {
|
324
|
+
const wfname = wf.workflowClassName + '.' + wf.workflowName;
|
325
|
+
let wfInfo = this.workflowInfoMap.get(wfname);
|
326
|
+
if (!wfInfo && !wf.workflowClassName) {
|
327
|
+
for (const [_wfn, wfr] of this.workflowInfoMap) {
|
328
|
+
if (wf.workflowName === wfr.workflow.name) {
|
329
|
+
if (wfInfo) {
|
330
|
+
throw new error_1.DBOSError(`Recovered workflow function name '${wf.workflowName}' is ambiguous. The ambiguous name was recently added; remove it and recover pending workflows before re-adding the new function.`);
|
331
|
+
}
|
332
|
+
else {
|
333
|
+
wfInfo = wfr;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
return { wfInfo, configuredInst: (0, decorators_1.getConfiguredInstance)(wf.workflowClassName, wf.workflowConfigName) };
|
339
|
+
}
|
340
|
+
getTransactionInfo(tf) {
|
341
|
+
const tfname = (0, decorators_1.getRegisteredMethodClassName)(tf) + '.' + tf.name;
|
342
|
+
return this.transactionInfoMap.get(tfname);
|
343
|
+
}
|
344
|
+
getTransactionInfoByNames(className, functionName, cfgName) {
|
345
|
+
const tfname = className + '.' + functionName;
|
346
|
+
let txnInfo = this.transactionInfoMap.get(tfname);
|
347
|
+
if (!txnInfo && !className) {
|
348
|
+
for (const [_wfn, tfr] of this.transactionInfoMap) {
|
349
|
+
if (functionName === tfr.transaction.name) {
|
350
|
+
if (txnInfo) {
|
351
|
+
throw new error_1.DBOSError(`Recovered transaction function name '${functionName}' is ambiguous. The ambiguous name was recently added; remove it and recover pending workflows before re-adding the new function.`);
|
352
|
+
}
|
353
|
+
else {
|
354
|
+
txnInfo = tfr;
|
355
|
+
}
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}
|
359
|
+
return { txnInfo, clsInst: (0, decorators_1.getConfiguredInstance)(className, cfgName) };
|
360
|
+
}
|
361
|
+
getCommunicatorInfo(cf) {
|
362
|
+
const cfname = (0, decorators_1.getRegisteredMethodClassName)(cf) + '.' + cf.name;
|
363
|
+
return this.communicatorInfoMap.get(cfname);
|
364
|
+
}
|
365
|
+
getCommunicatorInfoByNames(className, functionName, cfgName) {
|
366
|
+
const cfname = className + '.' + functionName;
|
367
|
+
let commInfo = this.communicatorInfoMap.get(cfname);
|
368
|
+
if (!commInfo && !className) {
|
369
|
+
for (const [_wfn, cfr] of this.communicatorInfoMap) {
|
370
|
+
if (functionName === cfr.communicator.name) {
|
371
|
+
if (commInfo) {
|
372
|
+
throw new error_1.DBOSError(`Recovered communicator function name '${functionName}' is ambiguous. The ambiguous name was recently added; remove it and recover pending workflows before re-adding the new function.`);
|
373
|
+
}
|
374
|
+
else {
|
375
|
+
commInfo = cfr;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
}
|
379
|
+
}
|
380
|
+
return { commInfo, clsInst: (0, decorators_1.getConfiguredInstance)(className, cfgName) };
|
303
381
|
}
|
304
382
|
async workflow(wf, params, ...args) {
|
305
383
|
if (this.debugMode) {
|
@@ -311,7 +389,7 @@ class DBOSExecutor {
|
|
311
389
|
async internalWorkflow(wf, params, callerUUID, callerFunctionID, ...args) {
|
312
390
|
const workflowUUID = params.workflowUUID ? params.workflowUUID : this.#generateUUID();
|
313
391
|
const presetUUID = params.workflowUUID ? true : false;
|
314
|
-
const wInfo = this.
|
392
|
+
const wInfo = this.getWorkflowInfo(wf);
|
315
393
|
if (wInfo === undefined) {
|
316
394
|
throw new error_1.DBOSNotRegisteredError(wf.name);
|
317
395
|
}
|
@@ -325,6 +403,8 @@ class DBOSExecutor {
|
|
325
403
|
workflowUUID: workflowUUID,
|
326
404
|
status: workflow_1.StatusString.PENDING,
|
327
405
|
name: wf.name,
|
406
|
+
className: wCtxt.isTempWorkflow ? "" : (0, decorators_1.getRegisteredMethodClassName)(wf),
|
407
|
+
configName: params.configuredInstance?.name || "",
|
328
408
|
authenticatedUser: wCtxt.authenticatedUser,
|
329
409
|
output: undefined,
|
330
410
|
error: "",
|
@@ -336,6 +416,7 @@ class DBOSExecutor {
|
|
336
416
|
};
|
337
417
|
if (wCtxt.isTempWorkflow) {
|
338
418
|
internalStatus.name = `${DBOSExecutor.tempWorkflowName}-${wCtxt.tempWfOperationType}-${wCtxt.tempWfOperationName}`;
|
419
|
+
internalStatus.className = params.tempWfClass ?? "";
|
339
420
|
}
|
340
421
|
// Synchronously set the workflow's status to PENDING and record workflow inputs (for non single-transaction workflows).
|
341
422
|
// We have to do it for all types of workflows because operation_outputs table has a foreign key constraint on workflow status table.
|
@@ -346,7 +427,7 @@ class DBOSExecutor {
|
|
346
427
|
let result;
|
347
428
|
// Execute the workflow.
|
348
429
|
try {
|
349
|
-
result = await wf(wCtxt, ...args);
|
430
|
+
result = await wf.call(params.configuredInstance, wCtxt, ...args);
|
350
431
|
internalStatus.output = result;
|
351
432
|
internalStatus.status = workflow_1.StatusString.SUCCESS;
|
352
433
|
this.systemDatabase.bufferWorkflowOutput(workflowUUID, internalStatus);
|
@@ -412,7 +493,7 @@ class DBOSExecutor {
|
|
412
493
|
throw new error_1.DBOSDebuggerError("Workflow UUID not found!");
|
413
494
|
}
|
414
495
|
const workflowUUID = params.workflowUUID;
|
415
|
-
const wInfo = this.
|
496
|
+
const wInfo = this.getWorkflowInfo(wf);
|
416
497
|
if (wInfo === undefined) {
|
417
498
|
throw new error_1.DBOSDebuggerError("Workflow unregistered! " + wf.name);
|
418
499
|
}
|
@@ -428,7 +509,7 @@ class DBOSExecutor {
|
|
428
509
|
if (JSON.stringify(args) !== JSON.stringify(recordedInputs)) {
|
429
510
|
throw new error_1.DBOSDebuggerError(`Detect different input for the workflow UUID ${workflowUUID}!\n Received: ${JSON.stringify(args)}\n Original: ${JSON.stringify(recordedInputs)}`);
|
430
511
|
}
|
431
|
-
const workflowPromise = wf(wCtxt, ...args)
|
512
|
+
const workflowPromise = wf.call(params.configuredInstance, wCtxt, ...args)
|
432
513
|
.then(async (result) => {
|
433
514
|
// Check if the result is the same.
|
434
515
|
const recordedResult = await this.systemDatabase.getWorkflowResult(workflowUUID);
|
@@ -446,17 +527,27 @@ class DBOSExecutor {
|
|
446
527
|
// Create a workflow and call transaction.
|
447
528
|
const temp_workflow = async (ctxt, ...args) => {
|
448
529
|
const ctxtImpl = ctxt;
|
449
|
-
return await ctxtImpl.transaction(txn, ...args);
|
530
|
+
return await ctxtImpl.transaction(txn, params.configuredInstance ?? null, ...args);
|
450
531
|
};
|
451
|
-
return (await this.workflow(temp_workflow, {
|
532
|
+
return (await this.workflow(temp_workflow, {
|
533
|
+
...params,
|
534
|
+
tempWfType: TempWorkflowType.transaction,
|
535
|
+
tempWfName: (0, decorators_1.getRegisteredMethodName)(txn),
|
536
|
+
tempWfClass: (0, decorators_1.getRegisteredMethodClassName)(txn),
|
537
|
+
}, ...args)).getResult();
|
452
538
|
}
|
453
539
|
async external(commFn, params, ...args) {
|
454
540
|
// Create a workflow and call external.
|
455
541
|
const temp_workflow = async (ctxt, ...args) => {
|
456
542
|
const ctxtImpl = ctxt;
|
457
|
-
return await ctxtImpl.external(commFn, ...args);
|
543
|
+
return await ctxtImpl.external(commFn, params.configuredInstance ?? null, ...args);
|
458
544
|
};
|
459
|
-
return (await this.workflow(temp_workflow, {
|
545
|
+
return (await this.workflow(temp_workflow, {
|
546
|
+
...params,
|
547
|
+
tempWfType: TempWorkflowType.external,
|
548
|
+
tempWfName: (0, decorators_1.getRegisteredMethodName)(commFn),
|
549
|
+
tempWfClass: (0, decorators_1.getRegisteredMethodClassName)(commFn),
|
550
|
+
}, ...args)).getResult();
|
460
551
|
}
|
461
552
|
async send(destinationUUID, message, topic, idempotencyKey) {
|
462
553
|
// Create a workflow and call send.
|
@@ -464,7 +555,7 @@ class DBOSExecutor {
|
|
464
555
|
return await ctxt.send(destinationUUID, message, topic);
|
465
556
|
};
|
466
557
|
const workflowUUID = idempotencyKey ? destinationUUID + idempotencyKey : undefined;
|
467
|
-
return (await this.workflow(temp_workflow, { workflowUUID: workflowUUID, tempWfType: TempWorkflowType.send }, destinationUUID, message, topic)).getResult();
|
558
|
+
return (await this.workflow(temp_workflow, { workflowUUID: workflowUUID, tempWfType: TempWorkflowType.send, configuredInstance: null }, destinationUUID, message, topic)).getResult();
|
468
559
|
}
|
469
560
|
/**
|
470
561
|
* Wait for a workflow to emit an event, then return its value.
|
@@ -516,54 +607,56 @@ class DBOSExecutor {
|
|
516
607
|
throw new error_1.DBOSError(`Failed to find inputs for workflow UUID: ${workflowUUID}`);
|
517
608
|
}
|
518
609
|
const parentCtx = this.#getRecoveryContext(workflowUUID, wfStatus);
|
519
|
-
const wfInfo = this.
|
610
|
+
const { wfInfo, configuredInst } = this.getWorkflowInfoByStatus(wfStatus);
|
520
611
|
if (wfInfo) {
|
521
612
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
522
|
-
return this.workflow(wfInfo.workflow, { workflowUUID: workflowUUID, parentCtx: parentCtx
|
613
|
+
return this.workflow(wfInfo.workflow, { workflowUUID: workflowUUID, parentCtx: parentCtx, configuredInstance: configuredInst }, ...inputs);
|
523
614
|
}
|
524
615
|
// Should be temporary workflows. Parse the name of the workflow.
|
525
616
|
const wfName = wfStatus.workflowName;
|
526
617
|
const nameArr = wfName.split("-");
|
527
618
|
if (!nameArr[0].startsWith(DBOSExecutor.tempWorkflowName)) {
|
619
|
+
// CB - Doesn't this happen if the user changed the function name in their code?
|
528
620
|
throw new error_1.DBOSError(`This should never happen! Cannot find workflow info for a non-temporary workflow! UUID ${workflowUUID}, name ${wfName}`);
|
529
621
|
}
|
530
622
|
let temp_workflow;
|
623
|
+
let clsinst = null;
|
531
624
|
if (nameArr[1] === TempWorkflowType.transaction) {
|
532
|
-
const txnInfo = this.
|
625
|
+
const { txnInfo, clsInst } = this.getTransactionInfoByNames(wfStatus.workflowClassName, nameArr[2], wfStatus.workflowConfigName);
|
533
626
|
if (!txnInfo) {
|
534
627
|
this.logger.error(`Cannot find transaction info for UUID ${workflowUUID}, name ${nameArr[2]}`);
|
535
628
|
throw new error_1.DBOSNotRegisteredError(nameArr[2]);
|
536
629
|
}
|
537
630
|
temp_workflow = async (ctxt, ...args) => {
|
538
631
|
const ctxtImpl = ctxt;
|
539
|
-
|
540
|
-
return await ctxtImpl.transaction(txnInfo.transaction, ...args);
|
632
|
+
return await ctxtImpl.transaction(txnInfo.transaction, clsInst, ...args);
|
541
633
|
};
|
634
|
+
clsinst = clsInst;
|
542
635
|
}
|
543
636
|
else if (nameArr[1] === TempWorkflowType.external) {
|
544
|
-
const commInfo = this.
|
637
|
+
const { commInfo, clsInst } = this.getCommunicatorInfoByNames(wfStatus.workflowClassName, nameArr[2], wfStatus.workflowConfigName);
|
545
638
|
if (!commInfo) {
|
546
639
|
this.logger.error(`Cannot find communicator info for UUID ${workflowUUID}, name ${nameArr[2]}`);
|
547
640
|
throw new error_1.DBOSNotRegisteredError(nameArr[2]);
|
548
641
|
}
|
549
642
|
temp_workflow = async (ctxt, ...args) => {
|
550
643
|
const ctxtImpl = ctxt;
|
551
|
-
|
552
|
-
return await ctxtImpl.external(commInfo.communicator, ...args);
|
644
|
+
return await ctxtImpl.external(commInfo.communicator, clsInst, ...args);
|
553
645
|
};
|
646
|
+
clsinst = clsInst;
|
554
647
|
}
|
555
648
|
else if (nameArr[1] === TempWorkflowType.send) {
|
556
649
|
temp_workflow = async (ctxt, ...args) => {
|
557
|
-
//
|
558
|
-
return await ctxt.send(args[0], args[1], args[2]);
|
650
|
+
return await ctxt.send(args[0], args[1], args[2]); // id, value, topic
|
559
651
|
};
|
652
|
+
clsinst = null;
|
560
653
|
}
|
561
654
|
else {
|
562
655
|
this.logger.error(`Unrecognized temporary workflow! UUID ${workflowUUID}, name ${wfName}`);
|
563
656
|
throw new error_1.DBOSNotRegisteredError(wfName);
|
564
657
|
}
|
565
658
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
566
|
-
return this.workflow(temp_workflow, { workflowUUID: workflowUUID, parentCtx: parentCtx ?? undefined }, ...inputs);
|
659
|
+
return this.workflow(temp_workflow, { workflowUUID: workflowUUID, parentCtx: parentCtx ?? undefined, configuredInstance: clsinst }, ...inputs);
|
567
660
|
}
|
568
661
|
// NOTE: this creates a new span, it does not inherit the span from the original workflow
|
569
662
|
#getRecoveryContext(workflowUUID, status) {
|
@@ -647,7 +740,7 @@ class DBOSExecutor {
|
|
647
740
|
this.registeredOperations.forEach((registeredOperation) => {
|
648
741
|
const ro = registeredOperation;
|
649
742
|
if (ro.apiURL) {
|
650
|
-
this.logger.info(" " + ro.apiType.padEnd(
|
743
|
+
this.logger.info(" " + ro.apiType.padEnd(6) + " : " + ro.apiURL);
|
651
744
|
const roles = ro.getRequiredRoles();
|
652
745
|
if (roles.length > 0) {
|
653
746
|
this.logger.info(" Required Roles: " + JSON.stringify(roles));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dbos-executor.js","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAuD;AACvD,mCAMiB;AACjB,yCAYoB;AAIpB,qDAA2D;AAC3D,+CAA4C;AAC5C,2CAA0D;AAC1D,qDAA0D;AAG1D,uDAAmG;AACnG,+BAAoC;AACpC,mDAOyB;AACzB,6CAAiI;AACjI,4CAAoD;AACpD,gDAAkC;AAClC,uCAAyD;AAEzD,8DAAiE;AACjE,qDAAiD;AACjD,mCAAkC;AAClC,0DAA6B;AAGhB,QAAA,QAAQ,GAAa,EAAE,CAAC;AAuCxB,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CACpB,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAa,YAAY;IA8CF;IA7CrB,WAAW,CAAU;IACrB,gBAAgB;IAChB,YAAY,GAAiB,IAA+B,CAAC;IAC7D,kBAAkB;IACT,cAAc,CAAiB;IAExC,oGAAoG;IACpG,MAAM,CAAU,gBAAgB,GAAG,eAAe,CAAC;IAE1C,eAAe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