@manyos/smileconnect-api 1.51.0 → 1.52.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.
|
@@ -390,13 +390,15 @@ async function getOppositeAssocTypeByType(assocType) {
|
|
|
390
390
|
async function getOppositeAssocTypeByCode(assocCode) {
|
|
391
391
|
const assocTypes = await getAssocTypes();
|
|
392
392
|
return assocTypes.find(assoc => {
|
|
393
|
-
return assoc.assocCode === assocCode
|
|
393
|
+
return assoc.assocCode === assocCode;å
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
function doesCIRelationExists(ticketRelations, newRelation) {
|
|
398
|
+
log.debug('check for relation old', ticketRelations)
|
|
399
|
+
log.debug('check for relation new', newRelation)
|
|
398
400
|
const relationFound = ticketRelations.find(relation => {
|
|
399
|
-
return (relation.ciId === newRelation.ciId &&
|
|
401
|
+
return ((relation.ciId === newRelation.ciId || relation.ciId === newRelation.ciReconId || relation.ciReconId === newRelation.ciId) &&
|
|
400
402
|
relation.relationType === newRelation.relationType);
|
|
401
403
|
});
|
|
402
404
|
if (relationFound) {
|
|
@@ -375,3 +375,9 @@ Url of the Midtier Appwizzard.
|
|
|
375
375
|
|
|
376
376
|
Sample:
|
|
377
377
|
*REACT_APP_WIZZARD_URL=https://midtier.mydomain.io/arsys/forms/arserver/MYS:SMILEconnect_NewVendor*
|
|
378
|
+
|
|
379
|
+
### REACT_APP_DISABLED_MODULES
|
|
380
|
+
Use this to disable modules in SMILEconnect.
|
|
381
|
+
|
|
382
|
+
Sample:
|
|
383
|
+
*REACT_APP_DISABLED_MODULES=workOrder,problem*
|
package/docs/releases.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
3
|
## API
|
|
4
|
+
### 1.52.1 - 12.11.11
|
|
5
|
+
Fix issue: Task CI relations might be removed on duplicate updates
|
|
4
6
|
|
|
5
|
-
### 1.
|
|
7
|
+
### 1.52.0 - 09.11.21
|
|
8
|
+
Allow 16k header
|
|
9
|
+
|
|
10
|
+
### 1.51.0 - 05.11.21
|
|
6
11
|
Add setAttachment & getAttachment to Remedy Adapter
|
|
7
12
|
|
|
8
13
|
### 1.50.0 - 05.11.21
|
|
@@ -102,6 +107,9 @@ e.g.
|
|
|
102
107
|
|
|
103
108
|
## Event Manager
|
|
104
109
|
|
|
110
|
+
### 1.19.0 - 09.11.21
|
|
111
|
+
Allow 16k header
|
|
112
|
+
|
|
105
113
|
### 1.18.0 - 03.11.21
|
|
106
114
|
Add parameter SSO_USERNAME_ATTRIBUTE to config.
|
|
107
115
|
|
|
@@ -121,6 +129,10 @@ Update Record added to [Remedy Adapter](adapter#remedy).
|
|
|
121
129
|
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.
|
|
122
130
|
|
|
123
131
|
## GUI
|
|
132
|
+
|
|
133
|
+
### 1.7.0 - 09.11.21
|
|
134
|
+
Added Parameter REACT_APP_DISABLED_MODULES to disable Modules
|
|
135
|
+
|
|
124
136
|
### 1.6.0 - 05.11.21
|
|
125
137
|
Added attachmentScripts to GUI
|
|
126
138
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manyos/smileconnect-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.1",
|
|
4
4
|
"description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
|
|
5
5
|
"main": "app.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test-bak": "mocha --exit || true",
|
|
8
|
-
"start": "version=$npm_package_version node app.js",
|
|
8
|
+
"start": "version=$npm_package_version node --max-http-header-size=16384 app.js",
|
|
9
9
|
"test": "jenkins-mocha --exit || true"
|
|
10
10
|
},
|
|
11
11
|
"author": "Robert Hannemann",
|