@versori/run 0.7.0-alpha.3 → 0.7.0-alpha.6
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/esm/mod.d.ts +1 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -1
- package/esm/src/connection/VanillaConnectionFactory.d.ts +16 -0
- package/esm/src/connection/VanillaConnectionFactory.d.ts.map +1 -0
- package/esm/src/connection/VanillaConnectionFactory.js +23 -0
- package/esm/src/context/ActivationImpl.d.ts +2 -1
- package/esm/src/context/ActivationImpl.d.ts.map +1 -1
- package/esm/src/context/Context.d.ts +4 -2
- package/esm/src/context/Context.d.ts.map +1 -1
- package/esm/src/context/ContextProvider.d.ts +6 -6
- package/esm/src/context/ContextProvider.d.ts.map +1 -1
- package/esm/src/context/VanillaContext.d.ts +60 -0
- package/esm/src/context/VanillaContext.d.ts.map +1 -0
- package/esm/src/context/VanillaContext.js +296 -0
- package/esm/src/dsl/http/mod.d.ts +1 -1
- package/esm/src/dsl/http/mod.d.ts.map +1 -1
- package/esm/src/dsl/http/types.d.ts +19 -134
- package/esm/src/dsl/http/types.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/configloader.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/configloader.js +3 -0
- package/esm/src/dsl/tasks/HttpTask.d.ts +5 -5
- package/esm/src/dsl/tasks/HttpTask.d.ts.map +1 -1
- package/esm/src/dsl/triggers/ScheduleTrigger.d.ts +2 -2
- package/esm/src/dsl/triggers/ScheduleTrigger.d.ts.map +1 -1
- package/esm/src/interpreter/memory/MemoryInterpreter.d.ts +2 -2
- package/esm/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
- package/esm/src/interpreter/mod.d.ts +1 -0
- package/esm/src/interpreter/mod.d.ts.map +1 -1
- package/esm/src/interpreter/mod.js +1 -0
- package/esm/src/interpreter/vanilla/ExecutionError.d.ts +27 -0
- package/esm/src/interpreter/vanilla/ExecutionError.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/ExecutionError.js +48 -0
- package/esm/src/interpreter/vanilla/ObservableCompiler.d.ts +38 -0
- package/esm/src/interpreter/vanilla/ObservableCompiler.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/ObservableCompiler.js +95 -0
- package/esm/src/interpreter/vanilla/Queue.d.ts +72 -0
- package/esm/src/interpreter/vanilla/Queue.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/Queue.js +176 -0
- package/esm/src/interpreter/vanilla/VanillaInterpreter.d.ts +95 -0
- package/esm/src/interpreter/vanilla/VanillaInterpreter.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/VanillaInterpreter.js +428 -0
- package/esm/src/interpreter/vanilla/compilers/background.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/background.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/background.js +34 -0
- package/esm/src/interpreter/vanilla/compilers/catch.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/catch.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/catch.js +75 -0
- package/esm/src/interpreter/vanilla/compilers/chain.d.ts +3 -0
- package/esm/src/interpreter/vanilla/compilers/chain.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/chain.js +21 -0
- package/esm/src/interpreter/vanilla/compilers/durableworkflow.d.ts +8 -0
- package/esm/src/interpreter/vanilla/compilers/durableworkflow.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/durableworkflow.js +90 -0
- package/esm/src/interpreter/vanilla/compilers/fn.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/fn.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/fn.js +34 -0
- package/esm/src/interpreter/vanilla/compilers/http.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/http.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/http.js +54 -0
- package/esm/src/interpreter/vanilla/compilers/mod.d.ts +2 -0
- package/esm/src/interpreter/vanilla/compilers/mod.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/mod.js +13 -0
- package/esm/src/interpreter/vanilla/compilers/parallel.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/parallel.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/parallel.js +31 -0
- package/esm/src/interpreter/vanilla/compilers/schedule.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/schedule.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/schedule.js +76 -0
- package/esm/src/interpreter/vanilla/compilers/serial.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/serial.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/serial.js +28 -0
- package/esm/src/interpreter/vanilla/compilers/types.d.ts +15 -0
- package/esm/src/interpreter/vanilla/compilers/types.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/types.js +13 -0
- package/esm/src/interpreter/vanilla/compilers/unpack.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/unpack.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/unpack.js +34 -0
- package/esm/src/interpreter/vanilla/compilers/webhook.d.ts +4 -0
- package/esm/src/interpreter/vanilla/compilers/webhook.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/compilers/webhook.js +259 -0
- package/esm/src/interpreter/vanilla/mod.d.ts +3 -0
- package/esm/src/interpreter/vanilla/mod.d.ts.map +1 -0
- package/esm/src/interpreter/vanilla/mod.js +14 -0
- package/esm/src/issues/Issues.d.ts +1 -18
- package/esm/src/issues/Issues.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/mod.d.ts +1 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +2 -1
- package/script/src/connection/VanillaConnectionFactory.d.ts +16 -0
- package/script/src/connection/VanillaConnectionFactory.d.ts.map +1 -0
- package/script/src/connection/VanillaConnectionFactory.js +28 -0
- package/script/src/context/ActivationImpl.d.ts +2 -1
- package/script/src/context/ActivationImpl.d.ts.map +1 -1
- package/script/src/context/Context.d.ts +4 -2
- package/script/src/context/Context.d.ts.map +1 -1
- package/script/src/context/ContextProvider.d.ts +6 -6
- package/script/src/context/ContextProvider.d.ts.map +1 -1
- package/script/src/context/VanillaContext.d.ts +60 -0
- package/script/src/context/VanillaContext.d.ts.map +1 -0
- package/script/src/context/VanillaContext.js +302 -0
- package/script/src/dsl/http/mod.d.ts +1 -1
- package/script/src/dsl/http/mod.d.ts.map +1 -1
- package/script/src/dsl/http/types.d.ts +19 -134
- package/script/src/dsl/http/types.d.ts.map +1 -1
- package/script/src/dsl/http/versori/configloader.d.ts.map +1 -1
- package/script/src/dsl/http/versori/configloader.js +3 -0
- package/script/src/dsl/tasks/HttpTask.d.ts +5 -5
- package/script/src/dsl/tasks/HttpTask.d.ts.map +1 -1
- package/script/src/dsl/triggers/ScheduleTrigger.d.ts +2 -2
- package/script/src/dsl/triggers/ScheduleTrigger.d.ts.map +1 -1
- package/script/src/interpreter/memory/MemoryInterpreter.d.ts +2 -2
- package/script/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
- package/script/src/interpreter/mod.d.ts +1 -0
- package/script/src/interpreter/mod.d.ts.map +1 -1
- package/script/src/interpreter/mod.js +2 -1
- package/script/src/interpreter/vanilla/ExecutionError.d.ts +27 -0
- package/script/src/interpreter/vanilla/ExecutionError.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/ExecutionError.js +52 -0
- package/script/src/interpreter/vanilla/ObservableCompiler.d.ts +38 -0
- package/script/src/interpreter/vanilla/ObservableCompiler.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/ObservableCompiler.js +99 -0
- package/script/src/interpreter/vanilla/Queue.d.ts +72 -0
- package/script/src/interpreter/vanilla/Queue.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/Queue.js +181 -0
- package/script/src/interpreter/vanilla/VanillaInterpreter.d.ts +95 -0
- package/script/src/interpreter/vanilla/VanillaInterpreter.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/VanillaInterpreter.js +435 -0
- package/script/src/interpreter/vanilla/compilers/background.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/background.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/background.js +37 -0
- package/script/src/interpreter/vanilla/compilers/catch.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/catch.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/catch.js +78 -0
- package/script/src/interpreter/vanilla/compilers/chain.d.ts +3 -0
- package/script/src/interpreter/vanilla/compilers/chain.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/chain.js +24 -0
- package/script/src/interpreter/vanilla/compilers/durableworkflow.d.ts +8 -0
- package/script/src/interpreter/vanilla/compilers/durableworkflow.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/durableworkflow.js +94 -0
- package/script/src/interpreter/vanilla/compilers/fn.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/fn.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/fn.js +37 -0
- package/script/src/interpreter/vanilla/compilers/http.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/http.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/http.js +57 -0
- package/script/src/interpreter/vanilla/compilers/mod.d.ts +2 -0
- package/script/src/interpreter/vanilla/compilers/mod.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/mod.js +14 -0
- package/script/src/interpreter/vanilla/compilers/parallel.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/parallel.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/parallel.js +34 -0
- package/script/src/interpreter/vanilla/compilers/schedule.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/schedule.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/schedule.js +79 -0
- package/script/src/interpreter/vanilla/compilers/serial.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/serial.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/serial.js +31 -0
- package/script/src/interpreter/vanilla/compilers/types.d.ts +15 -0
- package/script/src/interpreter/vanilla/compilers/types.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/types.js +14 -0
- package/script/src/interpreter/vanilla/compilers/unpack.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/unpack.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/unpack.js +37 -0
- package/script/src/interpreter/vanilla/compilers/webhook.d.ts +4 -0
- package/script/src/interpreter/vanilla/compilers/webhook.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/compilers/webhook.js +265 -0
- package/script/src/interpreter/vanilla/mod.d.ts +3 -0
- package/script/src/interpreter/vanilla/mod.d.ts.map +1 -0
- package/script/src/interpreter/vanilla/mod.js +30 -0
- package/script/src/issues/Issues.d.ts +1 -18
- package/script/src/issues/Issues.d.ts.map +1 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2025 Versori Group Inc
|
|
4
|
+
*
|
|
5
|
+
* Use of this software is governed by the Business Source License 1.1
|
|
6
|
+
* included in the LICENSE file at the root of this repository.
|
|
7
|
+
*
|
|
8
|
+
* Change Date: 2029-01-01
|
|
9
|
+
* Change License: Apache License, Version 2.0
|
|
10
|
+
*
|
|
11
|
+
* As of the Change Date, in accordance with the Business Source License,
|
|
12
|
+
* use of this software will be governed by the Apache License, Version 2.0.
|
|
13
|
+
*/
|
|
14
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
15
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
16
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
17
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
18
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
19
|
+
};
|
|
20
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
21
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
22
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
23
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
24
|
+
};
|
|
25
|
+
var _VanillaContext_activation, _VanillaContext_issues;
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.VanillaContextProvider = exports.VanillaContext = exports.VanillaActivation = void 0;
|
|
28
|
+
const ulid_js_1 = require("../../deps/jsr.io/@std/ulid/1.0.0/ulid.js");
|
|
29
|
+
const AsyncWorkflow_js_1 = require("./AsyncWorkflow.js");
|
|
30
|
+
class VanillaActivation {
|
|
31
|
+
constructor(activation, organisationId, environmentId, log) {
|
|
32
|
+
Object.defineProperty(this, "activation", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
configurable: true,
|
|
35
|
+
writable: true,
|
|
36
|
+
value: activation
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(this, "organisationId", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
configurable: true,
|
|
41
|
+
writable: true,
|
|
42
|
+
value: organisationId
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(this, "environmentId", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
configurable: true,
|
|
47
|
+
writable: true,
|
|
48
|
+
value: environmentId
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(this, "log", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
configurable: true,
|
|
53
|
+
writable: true,
|
|
54
|
+
value: log
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
get id() {
|
|
58
|
+
return this.activation.id;
|
|
59
|
+
}
|
|
60
|
+
get user() {
|
|
61
|
+
return this.activation.user;
|
|
62
|
+
}
|
|
63
|
+
get environment() {
|
|
64
|
+
return this.activation.environment;
|
|
65
|
+
}
|
|
66
|
+
get connections() {
|
|
67
|
+
return this.activation.connections;
|
|
68
|
+
}
|
|
69
|
+
get dynamicVariables() {
|
|
70
|
+
return this.activation.dynamicVariables;
|
|
71
|
+
}
|
|
72
|
+
getVariable(name) {
|
|
73
|
+
if (!this.activation.dynamicVariables) {
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
return this.activation.dynamicVariables[name];
|
|
77
|
+
}
|
|
78
|
+
async setVariable(_, __) {
|
|
79
|
+
return Promise.resolve();
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.VanillaActivation = VanillaActivation;
|
|
83
|
+
class VanillaContext {
|
|
84
|
+
constructor(log, kvp, executionId, startTime, data, activation, issues, queue, options = {}) {
|
|
85
|
+
Object.defineProperty(this, "log", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
configurable: true,
|
|
88
|
+
writable: true,
|
|
89
|
+
value: void 0
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(this, "executionId", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
configurable: true,
|
|
94
|
+
writable: true,
|
|
95
|
+
value: void 0
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(this, "startTime", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
configurable: true,
|
|
100
|
+
writable: true,
|
|
101
|
+
value: void 0
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(this, "data", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
configurable: true,
|
|
106
|
+
writable: true,
|
|
107
|
+
value: void 0
|
|
108
|
+
});
|
|
109
|
+
_VanillaContext_activation.set(this, void 0);
|
|
110
|
+
Object.defineProperty(this, "idx", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
configurable: true,
|
|
113
|
+
writable: true,
|
|
114
|
+
value: void 0
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(this, "kvp", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
configurable: true,
|
|
119
|
+
writable: true,
|
|
120
|
+
value: void 0
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(this, "queue", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
configurable: true,
|
|
125
|
+
writable: true,
|
|
126
|
+
value: void 0
|
|
127
|
+
}); // Optional, can be used for durable workflows
|
|
128
|
+
_VanillaContext_issues.set(this, void 0);
|
|
129
|
+
Object.defineProperty(this, "options", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
configurable: true,
|
|
132
|
+
writable: true,
|
|
133
|
+
value: void 0
|
|
134
|
+
});
|
|
135
|
+
this.log = log;
|
|
136
|
+
this.executionId = executionId;
|
|
137
|
+
this.startTime = startTime;
|
|
138
|
+
this.data = data;
|
|
139
|
+
__classPrivateFieldSet(this, _VanillaContext_activation, activation, "f");
|
|
140
|
+
this.idx = void 0;
|
|
141
|
+
__classPrivateFieldSet(this, _VanillaContext_issues, issues, "f");
|
|
142
|
+
this.kvp = kvp;
|
|
143
|
+
this.options = options;
|
|
144
|
+
this.queue = queue;
|
|
145
|
+
// all methods on ContextImpl which are exposed via the Context interface need to be bound
|
|
146
|
+
// so that destructuring the context object doesn't break the binding of the methods to the
|
|
147
|
+
// correct instance.
|
|
148
|
+
this.openKv = this.openKv.bind(this);
|
|
149
|
+
this.credentials = this.credentials.bind(this);
|
|
150
|
+
this.start = this.start.bind(this);
|
|
151
|
+
this.request = this.request.bind(this);
|
|
152
|
+
this.createIssue = this.createIssue.bind(this);
|
|
153
|
+
this.destroy = this.destroy.bind(this);
|
|
154
|
+
}
|
|
155
|
+
get activation() {
|
|
156
|
+
return __classPrivateFieldGet(this, _VanillaContext_activation, "f");
|
|
157
|
+
}
|
|
158
|
+
get workflowId() {
|
|
159
|
+
return this.options.workflowId;
|
|
160
|
+
}
|
|
161
|
+
setIndex(idx) {
|
|
162
|
+
const next = new VanillaContext(this.log, this.kvp, this.executionId, this.startTime, this.data, __classPrivateFieldGet(this, _VanillaContext_activation, "f"), __classPrivateFieldGet(this, _VanillaContext_issues, "f"), this.queue, this.options);
|
|
163
|
+
next.idx = idx;
|
|
164
|
+
return next;
|
|
165
|
+
}
|
|
166
|
+
withData(data) {
|
|
167
|
+
return new VanillaContext(this.log, this.kvp, this.executionId, this.startTime, data, __classPrivateFieldGet(this, _VanillaContext_activation, "f"), __classPrivateFieldGet(this, _VanillaContext_issues, "f"), this.queue, this.options);
|
|
168
|
+
}
|
|
169
|
+
openKv(scope = ':project:') {
|
|
170
|
+
if (scope === ':execution:') {
|
|
171
|
+
return this.kvp.kv({
|
|
172
|
+
scope,
|
|
173
|
+
executionId: this.executionId,
|
|
174
|
+
activationId: this.activation?.id,
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
return this.kvp.kv({
|
|
178
|
+
scope,
|
|
179
|
+
activationId: this.activation?.id,
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
request() {
|
|
183
|
+
return this.options.request;
|
|
184
|
+
}
|
|
185
|
+
async start(group, opts) {
|
|
186
|
+
// this makes a post request to the endpoint sending a message and schedule the workflow to run
|
|
187
|
+
if (!this.queue) {
|
|
188
|
+
throw new Error('Queue is not available for this context, cannot start workflow');
|
|
189
|
+
}
|
|
190
|
+
let payload;
|
|
191
|
+
if (opts.data) {
|
|
192
|
+
payload = opts.data ? btoa(JSON.stringify(opts.data)) : undefined;
|
|
193
|
+
}
|
|
194
|
+
else if (opts.dataRaw) {
|
|
195
|
+
payload = opts.dataRaw; // Assume this is already base64 encoded
|
|
196
|
+
}
|
|
197
|
+
const resp = await this.queue.submit({
|
|
198
|
+
workflows: [
|
|
199
|
+
{
|
|
200
|
+
group,
|
|
201
|
+
metadata: {
|
|
202
|
+
executionId: this.executionId,
|
|
203
|
+
activationId: this.activation?.id,
|
|
204
|
+
userId: this.activation?.user?.externalId,
|
|
205
|
+
},
|
|
206
|
+
payload,
|
|
207
|
+
maxAttempts: opts.maxAttempts,
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
});
|
|
211
|
+
return new AsyncWorkflow_js_1.AsyncWorkflow(this.queue, resp.workflows[0].id ?? 'unknown');
|
|
212
|
+
}
|
|
213
|
+
createIssue(issue, options) {
|
|
214
|
+
return __classPrivateFieldGet(this, _VanillaContext_issues, "f").createIssue({
|
|
215
|
+
reason: 'manual',
|
|
216
|
+
...issue,
|
|
217
|
+
}, { deduplicate: true, ...options });
|
|
218
|
+
}
|
|
219
|
+
credentials() {
|
|
220
|
+
throw new Error('Credentials are not available in VanillaContext');
|
|
221
|
+
}
|
|
222
|
+
destroy(scope) {
|
|
223
|
+
if (scope === ':execution:') {
|
|
224
|
+
return this.kvp.destroy({
|
|
225
|
+
scope,
|
|
226
|
+
executionId: this.executionId,
|
|
227
|
+
activationId: this.activation?.id,
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
return this.kvp.destroy({
|
|
231
|
+
scope,
|
|
232
|
+
activationId: this.activation?.id,
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
[(_VanillaContext_activation = new WeakMap(), _VanillaContext_issues = new WeakMap(), Symbol.toPrimitive)]() {
|
|
236
|
+
return {
|
|
237
|
+
startTime: this.startTime,
|
|
238
|
+
executionId: this.executionId,
|
|
239
|
+
activation: this.activation,
|
|
240
|
+
data: this.data,
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
exports.VanillaContext = VanillaContext;
|
|
245
|
+
class VanillaContextProvider {
|
|
246
|
+
constructor(log, kvp, organisationId, environmentId, issues, queue = undefined) {
|
|
247
|
+
Object.defineProperty(this, "organisationId", {
|
|
248
|
+
enumerable: true,
|
|
249
|
+
configurable: true,
|
|
250
|
+
writable: true,
|
|
251
|
+
value: organisationId
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(this, "environmentId", {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
configurable: true,
|
|
256
|
+
writable: true,
|
|
257
|
+
value: environmentId
|
|
258
|
+
});
|
|
259
|
+
Object.defineProperty(this, "log", {
|
|
260
|
+
enumerable: true,
|
|
261
|
+
configurable: true,
|
|
262
|
+
writable: true,
|
|
263
|
+
value: void 0
|
|
264
|
+
});
|
|
265
|
+
Object.defineProperty(this, "kvp", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
configurable: true,
|
|
268
|
+
writable: true,
|
|
269
|
+
value: void 0
|
|
270
|
+
});
|
|
271
|
+
Object.defineProperty(this, "issues", {
|
|
272
|
+
enumerable: true,
|
|
273
|
+
configurable: true,
|
|
274
|
+
writable: true,
|
|
275
|
+
value: void 0
|
|
276
|
+
});
|
|
277
|
+
Object.defineProperty(this, "queue", {
|
|
278
|
+
enumerable: true,
|
|
279
|
+
configurable: true,
|
|
280
|
+
writable: true,
|
|
281
|
+
value: void 0
|
|
282
|
+
});
|
|
283
|
+
this.log = log;
|
|
284
|
+
this.kvp = kvp;
|
|
285
|
+
this.issues = issues;
|
|
286
|
+
this.queue = queue;
|
|
287
|
+
}
|
|
288
|
+
create(activation, data, options = {}) {
|
|
289
|
+
const executionId = (0, ulid_js_1.ulid)();
|
|
290
|
+
const logger = this.log.child({
|
|
291
|
+
executionId,
|
|
292
|
+
activationId: activation.id,
|
|
293
|
+
externalUserId: activation.user.externalId,
|
|
294
|
+
});
|
|
295
|
+
const activationImpl = new VanillaActivation(activation, this.organisationId, this.environmentId, logger);
|
|
296
|
+
return new VanillaContext(logger, this.kvp, executionId, new Date(), data, activationImpl, this.issues, this.queue, options);
|
|
297
|
+
}
|
|
298
|
+
destroy(_) {
|
|
299
|
+
return Promise.resolve();
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
exports.VanillaContextProvider = VanillaContextProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/http/mod.ts"],"names":[],"mappings":"AAaA,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/http/mod.ts"],"names":[],"mappings":"AAaA,YAAY,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC5D,YAAY,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ProjectEnvironment, DynamicVariables, Connection } from '@versori/run/services/platform';
|
|
1
2
|
import { CredentialsProvider } from './versori/contextcredentials.js';
|
|
2
|
-
export type DynamicFetcher = (activation:
|
|
3
|
+
export type DynamicFetcher = (activation: ActivationInterface, input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
|
3
4
|
export type BaseUrlFetcher = (activationId: string) => Promise<string>;
|
|
4
5
|
export interface RoundTripperFactory {
|
|
5
6
|
create(connName: string): Promise<typeof fetch | undefined>;
|
|
@@ -7,7 +8,7 @@ export interface RoundTripperFactory {
|
|
|
7
8
|
credentials(): CredentialsProvider;
|
|
8
9
|
baseUrlFetcher(templateName: string): BaseUrlFetcher;
|
|
9
10
|
}
|
|
10
|
-
export declare function wrapDynamicFetcher(fetcher: DynamicFetcher, activation:
|
|
11
|
+
export declare function wrapDynamicFetcher(fetcher: DynamicFetcher, activation: ActivationInterface): typeof fetch;
|
|
11
12
|
export interface ConfigReader {
|
|
12
13
|
getCnxMapping(name: string): CnxMap | undefined;
|
|
13
14
|
getConnectionID(connName: string): string;
|
|
@@ -15,11 +16,11 @@ export interface ConfigReader {
|
|
|
15
16
|
}
|
|
16
17
|
export interface ConnectionProvider {
|
|
17
18
|
getStaticConnection(cnxId: string): Promise<Connection | undefined>;
|
|
18
|
-
getUserActivations(userId: string): Promise<
|
|
19
|
+
getUserActivations(userId: string): Promise<ActivationInterface[]>;
|
|
19
20
|
getActivationConnection(templateId: string, activationId: string): Promise<Connection | undefined>;
|
|
20
|
-
getActivation(activationId: string): Promise<
|
|
21
|
-
getStaticActivation(): Promise<
|
|
22
|
-
listActivations(): Promise<
|
|
21
|
+
getActivation(activationId: string): Promise<ActivationInterface | undefined>;
|
|
22
|
+
getStaticActivation(): Promise<ActivationInterface | undefined>;
|
|
23
|
+
listActivations(): Promise<ActivationInterface[]>;
|
|
23
24
|
updateDynamicVariable(activationId: string, name: string, value: unknown): Promise<void>;
|
|
24
25
|
}
|
|
25
26
|
export type CronConfig = {
|
|
@@ -64,7 +65,7 @@ export type User = {
|
|
|
64
65
|
* Activation represents a user's activation of an integration. Activations contain user-specific configuration and
|
|
65
66
|
* credentials for accessing external systems. Workflows can be scoped to specific activations using predicates.
|
|
66
67
|
*/
|
|
67
|
-
export interface
|
|
68
|
+
export interface ActivationInterface {
|
|
68
69
|
/**
|
|
69
70
|
* The unique identifier for this activation.
|
|
70
71
|
*/
|
|
@@ -73,6 +74,17 @@ export interface Activation {
|
|
|
73
74
|
* The user who owns this activation.
|
|
74
75
|
*/
|
|
75
76
|
user: User;
|
|
77
|
+
/**
|
|
78
|
+
* The environment this activation is associated with.
|
|
79
|
+
*/
|
|
80
|
+
environment?: ProjectEnvironment;
|
|
81
|
+
/** * The connections associated with this activation.
|
|
82
|
+
*/
|
|
83
|
+
connections?: Array<Connection>;
|
|
84
|
+
/**
|
|
85
|
+
* Dynamic variables associated with this activation.
|
|
86
|
+
*/
|
|
87
|
+
dynamicVariables?: DynamicVariables;
|
|
76
88
|
/**
|
|
77
89
|
* Get a dynamic variable value for this activation.
|
|
78
90
|
*
|
|
@@ -88,132 +100,6 @@ export interface Activation {
|
|
|
88
100
|
*/
|
|
89
101
|
setVariable(name: string, value: unknown): Promise<void>;
|
|
90
102
|
}
|
|
91
|
-
export type AuthSchemeType = 'none' | 'api-key' | 'basic-auth' | 'oauth2' | 'hmac' | 'jwt-bearer' | 'custom-function' | 'certificate' | 'oauth1';
|
|
92
|
-
export type AuthSchemeConfig = {
|
|
93
|
-
type: AuthSchemeType;
|
|
94
|
-
none?: AuthSchemeConfigNone;
|
|
95
|
-
apiKey?: AuthSchemeConfigApiKey;
|
|
96
|
-
basicAuth?: AuthSchemeConfigBasicAuth;
|
|
97
|
-
oauth2?: AuthSchemeConfigOAuth2;
|
|
98
|
-
oauth1?: AuthSchemeConfigOAuth1;
|
|
99
|
-
hmac?: AuthSchemeConfigHMAC;
|
|
100
|
-
certificate?: AuthSchemeConfigCertificate;
|
|
101
|
-
};
|
|
102
|
-
type AuthSchemeConfigBase = {
|
|
103
|
-
id: string;
|
|
104
|
-
description: string;
|
|
105
|
-
};
|
|
106
|
-
export type AuthSchemeConfigNone = AuthSchemeConfigBase & {
|
|
107
|
-
schemeType: 'none';
|
|
108
|
-
};
|
|
109
|
-
export type AuthSchemeConfigBasicAuth = AuthSchemeConfigBase & {
|
|
110
|
-
schemeType: 'basic-auth';
|
|
111
|
-
};
|
|
112
|
-
export type AuthSchemeConfigApiKey = AuthSchemeConfigBase & {
|
|
113
|
-
schemeType: 'api-key';
|
|
114
|
-
in: 'query' | 'header' | 'cookie';
|
|
115
|
-
name: string;
|
|
116
|
-
};
|
|
117
|
-
type OAuth2Scope = {
|
|
118
|
-
name: string;
|
|
119
|
-
description: string;
|
|
120
|
-
};
|
|
121
|
-
type OAuth2GrantAuthCode = {
|
|
122
|
-
credentialId: string;
|
|
123
|
-
organisationId: string;
|
|
124
|
-
clientId: string;
|
|
125
|
-
clientSecret: string;
|
|
126
|
-
};
|
|
127
|
-
type OAuth2GrantClientCredentials = Record<PropertyKey, never>;
|
|
128
|
-
type OAuth2GrantPassword = {
|
|
129
|
-
credentialId: string;
|
|
130
|
-
organisationId: string;
|
|
131
|
-
clientId: string;
|
|
132
|
-
clientSecret: string;
|
|
133
|
-
};
|
|
134
|
-
type OAuth2Grant = {
|
|
135
|
-
type: 'authorizationCode' | 'clientCredentials' | 'password';
|
|
136
|
-
authorizationCode?: OAuth2GrantAuthCode;
|
|
137
|
-
clientCredentials?: OAuth2GrantClientCredentials;
|
|
138
|
-
password?: OAuth2GrantPassword;
|
|
139
|
-
};
|
|
140
|
-
export type AuthSchemeConfigOAuth2 = AuthSchemeConfigBase & {
|
|
141
|
-
schemeType: 'oauth2';
|
|
142
|
-
authorizeUrl: string;
|
|
143
|
-
tokenUrl: string;
|
|
144
|
-
scopes: OAuth2Scope[];
|
|
145
|
-
defaultScopes: string[];
|
|
146
|
-
additionalAuthorizeParams: string;
|
|
147
|
-
additionalTokenParams: string;
|
|
148
|
-
mltsEnabled: boolean;
|
|
149
|
-
mltsCredentialId: string;
|
|
150
|
-
grant: OAuth2Grant;
|
|
151
|
-
};
|
|
152
|
-
export type DigestInput = 'body' | 'url';
|
|
153
|
-
export type AuthSchemeConfigHMAC = AuthSchemeConfigBase & {
|
|
154
|
-
schemeType: 'hmac';
|
|
155
|
-
name: string;
|
|
156
|
-
in: 'query' | 'header' | 'cookie';
|
|
157
|
-
algorithm: 'sha1' | 'sha256' | 'sha512';
|
|
158
|
-
digestInputs: DigestInput[];
|
|
159
|
-
encoding: 'hex' | 'base64' | 'base64url';
|
|
160
|
-
};
|
|
161
|
-
type ParameterConfig = {
|
|
162
|
-
parameterName: string;
|
|
163
|
-
targetName: string;
|
|
164
|
-
location: 'LOCATION_IGNORE' | 'LOCATION_QUERY' | 'LOCATION_HEADER' | 'LOCATION_BODY' | 'LOCATION_ENDPOINT' | 'LOCAITON_HEADER_PARAMETER';
|
|
165
|
-
usages: 'USAGE_UNKNOWN' | 'USAGE_TEMP_CREDENTIAL_ENDPOINT' | 'USAGE_TOKEN_REQUEST_ENDPOINT';
|
|
166
|
-
required: boolean;
|
|
167
|
-
modifiable: boolean;
|
|
168
|
-
};
|
|
169
|
-
type Endpoint = {
|
|
170
|
-
url: string;
|
|
171
|
-
additionalParamConfigs: ParameterConfig[];
|
|
172
|
-
parameterTransmission: 'AUTH_STYLE_AUTHORIZATION_HEADER' | 'AUTH_STYLE_QUERY' | 'AUTH_STYLE_FORM';
|
|
173
|
-
};
|
|
174
|
-
export type AuthSchemeConfigOAuth1 = AuthSchemeConfigBase & {
|
|
175
|
-
consumerKey: string;
|
|
176
|
-
consumerSecret: string;
|
|
177
|
-
schemeType: 'oauth1';
|
|
178
|
-
tempCredentialEndpoint: Endpoint;
|
|
179
|
-
resourceOwnerAuthorizationEndpoint: Endpoint;
|
|
180
|
-
tokenEndpoint: Endpoint;
|
|
181
|
-
signatureMethod: string;
|
|
182
|
-
credentialId: string;
|
|
183
|
-
};
|
|
184
|
-
export type AuthSchemeConfigCertificate = AuthSchemeConfigBase & {
|
|
185
|
-
schemeType: 'certificate';
|
|
186
|
-
};
|
|
187
|
-
export type Credential = {
|
|
188
|
-
data: Record<string, string>;
|
|
189
|
-
id: string;
|
|
190
|
-
name: string;
|
|
191
|
-
organisationId: string;
|
|
192
|
-
type: string;
|
|
193
|
-
};
|
|
194
|
-
export type ConnectionCredential = {
|
|
195
|
-
authSchemeConfig: AuthSchemeConfig;
|
|
196
|
-
credential: Credential;
|
|
197
|
-
id: string;
|
|
198
|
-
};
|
|
199
|
-
export type Connection = {
|
|
200
|
-
createdAt: string;
|
|
201
|
-
credentials: ConnectionCredential[];
|
|
202
|
-
id: string;
|
|
203
|
-
name: string;
|
|
204
|
-
templateId: string;
|
|
205
|
-
dynamic: boolean;
|
|
206
|
-
updatedAt: string;
|
|
207
|
-
baseUrl: string;
|
|
208
|
-
};
|
|
209
|
-
export type System = {
|
|
210
|
-
documentationUrl: string;
|
|
211
|
-
name: string;
|
|
212
|
-
protocol: string;
|
|
213
|
-
variablesSchema: {
|
|
214
|
-
[key: string]: any;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
103
|
export type StaticCnxMap = {
|
|
218
104
|
name: string;
|
|
219
105
|
dynamic: false;
|
|
@@ -232,5 +118,4 @@ export type VersoriAPIError = {
|
|
|
232
118
|
message: string;
|
|
233
119
|
code: string;
|
|
234
120
|
};
|
|
235
|
-
export {};
|
|
236
121
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/http/types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,MAAM,cAAc,GAAG,CACzB,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/http/types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,MAAM,cAAc,GAAG,CACzB,UAAU,EAAE,mBAAmB,EAC/B,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,IAAI,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,QAAQ,CAAC,CAAC;AAEvB,MAAM,MAAM,cAAc,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAEvE,MAAM,WAAW,mBAAmB;IAChC,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,KAAK,GAAG,SAAS,CAAC,CAAC;IAC5D,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACzE,WAAW,IAAI,mBAAmB,CAAC;IACnC,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC;CACxD;AAGD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,mBAAmB,GAAG,OAAO,KAAK,CAIzG;AAED,MAAM,WAAW,YAAY;IACzB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAChD,eAAe,CAA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EG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IAEjC;OACG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAEhC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEnC;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,KAAK,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,IAAI,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configloader.d.ts","sourceRoot":"","sources":["../../../../../src/src/dsl/http/versori/configloader.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,YAAY,EAA+B,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIlG;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,gBAAgB,CAUrD;AAED,qBAAa,mBAAoB,YAAW,YAAY;IACpD,OAAO,CAAC,UAAU,CAAmB;gBAEzB,GAAG,EAAE,gBAAgB;IAIjC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB;IAShD,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;
|
|
1
|
+
{"version":3,"file":"configloader.d.ts","sourceRoot":"","sources":["../../../../../src/src/dsl/http/versori/configloader.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,YAAY,EAA+B,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIlG;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,gBAAgB,CAUrD;AAED,qBAAa,mBAAoB,YAAW,YAAY;IACpD,OAAO,CAAC,UAAU,CAAmB;gBAEzB,GAAG,EAAE,gBAAgB;IAIjC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB;IAShD,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAO/C,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAczC,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;CAa9C"}
|
|
@@ -53,6 +53,9 @@ class VersoriConfigReader {
|
|
|
53
53
|
return new VersoriConfigReader(versoriCfg);
|
|
54
54
|
}
|
|
55
55
|
getCnxMapping(name) {
|
|
56
|
+
if (this.versoriCfg.mappings === null) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
56
59
|
return this.versoriCfg.mappings.find((c) => c.name.toLowerCase() === name.toLowerCase());
|
|
57
60
|
}
|
|
58
61
|
getConnectionID(connName) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type * as express from 'express';
|
|
2
2
|
import { AsyncWorkflow } from '../../context/AsyncWorkflow.js';
|
|
3
|
-
import { Context,
|
|
4
|
-
import { Issue } from '../../issues/Issues.js';
|
|
3
|
+
import { Context, CreateIssue, WorkflowOpts } from '../../context/Context.js';
|
|
5
4
|
import { KeyValue, KeyValueScope } from '../../kv/KeyValue.js';
|
|
6
5
|
import { Logger } from '../../observability/logging/Logger.js';
|
|
7
6
|
import { CredentialsProvider } from '../http/versori/contextcredentials.js';
|
|
8
7
|
import { ArrayTask, Task, Taskable, TaskType } from '../Task.js';
|
|
9
|
-
import { ActivationImpl } from '../../context/ActivationImpl.js';
|
|
10
8
|
import { FetchLike } from '../../connection/types.js';
|
|
9
|
+
import { ActivationInterface } from '../http/types.js';
|
|
10
|
+
import { Issue } from '../../services/platform/generated/types.gen.js';
|
|
11
11
|
/**
|
|
12
12
|
* HttpContext extends the standard {@link Context} with HTTP-specific functionality including an authenticated
|
|
13
13
|
* `fetch` function and connection variables.
|
|
@@ -93,11 +93,11 @@ export declare class HttpContextImpl<D, PageParams> implements HttpContext<D, Pa
|
|
|
93
93
|
pageParams?: PageParams;
|
|
94
94
|
readonly fetch: FetchLike;
|
|
95
95
|
readonly baseUrl: Promise<string>;
|
|
96
|
-
constructor(ctx:
|
|
96
|
+
constructor(ctx: Context<D>, connectionVars: Record<string, any>, fetch: FetchLike, baseUrl: string, pageParams?: PageParams);
|
|
97
97
|
get log(): Logger;
|
|
98
98
|
get executionId(): string;
|
|
99
99
|
get startTime(): Date;
|
|
100
|
-
get activation():
|
|
100
|
+
get activation(): ActivationInterface;
|
|
101
101
|
get data(): D;
|
|
102
102
|
openKv(scope?: KeyValueScope): KeyValue;
|
|
103
103
|
destroy(scope: KeyValueScope): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpTask.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/tasks/HttpTask.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"HttpTask.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/tasks/HttpTask.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKjE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AAEvE;;;;;;GAMG;AACH,MAAM,WAAW,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,CAAE,SAAQ,OAAO,CAAC,IAAI,CAAC;IAC5E;;;OAGG;IACH,KAAK,EAAE,OAAO,KAAK,CAAC;IAEpB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEzC;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;;OAIG;IACH,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,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U,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC;IAI7E,WAAW,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;KAC3B,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAIzB,QAAQ,CAAC,WAAW,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhD,OAAO,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS;CAGzC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,IAAI,CAAC,EAAE,GAAG,GAAG,EAAE,GAAG,GAAG,GAAG,EAAE,UAAU,GAAG,OAAO,EAC1D,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,EAC7B,EAAE,EAAE,eAAe,CAAC,EAAE,EAAE,GAAG,EAAE,UAAU,CAAC,GACzC,IAAI,CAAC,EAAE,EAAE,GAAG,CAAC,CAEf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActivationInterface } from '../http/types.js';
|
|
2
2
|
import { Taskable } from '../Task.js';
|
|
3
3
|
import { Trigger, TriggerType } from '../Trigger.js';
|
|
4
4
|
import { Workflow } from '../Workflow.js';
|
|
@@ -15,7 +15,7 @@ export type PrebuiltPredicate = 'all';
|
|
|
15
15
|
* ActivationPredicate determines which user activations should trigger the workflow. Can be either a built-in
|
|
16
16
|
* predicate like 'all', or a custom function that receives an activation and returns a boolean.
|
|
17
17
|
*/
|
|
18
|
-
export type ActivationPredicate = PrebuiltPredicate | ((a?:
|
|
18
|
+
export type ActivationPredicate = PrebuiltPredicate | ((a?: ActivationInterface) => boolean);
|
|
19
19
|
export declare class ScheduleTrigger implements Trigger<ScheduleData> {
|
|
20
20
|
id: string;
|
|
21
21
|
[TriggerType]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduleTrigger.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/triggers/ScheduleTrigger.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ScheduleTrigger.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/triggers/ScheduleTrigger.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAgB,MAAM,gBAAgB,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEjD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,mBAAmB,KAAK,OAAO,CAAC,CAAC;AAE7F,qBAAa,eAAgB,YAAW,OAAO,CAAC,YAAY,CAAC;IACzD,EAAE,EAAE,MAAM,CAAC;IAEX,CAAC,WAAW,CAAC,EAAE,MAAM,CAAc;IAEnC,QAAQ,EAAE,MAAM,CAAC;IAEjB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;gBAE9B,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,mBAAmB;IAMnF,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,CAAC,YAAY,EAAE,EAAE,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC;IAIxD,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,GAAG,QAAQ,CAAC,EAAE,CAAC;CAGvC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,QAAQ,CACpB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,mBAAmB,CAAC,EAAE,mBAAmB,GAC1C,QAAQ,CAAC,YAAY,CAAC,CAExB"}
|
|
@@ -4,7 +4,7 @@ import { Router } from 'express';
|
|
|
4
4
|
import { Observable, Subscription } from 'rxjs';
|
|
5
5
|
import { DirectConnectionFactory } from '../../connection/DirectConnectionFactory.js';
|
|
6
6
|
import { ContextImpl } from '../../context/Context.js';
|
|
7
|
-
import { ContextProvider } from '../../context/ContextProvider.js';
|
|
7
|
+
import { ContextProvider, ContextProviderImpl } from '../../context/ContextProvider.js';
|
|
8
8
|
import { ConfigReader, CronProvider } from '../../dsl/http/types.js';
|
|
9
9
|
import { Workflow } from '../../dsl/Workflow.js';
|
|
10
10
|
import { IssueAPI } from '../../issues/Issues.js';
|
|
@@ -26,7 +26,7 @@ export type MemoryInterpreterOptions = {
|
|
|
26
26
|
/**
|
|
27
27
|
* Custom context provider. Advanced use only.
|
|
28
28
|
*/
|
|
29
|
-
contextProvider?:
|
|
29
|
+
contextProvider?: ContextProviderImpl;
|
|
30
30
|
/**
|
|
31
31
|
* Abort signal to cancel workflow execution.
|
|
32
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemoryInterpreter.d.ts","sourceRoot":"","sources":["../../../../src/src/interpreter/memory/MemoryInterpreter.ts"],"names":[],"mappings":"AAaA,OAAsB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAgB,EAAqB,MAAM,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,EAA+B,UAAU,EAAM,YAAY,EAAO,MAAM,MAAM,CAAC;AAEtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,0B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,OAAO,CAAC,EAAE,OAAO,YAAA;WAWzB,WAAW,CAAC,OAAO,GAAE,wBAA6B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAqG5F,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,wBAAwB;IAmDrE,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA8LtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CASxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/schedule.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/schedule.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAyI7C,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,YAAY,EAAE,eAAe,CAG3E,CAAC"}
|