@manyos/smileconnect-api 1.60.0 → 1.61.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.
@@ -6,6 +6,7 @@ const { v4 } = require('uuid');
6
6
 
7
7
  const basePath = 'conf';
8
8
  const basePathGlobalScripts = basePath + '/scripts';
9
+ const HttpsProxyAgent = require('https-proxy-agent');
9
10
 
10
11
  const fetch = require('node-fetch');
11
12
  const xmlParser = require('fast-xml-parser')
@@ -83,6 +84,7 @@ async function executeCode(code, requestData, params, logStream, executedByScrip
83
84
  clientId,
84
85
  xmlParser,
85
86
  script:executeScriptByScript,
87
+ HttpsProxyAgent,
86
88
  globalScriptParams,
87
89
  env: process.env,
88
90
  fetch:fetch,
package/docs/releases.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Release Notes
2
2
 
3
3
  ## API
4
+ ### 1.61.1 - 17.11.22
5
+ Add HttpsProxyAgent to Scripts
6
+
4
7
  ### 1.60.0 - 27.09.22
5
8
  Add optional parameter "notFetchResult" to globalScriptParams. If set to yes, no object will be returned after POST/PUT requests. This can help to reduce database / server load as request are reduced.
6
9
 
@@ -176,6 +179,8 @@ e.g.
176
179
  */v1/incidents?impersonateUser=abc123
177
180
 
178
181
  ## Event Manager
182
+ ### 1.28.1 - 17.11.22
183
+ Add HttpsProxyAgent to Scripts
179
184
 
180
185
  ### 1.25.0 - 13.09.22
181
186
  Improve error logging
@@ -214,6 +219,10 @@ Update Record added to [Remedy Adapter](adapter#remedy).
214
219
  The eventmanager will check all outbound webhooks for an event. If one fails, the whole Event will be set to error and the details will be added to the error message.
215
220
 
216
221
  ## GUI
222
+
223
+ ### 1.10.2 - 30.09.22
224
+ Fixed: openApi page is not loading.
225
+
217
226
  ### 1.9.2 - 08.03.22
218
227
  Fixed: Sync mapping not working correctly in some situations
219
228
  Feat: Mapping: Added warning to "new" Form mapping, if a mapping is missing (you can disble this with parameter REACT_APP_MAPPING_SYNC_CHECK=DISABLE
package/docs/scripts.md CHANGED
@@ -247,6 +247,12 @@ Allows access to external webservices via the package *node-fetch*
247
247
 
248
248
  See https://www.npmjs.com/package/node-fetch for details.
249
249
 
250
+ ## HttpsProxyAgent
251
+
252
+ Provides Proxy Access for fetch.
253
+
254
+ See https://www.npmjs.com/package/https-proxy-agent for details.
255
+
250
256
  ## adapter
251
257
 
252
258
  Allows to make adapter calls. [See details](../configuration/adapter.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.60.0",
3
+ "version": "1.61.1",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {
@@ -24,6 +24,7 @@
24
24
  "express-request-id": "^1.4.1",
25
25
  "express-validator": "^6.10.1",
26
26
  "fast-xml-parser": "^3.20.3",
27
+ "https-proxy-agent": "^5.0.1",
27
28
  "moment": "^2.29.1",
28
29
  "mongoose": "^5.12.5",
29
30
  "node-cache": "^4.2.1",