@hahnpro/flow-sdk 9.6.5 → 2025.2.0-beta.1
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/CHANGELOG.md +904 -0
- package/jest.config.ts +10 -0
- package/package.json +7 -20
- package/project.json +41 -0
- package/src/index.ts +15 -0
- package/src/lib/ContextManager.ts +111 -0
- package/src/lib/FlowApplication.ts +659 -0
- package/src/lib/FlowElement.ts +220 -0
- package/src/lib/FlowEvent.ts +73 -0
- package/src/lib/FlowLogger.ts +131 -0
- package/src/lib/FlowModule.ts +18 -0
- package/src/lib/RpcClient.ts +99 -0
- package/src/lib/TestModule.ts +14 -0
- package/src/lib/__pycache__/rpc_server.cpython-310.pyc +0 -0
- package/src/lib/amqp.ts +32 -0
- package/src/lib/extra-validators.ts +62 -0
- package/src/lib/flow.interface.ts +56 -0
- package/{dist/index.d.ts → src/lib/index.ts} +3 -0
- package/src/lib/nats.ts +140 -0
- package/src/lib/unit-decorators.ts +156 -0
- package/src/lib/unit-utils.ts +163 -0
- package/src/lib/units.ts +587 -0
- package/src/lib/utils.ts +176 -0
- package/test/context-manager-purpose.spec.ts +248 -0
- package/test/context-manager.spec.ts +55 -0
- package/test/context.spec.ts +180 -0
- package/test/event.spec.ts +155 -0
- package/test/extra-validators.spec.ts +84 -0
- package/test/flow-logger.spec.ts +104 -0
- package/test/flow.spec.ts +508 -0
- package/test/input-stream.decorator.spec.ts +379 -0
- package/test/long-rpc.test.py +14 -0
- package/test/long-running-rpc.spec.ts +60 -0
- package/test/message.spec.ts +57 -0
- package/test/mocks/logger.mock.ts +7 -0
- package/test/mocks/nats-connection.mock.ts +135 -0
- package/test/mocks/nats-prepare.reals-nats.ts +15 -0
- package/test/rpc.spec.ts +198 -0
- package/test/rpc.test.py +45 -0
- package/test/rx.spec.ts +92 -0
- package/test/unit-decorator.spec.ts +57 -0
- package/test/utils.spec.ts +210 -0
- package/test/validation.spec.ts +174 -0
- package/tsconfig.json +13 -0
- package/tsconfig.lib.json +22 -0
- package/tsconfig.spec.json +8 -0
- package/LICENSE +0 -21
- package/dist/ContextManager.d.ts +0 -40
- package/dist/ContextManager.js +0 -77
- package/dist/FlowApplication.d.ts +0 -85
- package/dist/FlowApplication.js +0 -500
- package/dist/FlowElement.d.ts +0 -67
- package/dist/FlowElement.js +0 -163
- package/dist/FlowEvent.d.ts +0 -25
- package/dist/FlowEvent.js +0 -71
- package/dist/FlowLogger.d.ts +0 -44
- package/dist/FlowLogger.js +0 -94
- package/dist/FlowModule.d.ts +0 -7
- package/dist/FlowModule.js +0 -13
- package/dist/RpcClient.d.ts +0 -13
- package/dist/RpcClient.js +0 -84
- package/dist/TestModule.d.ts +0 -2
- package/dist/TestModule.js +0 -27
- package/dist/amqp.d.ts +0 -14
- package/dist/amqp.js +0 -12
- package/dist/extra-validators.d.ts +0 -1
- package/dist/extra-validators.js +0 -51
- package/dist/flow.interface.d.ts +0 -48
- package/dist/flow.interface.js +0 -9
- package/dist/index.js +0 -18
- package/dist/nats.d.ts +0 -12
- package/dist/nats.js +0 -109
- package/dist/unit-decorators.d.ts +0 -39
- package/dist/unit-decorators.js +0 -156
- package/dist/unit-utils.d.ts +0 -8
- package/dist/unit-utils.js +0 -143
- package/dist/units.d.ts +0 -31
- package/dist/units.js +0 -570
- package/dist/utils.d.ts +0 -51
- package/dist/utils.js +0 -137
- /package/{dist → src/lib}/rpc_server.py +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,904 @@
|
|
|
1
|
+
# @hahnpro/flow-sdk
|
|
2
|
+
|
|
3
|
+
## 2025.10.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- This package now follows a calendar versioning scheme and is tied to the HahnPRO Cloud version.
|
|
8
|
+
|
|
9
|
+
## 9.6.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- de3273a: Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 9.6.4
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- f652e8e: Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 9.6.3
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- cc30ca0: Updated dependencies to reduce vulnerabilities
|
|
26
|
+
|
|
27
|
+
## 9.6.2
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 563e0db: Updated dependencies to reduce vulnerabilities
|
|
32
|
+
|
|
33
|
+
## 9.6.1
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- c80ef76: Updated dependencies
|
|
38
|
+
|
|
39
|
+
## 9.6.0
|
|
40
|
+
|
|
41
|
+
### Minor Changes
|
|
42
|
+
|
|
43
|
+
- eb10b6b: Fixed timing in sdk tests
|
|
44
|
+
|
|
45
|
+
## 9.5.0
|
|
46
|
+
|
|
47
|
+
### Minor Changes
|
|
48
|
+
|
|
49
|
+
- eb220a2: Fixed flow messages parsing if it is a plain string and forced the correct structure required by the corresponding opensearch index
|
|
50
|
+
|
|
51
|
+
## 9.4.1
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- 1b0f0cd: Updated dependencies to reduce vulnerabilities
|
|
56
|
+
|
|
57
|
+
## 9.4.0
|
|
58
|
+
|
|
59
|
+
### Minor Changes
|
|
60
|
+
|
|
61
|
+
- 0a71960: Added inactive threshold and pull timings and stopping and recreation of consumers at reconnects
|
|
62
|
+
|
|
63
|
+
## 9.3.0
|
|
64
|
+
|
|
65
|
+
### Minor Changes
|
|
66
|
+
|
|
67
|
+
- 4d67ad1: Change flow log event data structure to match the opensearch mapping index
|
|
68
|
+
|
|
69
|
+
## 9.2.0
|
|
70
|
+
|
|
71
|
+
### Minor Changes
|
|
72
|
+
|
|
73
|
+
- 35fa635: Fixed wrong object parsing for update events and the corresponding tests
|
|
74
|
+
|
|
75
|
+
## 9.1.1
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- 7c58a1e: Updated dependencies
|
|
80
|
+
|
|
81
|
+
## 9.1.0
|
|
82
|
+
|
|
83
|
+
### Minor Changes
|
|
84
|
+
|
|
85
|
+
- d48c11d: Fixed overlapping nats stream subjects
|
|
86
|
+
|
|
87
|
+
## 9.0.1
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- 855c614: Updated dependencies to reduce vulnerabilities
|
|
92
|
+
|
|
93
|
+
## 9.0.0
|
|
94
|
+
|
|
95
|
+
### Major Changes
|
|
96
|
+
|
|
97
|
+
- daebcab: Messages are no longer sent via rabbitmq but via nats using jetstreams.
|
|
98
|
+
The Python modules have not yet been converted to nats.
|
|
99
|
+
|
|
100
|
+
## 8.0.13
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- a0be6e8: Improved logging of Axios errors
|
|
105
|
+
|
|
106
|
+
## 8.0.12
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- b7fee35: Updated dependencies to reduce vulnerabilities
|
|
111
|
+
|
|
112
|
+
## 8.0.11
|
|
113
|
+
|
|
114
|
+
### Patch Changes
|
|
115
|
+
|
|
116
|
+
- c00b494: Updated dependencies to reduce vulnerabilities
|
|
117
|
+
|
|
118
|
+
## 8.0.10
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- 0eb3de3: Updated dependencies to reduce vulnerabilities
|
|
123
|
+
|
|
124
|
+
## 8.0.9
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- 1ac60b1: Updated dependencies to reduce vulnerabilities
|
|
129
|
+
|
|
130
|
+
## 8.0.8
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- Updated dependencies [df8453d]
|
|
135
|
+
- @hahnpro/hpc-api@6.0.0
|
|
136
|
+
|
|
137
|
+
## 8.0.7
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- c30bc45: Updated nats to new packages
|
|
142
|
+
|
|
143
|
+
## 8.0.6
|
|
144
|
+
|
|
145
|
+
### Patch Changes
|
|
146
|
+
|
|
147
|
+
- d3e7ca1: Updated dependencies to reduce vulnerabilities
|
|
148
|
+
- Updated dependencies [d3e7ca1]
|
|
149
|
+
- @hahnpro/hpc-api@5.3.4
|
|
150
|
+
|
|
151
|
+
## 8.0.5
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- Updated dependencies [ef6ee56]
|
|
156
|
+
- @hahnpro/hpc-api@5.3.3
|
|
157
|
+
|
|
158
|
+
## 8.0.4
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- b783a01: Updated dependencies to reduce vulnerabilities
|
|
163
|
+
- Updated dependencies [b783a01]
|
|
164
|
+
- @hahnpro/hpc-api@5.3.2
|
|
165
|
+
|
|
166
|
+
## 8.0.3
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- 357e350: Fixed wrong initialisation of given context
|
|
171
|
+
|
|
172
|
+
## 8.0.2
|
|
173
|
+
|
|
174
|
+
### Patch Changes
|
|
175
|
+
|
|
176
|
+
- 74b888f: Updated dependencies to reduce vulnerabilities
|
|
177
|
+
- Updated dependencies [74b888f]
|
|
178
|
+
- @hahnpro/hpc-api@5.3.1
|
|
179
|
+
|
|
180
|
+
## 8.0.1
|
|
181
|
+
|
|
182
|
+
### Patch Changes
|
|
183
|
+
|
|
184
|
+
- 82ab993: Fixed test failures when testing an element outside of a flowapplication
|
|
185
|
+
|
|
186
|
+
## 8.0.0
|
|
187
|
+
|
|
188
|
+
### Major Changes
|
|
189
|
+
|
|
190
|
+
- fc756c6: Added a "global context" instead of interpolation before creation a flow application.
|
|
191
|
+
All properties of all elements of the flow model are always updated when an update event occurs.
|
|
192
|
+
|
|
193
|
+
## 7.1.0
|
|
194
|
+
|
|
195
|
+
### Minor Changes
|
|
196
|
+
|
|
197
|
+
- 0ce38af: Allow Flow-Deployments to be run with owners permissions
|
|
198
|
+
|
|
199
|
+
### Patch Changes
|
|
200
|
+
|
|
201
|
+
- Updated dependencies [0ce38af]
|
|
202
|
+
- @hahnpro/hpc-api@5.3.0
|
|
203
|
+
|
|
204
|
+
## 7.0.2
|
|
205
|
+
|
|
206
|
+
### Patch Changes
|
|
207
|
+
|
|
208
|
+
- 4a1d52d: updated axios for vulnerability
|
|
209
|
+
- Updated dependencies [4a1d52d]
|
|
210
|
+
- @hahnpro/hpc-api@5.2.8
|
|
211
|
+
|
|
212
|
+
## 7.0.1
|
|
213
|
+
|
|
214
|
+
### Patch Changes
|
|
215
|
+
|
|
216
|
+
- 713ccbd: Updated dependencies to reduce vulnerabilities
|
|
217
|
+
- Updated dependencies [713ccbd]
|
|
218
|
+
- @hahnpro/hpc-api@5.2.7
|
|
219
|
+
|
|
220
|
+
## 7.0.0
|
|
221
|
+
|
|
222
|
+
### Major Changes
|
|
223
|
+
|
|
224
|
+
- 2661950: Added a nats connections with config
|
|
225
|
+
|
|
226
|
+
## 6.0.2
|
|
227
|
+
|
|
228
|
+
### Patch Changes
|
|
229
|
+
|
|
230
|
+
- 6c7abb2: Updated dependencies to reduce vulnerabilities
|
|
231
|
+
- Updated dependencies [6c7abb2]
|
|
232
|
+
- @hahnpro/hpc-api@5.2.6
|
|
233
|
+
|
|
234
|
+
## 6.0.1
|
|
235
|
+
|
|
236
|
+
### Patch Changes
|
|
237
|
+
|
|
238
|
+
- a6eebf2: Updated dependencies to reduce vulnerabilities
|
|
239
|
+
- Updated dependencies [a6eebf2]
|
|
240
|
+
- @hahnpro/hpc-api@5.2.5
|
|
241
|
+
|
|
242
|
+
## 6.0.0
|
|
243
|
+
|
|
244
|
+
### Major Changes
|
|
245
|
+
|
|
246
|
+
- 4dedfae: Updated python-shell to v5; Added support for Python v3.12
|
|
247
|
+
|
|
248
|
+
## 5.0.6
|
|
249
|
+
|
|
250
|
+
### Patch Changes
|
|
251
|
+
|
|
252
|
+
- f93e4f9: Updated dependencies to reduce vulnerabilities
|
|
253
|
+
- Updated dependencies [f93e4f9]
|
|
254
|
+
- @hahnpro/hpc-api@5.2.4
|
|
255
|
+
|
|
256
|
+
## 5.0.5
|
|
257
|
+
|
|
258
|
+
### Patch Changes
|
|
259
|
+
|
|
260
|
+
- 39b5f50: Updated dependencies to reduce vulnerabilities
|
|
261
|
+
- Updated dependencies [39b5f50]
|
|
262
|
+
- @hahnpro/hpc-api@5.2.3
|
|
263
|
+
|
|
264
|
+
## 5.0.4
|
|
265
|
+
|
|
266
|
+
### Patch Changes
|
|
267
|
+
|
|
268
|
+
- Updated dependencies
|
|
269
|
+
- @hahnpro/hpc-api@5.2.2
|
|
270
|
+
|
|
271
|
+
## 5.0.3
|
|
272
|
+
|
|
273
|
+
### Patch Changes
|
|
274
|
+
|
|
275
|
+
- Updated dependencies [a431b4f]
|
|
276
|
+
- @hahnpro/hpc-api@5.2.1
|
|
277
|
+
|
|
278
|
+
## 5.0.2
|
|
279
|
+
|
|
280
|
+
### Patch Changes
|
|
281
|
+
|
|
282
|
+
- Updated dependencies [e4a9f4d]
|
|
283
|
+
- @hahnpro/hpc-api@5.2.0
|
|
284
|
+
|
|
285
|
+
## 5.0.1
|
|
286
|
+
|
|
287
|
+
### Patch Changes
|
|
288
|
+
|
|
289
|
+
- Updated dependencies [f0c4d8d]
|
|
290
|
+
- @hahnpro/hpc-api@5.1.0
|
|
291
|
+
|
|
292
|
+
## 5.0.0
|
|
293
|
+
|
|
294
|
+
### Major Changes
|
|
295
|
+
|
|
296
|
+
- 19af51f: Updated dependencies to reduce vulnerabilities
|
|
297
|
+
|
|
298
|
+
**Breaking changes**
|
|
299
|
+
- Raise minimum Node.js version to v18 for hpc-api and flow-sdk packages
|
|
300
|
+
|
|
301
|
+
### Patch Changes
|
|
302
|
+
|
|
303
|
+
- Updated dependencies [19af51f]
|
|
304
|
+
- @hahnpro/hpc-api@5.0.0
|
|
305
|
+
|
|
306
|
+
## 4.27.5
|
|
307
|
+
|
|
308
|
+
### Patch Changes
|
|
309
|
+
|
|
310
|
+
- f86bcac: Updated dependencies to reduce vulnerabilities
|
|
311
|
+
- Updated dependencies [f86bcac]
|
|
312
|
+
- @hahnpro/hpc-api@4.1.2
|
|
313
|
+
|
|
314
|
+
## 4.27.4
|
|
315
|
+
|
|
316
|
+
### Patch Changes
|
|
317
|
+
|
|
318
|
+
- Updated dependencies [eb65f7f]
|
|
319
|
+
- @hahnpro/hpc-api@4.1.1
|
|
320
|
+
|
|
321
|
+
## 4.27.3
|
|
322
|
+
|
|
323
|
+
### Patch Changes
|
|
324
|
+
|
|
325
|
+
- Updated dependencies [621277d]
|
|
326
|
+
- @hahnpro/hpc-api@4.1.0
|
|
327
|
+
|
|
328
|
+
## 4.27.2
|
|
329
|
+
|
|
330
|
+
### Patch Changes
|
|
331
|
+
|
|
332
|
+
- Updated dependencies [cdcd295]
|
|
333
|
+
- @hahnpro/hpc-api@4.0.2
|
|
334
|
+
|
|
335
|
+
## 4.27.1
|
|
336
|
+
|
|
337
|
+
### Patch Changes
|
|
338
|
+
|
|
339
|
+
- 92673bb: Updated dependencies to reduce vulnerabilities
|
|
340
|
+
- Updated dependencies [92673bb]
|
|
341
|
+
- @hahnpro/hpc-api@4.0.1
|
|
342
|
+
|
|
343
|
+
## 4.27.0
|
|
344
|
+
|
|
345
|
+
### Minor Changes
|
|
346
|
+
|
|
347
|
+
- a7ea37b: Allow API HttpClient to be provided
|
|
348
|
+
|
|
349
|
+
### Patch Changes
|
|
350
|
+
|
|
351
|
+
- Updated dependencies [a7ea37b]
|
|
352
|
+
- Updated dependencies [a7ea37b]
|
|
353
|
+
- @hahnpro/hpc-api@4.0.0
|
|
354
|
+
|
|
355
|
+
## 4.26.1
|
|
356
|
+
|
|
357
|
+
### Patch Changes
|
|
358
|
+
|
|
359
|
+
- Updated dependencies [75c87ab]
|
|
360
|
+
- @hahnpro/hpc-api@3.8.1
|
|
361
|
+
|
|
362
|
+
## 4.26.0
|
|
363
|
+
|
|
364
|
+
### Minor Changes
|
|
365
|
+
|
|
366
|
+
- 97a6e09: Added a Mock-API parameter to the FlowApplication constructor. This enables simple use of the Mock-API in flow tests.
|
|
367
|
+
|
|
368
|
+
## 4.25.0
|
|
369
|
+
|
|
370
|
+
### Minor Changes
|
|
371
|
+
|
|
372
|
+
- 4d18ce7: Updated dependencies to reduce vulnerabilities.
|
|
373
|
+
Added peer dependencies
|
|
374
|
+
|
|
375
|
+
### Patch Changes
|
|
376
|
+
|
|
377
|
+
- Updated dependencies [6cd509a]
|
|
378
|
+
- @hahnpro/hpc-api@3.8.0
|
|
379
|
+
|
|
380
|
+
## 4.24.1
|
|
381
|
+
|
|
382
|
+
### Patch Changes
|
|
383
|
+
|
|
384
|
+
- 7fbe93b: Fixed parsing of incoming amqp messages
|
|
385
|
+
|
|
386
|
+
## 4.24.0
|
|
387
|
+
|
|
388
|
+
### Minor Changes
|
|
389
|
+
|
|
390
|
+
- 09ee9c6: Added possibility to limit the max size of RPC messages via environment variable "MAX_RPC_MSG_SIZE_BYTES"
|
|
391
|
+
|
|
392
|
+
## 4.23.8
|
|
393
|
+
|
|
394
|
+
### Patch Changes
|
|
395
|
+
|
|
396
|
+
- ce4c6ca: Fixed bug that caused complete failure of the RPC mechanism, when multiple functions tried to call a RPC function for the first time at the same time. Bug was fixed by removing obsolete lazy initialization of RpcClient.
|
|
397
|
+
|
|
398
|
+
## 4.23.7
|
|
399
|
+
|
|
400
|
+
### Patch Changes
|
|
401
|
+
|
|
402
|
+
- Updated dependencies [1b1b2d0]
|
|
403
|
+
- @hahnpro/hpc-api@3.7.1
|
|
404
|
+
|
|
405
|
+
## 4.23.6
|
|
406
|
+
|
|
407
|
+
### Patch Changes
|
|
408
|
+
|
|
409
|
+
- Updated dependencies [7159fd4]
|
|
410
|
+
- @hahnpro/hpc-api@3.7.0
|
|
411
|
+
|
|
412
|
+
## 4.23.5
|
|
413
|
+
|
|
414
|
+
### Patch Changes
|
|
415
|
+
|
|
416
|
+
- d6e655c: Updated dependencies to reduce vulnerabilities
|
|
417
|
+
- Updated dependencies [d6e655c]
|
|
418
|
+
- @hahnpro/hpc-api@3.6.7
|
|
419
|
+
|
|
420
|
+
## 4.23.4
|
|
421
|
+
|
|
422
|
+
### Patch Changes
|
|
423
|
+
|
|
424
|
+
- Updated dependencies [b53dd91]
|
|
425
|
+
- @hahnpro/hpc-api@3.6.6
|
|
426
|
+
|
|
427
|
+
## 4.23.3
|
|
428
|
+
|
|
429
|
+
### Patch Changes
|
|
430
|
+
|
|
431
|
+
- b659f75: Updated dependencies to reduce vulnerabilities
|
|
432
|
+
|
|
433
|
+
## 4.23.2
|
|
434
|
+
|
|
435
|
+
### Patch Changes
|
|
436
|
+
|
|
437
|
+
- b5c2b74: Updated dependencies to reduce vulnerabilities
|
|
438
|
+
- Updated dependencies [b5c2b74]
|
|
439
|
+
- @hahnpro/hpc-api@3.6.5
|
|
440
|
+
|
|
441
|
+
## 4.23.1
|
|
442
|
+
|
|
443
|
+
### Patch Changes
|
|
444
|
+
|
|
445
|
+
- df86691: Allow unknown values for property validation
|
|
446
|
+
|
|
447
|
+
## 4.23.0
|
|
448
|
+
|
|
449
|
+
### Minor Changes
|
|
450
|
+
|
|
451
|
+
- d83cedd: Added capability that lets the user return a custom json serializer in their RPC functions to serilaize data that contains non python types (like numpy or pandas) without adding any dependencies.
|
|
452
|
+
|
|
453
|
+
## 4.22.12
|
|
454
|
+
|
|
455
|
+
### Patch Changes
|
|
456
|
+
|
|
457
|
+
- f445b96: Fixes issue with http response encoding/transformation by downgrading axios
|
|
458
|
+
- Updated dependencies [f445b96]
|
|
459
|
+
- @hahnpro/hpc-api@3.6.4
|
|
460
|
+
|
|
461
|
+
## 4.22.11
|
|
462
|
+
|
|
463
|
+
### Patch Changes
|
|
464
|
+
|
|
465
|
+
- 827a101: Updated dependencies to reduce vulnerabilities
|
|
466
|
+
- Updated dependencies [827a101]
|
|
467
|
+
- @hahnpro/hpc-api@3.6.3
|
|
468
|
+
|
|
469
|
+
## 4.22.10
|
|
470
|
+
|
|
471
|
+
### Patch Changes
|
|
472
|
+
|
|
473
|
+
- c40f5c5: updated dependencies to reduce vulnerabilities
|
|
474
|
+
- Updated dependencies [c40f5c5]
|
|
475
|
+
- @hahnpro/hpc-api@3.6.2
|
|
476
|
+
|
|
477
|
+
## 4.22.9
|
|
478
|
+
|
|
479
|
+
### Patch Changes
|
|
480
|
+
|
|
481
|
+
- 18d9a0b: Fixed logging. All logs were processed and published twice.
|
|
482
|
+
|
|
483
|
+
## 4.22.8
|
|
484
|
+
|
|
485
|
+
### Patch Changes
|
|
486
|
+
|
|
487
|
+
- Updated dependencies [bcc1b60]
|
|
488
|
+
- @hahnpro/hpc-api@3.6.1
|
|
489
|
+
|
|
490
|
+
## 4.22.7
|
|
491
|
+
|
|
492
|
+
### Patch Changes
|
|
493
|
+
|
|
494
|
+
- Updated dependencies [6a5ab51]
|
|
495
|
+
- @hahnpro/hpc-api@3.6.0
|
|
496
|
+
|
|
497
|
+
## 4.22.6
|
|
498
|
+
|
|
499
|
+
### Patch Changes
|
|
500
|
+
|
|
501
|
+
- Updated dependencies [f2b8d05]
|
|
502
|
+
- @hahnpro/hpc-api@3.5.0
|
|
503
|
+
|
|
504
|
+
## 4.22.5
|
|
505
|
+
|
|
506
|
+
### Patch Changes
|
|
507
|
+
|
|
508
|
+
- Updated dependencies [29eb88e]
|
|
509
|
+
- @hahnpro/hpc-api@3.4.4
|
|
510
|
+
|
|
511
|
+
## 4.22.4
|
|
512
|
+
|
|
513
|
+
### Patch Changes
|
|
514
|
+
|
|
515
|
+
- Updated dependencies [6ce20bb]
|
|
516
|
+
- @hahnpro/hpc-api@3.4.3
|
|
517
|
+
|
|
518
|
+
## 4.22.3
|
|
519
|
+
|
|
520
|
+
### Patch Changes
|
|
521
|
+
|
|
522
|
+
- Updated dependencies [fa3bf33]
|
|
523
|
+
- @hahnpro/hpc-api@3.4.2
|
|
524
|
+
|
|
525
|
+
## 4.22.2
|
|
526
|
+
|
|
527
|
+
### Patch Changes
|
|
528
|
+
|
|
529
|
+
- Updated dependencies [e5202b0]
|
|
530
|
+
- @hahnpro/hpc-api@3.4.1
|
|
531
|
+
|
|
532
|
+
## 4.22.1
|
|
533
|
+
|
|
534
|
+
### Patch Changes
|
|
535
|
+
|
|
536
|
+
- Updated dependencies [675a239]
|
|
537
|
+
- @hahnpro/hpc-api@3.4.0
|
|
538
|
+
|
|
539
|
+
## 4.22.0
|
|
540
|
+
|
|
541
|
+
### Minor Changes
|
|
542
|
+
|
|
543
|
+
- aebe781: made the init function of the FlowApplication externally awaitable. To use this the expicitInit constructor option has to be set.
|
|
544
|
+
|
|
545
|
+
## 4.21.3
|
|
546
|
+
|
|
547
|
+
### Patch Changes
|
|
548
|
+
|
|
549
|
+
- Updated dependencies [8bd0141]
|
|
550
|
+
- @hahnpro/hpc-api@3.3.0
|
|
551
|
+
|
|
552
|
+
## 4.21.2
|
|
553
|
+
|
|
554
|
+
### Patch Changes
|
|
555
|
+
|
|
556
|
+
- Updated dependencies [e0868c0]
|
|
557
|
+
- @hahnpro/hpc-api@3.2.1
|
|
558
|
+
|
|
559
|
+
## 4.21.1
|
|
560
|
+
|
|
561
|
+
### Patch Changes
|
|
562
|
+
|
|
563
|
+
- Updated dependencies [966f2e2]
|
|
564
|
+
- @hahnpro/hpc-api@3.2.0
|
|
565
|
+
|
|
566
|
+
## 4.21.0
|
|
567
|
+
|
|
568
|
+
### Minor Changes
|
|
569
|
+
|
|
570
|
+
- a6487a4: Publish Flow lifecycle events to allow execution duration tracking for elements
|
|
571
|
+
|
|
572
|
+
## 4.20.14
|
|
573
|
+
|
|
574
|
+
### Patch Changes
|
|
575
|
+
|
|
576
|
+
- Updated dependencies [d95c007]
|
|
577
|
+
- @hahnpro/hpc-api@3.1.0
|
|
578
|
+
|
|
579
|
+
## 4.20.13
|
|
580
|
+
|
|
581
|
+
### Patch Changes
|
|
582
|
+
|
|
583
|
+
- f6c5171: update all non-major dependencies
|
|
584
|
+
|
|
585
|
+
## 4.20.12
|
|
586
|
+
|
|
587
|
+
### Patch Changes
|
|
588
|
+
|
|
589
|
+
- Updated dependencies [2c6d6f9]
|
|
590
|
+
- @hahnpro/hpc-api@3.0.0
|
|
591
|
+
|
|
592
|
+
## 4.20.11
|
|
593
|
+
|
|
594
|
+
### Patch Changes
|
|
595
|
+
|
|
596
|
+
- 2e6ebfc: Flow Module name validation has been updated. Names must be all lowercase and not contain any special characters except for hyphens. Can optionally start with a scope "@scopename/"
|
|
597
|
+
|
|
598
|
+
## 4.20.10
|
|
599
|
+
|
|
600
|
+
### Patch Changes
|
|
601
|
+
|
|
602
|
+
- Updated dependencies [3e3ee84]
|
|
603
|
+
- @hahnpro/hpc-api@2.3.1
|
|
604
|
+
|
|
605
|
+
## 4.20.9
|
|
606
|
+
|
|
607
|
+
### Patch Changes
|
|
608
|
+
|
|
609
|
+
- Updated dependencies [1edd4da]
|
|
610
|
+
- @hahnpro/hpc-api@2.3.0
|
|
611
|
+
|
|
612
|
+
## 4.20.8
|
|
613
|
+
|
|
614
|
+
### Patch Changes
|
|
615
|
+
|
|
616
|
+
- Updated dependencies [eac4dea]
|
|
617
|
+
- @hahnpro/hpc-api@2.2.0
|
|
618
|
+
|
|
619
|
+
## 4.20.7
|
|
620
|
+
|
|
621
|
+
### Patch Changes
|
|
622
|
+
|
|
623
|
+
- b110e7f: Fixed a bug which caused tests failures when required exchanges were missing
|
|
624
|
+
|
|
625
|
+
## 4.20.6
|
|
626
|
+
|
|
627
|
+
### Patch Changes
|
|
628
|
+
|
|
629
|
+
- fce8ce4: Update dependencies to reduce vulnerabilities
|
|
630
|
+
|
|
631
|
+
## 4.20.5
|
|
632
|
+
|
|
633
|
+
### Patch Changes
|
|
634
|
+
|
|
635
|
+
- Updated dependencies [8edcf1c]
|
|
636
|
+
- @hahnpro/hpc-api@2.1.1
|
|
637
|
+
|
|
638
|
+
## 4.20.4
|
|
639
|
+
|
|
640
|
+
### Patch Changes
|
|
641
|
+
|
|
642
|
+
- Updated dependencies [5c2c1c6]
|
|
643
|
+
- @hahnpro/hpc-api@2.1.0
|
|
644
|
+
|
|
645
|
+
## 4.20.3
|
|
646
|
+
|
|
647
|
+
### Patch Changes
|
|
648
|
+
|
|
649
|
+
- Updated dependencies [d16e8fc]
|
|
650
|
+
- @hahnpro/hpc-api@2.0.0
|
|
651
|
+
|
|
652
|
+
## 4.20.2
|
|
653
|
+
|
|
654
|
+
### Patch Changes
|
|
655
|
+
|
|
656
|
+
- 719ac32: Add support for RabbitMQ vhost connections
|
|
657
|
+
|
|
658
|
+
## 4.20.1
|
|
659
|
+
|
|
660
|
+
### Patch Changes
|
|
661
|
+
|
|
662
|
+
- 76bd228: remove class-validator-jsonschema from dependencies
|
|
663
|
+
|
|
664
|
+
## 4.20.0
|
|
665
|
+
|
|
666
|
+
### Minor Changes
|
|
667
|
+
|
|
668
|
+
- 2b24afd: Added parameter to logging functions that allows untruncated logs
|
|
669
|
+
|
|
670
|
+
## 4.19.4
|
|
671
|
+
|
|
672
|
+
### Patch Changes
|
|
673
|
+
|
|
674
|
+
- Updated dependencies [85cc9d7]
|
|
675
|
+
- @hahnpro/hpc-api@1.1.0
|
|
676
|
+
|
|
677
|
+
## 4.19.3
|
|
678
|
+
|
|
679
|
+
### Patch Changes
|
|
680
|
+
|
|
681
|
+
- Updated dependencies [dac742f]
|
|
682
|
+
- @hahnpro/hpc-api@1.0.3
|
|
683
|
+
|
|
684
|
+
## 4.19.2
|
|
685
|
+
|
|
686
|
+
### Patch Changes
|
|
687
|
+
|
|
688
|
+
- Updated dependencies
|
|
689
|
+
- @hahnpro/hpc-api@1.0.2
|
|
690
|
+
|
|
691
|
+
## 4.19.1
|
|
692
|
+
|
|
693
|
+
### Patch Changes
|
|
694
|
+
|
|
695
|
+
- Handle nested validation errors
|
|
696
|
+
|
|
697
|
+
## 4.19.0
|
|
698
|
+
|
|
699
|
+
### Minor Changes
|
|
700
|
+
|
|
701
|
+
- Update class-validator and class-transformer packages to newest version
|
|
702
|
+
|
|
703
|
+
### Patch Changes
|
|
704
|
+
|
|
705
|
+
- Updated dependencies [507dd6e]
|
|
706
|
+
- Updated dependencies [ab04943]
|
|
707
|
+
- @hahnpro/hpc-api@1.0.1
|
|
708
|
+
|
|
709
|
+
## 4.18.0
|
|
710
|
+
|
|
711
|
+
### Minor Changes
|
|
712
|
+
|
|
713
|
+
- 205b556: Split API from main SDK package to its own package.
|
|
714
|
+
|
|
715
|
+
### Patch Changes
|
|
716
|
+
|
|
717
|
+
- Updated dependencies [205b556]
|
|
718
|
+
- @hahnpro/hpc-api@1.0.0
|
|
719
|
+
|
|
720
|
+
## 4.17.0
|
|
721
|
+
|
|
722
|
+
### Minor Changes
|
|
723
|
+
|
|
724
|
+
- 17a69c9: Add asset link to sendNotification method of endpoint api
|
|
725
|
+
|
|
726
|
+
## 4.16.0
|
|
727
|
+
|
|
728
|
+
### Minor Changes
|
|
729
|
+
|
|
730
|
+
- e7a1d37: Collect metrics for event stream queues. Warnings will be logged if queue size rises above threshold
|
|
731
|
+
|
|
732
|
+
## 4.15.0
|
|
733
|
+
|
|
734
|
+
### Minor Changes
|
|
735
|
+
|
|
736
|
+
- 0c96066: Measure event loop utilization and active runtime of flow element input stream handlers. A warning will be logged if values exceed a certain threshold.
|
|
737
|
+
|
|
738
|
+
### Patch Changes
|
|
739
|
+
|
|
740
|
+
- da53431: fix error handling for http service
|
|
741
|
+
- 0c96066: Improve logging of erros and exceptions. Uncaught exceptions and unhandeld promise rejections will now also be logged. Note: uncaught exceptions will still result in termination of the deployment.
|
|
742
|
+
|
|
743
|
+
## 4.14.3
|
|
744
|
+
|
|
745
|
+
### Patch Changes
|
|
746
|
+
|
|
747
|
+
- 11bbe26: fix post and put methods for api proxy service
|
|
748
|
+
|
|
749
|
+
## 4.14.2
|
|
750
|
+
|
|
751
|
+
### Minor Changes
|
|
752
|
+
|
|
753
|
+
- a6a5b87: add asset type and proxy service to api; sidrive service has been marked deprecated and will be removed in a future version
|
|
754
|
+
|
|
755
|
+
### Patch Changes
|
|
756
|
+
|
|
757
|
+
- 0c203ef: rename api service properties (non-breaking); old properties have been marked deprecated and will be removed in a future version
|
|
758
|
+
- 7196258: add log message to indicate that flow deployment is running
|
|
759
|
+
- 67df4b6: fix getMany and getManyFiltered methods for api mocks; fixes issue #3
|
|
760
|
+
|
|
761
|
+
## 4.13.2
|
|
762
|
+
|
|
763
|
+
### Patch Changes
|
|
764
|
+
|
|
765
|
+
- 9c487b6: Remove "parentId" parameter from getMany methods in api services. To get a list of assets that share a parent there is now a "getChildren" method on the asset service
|
|
766
|
+
- 8248b70: Replace deprecated querystring lib with native URLSearchParams
|
|
767
|
+
|
|
768
|
+
## [4.8.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v4.8.0)
|
|
769
|
+
|
|
770
|
+
### Features
|
|
771
|
+
|
|
772
|
+
- Emitted event data for Flow Functions is merged with incoming event data with the help of the new `emitEvent` method. See the updated examples for more information
|
|
773
|
+
|
|
774
|
+
### Breaking Changes
|
|
775
|
+
|
|
776
|
+
- The `emitOutput` method of FlowElement has been deprecated in favor of `emitEvent`. All Flow Functions should migrate to the new method. `emitOutput` will be removed in a future version.
|
|
777
|
+
|
|
778
|
+
## [4.0.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v4.0.0)
|
|
779
|
+
|
|
780
|
+
### Features
|
|
781
|
+
|
|
782
|
+
- flows can be updated during runtime (only properties and context changes)
|
|
783
|
+
- allow access to flow context properties inside flow elements
|
|
784
|
+
|
|
785
|
+
### Breaking Changes
|
|
786
|
+
|
|
787
|
+
- flow element method `handleMessage` has been renamed to `onMessage`
|
|
788
|
+
- flow element properties should now be passed to the super constructor. They'll be validated there if a validator class is also passed. see the updated examples
|
|
789
|
+
|
|
790
|
+
## [3.6.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.6.0)
|
|
791
|
+
|
|
792
|
+
### Features
|
|
793
|
+
|
|
794
|
+
- provide hpc api mocks for testing
|
|
795
|
+
|
|
796
|
+
## [3.5.1](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.5.1)
|
|
797
|
+
|
|
798
|
+
### Fixes
|
|
799
|
+
|
|
800
|
+
- improve fillTemplate uitlity function
|
|
801
|
+
|
|
802
|
+
## [3.5.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.5.0)
|
|
803
|
+
|
|
804
|
+
### Features
|
|
805
|
+
|
|
806
|
+
- add support for array, boolean or null event data
|
|
807
|
+
|
|
808
|
+
## [3.4.1](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.4.1)
|
|
809
|
+
|
|
810
|
+
### Features
|
|
811
|
+
|
|
812
|
+
- new IncompatibleWith validator
|
|
813
|
+
- api base url protocol will be set to https if none is specified
|
|
814
|
+
- rpc communication for long running python scripts
|
|
815
|
+
|
|
816
|
+
## [3.3.2](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.3.2)
|
|
817
|
+
|
|
818
|
+
### Chores
|
|
819
|
+
|
|
820
|
+
- update dependencies
|
|
821
|
+
|
|
822
|
+
## [3.3.1](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.3.1)
|
|
823
|
+
|
|
824
|
+
### Fixes
|
|
825
|
+
|
|
826
|
+
- dirname for deleteFiles utility function
|
|
827
|
+
|
|
828
|
+
### Chores
|
|
829
|
+
|
|
830
|
+
- update dependencies
|
|
831
|
+
|
|
832
|
+
## [3.3.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.3.0)
|
|
833
|
+
|
|
834
|
+
### Features
|
|
835
|
+
|
|
836
|
+
- add deleteFiles utility function
|
|
837
|
+
|
|
838
|
+
## [3.2.1](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.2.1)
|
|
839
|
+
|
|
840
|
+
### Chores
|
|
841
|
+
|
|
842
|
+
- update dependencies
|
|
843
|
+
|
|
844
|
+
## [3.2.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.2.0)
|
|
845
|
+
|
|
846
|
+
### Features
|
|
847
|
+
|
|
848
|
+
- add utility method for running python scripts
|
|
849
|
+
- handle flow external message
|
|
850
|
+
|
|
851
|
+
## [3.1.3](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.1.2)
|
|
852
|
+
|
|
853
|
+
### Fixes
|
|
854
|
+
|
|
855
|
+
- add more debugbillity for local development
|
|
856
|
+
|
|
857
|
+
## [3.1.2](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.1.2)
|
|
858
|
+
|
|
859
|
+
### Fixes
|
|
860
|
+
|
|
861
|
+
- wrap cloud events time into a date, otherwise the date is just a string
|
|
862
|
+
|
|
863
|
+
## [3.1.1](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.1.1)
|
|
864
|
+
|
|
865
|
+
### Fixes
|
|
866
|
+
|
|
867
|
+
- error handling for unavailable amqp connections
|
|
868
|
+
|
|
869
|
+
## [3.1.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.1.0)
|
|
870
|
+
|
|
871
|
+
### Features
|
|
872
|
+
|
|
873
|
+
- add `populate` as query parameter. Add the ability to populate fields.
|
|
874
|
+
|
|
875
|
+
## [3.0.2](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.0.2)
|
|
876
|
+
|
|
877
|
+
### Fixes
|
|
878
|
+
|
|
879
|
+
- fix cloud-platform logging for strings
|
|
880
|
+
- improve setting of content-type for flow-events
|
|
881
|
+
|
|
882
|
+
## [3.0.0](https://gitlab.com/hahnpro/flow-sdk/-/tags/v3.0.0)
|
|
883
|
+
|
|
884
|
+
### Features
|
|
885
|
+
|
|
886
|
+
- decorators for flow-functions, flow-modules and input-streams
|
|
887
|
+
- adjustable concurrency on a per stream basis (queues)
|
|
888
|
+
- validation for element properties and input- and output-stream properties (based on [class-validator](https://github.com/typestack/class-validator))
|
|
889
|
+
- improved testability of flow-modules and flow-function implementations
|
|
890
|
+
- standardised format for emitted events (based on [cloudevents](http://cloudevents.io/))
|
|
891
|
+
|
|
892
|
+
### Breaking Changes
|
|
893
|
+
|
|
894
|
+
> **Migration:** For migrating from version `2.x.x` to `3.x.x` see our [migration guide](https://gitlab.com/hahnpro/flow-sdk/blob/master/README.md#migration)
|
|
895
|
+
|
|
896
|
+
- Instance Types have been renamed to Flow Functions
|
|
897
|
+
- `FlowBaseElement` class has been deprecated and is replaced by `FlowResource` and `FlowTask` classes
|
|
898
|
+
- `setInputStream` has been replaced by the `@InputStream` annotation
|
|
899
|
+
- `fireOutput` has been replaced by `emitOutput`
|
|
900
|
+
- `DataSet` has been deprecated and is replaced by `FlowEvent`
|
|
901
|
+
- building and packaging flow-modules requires [flow-cli](https://gitlab.com/hahnpro/flow-cli) version 2.0.0 or higher
|
|
902
|
+
- the `fqn` field in a modules package.json is no longer required
|
|
903
|
+
|
|
904
|
+
For more details see the [readme](https://gitlab.com/hahnpro/flow-sdk/blob/master/README.md) and the [flow-module-examples](https://gitlab.com/hahnpro/flow-module-examples) repository
|