@manyos/smileconnect-api 1.55.0 → 1.55.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/conf/clients.json +3 -2
- package/conf/mapping.json +4 -0
- package/controller/cmdbobjectController.js +1 -1
- package/docs/releases.md +3 -0
- package/package.json +1 -1
package/conf/clients.json
CHANGED
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
195
|
"cmdbobject": {
|
|
196
|
-
"basequery": "
|
|
196
|
+
"basequery": "('Mark As Deleted' = \"No\" OR 'Mark As Deleted' = $NULL$)",
|
|
197
197
|
"fields": [
|
|
198
198
|
"Instance Id",
|
|
199
199
|
"Tag Number",
|
|
@@ -208,7 +208,8 @@
|
|
|
208
208
|
"Authenticity",
|
|
209
209
|
"Model Number",
|
|
210
210
|
"Reconciliation Identity",
|
|
211
|
-
"Short Description"
|
|
211
|
+
"Short Description",
|
|
212
|
+
"Data Set Id"
|
|
212
213
|
],
|
|
213
214
|
"fields_AST:ComputerSystem": [
|
|
214
215
|
"DNS Host Name"
|
package/conf/mapping.json
CHANGED
|
@@ -418,7 +418,7 @@ async function createCmdbObject(assetConfig, clientConfig, classId, ciData, glob
|
|
|
418
418
|
ciData['Data Set Id'] = "BMC.ASSET"
|
|
419
419
|
}
|
|
420
420
|
//Add reconId only for Asset Dataset
|
|
421
|
-
if (ciData['Data Set Id']
|
|
421
|
+
if (ciData['Data Set Id'] === "BMC.ASSET") {
|
|
422
422
|
ciData['400129200'] = reconId;
|
|
423
423
|
}
|
|
424
424
|
ciData['Instance Id'] = instanceId;
|
package/docs/releases.md
CHANGED