@5minds/node-red-contrib-processcube 1.9.3-develop-c9db83-m8k3pb8w → 1.9.3-develop-6cf3d1-m8mrrpqs

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.
Files changed (41) hide show
  1. package/externaltask-input.js +2 -6
  2. package/package.json +1 -1
  3. package/.github/workflows/build-and-publish.yml +0 -72
  4. package/.processcube/authority/config/config.json +0 -36
  5. package/.processcube/authority/config/upeSeedingData.json +0 -12
  6. package/.processcube/engine/config/config.json +0 -17
  7. package/.processcube/nodered/.config.nodes.json +0 -658
  8. package/.processcube/nodered/.config.runtime.json +0 -3
  9. package/.processcube/nodered/.config.users.json +0 -31
  10. package/.processcube/nodered/config.js +0 -20
  11. package/.processcube/nodered/flows.json +0 -3349
  12. package/.processcube/nodered/flows_cred.json +0 -3
  13. package/.processcube/nodered/package-lock.json +0 -5169
  14. package/.processcube/nodered/package.json +0 -6
  15. package/.processcube/nodered/settings.js +0 -562
  16. package/.processcube/nodered/static/ProcessCube_Logo.svg +0 -53
  17. package/DEVELOPMENT.md +0 -16
  18. package/Dockerfile +0 -22
  19. package/doc_generator/README.md +0 -6
  20. package/doc_generator/_process_instances_query.md +0 -121
  21. package/doc_generator/generator.js +0 -41
  22. package/doc_generator/generator_with_swagger.js +0 -89
  23. package/doc_generator/outputs/.gitkeep +0 -0
  24. package/doc_generator/package-lock.json +0 -176
  25. package/doc_generator/package.json +0 -15
  26. package/doc_generator/query_template.mustache +0 -20
  27. package/doc_generator/swagger.json +0 -4110
  28. package/docker-compose.yml +0 -78
  29. package/postgres/init.sql +0 -13
  30. package/processes/Call-Activity-Sample.bpmn +0 -88
  31. package/processes/External-Task-Auth-Sample.bpmn +0 -82
  32. package/processes/External-Task-Env-Topic.bpmn +0 -57
  33. package/processes/External-Task-Sample.bpmn +0 -122
  34. package/processes/ProcessModelToDeploy.bpmn +0 -58
  35. package/processes/SampleEvent.bpmn +0 -73
  36. package/processes/SimpleExternalTask.bpmn +0 -52
  37. package/processes/StartProcessSample.bpmn +0 -54
  38. package/processes/TriggerMessageEvent.bpmn +0 -79
  39. package/processes/User-Task-Auth-Sample.bpmn +0 -63
  40. package/processes/User-Task-Sample.bpmn +0 -76
  41. package/processes/Wait-For-Usertask.bpmn +0 -74
