Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit a48fab7

Browse files
author
Chris Wiechmann
committed
Back to version Madrid using Unsafe-Mode for JS-Flow-Node
1 parent 6748fe4 commit a48fab7

File tree

3 files changed

+83
-76
lines changed

3 files changed

+83
-76
lines changed

apibuilder4elastic/flows/trafficMonitorApi-trace.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,13 @@
230230
"value": "\"//only json is supported. \\n //If param format is skipped automatically json is returned\\n if(data.params.format != undefined && data.params.format != 'json') {\\n throw {\\n name: \\\"unknown format exception\\\",\\n message: \\\"unknown format\\\"\\n };\\n }\"",
231231
"metaName": "code",
232232
"metaDescription": "A JavaScript function body. Supports `await` and returning promises."
233+
},
234+
{
235+
"name": "unsafe",
236+
"type": "boolean",
237+
"value": "true",
238+
"metaName": "Unsafe mode",
239+
"metaDescription": "USE WITH CAUTION. When enabled, JavaScript is not executed in a sandboxed environment and all globals are available."
233240
}
234241
],
235242
"outputs": {

apibuilder4elastic/package-lock.json

Lines changed: 74 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apibuilder4elastic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
"@axway/api-builder-plugin-fn-restclient": "^2.0.22",
3737
"@axway/api-builder-plugin-fn-swagger": "^2.9.3",
3838
"@axway/api-builder-plugin-ft-timer": "^1.0.0",
39-
"@axway/api-builder-runtime": "lyon",
39+
"@axway/api-builder-runtime": "^4.64.1",
4040
"api-builder-plugin-authorization": "file:custom_flow_nodes/api-builder-plugin-authorization",
4141
"api-builder-plugin-axway-api-management": "file:custom_flow_nodes/api-builder-plugin-axway-api-management",
4242
"api-builder-plugin-elk-solution-utils": "file:custom_flow_nodes/api-builder-plugin-elk-solution-utils",
4343
"api-builder-plugin-traffic-monitor-api-utils": "file:custom_flow_nodes/api-builder-plugin-traffic-monitor-api-utils"
4444
},
4545
"devDependencies": {
46-
"@axway/api-builder-admin": "lyon",
46+
"@axway/api-builder-admin": "^1.42.5",
4747
"chai": "^4.3.4",
4848
"dotenv": "^8.6.0",
4949
"mocha": "^8.4.0",

0 commit comments

Comments
 (0)