@@ -1,6 +0,0 @@
1
- {
2
- "name": "node-red-project",
3
- "description": "A Node-RED Project",
4
- "version": "0.0.1",
5
- "private": true
6
- }
@@ -1,562 +0,0 @@
1
- /**
2
- * This is the default settings file provided by Node-RED.
3
- *
4
- * It can contain any valid JavaScript code that will get run when Node-RED
5
- * is started.
6
- *
7
- * Lines that start with // are commented out.
8
- * Each entry should be separated from the entries above and below by a comma ','
9
- *
10
- * For more information about individual settings, refer to the documentation:
11
- * https://nodered.org/docs/user-guide/runtime/configuration
12
- *
13
- * The settings are split into the following sections:
14
- * - Flow File and User Directory Settings
15
- * - Security
16
- * - Server Settings
17
- * - Runtime Settings
18
- * - Editor Settings
19
- * - Node Settings
20
- *
21
- **/
22
-
23
- module.exports = {
24
- /*******************************************************************************
25
- * Flow File and User Directory Settings
26
- * - flowFile
27
- * - credentialSecret
28
- * - flowFilePretty
29
- * - userDir
30
- * - nodesDir
31
- ******************************************************************************/
32
-
33
- /** The file containing the flows. If not set, defaults to flows_<hostname>.json **/
34
- flowFile: 'flows.json',
35
-
36
- /** By default, credentials are encrypted in storage using a generated key. To
37
- * specify your own secret, set the following property.
38
- * If you want to disable encryption of credentials, set this property to false.
39
- * Note: once you set this property, do not change it - doing so will prevent
40
- * node-red from being able to decrypt your existing credentials and they will be
41
- * lost.
42
- */
43
- credentialSecret: 'a-secret-key',
44
-
45
- /** By default, the flow JSON will be formatted over multiple lines making
46
- * it easier to compare changes when using version control.
47
- * To disable pretty-printing of the JSON set the following property to false.
48
- */
49
- flowFilePretty: true,
50
-
51
- /** By default, all user data is stored in a directory called `.node-red` under
52
- * the user's home directory. To use a different location, the following
53
- * property can be used
54
- */
55
- //userDir: '/nodered/',
56
-
57
- /** Node-RED scans the `nodes` directory in the userDir to find local node files.
58
- * The following property can be used to specify an additional directory to scan.
59
- */
60
- //nodesDir: '/home/nol/.node-red/nodes',
61
-
62
- /*******************************************************************************
63
- * Security
64
- * - adminAuth
65
- * - https
66
- * - httpsRefreshInterval
67
- * - requireHttps
68
- * - httpNodeAuth
69
- * - httpStaticAuth
70
- ******************************************************************************/
71
-
72
- /** To password protect the Node-RED editor and admin API, the following
73
- * property can be used. See https://nodered.org/docs/security.html for details.
74
- */
75
- //adminAuth: {
76
- // type: "credentials",
77
- // users: [{
78
- // username: "admin",
79
- // password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.",
80
- // permissions: "*"
81
- // }]
82
- //},
83
-
84
- /** The following property can be used to enable HTTPS
85
- * This property can be either an object, containing both a (private) key
86
- * and a (public) certificate, or a function that returns such an object.
87
- * See http://nodejs.org/api/https.html#https_https_createserver_options_requestlistener
88
- * for details of its contents.
89
- */
90
-
91
- /** Option 1: static object */
92
- //https: {
93
- // key: require("fs").readFileSync('privkey.pem'),
94
- // cert: require("fs").readFileSync('cert.pem')
95
- //},
96
-
97
- /** Option 2: function that returns the HTTP configuration object */
98
- // https: function() {
99
- // // This function should return the options object, or a Promise
100
- // // that resolves to the options object
101
- // return {
102
- // key: require("fs").readFileSync('privkey.pem'),
103
- // cert: require("fs").readFileSync('cert.pem')
104
- // }
105
- // },
106
-
107
- /** If the `https` setting is a function, the following setting can be used
108
- * to set how often, in hours, the function will be called. That can be used
109
- * to refresh any certificates.
110
- */
111
- //httpsRefreshInterval : 12,
112
-
113
- /** The following property can be used to cause insecure HTTP connections to
114
- * be redirected to HTTPS.
115
- */
116
- //requireHttps: true,
117
-
118
- /** To password protect the node-defined HTTP endpoints (httpNodeRoot),
119
- * including node-red-dashboard, or the static content (httpStatic), the
120
- * following properties can be used.
121
- * The `pass` field is a bcrypt hash of the password.
122
- * See https://nodered.org/docs/security.html#generating-the-password-hash
123
- */
124
- //httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
125
- //httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."},
126
-
127
- /*******************************************************************************
128
- * Server Settings
129
- * - uiPort
130
- * - uiHost
131
- * - apiMaxLength
132
- * - httpServerOptions
133
- * - httpAdminRoot
134
- * - httpAdminMiddleware
135
- * - httpNodeRoot
136
- * - httpNodeCors
137
- * - httpNodeMiddleware
138
- * - httpStatic
139
- * - httpStaticRoot
140
- ******************************************************************************/
141
-
142
- /** the tcp port that the Node-RED web server is listening on */
143
- uiPort: process.env.PORT || 1880,
144
-
145
- /** By default, the Node-RED UI accepts connections on all IPv4 interfaces.
146
- * To listen on all IPv6 addresses, set uiHost to "::",
147
- * The following property can be used to listen on a specific interface. For
148
- * example, the following would only allow connections from the local machine.
149
- */
150
- //uiHost: "127.0.0.1",
151
-
152
- /** The maximum size of HTTP request that will be accepted by the runtime api.
153
- * Default: 5mb
154
- */
155
- //apiMaxLength: '5mb',
156
-
157
- /** The following property can be used to pass custom options to the Express.js
158
- * server used by Node-RED. For a full list of available options, refer
159
- * to http://expressjs.com/en/api.html#app.settings.table
160
- */
161
- //httpServerOptions: { },
162
-
163
- /** By default, the Node-RED UI is available at http://localhost:1880/
164
- * The following property can be used to specify a different root path.
165
- * If set to false, this is disabled.
166
- */
167
- //httpAdminRoot: '/admin',
168
-
169
- /** The following property can be used to add a custom middleware function
170
- * in front of all admin http routes. For example, to set custom http
171
- * headers. It can be a single function or an array of middleware functions.
172
- */
173
- // httpAdminMiddleware: function(req,res,next) {
174
- // // Set the X-Frame-Options header to limit where the editor
175
- // // can be embedded
176
- // //res.set('X-Frame-Options', 'sameorigin');
177
- // next();
178
- // },
179
-
180
- /** Some nodes, such as HTTP In, can be used to listen for incoming http requests.
181
- * By default, these are served relative to '/'. The following property
182
- * can be used to specify a different root path. If set to false, this is
183
- * disabled.
184
- */
185
- //httpNodeRoot: '/red-nodes',
186
-
187
- /** The following property can be used to configure cross-origin resource sharing
188
- * in the HTTP nodes.
189
- * See https://github.com/troygoode/node-cors#configuration-options for
190
- * details on its contents. The following is a basic permissive set of options:
191
- */
192
- //httpNodeCors: {
193
- // origin: "*",
194
- // methods: "GET,PUT,POST,DELETE"
195
- //},
196
-
197
- /** If you need to set an http proxy please set an environment variable
198
- * called http_proxy (or HTTP_PROXY) outside of Node-RED in the operating system.
199
- * For example - http_proxy=http://myproxy.com:8080
200
- * (Setting it here will have no effect)
201
- * You may also specify no_proxy (or NO_PROXY) to supply a comma separated
202
- * list of domains to not proxy, eg - no_proxy=.acme.co,.acme.co.uk
203
- */
204
-
205
- /** The following property can be used to add a custom middleware function
206
- * in front of all http in nodes. This allows custom authentication to be
207
- * applied to all http in nodes, or any other sort of common request processing.
208
- * It can be a single function or an array of middleware functions.
209
- */
210
- //httpNodeMiddleware: function(req,res,next) {
211
- // // Handle/reject the request, or pass it on to the http in node by calling next();
212
- // // Optionally skip our rawBodyParser by setting this to true;
213
- // //req.skipRawBodyParser = true;
214
- // next();
215
- //},
216
-
217
- /** When httpAdminRoot is used to move the UI to a different root path, the
218
- * following property can be used to identify a directory of static content
219
- * that should be served at http://localhost:1880/.
220
- * When httpStaticRoot is set differently to httpAdminRoot, there is no need
221
- * to move httpAdminRoot
222
- */
223
- //httpStatic: '/home/nol/node-red-static/', //single static source
224
- /**
225
- * OR multiple static sources can be created using an array of objects...
226
- * Each object can also contain an options object for further configuration.
227
- * See https://expressjs.com/en/api.html#express.static for available options.
228
- */
229
- //httpStatic: [
230
- // {path: '/home/nol/pics/', root: "/img/"},
231
- // {path: '/home/nol/reports/', root: "/doc/"},
232
- // {path: '/home/nol/videos/', root: "/vid/", options: {maxAge: '1d'}}
233
- //],
234
-
235
- /**
236
- * All static routes will be appended to httpStaticRoot
237
- * e.g. if httpStatic = "/home/nol/docs" and httpStaticRoot = "/static/"
238
- * then "/home/nol/docs" will be served at "/static/"
239
- * e.g. if httpStatic = [{path: '/home/nol/pics/', root: "/img/"}]
240
- * and httpStaticRoot = "/static/"
241
- * then "/home/nol/pics/" will be served at "/static/img/"
242
- */
243
- //httpStaticRoot: '/static/',
244
-
245
- /*******************************************************************************
246
- * Runtime Settings
247
- * - lang
248
- * - runtimeState
249
- * - diagnostics
250
- * - logging
251
- * - contextStorage
252
- * - exportGlobalContextKeys
253
- * - externalModules
254
- ******************************************************************************/
255
-
256
- /** Uncomment the following to run node-red in your preferred language.
257
- * Available languages include: en-US (default), ja, de, zh-CN, zh-TW, ru, ko
258
- * Some languages are more complete than others.
259
- */
260
- // lang: "de",
261
-
262
- /** Configure diagnostics options
263
- * - enabled: When `enabled` is `true` (or unset), diagnostics data will
264
- * be available at http://localhost:1880/diagnostics
265
- * - ui: When `ui` is `true` (or unset), the action `show-system-info` will
266
- * be available to logged in users of node-red editor
267
- */
268
- diagnostics: {
269
- /** enable or disable diagnostics endpoint. Must be set to `false` to disable */
270
- enabled: true,
271
- /** enable or disable diagnostics display in the node-red editor. Must be set to `false` to disable */
272
- ui: true,
273
- },
274
- /** Configure runtimeState options
275
- * - enabled: When `enabled` is `true` flows runtime can be Started/Stopped
276
- * by POSTing to available at http://localhost:1880/flows/state
277
- * - ui: When `ui` is `true`, the action `core:start-flows` and
278
- * `core:stop-flows` will be available to logged in users of node-red editor
279
- * Also, the deploy menu (when set to default) will show a stop or start button
280
- */
281
- runtimeState: {
282
- /** enable or disable flows/state endpoint. Must be set to `false` to disable */
283
- enabled: false,
284
- /** show or hide runtime stop/start options in the node-red editor. Must be set to `false` to hide */
285
- ui: false,
286
- },
287
- /** Configure the logging output */
288
- logging: {
289
- /** Only console logging is currently supported */
290
- console: {
291
- /** Level of logging to be recorded. Options are:
292
- * fatal - only those errors which make the application unusable should be recorded
293
- * error - record errors which are deemed fatal for a particular request + fatal errors
294
- * warn - record problems which are non fatal + errors + fatal errors
295
- * info - record information about the general running of the application + warn + error + fatal errors
296
- * debug - record information which is more verbose than info + info + warn + error + fatal errors
297
- * trace - record very detailed logging + debug + info + warn + error + fatal errors
298
- * off - turn off all logging (doesn't affect metrics or audit)
299
- */
300
- level: 'info',
301
- /** Whether or not to include metric events in the log output */
302
- metrics: false,
303
- /** Whether or not to include audit events in the log output */
304
- audit: false,
305
- },
306
- },
307
-
308
- /** Context Storage
309
- * The following property can be used to enable context storage. The configuration
310
- * provided here will enable file-based context that flushes to disk every 30 seconds.
311
- * Refer to the documentation for further options: https://nodered.org/docs/api/context/
312
- */
313
- //contextStorage: {
314
- // default: {
315
- // module:"localfilesystem"
316
- // },
317
- //},
318
-
319
- /** `global.keys()` returns a list of all properties set in global context.
320
- * This allows them to be displayed in the Context Sidebar within the editor.
321
- * In some circumstances it is not desirable to expose them to the editor. The
322
- * following property can be used to hide any property set in `functionGlobalContext`
323
- * from being list by `global.keys()`.
324
- * By default, the property is set to false to avoid accidental exposure of
325
- * their values. Setting this to true will cause the keys to be listed.
326
- */
327
- exportGlobalContextKeys: false,
328
-
329
- /** Configure how the runtime will handle external npm modules.
330
- * This covers:
331
- * - whether the editor will allow new node modules to be installed
332
- * - whether nodes, such as the Function node are allowed to have their
333
- * own dynamically configured dependencies.
334
- * The allow/denyList options can be used to limit what modules the runtime
335
- * will install/load. It can use '*' as a wildcard that matches anything.
336
- */
337
- externalModules: {
338
- // autoInstall: false, /** Whether the runtime will attempt to automatically install missing modules */
339
- // autoInstallRetry: 30, /** Interval, in seconds, between reinstall attempts */
340
- // palette: { /** Configuration for the Palette Manager */
341
- // allowInstall: true, /** Enable the Palette Manager in the editor */
342
- // allowUpdate: true, /** Allow modules to be updated in the Palette Manager */
343
- // allowUpload: true, /** Allow module tgz files to be uploaded and installed */
344
- // allowList: ['*'],
345
- // denyList: [],
346
- // allowUpdateList: ['*'],
347
- // denyUpdateList: []
348
- // },
349
- // modules: { /** Configuration for node-specified modules */
350
- // allowInstall: true,
351
- // allowList: [],
352
- // denyList: []
353
- // }
354
- },
355
-
356
- /*******************************************************************************
357
- * Editor Settings
358
- * - disableEditor
359
- * - editorTheme
360
- ******************************************************************************/
361
-
362
- /** The following property can be used to disable the editor. The admin API
363
- * is not affected by this option. To disable both the editor and the admin
364
- * API, use either the httpRoot or httpAdminRoot properties
365
- */
366
- //disableEditor: false,
367
-
368
- /** Customising the editor
369
- * See https://nodered.org/docs/user-guide/runtime/configuration#editor-themes
370
- * for all available options.
371
- */
372
- editorTheme: {
373
- /** The following property can be used to set a custom theme for the editor.
374
- * See https://github.com/node-red-contrib-themes/theme-collection for
375
- * a collection of themes to chose from.
376
- */
377
- //theme: "",
378
-
379
- /** To disable the 'Welcome to Node-RED' tour that is displayed the first
380
- * time you access the editor for each release of Node-RED, set this to false
381
- */
382
- //tours: false,
383
-
384
- header: {
385
- title: ' powers by Node-RED',
386
- image: "/data/static/ProcessCube_Logo.svg",
387
- url: 'https://processcube.io', // optional url to make the header text/image a link to this url
388
- },
389
- palette: {
390
- /** The following property can be used to order the categories in the editor
391
- * palette. If a node's category is not in the list, the category will get
392
- * added to the end of the palette.
393
- * If not set, the following default order is used:
394
- */
395
- //categories: ['subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage'],
396
- categories: ['ProcessCube', 'ProcessCube Events', 'ProcessCube UI', 'dashboard 2'],
397
- },
398
-
399
- projects: {
400
- /** To enable the Projects feature, set this value to true */
401
- enabled: false,
402
- workflow: {
403
- /** Set the default projects workflow mode.
404
- * - manual - you must manually commit changes
405
- * - auto - changes are automatically committed
406
- * This can be overridden per-user from the 'Git config'
407
- * section of 'User Settings' within the editor
408
- */
409
- mode: 'manual',
410
- },
411
- },
412
-
413
- codeEditor: {
414
- /** Select the text editor component used by the editor.
415
- * As of Node-RED V3, this defaults to "monaco", but can be set to "ace" if desired
416
- */
417
- lib: 'monaco',
418
- options: {
419
- /** The follow options only apply if the editor is set to "monaco"
420
- *
421
- * theme - must match the file name of a theme in
422
- * packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
423
- * e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
424
- */
425
- // theme: "vs",
426
- /** other overrides can be set e.g. fontSize, fontFamily, fontLigatures etc.
427
- * for the full list, see https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.html
428
- */
429
- //fontSize: 14,
430
- //fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace",
431
- //fontLigatures: true,
432
- },
433
- },
434
-
435
- markdownEditor: {
436
- mermaid: {
437
- /** enable or disable mermaid diagram in markdown document
438
- */
439
- enabled: true,
440
- },
441
- },
442
- },
443
-
444
- /*******************************************************************************
445
- * Node Settings
446
- * - fileWorkingDirectory
447
- * - functionGlobalContext
448
- * - functionExternalModules
449
- * - functionTimeout
450
- * - nodeMessageBufferMaxLength
451
- * - ui (for use with Node-RED Dashboard)
452
- * - debugUseColors
453
- * - debugMaxLength
454
- * - execMaxBufferSize
455
- * - httpRequestTimeout
456
- * - mqttReconnectTime
457
- * - serialReconnectTime
458
- * - socketReconnectTime
459
- * - socketTimeout
460
- * - tcpMsgQueueSize
461
- * - inboundWebSocketTimeout
462
- * - tlsConfigDisableLocalFiles
463
- * - webSocketNodeVerifyClient
464
- ******************************************************************************/
465
-
466
- /** The working directory to handle relative file paths from within the File nodes
467
- * defaults to the working directory of the Node-RED process.
468
- */
469
- //fileWorkingDirectory: "",
470
-
471
- /** Allow the Function node to load additional npm modules directly */
472
- functionExternalModules: true,
473
-
474
- /** Default timeout, in seconds, for the Function node. 0 means no timeout is applied */
475
- functionTimeout: 0,
476
-
477
- /** The following property can be used to set predefined values in Global Context.
478
- * This allows extra node modules to be made available with in Function node.
479
- * For example, the following:
480
- * functionGlobalContext: { os:require('os') }
481
- * will allow the `os` module to be accessed in a Function node using:
482
- * global.get("os")
483
- */
484
- functionGlobalContext: {
485
- // os:require('os'),
486
- },
487
-
488
- /** The maximum number of messages nodes will buffer internally as part of their
489
- * operation. This applies across a range of nodes that operate on message sequences.
490
- * defaults to no limit. A value of 0 also means no limit is applied.
491
- */
492
- //nodeMessageBufferMaxLength: 0,
493
-
494
- /** If you installed the optional node-red-dashboard you can set it's path
495
- * relative to httpNodeRoot
496
- * Other optional properties include
497
- * readOnly:{boolean},
498
- * middleware:{function or array}, (req,res,next) - http middleware
499
- * ioMiddleware:{function or array}, (socket,next) - socket.io middleware
500
- */
501
- //ui: { path: "ui" },
502
-
503
- /** Colourise the console output of the debug node */
504
- //debugUseColors: true,
505
-
506
- /** The maximum length, in characters, of any message sent to the debug sidebar tab */
507
- debugMaxLength: 1000,
508
-
509
- /** Maximum buffer size for the exec node. Defaults to 10Mb */
510
- //execMaxBufferSize: 10000000,
511
-
512
- /** Timeout in milliseconds for HTTP request connections. Defaults to 120s */
513
- //httpRequestTimeout: 120000,
514
-
515
- /** Retry time in milliseconds for MQTT connections */
516
- mqttReconnectTime: 15000,
517
-
518
- /** Retry time in milliseconds for Serial port connections */
519
- serialReconnectTime: 15000,
520
-
521
- /** Retry time in milliseconds for TCP socket connections */
522
- //socketReconnectTime: 10000,
523
-
524
- /** Timeout in milliseconds for TCP server socket connections. Defaults to no timeout */
525
- //socketTimeout: 120000,
526
-
527
- /** Maximum number of messages to wait in queue while attempting to connect to TCP socket
528
- * defaults to 1000
529
- */
530
- //tcpMsgQueueSize: 2000,
531
-
532
- /** Timeout in milliseconds for inbound WebSocket connections that do not
533
- * match any configured node. Defaults to 5000
534
- */
535
- //inboundWebSocketTimeout: 5000,
536
-
537
- /** To disable the option for using local files for storing keys and
538
- * certificates in the TLS configuration node, set this to true.
539
- */
540
- //tlsConfigDisableLocalFiles: true,
541
-
542
- /** The following property can be used to verify WebSocket connection attempts.
543
- * This allows, for example, the HTTP request headers to be checked to ensure
544
- * they include valid authentication information.
545
- */
546
- //webSocketNodeVerifyClient: function(info) {
547
- // /** 'info' has three properties:
548
- // * - origin : the value in the Origin header
549
- // * - req : the HTTP request
550
- // * - secure : true if req.connection.authorized or req.connection.encrypted is set
551
- // *
552
- // * The function should return true if the connection should be accepted, false otherwise.
553
- // *
554
- // * Alternatively, if this function is defined to accept a second argument, callback,
555
- // * it can be used to verify the client asynchronously.
556
- // * The callback takes three arguments:
557
- // * - result : boolean, whether to accept the connection or not
558
- // * - code : if result is false, the HTTP error status to return
559
- // * - reason: if result is false, the HTTP reason string to return
560
- // */
561
- //},
562
- };
@@ -1,53 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 27.8.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" height="15"
4
- viewBox="0 0 533.7 52.7" style="enable-background:new 0 0 533.7 52.7;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{fill:#F7A823;}
7
- .st1{fill:none;}
8
- .st2{enable-background:new ;}
9
- @media (prefers-color-scheme: dark) {
10
- path { fill: white; }
11
- }
12
- </style>
13
- <g>
14
- <path class="st0" d="M37.9,11H8.7v12.3h14.9c6.5,0,9.6,0.6,12.1,2.6c3.1,2.4,4.9,6.4,4.9,11.1c0,5.5-2.4,9.8-6.7,12.2
15
- c-2.8,1.6-6.1,2.1-13.1,2.1H0v-7.1h21c3.2,0,5.5-0.4,7-1.1c1.9-0.9,3.1-3.2,3.1-6c0-2.6-1.2-4.8-3.1-5.8c-1.4-0.7-3.2-1-6.9-1H0
16
- V3.9h37.9V11z"/>
17
- </g>
18
- <rect x="46.3" y="1.1" class="st1" width="487.4" height="60.1"/>
19
- <g class="st2">
20
- <path d="M92.3,20.8c0,10.4-7.7,16.8-20.1,16.8H61.5v13.7h-8.8V4h19.5C84.6,4,92.3,10.3,92.3,20.8z M83.4,20.8c0-5.9-4-9.4-11.7-9.4
21
- H61.5v18.8h10.3C79.4,30.2,83.4,26.8,83.4,20.8z"/>
22
- <path d="M120.8,14.8v8c-0.7-0.1-1.4-0.2-2-0.2c-6.4,0-10.5,3.8-10.5,11.2v17.5h-8.4V15.2h8v5.3C110.4,16.7,114.8,14.8,120.8,14.8z"
23
- />
24
- <path d="M124.7,33.3c0-10.8,8.1-18.5,19.2-18.5c11.2,0,19.3,7.6,19.3,18.5s-8,18.5-19.3,18.5C132.8,51.8,124.7,44.1,124.7,33.3z
25
- M154.6,33.3c0-6.9-4.6-11.3-10.7-11.3c-6.1,0-10.7,4.4-10.7,11.3c0,6.9,4.6,11.3,10.7,11.3C150,44.5,154.6,40.2,154.6,33.3z"/>
26
- <path d="M168.3,33.3c0-10.8,8.1-18.5,19.5-18.5c7,0,12.6,2.9,15.4,8.4l-6.5,3.8c-2.2-3.4-5.4-5-9-5c-6.2,0-11,4.3-11,11.3
27
- c0,7,4.7,11.3,11,11.3c3.6,0,6.8-1.6,9-5l6.5,3.8c-2.8,5.4-8.4,8.5-15.4,8.5C176.4,51.8,168.3,44.1,168.3,33.3z"/>
28
- <path d="M243.8,36h-28.3c1,5.3,5.4,8.7,11.7,8.7c4.1,0,7.2-1.3,9.8-3.9l4.5,5.2c-3.2,3.9-8.3,5.9-14.5,5.9
29
- c-12.1,0-19.9-7.8-19.9-18.5c0-10.7,7.9-18.5,18.7-18.5c10.5,0,18.3,7.4,18.3,18.7C243.9,34.1,243.8,35.2,243.8,36z M215.4,30.4
30
- h20.5c-0.7-5.2-4.7-8.8-10.2-8.8C220.2,21.6,216.2,25.1,215.4,30.4z"/>
31
- <path d="M247.9,47.7l3.2-6.4c3.2,2.1,8,3.6,12.6,3.6c5.3,0,7.6-1.5,7.6-4c0-6.9-22.3-0.4-22.3-14.8c0-6.8,6.2-11.3,15.9-11.3
32
- c4.8,0,10.3,1.1,13.5,3.1l-3.2,6.4c-3.4-2-6.9-2.7-10.3-2.7c-5.1,0-7.6,1.7-7.6,4.1c0,7.3,22.3,0.8,22.3,14.9
33
- c0,6.8-6.2,11.2-16.4,11.2C257.2,51.8,251.1,50,247.9,47.7z"/>
34
- <path d="M282.7,47.7l3.2-6.4c3.2,2.1,8,3.6,12.6,3.6c5.3,0,7.6-1.5,7.6-4c0-6.9-22.3-0.4-22.3-14.8c0-6.8,6.2-11.3,15.9-11.3
35
- c4.8,0,10.3,1.1,13.5,3.1l-3.2,6.4c-3.4-2-6.9-2.7-10.3-2.7c-5.1,0-7.6,1.7-7.6,4.1c0,7.3,22.3,0.8,22.3,14.9
36
- c0,6.8-6.2,11.2-16.4,11.2C292,51.8,286,50,282.7,47.7z"/>
37
- <path d="M319.1,27.6c0-14.1,10.8-24.3,25.3-24.3c7.7,0,14.3,2.8,18.7,7.9l-5.7,5.3c-3.4-3.7-7.7-5.5-12.6-5.5
38
- c-9.8,0-16.9,6.9-16.9,16.6c0,9.7,7.1,16.6,16.9,16.6c4.9,0,9.2-1.8,12.6-5.6l5.7,5.4c-4.4,5.1-11,7.9-18.8,7.9
39
- C329.9,52,319.1,41.8,319.1,27.6z"/>
40
- <path d="M404.7,15.2v36.1h-8v-4.6c-2.7,3.3-7,5.1-11.6,5.1c-9.3,0-15.5-5.1-15.5-16V15.2h8.4v19.5c0,6.6,3.1,9.7,8.5,9.7
41
- c5.9,0,9.9-3.6,9.9-10.9V15.2H404.7z"/>
42
- <path d="M454.1,33.3c0,11.2-7.8,18.5-18.3,18.5c-4.9,0-9.1-1.7-12-5.1v4.7h-8V1.1h8.5v18.5c2.9-3.2,7-4.8,11.6-4.8
43
- C446.4,14.8,454.1,22,454.1,33.3z M445.6,33.3c0-6.9-4.6-11.3-10.7-11.3s-10.7,4.4-10.7,11.3c0,6.9,4.7,11.3,10.7,11.3
44
- S445.6,40.2,445.6,33.3z"/>
45
- <path d="M496,36h-28.3c1,5.3,5.4,8.7,11.7,8.7c4.1,0,7.2-1.3,9.8-3.9l4.5,5.2c-3.2,3.9-8.3,5.9-14.5,5.9
46
- c-12.1,0-19.9-7.8-19.9-18.5c0-10.7,7.9-18.5,18.7-18.5c10.5,0,18.3,7.4,18.3,18.7C496.1,34.1,496.1,35.2,496,36z M467.6,30.4h20.5
47
- c-0.7-5.2-4.7-8.8-10.2-8.8C472.4,21.6,468.4,25.1,467.6,30.4z"/>
48
- <path d="M528.3,14.9c0,7.8-6.1,14-14,14c-7.8,0-13.9-6.1-13.9-13.9s6-13.9,14-13.9S528.3,7.1,528.3,14.9z M526,14.9
49
- c0-6.6-4.9-11.7-11.6-11.7c-6.7,0-11.7,5.2-11.7,11.7s5,11.7,11.6,11.7C520.9,26.7,526,21.5,526,14.9z M518.4,17.4l3.5,5.3h-3.4
50
- l-3.1-4.7H515h-3.1v4.7h-3.4V7.2h6.5c4.1,0,6.5,2.1,6.5,5.4C521.5,15,520.4,16.6,518.4,17.4z M514.8,15.4c2.2,0,3.5-1,3.5-2.8
51
- c0-1.7-1.3-2.7-3.5-2.7h-2.9v5.5H514.8z"/>
52
- </g>
53
- </svg>
package/DEVELOPMENT.md DELETED
@@ -1,16 +0,0 @@
1
- # HowTo develop this package
2
-
3
- ## What you need?
4
-
5
- - docker
6
- - node
7
- - npm
8
-
9
- ## Get Started?
10
-
11
- 1. Clone this repository
12
- 2. Run `npm install`
13
- 3. docker compose build
14
- 4. docker compose up
15
- 5. Connect to app via vscode launch.json (Attach to Node-RED)
16
- 6. Happy coding
package/Dockerfile DELETED
@@ -1,22 +0,0 @@
1
- FROM nodered/node-red:4.0.8
2
-
3
- FROM nodered/node-red:4.0.8-22
4
-
5
- # package
6
- USER root
7
-
8
- RUN npm i node-red-debugger
9
-
10
- COPY ./ /package_src/
11
- RUN cd /package_src/ && npm install
12
-
13
-
14
- RUN npm install /package_src/
15
-
16
-
17
- # defaults
18
- USER node-red
19
-
20
- #ENTRYPOINT ["./entrypoint.sh"]
21
- ENTRYPOINT ["./entrypoint.sh", "--settings", "/data/config.js"]
22
-
@@ -1,6 +0,0 @@
1
- Docu anpassen! Was ist zu tun?
2
-
3
- 1. In der Datei `doc_generator/generator_with_swagger.js` Zeile 10 ggf. anpassen.
4
- 2. `node generator_with_swagger.js` ausführen.
5
- 3. Die Dateien in doc_generator/outputs/ in die Nodes *.html kopieren.
6
-