@itentialopensource/adapter-checkpoint_management 0.2.3 → 0.2.6
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/.eslintignore +1 -0
- package/.eslintrc.js +12 -12
- package/CHANGELOG.md +24 -0
- package/README.md +270 -68
- package/adapter.js +2607 -49
- package/adapterBase.js +544 -17
- package/entities/.generic/action.json +109 -0
- package/entities/.generic/schema.json +23 -0
- package/entities/.system/action.json +5 -5
- package/entities/APISettings/action.json +3 -3
- package/entities/AccessLayer/action.json +6 -6
- package/entities/AccessRole/action.json +6 -6
- package/entities/AccessRule/action.json +6 -6
- package/entities/AccessSection/action.json +5 -5
- package/entities/AddressRange/action.json +6 -6
- package/entities/Administrator/action.json +7 -7
- package/entities/Application/action.json +6 -6
- package/entities/ApplicationCategory/action.json +6 -6
- package/entities/ApplicationGroup/action.json +6 -6
- package/entities/DNSDomain/action.json +6 -6
- package/entities/DataCenter/action.json +4 -4
- package/entities/DataCenterObject/action.json +5 -5
- package/entities/Domain/action.json +6 -6
- package/entities/DynamicObject/action.json +6 -6
- package/entities/GlobalAssignment/action.json +7 -7
- package/entities/GlobalDomain/action.json +3 -3
- package/entities/Group/action.json +6 -6
- package/entities/GroupWithExclusion/action.json +6 -6
- package/entities/Host/action.json +6 -6
- package/entities/IPS/action.json +5 -5
- package/entities/IPSExtendedAttributes/action.json +3 -3
- package/entities/LoginMessage/action.json +3 -3
- package/entities/Misc/action.json +15 -15
- package/entities/MultiDomainServerMDS/action.json +3 -3
- package/entities/MulticastAddressRange/action.json +6 -6
- package/entities/NATRule/action.json +6 -6
- package/entities/NATSection/action.json +5 -5
- package/entities/Network/action.json +6 -6
- package/entities/OPSECApplication/action.json +6 -6
- package/entities/Placeholder/action.json +2 -2
- package/entities/Policy/action.json +3 -3
- package/entities/PolicyPackage/action.json +6 -6
- package/entities/SecurityZone/action.json +6 -6
- package/entities/ServiceDCERPC/action.json +6 -6
- package/entities/ServiceGroup/action.json +6 -6
- package/entities/ServiceICMP/action.json +6 -6
- package/entities/ServiceICMP6/action.json +6 -6
- package/entities/ServiceOther/action.json +6 -6
- package/entities/ServiceRPC/action.json +6 -6
- package/entities/ServiceSCTP/action.json +6 -6
- package/entities/ServiceTCP/action.json +6 -6
- package/entities/ServiceUDP/action.json +6 -6
- package/entities/Session/action.json +10 -10
- package/entities/SessionManagement/action.json +7 -7
- package/entities/SimpleGateway/action.json +6 -6
- package/entities/Tags/action.json +6 -6
- package/entities/ThreatEmulation/action.json +2 -2
- package/entities/ThreatException/action.json +6 -6
- package/entities/ThreatExceptionGroup/action.json +6 -6
- package/entities/ThreatIndicator/action.json +6 -6
- package/entities/ThreatLayer/action.json +6 -6
- package/entities/ThreatProfile/action.json +6 -6
- package/entities/ThreatProtection/action.json +6 -6
- package/entities/ThreatRule/action.json +6 -6
- package/entities/Time/action.json +6 -6
- package/entities/TimeGroup/action.json +6 -6
- package/entities/TrustedClient/action.json +6 -6
- package/entities/UpdatableObject/action.json +5 -5
- package/entities/UpdatableObjectsRepository/action.json +3 -3
- package/entities/VPNCommunityMeshed/action.json +6 -6
- package/entities/VPNCommunityStar/action.json +6 -6
- package/entities/Wildcard/action.json +6 -6
- package/error.json +6 -0
- package/package.json +46 -24
- package/pronghorn.json +570 -0
- package/propertiesSchema.json +84 -11
- package/refs?service=git-upload-pack +0 -0
- package/report/updateReport1594060676288.json +95 -0
- package/report/updateReport1614705421970.json +95 -0
- package/report/updateReport1646177180887.json +95 -0
- package/sampleProperties.json +31 -12
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +30 -11
- package/test/unit/adapterBaseTestUnit.js +944 -0
- package/test/unit/adapterTestUnit.js +638 -12
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +9 -14
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +224 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +1 -1
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +169 -0
- package/utils/tbUtils.js +451 -0
- package/utils/troubleshootingAdapter.js +190 -0
- package/gl-code-quality-report.json +0 -1
package/adapter.js
CHANGED
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
/* Required libraries. */
|
|
10
10
|
const path = require('path');
|
|
11
|
-
// const xmldom = require('xmldom');
|
|
12
11
|
|
|
13
12
|
/* Fetch in the other needed components for the this Adaptor */
|
|
14
13
|
const AdapterBaseCl = require(path.join(__dirname, 'adapterBase.js'));
|
|
15
14
|
|
|
16
|
-
|
|
17
15
|
/**
|
|
18
16
|
* This is the adapter/interface into Checkpoint_Management
|
|
19
17
|
*/
|
|
@@ -23,44 +21,249 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23
21
|
/**
|
|
24
22
|
* CheckpointManagement Adapter
|
|
25
23
|
* @constructor
|
|
24
|
+
*/
|
|
25
|
+
/* Working on changing the way we do Emit methods due to size and time constrainsts
|
|
26
26
|
constructor(prongid, properties) {
|
|
27
27
|
// Instantiate the AdapterBase super class
|
|
28
28
|
super(prongid, properties);
|
|
29
29
|
|
|
30
|
+
const restFunctionNames = this.getWorkflowFunctions();
|
|
31
|
+
|
|
32
|
+
// Dynamically bind emit functions
|
|
33
|
+
for (let i = 0; i < restFunctionNames.length; i += 1) {
|
|
34
|
+
// Bind function to have name fnNameEmit for fnName
|
|
35
|
+
const version = restFunctionNames[i].match(/__v[0-9]+/);
|
|
36
|
+
const baseFnName = restFunctionNames[i].replace(/__v[0-9]+/, '');
|
|
37
|
+
const fnNameEmit = version ? `${baseFnName}Emit${version}` : `${baseFnName}Emit`;
|
|
38
|
+
this[fnNameEmit] = function (...args) {
|
|
39
|
+
// extract the callback
|
|
40
|
+
const callback = args[args.length - 1];
|
|
41
|
+
// slice the callback from args so we can insert our own
|
|
42
|
+
const functionArgs = args.slice(0, args.length - 1);
|
|
43
|
+
// create a random name for the listener
|
|
44
|
+
const eventName = `${restFunctionNames[i]}:${Math.random().toString(36)}`;
|
|
45
|
+
// tell the calling class to start listening
|
|
46
|
+
callback({ event: eventName, status: 'received' });
|
|
47
|
+
// store parent for use of this context later
|
|
48
|
+
const parent = this;
|
|
49
|
+
// store emission function
|
|
50
|
+
const func = function (val, err) {
|
|
51
|
+
parent.removeListener(eventName, func);
|
|
52
|
+
parent.emit(eventName, val, err);
|
|
53
|
+
};
|
|
54
|
+
// Use apply to call the function in a specific context
|
|
55
|
+
this[restFunctionNames[i]].apply(this, functionArgs.concat([func])); // eslint-disable-line prefer-spread
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
30
59
|
// Uncomment if you have things to add to the constructor like using your own properties.
|
|
31
60
|
// Otherwise the constructor in the adapterBase will be used.
|
|
32
61
|
// Capture my own properties - they need to be defined in propertiesSchema.json
|
|
33
|
-
if (this.allProps && this.allProps.myownproperty) {
|
|
34
|
-
|
|
35
|
-
}
|
|
62
|
+
// if (this.allProps && this.allProps.myownproperty) {
|
|
63
|
+
// mypropvariable = this.allProps.myownproperty;
|
|
64
|
+
// }
|
|
36
65
|
}
|
|
37
66
|
*/
|
|
38
67
|
|
|
39
|
-
|
|
40
68
|
/**
|
|
41
69
|
* @callback healthCallback
|
|
42
|
-
* @param {Object}
|
|
70
|
+
* @param {Object} reqObj - the request to send into the healthcheck
|
|
71
|
+
* @param {Callback} callback - The results of the call
|
|
43
72
|
*/
|
|
73
|
+
healthCheck(reqObj, callback) {
|
|
74
|
+
// you can modify what is passed into the healthcheck by changing things in the newReq
|
|
75
|
+
let newReq = null;
|
|
76
|
+
if (reqObj) {
|
|
77
|
+
newReq = Object.assign(...reqObj);
|
|
78
|
+
}
|
|
79
|
+
super.healthCheck(newReq, callback);
|
|
80
|
+
}
|
|
81
|
+
|
|
44
82
|
/**
|
|
45
|
-
* @
|
|
46
|
-
* @param {Object} result - the result of the get request (entity/ies)
|
|
47
|
-
* @param {String} error - any error that occurred
|
|
83
|
+
* @getWorkflowFunctions
|
|
48
84
|
*/
|
|
85
|
+
getWorkflowFunctions(inIgnore) {
|
|
86
|
+
let myIgnore = ['hasEntities', 'hasDevices'];
|
|
87
|
+
if (!inIgnore && Array.isArray(inIgnore)) {
|
|
88
|
+
myIgnore = inIgnore;
|
|
89
|
+
} else if (!inIgnore && typeof inIgnore === 'string') {
|
|
90
|
+
myIgnore = [inIgnore];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// The generic adapter functions should already be ignored (e.g. healthCheck)
|
|
94
|
+
// you can add specific methods that you do not want to be workflow functions to ignore like below
|
|
95
|
+
// myIgnore.push('myMethodNotInWorkflow');
|
|
96
|
+
|
|
97
|
+
return super.getWorkflowFunctions(myIgnore);
|
|
98
|
+
}
|
|
99
|
+
|
|
49
100
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
101
|
+
* updateAdapterConfiguration is used to update any of the adapter configuration files. This
|
|
102
|
+
* allows customers to make changes to adapter configuration without having to be on the
|
|
103
|
+
* file system.
|
|
104
|
+
*
|
|
105
|
+
* @function updateAdapterConfiguration
|
|
106
|
+
* @param {string} configFile - the name of the file being updated (required)
|
|
107
|
+
* @param {Object} changes - an object containing all of the changes = formatted like the configuration file (required)
|
|
108
|
+
* @param {string} entity - the entity to be changed, if an action, schema or mock data file (optional)
|
|
109
|
+
* @param {string} type - the type of entity file to change, (action, schema, mock) (optional)
|
|
110
|
+
* @param {string} action - the action to be changed, if an action, schema or mock data file (optional)
|
|
111
|
+
* @param {Callback} callback - The results of the call
|
|
53
112
|
*/
|
|
113
|
+
updateAdapterConfiguration(configFile, changes, entity, type, action, callback) {
|
|
114
|
+
const origin = `${this.id}-adapter-updateAdapterConfiguration`;
|
|
115
|
+
log.trace(origin);
|
|
116
|
+
super.updateAdapterConfiguration(configFile, changes, entity, type, action, callback);
|
|
117
|
+
}
|
|
118
|
+
|
|
54
119
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* @
|
|
120
|
+
* See if the API path provided is found in this adapter
|
|
121
|
+
*
|
|
122
|
+
* @function findPath
|
|
123
|
+
* @param {string} apiPath - the api path to check on
|
|
124
|
+
* @param {Callback} callback - The results of the call
|
|
58
125
|
*/
|
|
126
|
+
findPath(apiPath, callback) {
|
|
127
|
+
const origin = `${this.id}-adapter-findPath`;
|
|
128
|
+
log.trace(origin);
|
|
129
|
+
super.findPath(apiPath, callback);
|
|
130
|
+
}
|
|
131
|
+
|
|
59
132
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
133
|
+
* @summary Suspends adapter
|
|
134
|
+
*
|
|
135
|
+
* @function suspend
|
|
136
|
+
* @param {Callback} callback - callback function
|
|
137
|
+
*/
|
|
138
|
+
suspend(mode, callback) {
|
|
139
|
+
const origin = `${this.id}-adapter-suspend`;
|
|
140
|
+
log.trace(origin);
|
|
141
|
+
try {
|
|
142
|
+
return super.suspend(mode, callback);
|
|
143
|
+
} catch (error) {
|
|
144
|
+
log.error(`${origin}: ${error}`);
|
|
145
|
+
return callback(null, error);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @summary Unsuspends adapter
|
|
151
|
+
*
|
|
152
|
+
* @function unsuspend
|
|
153
|
+
* @param {Callback} callback - callback function
|
|
154
|
+
*/
|
|
155
|
+
unsuspend(callback) {
|
|
156
|
+
const origin = `${this.id}-adapter-unsuspend`;
|
|
157
|
+
log.trace(origin);
|
|
158
|
+
try {
|
|
159
|
+
return super.unsuspend(callback);
|
|
160
|
+
} catch (error) {
|
|
161
|
+
log.error(`${origin}: ${error}`);
|
|
162
|
+
return callback(null, error);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @summary Get the Adaoter Queue
|
|
168
|
+
*
|
|
169
|
+
* @function getQueue
|
|
170
|
+
* @param {Callback} callback - callback function
|
|
171
|
+
*/
|
|
172
|
+
getQueue(callback) {
|
|
173
|
+
const origin = `${this.id}-adapter-getQueue`;
|
|
174
|
+
log.trace(origin);
|
|
175
|
+
return super.getQueue(callback);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @summary Runs troubleshoot scripts for adapter
|
|
180
|
+
*
|
|
181
|
+
* @function troubleshoot
|
|
182
|
+
* @param {Object} props - the connection, healthcheck and authentication properties
|
|
183
|
+
*
|
|
184
|
+
* @param {boolean} persistFlag - whether the adapter properties should be updated
|
|
185
|
+
* @param {Callback} callback - The results of the call
|
|
186
|
+
*/
|
|
187
|
+
troubleshoot(props, persistFlag, callback) {
|
|
188
|
+
const origin = `${this.id}-adapter-troubleshoot`;
|
|
189
|
+
log.trace(origin);
|
|
190
|
+
try {
|
|
191
|
+
return super.troubleshoot(props, persistFlag, this, callback);
|
|
192
|
+
} catch (error) {
|
|
193
|
+
log.error(`${origin}: ${error}`);
|
|
194
|
+
return callback(null, error);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @summary runs healthcheck script for adapter
|
|
200
|
+
*
|
|
201
|
+
* @function runHealthcheck
|
|
202
|
+
* @param {Adapter} adapter - adapter instance to troubleshoot
|
|
203
|
+
* @param {Callback} callback - callback function
|
|
204
|
+
*/
|
|
205
|
+
runHealthcheck(callback) {
|
|
206
|
+
const origin = `${this.id}-adapter-runHealthcheck`;
|
|
207
|
+
log.trace(origin);
|
|
208
|
+
try {
|
|
209
|
+
return super.runHealthcheck(this, callback);
|
|
210
|
+
} catch (error) {
|
|
211
|
+
log.error(`${origin}: ${error}`);
|
|
212
|
+
return callback(null, error);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @summary runs connectivity check script for adapter
|
|
218
|
+
*
|
|
219
|
+
* @function runConnectivity
|
|
220
|
+
* @param {Callback} callback - callback function
|
|
221
|
+
*/
|
|
222
|
+
runConnectivity(callback) {
|
|
223
|
+
const origin = `${this.id}-adapter-runConnectivity`;
|
|
224
|
+
log.trace(origin);
|
|
225
|
+
try {
|
|
226
|
+
return super.runConnectivity(callback);
|
|
227
|
+
} catch (error) {
|
|
228
|
+
log.error(`${origin}: ${error}`);
|
|
229
|
+
return callback(null, error);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @summary runs basicGet script for adapter
|
|
235
|
+
*
|
|
236
|
+
* @function runBasicGet
|
|
237
|
+
* @param {Callback} callback - callback function
|
|
238
|
+
*/
|
|
239
|
+
runBasicGet(callback) {
|
|
240
|
+
const origin = `${this.id}-adapter-runBasicGet`;
|
|
241
|
+
log.trace(origin);
|
|
242
|
+
try {
|
|
243
|
+
return super.runBasicGet(callback);
|
|
244
|
+
} catch (error) {
|
|
245
|
+
log.error(`${origin}: ${error}`);
|
|
246
|
+
return callback(null, error);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @summary moves entites into Mongo DB
|
|
252
|
+
*
|
|
253
|
+
* @function moveEntitiesToDB
|
|
254
|
+
* @param {getCallback} callback - a callback function to return the result (Generics)
|
|
255
|
+
* or the error
|
|
63
256
|
*/
|
|
257
|
+
moveEntitiesToDB(callback) {
|
|
258
|
+
const origin = `${this.id}-adapter-moveEntitiesToDB`;
|
|
259
|
+
log.trace(origin);
|
|
260
|
+
try {
|
|
261
|
+
return super.moveEntitiesToDB(callback);
|
|
262
|
+
} catch (err) {
|
|
263
|
+
log.error(`${origin}: ${err}`);
|
|
264
|
+
return callback(null, err);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
64
267
|
|
|
65
268
|
/**
|
|
66
269
|
* @summary Determines if this adapter supports the specific entity
|
|
@@ -182,55 +385,640 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
182
385
|
const isEntity = this.entityInList(entityId, data.response, callback);
|
|
183
386
|
const res = [];
|
|
184
387
|
|
|
185
|
-
// not found
|
|
186
|
-
for (let i = 0; i < isEntity.length; i += 1) {
|
|
187
|
-
if (vcapable) {
|
|
188
|
-
res.push(isEntity[i]);
|
|
189
|
-
} else {
|
|
190
|
-
res.push(false);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
388
|
+
// not found
|
|
389
|
+
for (let i = 0; i < isEntity.length; i += 1) {
|
|
390
|
+
if (vcapable) {
|
|
391
|
+
res.push(isEntity[i]);
|
|
392
|
+
} else {
|
|
393
|
+
res.push(false);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
return callback(res);
|
|
398
|
+
});
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
default: {
|
|
402
|
+
// unsupported entity type
|
|
403
|
+
const result = [false];
|
|
404
|
+
|
|
405
|
+
// put false in array for all entities
|
|
406
|
+
if (Array.isArray(entityId)) {
|
|
407
|
+
for (let e = 1; e < entityId.length; e += 1) {
|
|
408
|
+
result.push(false);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
return callback(result);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @summary Updates the cache for all entities by call the get All entity method
|
|
419
|
+
*
|
|
420
|
+
* @function updateEntityCache
|
|
421
|
+
*
|
|
422
|
+
*/
|
|
423
|
+
updateEntityCache() {
|
|
424
|
+
const origin = `${this.id}-adapter-updateEntityCache`;
|
|
425
|
+
log.trace(origin);
|
|
426
|
+
|
|
427
|
+
if (this.caching) {
|
|
428
|
+
// if the cache is invalid, update the cache
|
|
429
|
+
this.getEntities(null, null, null, null, (data, err) => {
|
|
430
|
+
if (err) {
|
|
431
|
+
log.trace(`${origin}: Could not load template_entity into cache - ${err}`);
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Makes the requested generic call
|
|
439
|
+
*
|
|
440
|
+
* @function genericAdapterRequest
|
|
441
|
+
* @param {String} uriPath - the path of the api call - do not include the host, port, base path or version (required)
|
|
442
|
+
* @param {String} restMethod - the rest method (GET, POST, PUT, PATCH, DELETE) (required)
|
|
443
|
+
* @param {Object} queryData - the parameters to be put on the url (optional).
|
|
444
|
+
* Can be a stringified Object.
|
|
445
|
+
* @param {Object} requestBody - the body to add to the request (optional).
|
|
446
|
+
* Can be a stringified Object.
|
|
447
|
+
* @param {Object} addlHeaders - additional headers to be put on the call (optional).
|
|
448
|
+
* Can be a stringified Object.
|
|
449
|
+
* @param {getCallback} callback - a callback function to return the result (Generics)
|
|
450
|
+
* or the error
|
|
451
|
+
*/
|
|
452
|
+
genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback) {
|
|
453
|
+
const meth = 'adapter-genericAdapterRequest';
|
|
454
|
+
const origin = `${this.id}-${meth}`;
|
|
455
|
+
log.trace(origin);
|
|
456
|
+
|
|
457
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
458
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
459
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
460
|
+
return callback(null, errorObj);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
464
|
+
if (uriPath === undefined || uriPath === null || uriPath === '') {
|
|
465
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['uriPath'], null, null, null);
|
|
466
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
467
|
+
return callback(null, errorObj);
|
|
468
|
+
}
|
|
469
|
+
if (restMethod === undefined || restMethod === null || restMethod === '') {
|
|
470
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['restMethod'], null, null, null);
|
|
471
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
472
|
+
return callback(null, errorObj);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/* HERE IS WHERE YOU SET THE DATA TO PASS INTO REQUEST */
|
|
476
|
+
// remove any leading / and split the uripath into path variables
|
|
477
|
+
let myPath = uriPath;
|
|
478
|
+
while (myPath.indexOf('/') === 0) {
|
|
479
|
+
myPath = myPath.substring(1);
|
|
480
|
+
}
|
|
481
|
+
const pathVars = myPath.split('/');
|
|
482
|
+
const queryParamsAvailable = queryData;
|
|
483
|
+
const queryParams = {};
|
|
484
|
+
const bodyVars = requestBody;
|
|
485
|
+
|
|
486
|
+
// loop in template. long callback arg name to avoid identifier conflicts
|
|
487
|
+
Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
|
|
488
|
+
if (queryParamsAvailable[thisKeyInQueryParamsAvailable] !== undefined && queryParamsAvailable[thisKeyInQueryParamsAvailable] !== null
|
|
489
|
+
&& queryParamsAvailable[thisKeyInQueryParamsAvailable] !== '') {
|
|
490
|
+
queryParams[thisKeyInQueryParamsAvailable] = queryParamsAvailable[thisKeyInQueryParamsAvailable];
|
|
491
|
+
}
|
|
492
|
+
});
|
|
493
|
+
|
|
494
|
+
// set up the request object - payload, uriPathVars, uriQuery, uriOptions, addlHeaders
|
|
495
|
+
const reqObj = {
|
|
496
|
+
payload: bodyVars,
|
|
497
|
+
uriPathVars: pathVars,
|
|
498
|
+
uriQuery: queryParams,
|
|
499
|
+
uriOptions: {}
|
|
500
|
+
};
|
|
501
|
+
// add headers if provided
|
|
502
|
+
if (addlHeaders) {
|
|
503
|
+
reqObj.addlHeaders = addlHeaders;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
// determine the call and return flag
|
|
507
|
+
let action = 'getGenerics';
|
|
508
|
+
let returnF = true;
|
|
509
|
+
if (restMethod.toUpperCase() === 'POST') {
|
|
510
|
+
action = 'createGeneric';
|
|
511
|
+
} else if (restMethod.toUpperCase() === 'PUT') {
|
|
512
|
+
action = 'updateGeneric';
|
|
513
|
+
} else if (restMethod.toUpperCase() === 'PATCH') {
|
|
514
|
+
action = 'patchGeneric';
|
|
515
|
+
} else if (restMethod.toUpperCase() === 'DELETE') {
|
|
516
|
+
action = 'deleteGeneric';
|
|
517
|
+
returnF = false;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
try {
|
|
521
|
+
// Make the call -
|
|
522
|
+
// identifyRequest(entity, action, requestObj, returnDataFlag, callback)
|
|
523
|
+
return this.requestHandlerInst.identifyRequest('.generic', action, reqObj, returnF, (irReturnData, irReturnError) => {
|
|
524
|
+
// if we received an error or their is no response on the results
|
|
525
|
+
// return an error
|
|
526
|
+
if (irReturnError) {
|
|
527
|
+
/* HERE IS WHERE YOU CAN ALTER THE ERROR MESSAGE */
|
|
528
|
+
return callback(null, irReturnError);
|
|
529
|
+
}
|
|
530
|
+
if (!Object.hasOwnProperty.call(irReturnData, 'response')) {
|
|
531
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Invalid Response', ['genericAdapterRequest'], null, null, null);
|
|
532
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
533
|
+
return callback(null, errorObj);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/* HERE IS WHERE YOU CAN ALTER THE RETURN DATA */
|
|
537
|
+
// return the response
|
|
538
|
+
return callback(irReturnData, null);
|
|
539
|
+
});
|
|
540
|
+
} catch (ex) {
|
|
541
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Caught Exception', null, null, null, ex);
|
|
542
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
543
|
+
return callback(null, errorObj);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/* BROKER CALLS */
|
|
548
|
+
/**
|
|
549
|
+
* @summary Determines if this adapter supports any in a list of entities
|
|
550
|
+
*
|
|
551
|
+
* @function hasEntities
|
|
552
|
+
* @param {String} entityType - the entity type to check for
|
|
553
|
+
* @param {Array} entityList - the list of entities we are looking for
|
|
554
|
+
*
|
|
555
|
+
* @param {Callback} callback - A map where the entity is the key and the
|
|
556
|
+
* value is true or false
|
|
557
|
+
*/
|
|
558
|
+
hasEntities(entityType, entityList, callback) {
|
|
559
|
+
const origin = `${this.id}-adapter-hasEntities`;
|
|
560
|
+
log.trace(origin);
|
|
561
|
+
|
|
562
|
+
switch (entityType) {
|
|
563
|
+
case 'Device':
|
|
564
|
+
return this.hasDevices(entityList, callback);
|
|
565
|
+
default:
|
|
566
|
+
return callback(null, `${this.id} does not support entity ${entityType}`);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @summary Helper method for hasEntities for the specific device case
|
|
572
|
+
*
|
|
573
|
+
* @param {Array} deviceList - array of unique device identifiers
|
|
574
|
+
* @param {Callback} callback - A map where the device is the key and the
|
|
575
|
+
* value is true or false
|
|
576
|
+
*/
|
|
577
|
+
hasDevices(deviceList, callback) {
|
|
578
|
+
const origin = `${this.id}-adapter-hasDevices`;
|
|
579
|
+
log.trace(origin);
|
|
580
|
+
|
|
581
|
+
const findings = deviceList.reduce((map, device) => {
|
|
582
|
+
// eslint-disable-next-line no-param-reassign
|
|
583
|
+
map[device] = false;
|
|
584
|
+
log.debug(`In reduce: ${JSON.stringify(map)}`);
|
|
585
|
+
return map;
|
|
586
|
+
}, {});
|
|
587
|
+
const apiCalls = deviceList.map((device) => new Promise((resolve) => {
|
|
588
|
+
this.getDevice(device, (result, error) => {
|
|
589
|
+
if (error) {
|
|
590
|
+
log.debug(`In map error: ${JSON.stringify(device)}`);
|
|
591
|
+
return resolve({ name: device, found: false });
|
|
592
|
+
}
|
|
593
|
+
log.debug(`In map: ${JSON.stringify(device)}`);
|
|
594
|
+
return resolve({ name: device, found: true });
|
|
595
|
+
});
|
|
596
|
+
}));
|
|
597
|
+
Promise.all(apiCalls).then((results) => {
|
|
598
|
+
results.forEach((device) => {
|
|
599
|
+
findings[device.name] = device.found;
|
|
600
|
+
});
|
|
601
|
+
log.debug(`FINDINGS: ${JSON.stringify(findings)}`);
|
|
602
|
+
return callback(findings);
|
|
603
|
+
}).catch((errors) => {
|
|
604
|
+
log.error('Unable to do device lookup.');
|
|
605
|
+
return callback(null, { code: 503, message: 'Unable to do device lookup.', error: errors });
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @summary Get Appliance that match the deviceName
|
|
611
|
+
*
|
|
612
|
+
* @function getDevice
|
|
613
|
+
* @param {String} deviceName - the deviceName to find (required)
|
|
614
|
+
*
|
|
615
|
+
* @param {getCallback} callback - a callback function to return the result
|
|
616
|
+
* (appliance) or the error
|
|
617
|
+
*/
|
|
618
|
+
getDevice(deviceName, callback) {
|
|
619
|
+
const meth = 'adapter-getDevice';
|
|
620
|
+
const origin = `${this.id}-${meth}`;
|
|
621
|
+
log.trace(origin);
|
|
622
|
+
|
|
623
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
624
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
625
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
626
|
+
return callback(null, errorObj);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
630
|
+
if (deviceName === undefined || deviceName === null || deviceName === '' || deviceName.length === 0) {
|
|
631
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['deviceName'], null, null, null);
|
|
632
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
633
|
+
return callback(null, errorObj);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
try {
|
|
637
|
+
// need to get the device so we can convert the deviceName to an id
|
|
638
|
+
// !! if we can do a lookup by name the getDevicesFiltered may not be necessary
|
|
639
|
+
const opts = {
|
|
640
|
+
filter: {
|
|
641
|
+
name: deviceName
|
|
642
|
+
}
|
|
643
|
+
};
|
|
644
|
+
return this.getDevicesFiltered(opts, (devs, ferr) => {
|
|
645
|
+
// if we received an error or their is no response on the results return an error
|
|
646
|
+
if (ferr) {
|
|
647
|
+
return callback(null, ferr);
|
|
648
|
+
}
|
|
649
|
+
if (devs.list.length < 1) {
|
|
650
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, `Did Not Find Device ${deviceName}`, [], null, null, null);
|
|
651
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
652
|
+
return callback(null, errorObj);
|
|
653
|
+
}
|
|
654
|
+
// get the uuid from the device
|
|
655
|
+
const { uuid } = devs.list[0];
|
|
656
|
+
|
|
657
|
+
// !! using Generic makes it easier on the Adapter Builder (just need to change the path)
|
|
658
|
+
// !! you can also replace with a specific call if that is easier
|
|
659
|
+
const uriPath = `/call/toget/device/${uuid}`;
|
|
660
|
+
return this.genericAdapterRequest(uriPath, 'GET', {}, {}, {}, (result, error) => {
|
|
661
|
+
// if we received an error or their is no response on the results return an error
|
|
662
|
+
if (error) {
|
|
663
|
+
return callback(null, error);
|
|
664
|
+
}
|
|
665
|
+
if (!result.response || !result.response.applianceMo) {
|
|
666
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Invalid Response', ['getDevice'], null, null, null);
|
|
667
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
668
|
+
return callback(null, errorObj);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
// return the response
|
|
672
|
+
// !! format the data we send back
|
|
673
|
+
// !! these fields are config manager fields you need to map to the data we receive
|
|
674
|
+
const thisDevice = result.response;
|
|
675
|
+
thisDevice.name = thisDevice.systemName;
|
|
676
|
+
thisDevice.ostype = `System-${thisDevice.systemType}`;
|
|
677
|
+
thisDevice.port = thisDevice.systemPort;
|
|
678
|
+
thisDevice.ipaddress = thisDevice.systemIP;
|
|
679
|
+
return callback(thisDevice);
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
} catch (ex) {
|
|
683
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Caught Exception', null, null, null, ex);
|
|
684
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
685
|
+
return callback(null, errorObj);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* @summary Get Appliances that match the filter
|
|
691
|
+
*
|
|
692
|
+
* @function getDevicesFiltered
|
|
693
|
+
* @param {Object} options - the data to use to filter the appliances (optional)
|
|
694
|
+
*
|
|
695
|
+
* @param {getCallback} callback - a callback function to return the result
|
|
696
|
+
* (appliances) or the error
|
|
697
|
+
*/
|
|
698
|
+
getDevicesFiltered(options, callback) {
|
|
699
|
+
const meth = 'adapter-getDevicesFiltered';
|
|
700
|
+
const origin = `${this.id}-${meth}`;
|
|
701
|
+
log.trace(origin);
|
|
702
|
+
|
|
703
|
+
// verify the required fields have been provided
|
|
704
|
+
if (options === undefined || options === null || options === '' || options.length === 0) {
|
|
705
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['options'], null, null, null);
|
|
706
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
707
|
+
return callback(null, errorObj);
|
|
708
|
+
}
|
|
709
|
+
log.debug(`Device Filter Options: ${JSON.stringify(options)}`);
|
|
710
|
+
|
|
711
|
+
// TODO - get pagination working
|
|
712
|
+
// const nextToken = options.start;
|
|
713
|
+
// const maxResults = options.limit;
|
|
714
|
+
|
|
715
|
+
// set up the filter of Device Names
|
|
716
|
+
let filterName = [];
|
|
717
|
+
if (options && options.filter && options.filter.name) {
|
|
718
|
+
// when this hack is removed, remove the lint ignore above
|
|
719
|
+
if (Array.isArray(options.filter.name)) {
|
|
720
|
+
// eslint-disable-next-line prefer-destructuring
|
|
721
|
+
filterName = options.filter.name;
|
|
722
|
+
} else {
|
|
723
|
+
filterName = [options.filter.name];
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
// TODO - get sort and order working
|
|
728
|
+
/*
|
|
729
|
+
if (options && options.sort) {
|
|
730
|
+
reqObj.uriOptions.sort = JSON.stringify(options.sort);
|
|
731
|
+
}
|
|
732
|
+
if (options && options.order) {
|
|
733
|
+
reqObj.uriOptions.order = options.order;
|
|
734
|
+
}
|
|
735
|
+
*/
|
|
736
|
+
try {
|
|
737
|
+
// !! using Generic makes it easier on the Adapter Builder (just need to change the path)
|
|
738
|
+
// !! you can also replace with a specific call if that is easier
|
|
739
|
+
const uriPath = '/call/toget/devices';
|
|
740
|
+
return this.genericAdapterRequest(uriPath, 'GET', {}, {}, {}, (result, error) => {
|
|
741
|
+
// if we received an error or their is no response on the results return an error
|
|
742
|
+
if (error) {
|
|
743
|
+
return callback(null, error);
|
|
744
|
+
}
|
|
745
|
+
if (!result.response) {
|
|
746
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Invalid Response', ['getDevicesFiltered'], null, null, null);
|
|
747
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
748
|
+
return callback(null, errorObj);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
// !! go through the response - may have to look for sub object
|
|
752
|
+
// handle an array of devices
|
|
753
|
+
if (Array.isArray(result.response)) {
|
|
754
|
+
const myDevices = [];
|
|
755
|
+
|
|
756
|
+
for (let d = 0; d < result.response.length; d += 1) {
|
|
757
|
+
// !! format the data we send back
|
|
758
|
+
// !! these fields are config manager fields you need to map to the data we receive
|
|
759
|
+
const thisDevice = result.response;
|
|
760
|
+
thisDevice.name = thisDevice.systemName;
|
|
761
|
+
thisDevice.ostype = `System-${thisDevice.systemType}`;
|
|
762
|
+
thisDevice.port = thisDevice.systemPort;
|
|
763
|
+
thisDevice.ipaddress = thisDevice.systemIP;
|
|
764
|
+
|
|
765
|
+
// if there is no filter - return the device
|
|
766
|
+
if (filterName.length === 0) {
|
|
767
|
+
myDevices.push(thisDevice);
|
|
768
|
+
} else {
|
|
769
|
+
// if we have to match a filter
|
|
770
|
+
let found = false;
|
|
771
|
+
for (let f = 0; f < filterName.length; f += 1) {
|
|
772
|
+
if (thisDevice.name.indexOf(filterName[f]) >= 0) {
|
|
773
|
+
found = true;
|
|
774
|
+
break;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
// matching device
|
|
778
|
+
if (found) {
|
|
779
|
+
myDevices.push(thisDevice);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
log.debug(`${origin}: Found #${myDevices.length} devices.`);
|
|
784
|
+
log.debug(`Devices: ${JSON.stringify(myDevices)}`);
|
|
785
|
+
return callback({ total: myDevices.length, list: myDevices });
|
|
786
|
+
}
|
|
787
|
+
// handle a single device response
|
|
788
|
+
// !! format the data we send back
|
|
789
|
+
// !! these fields are config manager fields you need to map to the data we receive
|
|
790
|
+
const thisDevice = result.response;
|
|
791
|
+
thisDevice.name = thisDevice.systemName;
|
|
792
|
+
thisDevice.ostype = `System-${thisDevice.systemType}`;
|
|
793
|
+
thisDevice.port = thisDevice.systemPort;
|
|
794
|
+
thisDevice.ipaddress = thisDevice.systemIP;
|
|
795
|
+
|
|
796
|
+
// if there is no filter - return the device
|
|
797
|
+
if (filterName.length === 0) {
|
|
798
|
+
log.debug(`${origin}: Found #1 device.`);
|
|
799
|
+
log.debug(`Device: ${JSON.stringify(thisDevice)}`);
|
|
800
|
+
return callback({ total: 1, list: [thisDevice] });
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
// if there is a filter need to check for matching device
|
|
804
|
+
let found = false;
|
|
805
|
+
for (let f = 0; f < filterName.length; f += 1) {
|
|
806
|
+
if (thisDevice.name.indexOf(filterName[f]) >= 0) {
|
|
807
|
+
found = true;
|
|
808
|
+
break;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
// matching device
|
|
812
|
+
if (found) {
|
|
813
|
+
log.debug(`${origin}: Found #1 device.`);
|
|
814
|
+
log.debug(`Device Found: ${JSON.stringify(thisDevice)}`);
|
|
815
|
+
return callback({ total: 1, list: [thisDevice] });
|
|
816
|
+
}
|
|
817
|
+
// not a matching device
|
|
818
|
+
log.debug(`${origin}: No matching device found.`);
|
|
819
|
+
return callback({ total: 0, list: [] });
|
|
820
|
+
});
|
|
821
|
+
} catch (ex) {
|
|
822
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Caught Exception', null, null, null, ex);
|
|
823
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
824
|
+
return callback(null, errorObj);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @summary Gets the status for the provided appliance
|
|
830
|
+
*
|
|
831
|
+
* @function isAlive
|
|
832
|
+
* @param {String} deviceName - the deviceName of the appliance. (required)
|
|
833
|
+
*
|
|
834
|
+
* @param {configCallback} callback - callback function to return the result
|
|
835
|
+
* (appliance isAlive) or the error
|
|
836
|
+
*/
|
|
837
|
+
isAlive(deviceName, callback) {
|
|
838
|
+
const meth = 'adapter-isAlive';
|
|
839
|
+
const origin = `${this.id}-${meth}`;
|
|
840
|
+
log.trace(origin);
|
|
841
|
+
|
|
842
|
+
// verify the required fields have been provided
|
|
843
|
+
if (deviceName === undefined || deviceName === null || deviceName === '' || deviceName.length === 0) {
|
|
844
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['deviceName'], null, null, null);
|
|
845
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
846
|
+
return callback(null, errorObj);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
try {
|
|
850
|
+
// need to get the device so we can convert the deviceName to an id
|
|
851
|
+
// !! if we can do a lookup by name the getDevicesFiltered may not be necessary
|
|
852
|
+
const opts = {
|
|
853
|
+
filter: {
|
|
854
|
+
name: deviceName
|
|
855
|
+
}
|
|
856
|
+
};
|
|
857
|
+
return this.getDevicesFiltered(opts, (devs, ferr) => {
|
|
858
|
+
// if we received an error or their is no response on the results return an error
|
|
859
|
+
if (ferr) {
|
|
860
|
+
return callback(null, ferr);
|
|
861
|
+
}
|
|
862
|
+
if (devs.list.length < 1) {
|
|
863
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, `Did Not Find Device ${deviceName}`, [], null, null, null);
|
|
864
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
865
|
+
return callback(null, errorObj);
|
|
866
|
+
}
|
|
867
|
+
// get the uuid from the device
|
|
868
|
+
const { uuid } = devs.list[0];
|
|
869
|
+
|
|
870
|
+
// !! using Generic makes it easier on the Adapter Builder (just need to change the path)
|
|
871
|
+
// !! you can also replace with a specific call if that is easier
|
|
872
|
+
const uriPath = `/call/toget/status/${uuid}`;
|
|
873
|
+
return this.genericAdapterRequest(uriPath, 'GET', {}, {}, {}, (result, error) => {
|
|
874
|
+
// if we received an error or their is no response on the results return an error
|
|
875
|
+
if (error) {
|
|
876
|
+
return callback(null, error);
|
|
877
|
+
}
|
|
878
|
+
// !! should update this to make sure we are checking for the appropriate object/field
|
|
879
|
+
if (!result.response || !result.response.returnObj || !Object.hasOwnProperty.call(result.response.returnObj, 'statusField')) {
|
|
880
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Invalid Response', ['isAlive'], null, null, null);
|
|
881
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
882
|
+
return callback(null, errorObj);
|
|
883
|
+
}
|
|
193
884
|
|
|
194
|
-
|
|
195
|
-
|
|
885
|
+
// !! return the response - Update to the appropriate object/field
|
|
886
|
+
return callback(!result.response.returnObj.statusField);
|
|
196
887
|
});
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
888
|
+
});
|
|
889
|
+
} catch (ex) {
|
|
890
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Caught Exception', null, null, null, ex);
|
|
891
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
892
|
+
return callback(null, errorObj);
|
|
893
|
+
}
|
|
894
|
+
}
|
|
201
895
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
896
|
+
/**
|
|
897
|
+
* @summary Gets a config for the provided Appliance
|
|
898
|
+
*
|
|
899
|
+
* @function getConfig
|
|
900
|
+
* @param {String} deviceName - the deviceName of the appliance. (required)
|
|
901
|
+
* @param {String} format - the desired format of the config. (optional)
|
|
902
|
+
*
|
|
903
|
+
* @param {configCallback} callback - callback function to return the result
|
|
904
|
+
* (appliance config) or the error
|
|
905
|
+
*/
|
|
906
|
+
getConfig(deviceName, format, callback) {
|
|
907
|
+
const meth = 'adapter-getConfig';
|
|
908
|
+
const origin = `${this.id}-${meth}`;
|
|
909
|
+
log.trace(origin);
|
|
910
|
+
|
|
911
|
+
// verify the required fields have been provided
|
|
912
|
+
if (deviceName === undefined || deviceName === null || deviceName === '' || deviceName.length === 0) {
|
|
913
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['deviceName'], null, null, null);
|
|
914
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
915
|
+
return callback(null, errorObj);
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
try {
|
|
919
|
+
// need to get the device so we can convert the deviceName to an id
|
|
920
|
+
// !! if we can do a lookup by name the getDevicesFiltered may not be necessary
|
|
921
|
+
const opts = {
|
|
922
|
+
filter: {
|
|
923
|
+
name: deviceName
|
|
924
|
+
}
|
|
925
|
+
};
|
|
926
|
+
return this.getDevicesFiltered(opts, (devs, ferr) => {
|
|
927
|
+
// if we received an error or their is no response on the results return an error
|
|
928
|
+
if (ferr) {
|
|
929
|
+
return callback(null, ferr);
|
|
930
|
+
}
|
|
931
|
+
if (devs.list.length < 1) {
|
|
932
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, `Did Not Find Device ${deviceName}`, [], null, null, null);
|
|
933
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
934
|
+
return callback(null, errorObj);
|
|
207
935
|
}
|
|
936
|
+
// get the uuid from the device
|
|
937
|
+
const { uuid } = devs.list[0];
|
|
208
938
|
|
|
209
|
-
|
|
210
|
-
|
|
939
|
+
// !! using Generic makes it easier on the Adapter Builder (just need to change the path)
|
|
940
|
+
// !! you can also replace with a specific call if that is easier
|
|
941
|
+
const uriPath = `/call/toget/config/${uuid}`;
|
|
942
|
+
return this.genericAdapterRequest(uriPath, 'GET', {}, {}, {}, (result, error) => {
|
|
943
|
+
// if we received an error or their is no response on the results return an error
|
|
944
|
+
if (error) {
|
|
945
|
+
return callback(null, error);
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
// return the result
|
|
949
|
+
const newResponse = {
|
|
950
|
+
response: JSON.stringify(result.response, null, 2)
|
|
951
|
+
};
|
|
952
|
+
return callback(newResponse);
|
|
953
|
+
});
|
|
954
|
+
});
|
|
955
|
+
} catch (ex) {
|
|
956
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Caught Exception', null, null, null, ex);
|
|
957
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
958
|
+
return callback(null, errorObj);
|
|
211
959
|
}
|
|
212
960
|
}
|
|
213
961
|
|
|
214
962
|
/**
|
|
215
|
-
* @summary
|
|
963
|
+
* @summary Gets the device count from the system
|
|
216
964
|
*
|
|
217
|
-
* @function
|
|
965
|
+
* @function getCount
|
|
218
966
|
*
|
|
967
|
+
* @param {getCallback} callback - callback function to return the result
|
|
968
|
+
* (count) or the error
|
|
219
969
|
*/
|
|
220
|
-
|
|
221
|
-
const
|
|
970
|
+
getCount(callback) {
|
|
971
|
+
const meth = 'adapter-getCount';
|
|
972
|
+
const origin = `${this.id}-${meth}`;
|
|
222
973
|
log.trace(origin);
|
|
223
974
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
975
|
+
// verify the required fields have been provided
|
|
976
|
+
|
|
977
|
+
try {
|
|
978
|
+
// !! using Generic makes it easier on the Adapter Builder (just need to change the path)
|
|
979
|
+
// !! you can also replace with a specific call if that is easier
|
|
980
|
+
const uriPath = '/call/toget/count';
|
|
981
|
+
return this.genericAdapterRequest(uriPath, 'GET', {}, {}, {}, (result, error) => {
|
|
982
|
+
// if we received an error or their is no response on the results return an error
|
|
983
|
+
if (error) {
|
|
984
|
+
return callback(null, error);
|
|
229
985
|
}
|
|
986
|
+
|
|
987
|
+
// return the result
|
|
988
|
+
return callback({ count: result.response });
|
|
230
989
|
});
|
|
990
|
+
} catch (ex) {
|
|
991
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Caught Exception', null, null, null, ex);
|
|
992
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
993
|
+
return callback(null, errorObj);
|
|
231
994
|
}
|
|
232
995
|
}
|
|
233
996
|
|
|
997
|
+
/**
|
|
998
|
+
* @callback healthCallback
|
|
999
|
+
* @param {Object} result - the result of the get request (contains an id and a status)
|
|
1000
|
+
*/
|
|
1001
|
+
/**
|
|
1002
|
+
* @callback getCallback
|
|
1003
|
+
* @param {Object} result - the result of the get request (entity/ies)
|
|
1004
|
+
* @param {String} error - any error that occurred
|
|
1005
|
+
*/
|
|
1006
|
+
/**
|
|
1007
|
+
* @callback createCallback
|
|
1008
|
+
* @param {Object} item - the newly created entity
|
|
1009
|
+
* @param {String} error - any error that occurred
|
|
1010
|
+
*/
|
|
1011
|
+
/**
|
|
1012
|
+
* @callback updateCallback
|
|
1013
|
+
* @param {String} status - the status of the update action
|
|
1014
|
+
* @param {String} error - any error that occurred
|
|
1015
|
+
*/
|
|
1016
|
+
/**
|
|
1017
|
+
* @callback deleteCallback
|
|
1018
|
+
* @param {String} status - the status of the delete action
|
|
1019
|
+
* @param {String} error - any error that occurred
|
|
1020
|
+
*/
|
|
1021
|
+
|
|
234
1022
|
/**
|
|
235
1023
|
* @summary login
|
|
236
1024
|
*
|
|
@@ -244,6 +1032,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
244
1032
|
const origin = `${this.id}-${meth}`;
|
|
245
1033
|
log.trace(origin);
|
|
246
1034
|
|
|
1035
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1036
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1037
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1038
|
+
return callback(null, errorObj);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
247
1041
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
248
1042
|
if (body === undefined || body === null || body === '') {
|
|
249
1043
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -312,6 +1106,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
312
1106
|
const origin = `${this.id}-${meth}`;
|
|
313
1107
|
log.trace(origin);
|
|
314
1108
|
|
|
1109
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1110
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1111
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1112
|
+
return callback(null, errorObj);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
315
1115
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
316
1116
|
if (body === undefined || body === null || body === '') {
|
|
317
1117
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -397,6 +1197,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
397
1197
|
const origin = `${this.id}-${meth}`;
|
|
398
1198
|
log.trace(origin);
|
|
399
1199
|
|
|
1200
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1201
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1202
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1203
|
+
return callback(null, errorObj);
|
|
1204
|
+
}
|
|
1205
|
+
|
|
400
1206
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
401
1207
|
if (body === undefined || body === null || body === '') {
|
|
402
1208
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -482,6 +1288,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
482
1288
|
const origin = `${this.id}-${meth}`;
|
|
483
1289
|
log.trace(origin);
|
|
484
1290
|
|
|
1291
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1292
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1293
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1294
|
+
return callback(null, errorObj);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
485
1297
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
486
1298
|
if (body === undefined || body === null || body === '') {
|
|
487
1299
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -567,6 +1379,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
567
1379
|
const origin = `${this.id}-${meth}`;
|
|
568
1380
|
log.trace(origin);
|
|
569
1381
|
|
|
1382
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1383
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1384
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1385
|
+
return callback(null, errorObj);
|
|
1386
|
+
}
|
|
1387
|
+
|
|
570
1388
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
571
1389
|
if (body === undefined || body === null || body === '') {
|
|
572
1390
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -652,6 +1470,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
652
1470
|
const origin = `${this.id}-${meth}`;
|
|
653
1471
|
log.trace(origin);
|
|
654
1472
|
|
|
1473
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1474
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1475
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1476
|
+
return callback(null, errorObj);
|
|
1477
|
+
}
|
|
1478
|
+
|
|
655
1479
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
656
1480
|
if (body === undefined || body === null || body === '') {
|
|
657
1481
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -737,6 +1561,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
737
1561
|
const origin = `${this.id}-${meth}`;
|
|
738
1562
|
log.trace(origin);
|
|
739
1563
|
|
|
1564
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1565
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1566
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1567
|
+
return callback(null, errorObj);
|
|
1568
|
+
}
|
|
1569
|
+
|
|
740
1570
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
741
1571
|
if (body === undefined || body === null || body === '') {
|
|
742
1572
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -822,6 +1652,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
822
1652
|
const origin = `${this.id}-${meth}`;
|
|
823
1653
|
log.trace(origin);
|
|
824
1654
|
|
|
1655
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1656
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1657
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1658
|
+
return callback(null, errorObj);
|
|
1659
|
+
}
|
|
1660
|
+
|
|
825
1661
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
826
1662
|
if (body === undefined || body === null || body === '') {
|
|
827
1663
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -907,6 +1743,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
907
1743
|
const origin = `${this.id}-${meth}`;
|
|
908
1744
|
log.trace(origin);
|
|
909
1745
|
|
|
1746
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1747
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1748
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1749
|
+
return callback(null, errorObj);
|
|
1750
|
+
}
|
|
1751
|
+
|
|
910
1752
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
911
1753
|
if (body === undefined || body === null || body === '') {
|
|
912
1754
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -992,6 +1834,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
992
1834
|
const origin = `${this.id}-${meth}`;
|
|
993
1835
|
log.trace(origin);
|
|
994
1836
|
|
|
1837
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1838
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1839
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1840
|
+
return callback(null, errorObj);
|
|
1841
|
+
}
|
|
1842
|
+
|
|
995
1843
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
996
1844
|
if (body === undefined || body === null || body === '') {
|
|
997
1845
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1077,6 +1925,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1077
1925
|
const origin = `${this.id}-${meth}`;
|
|
1078
1926
|
log.trace(origin);
|
|
1079
1927
|
|
|
1928
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
1929
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
1930
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
1931
|
+
return callback(null, errorObj);
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1080
1934
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1081
1935
|
if (body === undefined || body === null || body === '') {
|
|
1082
1936
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1162,6 +2016,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1162
2016
|
const origin = `${this.id}-${meth}`;
|
|
1163
2017
|
log.trace(origin);
|
|
1164
2018
|
|
|
2019
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2020
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2021
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2022
|
+
return callback(null, errorObj);
|
|
2023
|
+
}
|
|
2024
|
+
|
|
1165
2025
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1166
2026
|
if (body === undefined || body === null || body === '') {
|
|
1167
2027
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1247,6 +2107,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1247
2107
|
const origin = `${this.id}-${meth}`;
|
|
1248
2108
|
log.trace(origin);
|
|
1249
2109
|
|
|
2110
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2111
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2112
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2113
|
+
return callback(null, errorObj);
|
|
2114
|
+
}
|
|
2115
|
+
|
|
1250
2116
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1251
2117
|
if (body === undefined || body === null || body === '') {
|
|
1252
2118
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1332,6 +2198,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1332
2198
|
const origin = `${this.id}-${meth}`;
|
|
1333
2199
|
log.trace(origin);
|
|
1334
2200
|
|
|
2201
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2202
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2203
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2204
|
+
return callback(null, errorObj);
|
|
2205
|
+
}
|
|
2206
|
+
|
|
1335
2207
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1336
2208
|
if (body === undefined || body === null || body === '') {
|
|
1337
2209
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1417,6 +2289,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1417
2289
|
const origin = `${this.id}-${meth}`;
|
|
1418
2290
|
log.trace(origin);
|
|
1419
2291
|
|
|
2292
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2293
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2294
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2295
|
+
return callback(null, errorObj);
|
|
2296
|
+
}
|
|
2297
|
+
|
|
1420
2298
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1421
2299
|
if (body === undefined || body === null || body === '') {
|
|
1422
2300
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1502,6 +2380,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1502
2380
|
const origin = `${this.id}-${meth}`;
|
|
1503
2381
|
log.trace(origin);
|
|
1504
2382
|
|
|
2383
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2384
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2385
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2386
|
+
return callback(null, errorObj);
|
|
2387
|
+
}
|
|
2388
|
+
|
|
1505
2389
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1506
2390
|
if (body === undefined || body === null || body === '') {
|
|
1507
2391
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1587,6 +2471,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1587
2471
|
const origin = `${this.id}-${meth}`;
|
|
1588
2472
|
log.trace(origin);
|
|
1589
2473
|
|
|
2474
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2475
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2476
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2477
|
+
return callback(null, errorObj);
|
|
2478
|
+
}
|
|
2479
|
+
|
|
1590
2480
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1591
2481
|
if (body === undefined || body === null || body === '') {
|
|
1592
2482
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1672,6 +2562,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1672
2562
|
const origin = `${this.id}-${meth}`;
|
|
1673
2563
|
log.trace(origin);
|
|
1674
2564
|
|
|
2565
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2566
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2567
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2568
|
+
return callback(null, errorObj);
|
|
2569
|
+
}
|
|
2570
|
+
|
|
1675
2571
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1676
2572
|
if (body === undefined || body === null || body === '') {
|
|
1677
2573
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1757,6 +2653,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1757
2653
|
const origin = `${this.id}-${meth}`;
|
|
1758
2654
|
log.trace(origin);
|
|
1759
2655
|
|
|
2656
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2657
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2658
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2659
|
+
return callback(null, errorObj);
|
|
2660
|
+
}
|
|
2661
|
+
|
|
1760
2662
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1761
2663
|
if (body === undefined || body === null || body === '') {
|
|
1762
2664
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1842,6 +2744,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1842
2744
|
const origin = `${this.id}-${meth}`;
|
|
1843
2745
|
log.trace(origin);
|
|
1844
2746
|
|
|
2747
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2748
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2749
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2750
|
+
return callback(null, errorObj);
|
|
2751
|
+
}
|
|
2752
|
+
|
|
1845
2753
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1846
2754
|
if (body === undefined || body === null || body === '') {
|
|
1847
2755
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -1927,6 +2835,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
1927
2835
|
const origin = `${this.id}-${meth}`;
|
|
1928
2836
|
log.trace(origin);
|
|
1929
2837
|
|
|
2838
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2839
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2840
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2841
|
+
return callback(null, errorObj);
|
|
2842
|
+
}
|
|
2843
|
+
|
|
1930
2844
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
1931
2845
|
if (body === undefined || body === null || body === '') {
|
|
1932
2846
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2012,6 +2926,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2012
2926
|
const origin = `${this.id}-${meth}`;
|
|
2013
2927
|
log.trace(origin);
|
|
2014
2928
|
|
|
2929
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
2930
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
2931
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
2932
|
+
return callback(null, errorObj);
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2015
2935
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2016
2936
|
if (body === undefined || body === null || body === '') {
|
|
2017
2937
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2097,6 +3017,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2097
3017
|
const origin = `${this.id}-${meth}`;
|
|
2098
3018
|
log.trace(origin);
|
|
2099
3019
|
|
|
3020
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3021
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3022
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3023
|
+
return callback(null, errorObj);
|
|
3024
|
+
}
|
|
3025
|
+
|
|
2100
3026
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2101
3027
|
if (body === undefined || body === null || body === '') {
|
|
2102
3028
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2182,6 +3108,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2182
3108
|
const origin = `${this.id}-${meth}`;
|
|
2183
3109
|
log.trace(origin);
|
|
2184
3110
|
|
|
3111
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3112
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3113
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3114
|
+
return callback(null, errorObj);
|
|
3115
|
+
}
|
|
3116
|
+
|
|
2185
3117
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2186
3118
|
if (body === undefined || body === null || body === '') {
|
|
2187
3119
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2267,6 +3199,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2267
3199
|
const origin = `${this.id}-${meth}`;
|
|
2268
3200
|
log.trace(origin);
|
|
2269
3201
|
|
|
3202
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3203
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3204
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3205
|
+
return callback(null, errorObj);
|
|
3206
|
+
}
|
|
3207
|
+
|
|
2270
3208
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2271
3209
|
if (body === undefined || body === null || body === '') {
|
|
2272
3210
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2352,6 +3290,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2352
3290
|
const origin = `${this.id}-${meth}`;
|
|
2353
3291
|
log.trace(origin);
|
|
2354
3292
|
|
|
3293
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3294
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3295
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3296
|
+
return callback(null, errorObj);
|
|
3297
|
+
}
|
|
3298
|
+
|
|
2355
3299
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2356
3300
|
if (body === undefined || body === null || body === '') {
|
|
2357
3301
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2437,6 +3381,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2437
3381
|
const origin = `${this.id}-${meth}`;
|
|
2438
3382
|
log.trace(origin);
|
|
2439
3383
|
|
|
3384
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3385
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3386
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3387
|
+
return callback(null, errorObj);
|
|
3388
|
+
}
|
|
3389
|
+
|
|
2440
3390
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2441
3391
|
if (body === undefined || body === null || body === '') {
|
|
2442
3392
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2522,6 +3472,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2522
3472
|
const origin = `${this.id}-${meth}`;
|
|
2523
3473
|
log.trace(origin);
|
|
2524
3474
|
|
|
3475
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3476
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3477
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3478
|
+
return callback(null, errorObj);
|
|
3479
|
+
}
|
|
3480
|
+
|
|
2525
3481
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2526
3482
|
if (body === undefined || body === null || body === '') {
|
|
2527
3483
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2607,6 +3563,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2607
3563
|
const origin = `${this.id}-${meth}`;
|
|
2608
3564
|
log.trace(origin);
|
|
2609
3565
|
|
|
3566
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3567
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3568
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3569
|
+
return callback(null, errorObj);
|
|
3570
|
+
}
|
|
3571
|
+
|
|
2610
3572
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2611
3573
|
if (body === undefined || body === null || body === '') {
|
|
2612
3574
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2692,6 +3654,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2692
3654
|
const origin = `${this.id}-${meth}`;
|
|
2693
3655
|
log.trace(origin);
|
|
2694
3656
|
|
|
3657
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3658
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3659
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3660
|
+
return callback(null, errorObj);
|
|
3661
|
+
}
|
|
3662
|
+
|
|
2695
3663
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2696
3664
|
if (body === undefined || body === null || body === '') {
|
|
2697
3665
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2777,6 +3745,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2777
3745
|
const origin = `${this.id}-${meth}`;
|
|
2778
3746
|
log.trace(origin);
|
|
2779
3747
|
|
|
3748
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3749
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3750
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3751
|
+
return callback(null, errorObj);
|
|
3752
|
+
}
|
|
3753
|
+
|
|
2780
3754
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2781
3755
|
if (body === undefined || body === null || body === '') {
|
|
2782
3756
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2862,6 +3836,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2862
3836
|
const origin = `${this.id}-${meth}`;
|
|
2863
3837
|
log.trace(origin);
|
|
2864
3838
|
|
|
3839
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3840
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3841
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3842
|
+
return callback(null, errorObj);
|
|
3843
|
+
}
|
|
3844
|
+
|
|
2865
3845
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2866
3846
|
if (body === undefined || body === null || body === '') {
|
|
2867
3847
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -2947,6 +3927,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
2947
3927
|
const origin = `${this.id}-${meth}`;
|
|
2948
3928
|
log.trace(origin);
|
|
2949
3929
|
|
|
3930
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
3931
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
3932
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
3933
|
+
return callback(null, errorObj);
|
|
3934
|
+
}
|
|
3935
|
+
|
|
2950
3936
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
2951
3937
|
if (body === undefined || body === null || body === '') {
|
|
2952
3938
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3032,6 +4018,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3032
4018
|
const origin = `${this.id}-${meth}`;
|
|
3033
4019
|
log.trace(origin);
|
|
3034
4020
|
|
|
4021
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4022
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4023
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4024
|
+
return callback(null, errorObj);
|
|
4025
|
+
}
|
|
4026
|
+
|
|
3035
4027
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3036
4028
|
if (body === undefined || body === null || body === '') {
|
|
3037
4029
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3117,6 +4109,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3117
4109
|
const origin = `${this.id}-${meth}`;
|
|
3118
4110
|
log.trace(origin);
|
|
3119
4111
|
|
|
4112
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4113
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4114
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4115
|
+
return callback(null, errorObj);
|
|
4116
|
+
}
|
|
4117
|
+
|
|
3120
4118
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3121
4119
|
if (body === undefined || body === null || body === '') {
|
|
3122
4120
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3202,6 +4200,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3202
4200
|
const origin = `${this.id}-${meth}`;
|
|
3203
4201
|
log.trace(origin);
|
|
3204
4202
|
|
|
4203
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4204
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4205
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4206
|
+
return callback(null, errorObj);
|
|
4207
|
+
}
|
|
4208
|
+
|
|
3205
4209
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3206
4210
|
if (body === undefined || body === null || body === '') {
|
|
3207
4211
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3287,6 +4291,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3287
4291
|
const origin = `${this.id}-${meth}`;
|
|
3288
4292
|
log.trace(origin);
|
|
3289
4293
|
|
|
4294
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4295
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4296
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4297
|
+
return callback(null, errorObj);
|
|
4298
|
+
}
|
|
4299
|
+
|
|
3290
4300
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3291
4301
|
if (body === undefined || body === null || body === '') {
|
|
3292
4302
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3372,6 +4382,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3372
4382
|
const origin = `${this.id}-${meth}`;
|
|
3373
4383
|
log.trace(origin);
|
|
3374
4384
|
|
|
4385
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4386
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4387
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4388
|
+
return callback(null, errorObj);
|
|
4389
|
+
}
|
|
4390
|
+
|
|
3375
4391
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3376
4392
|
if (body === undefined || body === null || body === '') {
|
|
3377
4393
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3457,6 +4473,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3457
4473
|
const origin = `${this.id}-${meth}`;
|
|
3458
4474
|
log.trace(origin);
|
|
3459
4475
|
|
|
4476
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4477
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4478
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4479
|
+
return callback(null, errorObj);
|
|
4480
|
+
}
|
|
4481
|
+
|
|
3460
4482
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3461
4483
|
if (body === undefined || body === null || body === '') {
|
|
3462
4484
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3542,6 +4564,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3542
4564
|
const origin = `${this.id}-${meth}`;
|
|
3543
4565
|
log.trace(origin);
|
|
3544
4566
|
|
|
4567
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4568
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4569
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4570
|
+
return callback(null, errorObj);
|
|
4571
|
+
}
|
|
4572
|
+
|
|
3545
4573
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3546
4574
|
if (body === undefined || body === null || body === '') {
|
|
3547
4575
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3627,6 +4655,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3627
4655
|
const origin = `${this.id}-${meth}`;
|
|
3628
4656
|
log.trace(origin);
|
|
3629
4657
|
|
|
4658
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4659
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4660
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4661
|
+
return callback(null, errorObj);
|
|
4662
|
+
}
|
|
4663
|
+
|
|
3630
4664
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3631
4665
|
if (body === undefined || body === null || body === '') {
|
|
3632
4666
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3712,6 +4746,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3712
4746
|
const origin = `${this.id}-${meth}`;
|
|
3713
4747
|
log.trace(origin);
|
|
3714
4748
|
|
|
4749
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4750
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4751
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4752
|
+
return callback(null, errorObj);
|
|
4753
|
+
}
|
|
4754
|
+
|
|
3715
4755
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3716
4756
|
if (body === undefined || body === null || body === '') {
|
|
3717
4757
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3797,6 +4837,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3797
4837
|
const origin = `${this.id}-${meth}`;
|
|
3798
4838
|
log.trace(origin);
|
|
3799
4839
|
|
|
4840
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4841
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4842
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4843
|
+
return callback(null, errorObj);
|
|
4844
|
+
}
|
|
4845
|
+
|
|
3800
4846
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3801
4847
|
if (body === undefined || body === null || body === '') {
|
|
3802
4848
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3882,6 +4928,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3882
4928
|
const origin = `${this.id}-${meth}`;
|
|
3883
4929
|
log.trace(origin);
|
|
3884
4930
|
|
|
4931
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
4932
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
4933
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
4934
|
+
return callback(null, errorObj);
|
|
4935
|
+
}
|
|
4936
|
+
|
|
3885
4937
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3886
4938
|
if (body === undefined || body === null || body === '') {
|
|
3887
4939
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -3967,6 +5019,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
3967
5019
|
const origin = `${this.id}-${meth}`;
|
|
3968
5020
|
log.trace(origin);
|
|
3969
5021
|
|
|
5022
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5023
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5024
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5025
|
+
return callback(null, errorObj);
|
|
5026
|
+
}
|
|
5027
|
+
|
|
3970
5028
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
3971
5029
|
if (body === undefined || body === null || body === '') {
|
|
3972
5030
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4052,6 +5110,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4052
5110
|
const origin = `${this.id}-${meth}`;
|
|
4053
5111
|
log.trace(origin);
|
|
4054
5112
|
|
|
5113
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5114
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5115
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5116
|
+
return callback(null, errorObj);
|
|
5117
|
+
}
|
|
5118
|
+
|
|
4055
5119
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4056
5120
|
if (body === undefined || body === null || body === '') {
|
|
4057
5121
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4137,6 +5201,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4137
5201
|
const origin = `${this.id}-${meth}`;
|
|
4138
5202
|
log.trace(origin);
|
|
4139
5203
|
|
|
5204
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5205
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5206
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5207
|
+
return callback(null, errorObj);
|
|
5208
|
+
}
|
|
5209
|
+
|
|
4140
5210
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4141
5211
|
if (body === undefined || body === null || body === '') {
|
|
4142
5212
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4222,6 +5292,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4222
5292
|
const origin = `${this.id}-${meth}`;
|
|
4223
5293
|
log.trace(origin);
|
|
4224
5294
|
|
|
5295
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5296
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5297
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5298
|
+
return callback(null, errorObj);
|
|
5299
|
+
}
|
|
5300
|
+
|
|
4225
5301
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4226
5302
|
if (body === undefined || body === null || body === '') {
|
|
4227
5303
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4307,6 +5383,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4307
5383
|
const origin = `${this.id}-${meth}`;
|
|
4308
5384
|
log.trace(origin);
|
|
4309
5385
|
|
|
5386
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5387
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5388
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5389
|
+
return callback(null, errorObj);
|
|
5390
|
+
}
|
|
5391
|
+
|
|
4310
5392
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4311
5393
|
if (body === undefined || body === null || body === '') {
|
|
4312
5394
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4392,6 +5474,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4392
5474
|
const origin = `${this.id}-${meth}`;
|
|
4393
5475
|
log.trace(origin);
|
|
4394
5476
|
|
|
5477
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5478
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5479
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5480
|
+
return callback(null, errorObj);
|
|
5481
|
+
}
|
|
5482
|
+
|
|
4395
5483
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4396
5484
|
if (body === undefined || body === null || body === '') {
|
|
4397
5485
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4477,6 +5565,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4477
5565
|
const origin = `${this.id}-${meth}`;
|
|
4478
5566
|
log.trace(origin);
|
|
4479
5567
|
|
|
5568
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5569
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5570
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5571
|
+
return callback(null, errorObj);
|
|
5572
|
+
}
|
|
5573
|
+
|
|
4480
5574
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4481
5575
|
if (body === undefined || body === null || body === '') {
|
|
4482
5576
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4562,6 +5656,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4562
5656
|
const origin = `${this.id}-${meth}`;
|
|
4563
5657
|
log.trace(origin);
|
|
4564
5658
|
|
|
5659
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5660
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5661
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5662
|
+
return callback(null, errorObj);
|
|
5663
|
+
}
|
|
5664
|
+
|
|
4565
5665
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4566
5666
|
if (body === undefined || body === null || body === '') {
|
|
4567
5667
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4647,6 +5747,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4647
5747
|
const origin = `${this.id}-${meth}`;
|
|
4648
5748
|
log.trace(origin);
|
|
4649
5749
|
|
|
5750
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5751
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5752
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5753
|
+
return callback(null, errorObj);
|
|
5754
|
+
}
|
|
5755
|
+
|
|
4650
5756
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4651
5757
|
if (body === undefined || body === null || body === '') {
|
|
4652
5758
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4732,6 +5838,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4732
5838
|
const origin = `${this.id}-${meth}`;
|
|
4733
5839
|
log.trace(origin);
|
|
4734
5840
|
|
|
5841
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5842
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5843
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5844
|
+
return callback(null, errorObj);
|
|
5845
|
+
}
|
|
5846
|
+
|
|
4735
5847
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4736
5848
|
if (body === undefined || body === null || body === '') {
|
|
4737
5849
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4817,6 +5929,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4817
5929
|
const origin = `${this.id}-${meth}`;
|
|
4818
5930
|
log.trace(origin);
|
|
4819
5931
|
|
|
5932
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
5933
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
5934
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
5935
|
+
return callback(null, errorObj);
|
|
5936
|
+
}
|
|
5937
|
+
|
|
4820
5938
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4821
5939
|
if (body === undefined || body === null || body === '') {
|
|
4822
5940
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4902,6 +6020,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4902
6020
|
const origin = `${this.id}-${meth}`;
|
|
4903
6021
|
log.trace(origin);
|
|
4904
6022
|
|
|
6023
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6024
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6025
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6026
|
+
return callback(null, errorObj);
|
|
6027
|
+
}
|
|
6028
|
+
|
|
4905
6029
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4906
6030
|
if (body === undefined || body === null || body === '') {
|
|
4907
6031
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -4987,6 +6111,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
4987
6111
|
const origin = `${this.id}-${meth}`;
|
|
4988
6112
|
log.trace(origin);
|
|
4989
6113
|
|
|
6114
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6115
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6116
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6117
|
+
return callback(null, errorObj);
|
|
6118
|
+
}
|
|
6119
|
+
|
|
4990
6120
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
4991
6121
|
if (body === undefined || body === null || body === '') {
|
|
4992
6122
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5072,6 +6202,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5072
6202
|
const origin = `${this.id}-${meth}`;
|
|
5073
6203
|
log.trace(origin);
|
|
5074
6204
|
|
|
6205
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6206
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6207
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6208
|
+
return callback(null, errorObj);
|
|
6209
|
+
}
|
|
6210
|
+
|
|
5075
6211
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5076
6212
|
if (body === undefined || body === null || body === '') {
|
|
5077
6213
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5157,6 +6293,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5157
6293
|
const origin = `${this.id}-${meth}`;
|
|
5158
6294
|
log.trace(origin);
|
|
5159
6295
|
|
|
6296
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6297
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6298
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6299
|
+
return callback(null, errorObj);
|
|
6300
|
+
}
|
|
6301
|
+
|
|
5160
6302
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5161
6303
|
if (body === undefined || body === null || body === '') {
|
|
5162
6304
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5242,6 +6384,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5242
6384
|
const origin = `${this.id}-${meth}`;
|
|
5243
6385
|
log.trace(origin);
|
|
5244
6386
|
|
|
6387
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6388
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6389
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6390
|
+
return callback(null, errorObj);
|
|
6391
|
+
}
|
|
6392
|
+
|
|
5245
6393
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5246
6394
|
if (body === undefined || body === null || body === '') {
|
|
5247
6395
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5327,6 +6475,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5327
6475
|
const origin = `${this.id}-${meth}`;
|
|
5328
6476
|
log.trace(origin);
|
|
5329
6477
|
|
|
6478
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6479
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6480
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6481
|
+
return callback(null, errorObj);
|
|
6482
|
+
}
|
|
6483
|
+
|
|
5330
6484
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5331
6485
|
if (body === undefined || body === null || body === '') {
|
|
5332
6486
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5412,6 +6566,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5412
6566
|
const origin = `${this.id}-${meth}`;
|
|
5413
6567
|
log.trace(origin);
|
|
5414
6568
|
|
|
6569
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6570
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6571
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6572
|
+
return callback(null, errorObj);
|
|
6573
|
+
}
|
|
6574
|
+
|
|
5415
6575
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5416
6576
|
if (body === undefined || body === null || body === '') {
|
|
5417
6577
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5497,6 +6657,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5497
6657
|
const origin = `${this.id}-${meth}`;
|
|
5498
6658
|
log.trace(origin);
|
|
5499
6659
|
|
|
6660
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6661
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6662
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6663
|
+
return callback(null, errorObj);
|
|
6664
|
+
}
|
|
6665
|
+
|
|
5500
6666
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5501
6667
|
if (body === undefined || body === null || body === '') {
|
|
5502
6668
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5582,6 +6748,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5582
6748
|
const origin = `${this.id}-${meth}`;
|
|
5583
6749
|
log.trace(origin);
|
|
5584
6750
|
|
|
6751
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6752
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6753
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6754
|
+
return callback(null, errorObj);
|
|
6755
|
+
}
|
|
6756
|
+
|
|
5585
6757
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5586
6758
|
if (body === undefined || body === null || body === '') {
|
|
5587
6759
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5667,6 +6839,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5667
6839
|
const origin = `${this.id}-${meth}`;
|
|
5668
6840
|
log.trace(origin);
|
|
5669
6841
|
|
|
6842
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6843
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6844
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6845
|
+
return callback(null, errorObj);
|
|
6846
|
+
}
|
|
6847
|
+
|
|
5670
6848
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5671
6849
|
if (body === undefined || body === null || body === '') {
|
|
5672
6850
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5752,6 +6930,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5752
6930
|
const origin = `${this.id}-${meth}`;
|
|
5753
6931
|
log.trace(origin);
|
|
5754
6932
|
|
|
6933
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
6934
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
6935
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
6936
|
+
return callback(null, errorObj);
|
|
6937
|
+
}
|
|
6938
|
+
|
|
5755
6939
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5756
6940
|
if (body === undefined || body === null || body === '') {
|
|
5757
6941
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5837,6 +7021,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5837
7021
|
const origin = `${this.id}-${meth}`;
|
|
5838
7022
|
log.trace(origin);
|
|
5839
7023
|
|
|
7024
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7025
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7026
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7027
|
+
return callback(null, errorObj);
|
|
7028
|
+
}
|
|
7029
|
+
|
|
5840
7030
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5841
7031
|
if (body === undefined || body === null || body === '') {
|
|
5842
7032
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -5922,6 +7112,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
5922
7112
|
const origin = `${this.id}-${meth}`;
|
|
5923
7113
|
log.trace(origin);
|
|
5924
7114
|
|
|
7115
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7116
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7117
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7118
|
+
return callback(null, errorObj);
|
|
7119
|
+
}
|
|
7120
|
+
|
|
5925
7121
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
5926
7122
|
if (body === undefined || body === null || body === '') {
|
|
5927
7123
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6007,6 +7203,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6007
7203
|
const origin = `${this.id}-${meth}`;
|
|
6008
7204
|
log.trace(origin);
|
|
6009
7205
|
|
|
7206
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7207
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7208
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7209
|
+
return callback(null, errorObj);
|
|
7210
|
+
}
|
|
7211
|
+
|
|
6010
7212
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6011
7213
|
if (body === undefined || body === null || body === '') {
|
|
6012
7214
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6092,6 +7294,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6092
7294
|
const origin = `${this.id}-${meth}`;
|
|
6093
7295
|
log.trace(origin);
|
|
6094
7296
|
|
|
7297
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7298
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7299
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7300
|
+
return callback(null, errorObj);
|
|
7301
|
+
}
|
|
7302
|
+
|
|
6095
7303
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6096
7304
|
if (body === undefined || body === null || body === '') {
|
|
6097
7305
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6177,6 +7385,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6177
7385
|
const origin = `${this.id}-${meth}`;
|
|
6178
7386
|
log.trace(origin);
|
|
6179
7387
|
|
|
7388
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7389
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7390
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7391
|
+
return callback(null, errorObj);
|
|
7392
|
+
}
|
|
7393
|
+
|
|
6180
7394
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6181
7395
|
if (body === undefined || body === null || body === '') {
|
|
6182
7396
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6262,6 +7476,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6262
7476
|
const origin = `${this.id}-${meth}`;
|
|
6263
7477
|
log.trace(origin);
|
|
6264
7478
|
|
|
7479
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7480
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7481
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7482
|
+
return callback(null, errorObj);
|
|
7483
|
+
}
|
|
7484
|
+
|
|
6265
7485
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6266
7486
|
if (body === undefined || body === null || body === '') {
|
|
6267
7487
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6347,6 +7567,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6347
7567
|
const origin = `${this.id}-${meth}`;
|
|
6348
7568
|
log.trace(origin);
|
|
6349
7569
|
|
|
7570
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7571
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7572
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7573
|
+
return callback(null, errorObj);
|
|
7574
|
+
}
|
|
7575
|
+
|
|
6350
7576
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6351
7577
|
if (body === undefined || body === null || body === '') {
|
|
6352
7578
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6432,6 +7658,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6432
7658
|
const origin = `${this.id}-${meth}`;
|
|
6433
7659
|
log.trace(origin);
|
|
6434
7660
|
|
|
7661
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7662
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7663
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7664
|
+
return callback(null, errorObj);
|
|
7665
|
+
}
|
|
7666
|
+
|
|
6435
7667
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6436
7668
|
if (body === undefined || body === null || body === '') {
|
|
6437
7669
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6517,6 +7749,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6517
7749
|
const origin = `${this.id}-${meth}`;
|
|
6518
7750
|
log.trace(origin);
|
|
6519
7751
|
|
|
7752
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7753
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7754
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7755
|
+
return callback(null, errorObj);
|
|
7756
|
+
}
|
|
7757
|
+
|
|
6520
7758
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6521
7759
|
if (body === undefined || body === null || body === '') {
|
|
6522
7760
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6602,6 +7840,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6602
7840
|
const origin = `${this.id}-${meth}`;
|
|
6603
7841
|
log.trace(origin);
|
|
6604
7842
|
|
|
7843
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7844
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7845
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7846
|
+
return callback(null, errorObj);
|
|
7847
|
+
}
|
|
7848
|
+
|
|
6605
7849
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6606
7850
|
if (body === undefined || body === null || body === '') {
|
|
6607
7851
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6687,6 +7931,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6687
7931
|
const origin = `${this.id}-${meth}`;
|
|
6688
7932
|
log.trace(origin);
|
|
6689
7933
|
|
|
7934
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
7935
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
7936
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
7937
|
+
return callback(null, errorObj);
|
|
7938
|
+
}
|
|
7939
|
+
|
|
6690
7940
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6691
7941
|
if (body === undefined || body === null || body === '') {
|
|
6692
7942
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6772,6 +8022,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6772
8022
|
const origin = `${this.id}-${meth}`;
|
|
6773
8023
|
log.trace(origin);
|
|
6774
8024
|
|
|
8025
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8026
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8027
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8028
|
+
return callback(null, errorObj);
|
|
8029
|
+
}
|
|
8030
|
+
|
|
6775
8031
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6776
8032
|
if (body === undefined || body === null || body === '') {
|
|
6777
8033
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6857,6 +8113,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6857
8113
|
const origin = `${this.id}-${meth}`;
|
|
6858
8114
|
log.trace(origin);
|
|
6859
8115
|
|
|
8116
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8117
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8118
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8119
|
+
return callback(null, errorObj);
|
|
8120
|
+
}
|
|
8121
|
+
|
|
6860
8122
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6861
8123
|
if (body === undefined || body === null || body === '') {
|
|
6862
8124
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -6942,6 +8204,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
6942
8204
|
const origin = `${this.id}-${meth}`;
|
|
6943
8205
|
log.trace(origin);
|
|
6944
8206
|
|
|
8207
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8208
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8209
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8210
|
+
return callback(null, errorObj);
|
|
8211
|
+
}
|
|
8212
|
+
|
|
6945
8213
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
6946
8214
|
if (body === undefined || body === null || body === '') {
|
|
6947
8215
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7027,6 +8295,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7027
8295
|
const origin = `${this.id}-${meth}`;
|
|
7028
8296
|
log.trace(origin);
|
|
7029
8297
|
|
|
8298
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8299
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8300
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8301
|
+
return callback(null, errorObj);
|
|
8302
|
+
}
|
|
8303
|
+
|
|
7030
8304
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7031
8305
|
if (body === undefined || body === null || body === '') {
|
|
7032
8306
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7112,6 +8386,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7112
8386
|
const origin = `${this.id}-${meth}`;
|
|
7113
8387
|
log.trace(origin);
|
|
7114
8388
|
|
|
8389
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8390
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8391
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8392
|
+
return callback(null, errorObj);
|
|
8393
|
+
}
|
|
8394
|
+
|
|
7115
8395
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7116
8396
|
if (body === undefined || body === null || body === '') {
|
|
7117
8397
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7197,6 +8477,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7197
8477
|
const origin = `${this.id}-${meth}`;
|
|
7198
8478
|
log.trace(origin);
|
|
7199
8479
|
|
|
8480
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8481
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8482
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8483
|
+
return callback(null, errorObj);
|
|
8484
|
+
}
|
|
8485
|
+
|
|
7200
8486
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7201
8487
|
if (body === undefined || body === null || body === '') {
|
|
7202
8488
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7282,6 +8568,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7282
8568
|
const origin = `${this.id}-${meth}`;
|
|
7283
8569
|
log.trace(origin);
|
|
7284
8570
|
|
|
8571
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8572
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8573
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8574
|
+
return callback(null, errorObj);
|
|
8575
|
+
}
|
|
8576
|
+
|
|
7285
8577
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7286
8578
|
if (body === undefined || body === null || body === '') {
|
|
7287
8579
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7367,6 +8659,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7367
8659
|
const origin = `${this.id}-${meth}`;
|
|
7368
8660
|
log.trace(origin);
|
|
7369
8661
|
|
|
8662
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8663
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8664
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8665
|
+
return callback(null, errorObj);
|
|
8666
|
+
}
|
|
8667
|
+
|
|
7370
8668
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7371
8669
|
if (body === undefined || body === null || body === '') {
|
|
7372
8670
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7452,6 +8750,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7452
8750
|
const origin = `${this.id}-${meth}`;
|
|
7453
8751
|
log.trace(origin);
|
|
7454
8752
|
|
|
8753
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8754
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8755
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8756
|
+
return callback(null, errorObj);
|
|
8757
|
+
}
|
|
8758
|
+
|
|
7455
8759
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7456
8760
|
if (body === undefined || body === null || body === '') {
|
|
7457
8761
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7537,6 +8841,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7537
8841
|
const origin = `${this.id}-${meth}`;
|
|
7538
8842
|
log.trace(origin);
|
|
7539
8843
|
|
|
8844
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8845
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8846
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8847
|
+
return callback(null, errorObj);
|
|
8848
|
+
}
|
|
8849
|
+
|
|
7540
8850
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7541
8851
|
if (body === undefined || body === null || body === '') {
|
|
7542
8852
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7622,6 +8932,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7622
8932
|
const origin = `${this.id}-${meth}`;
|
|
7623
8933
|
log.trace(origin);
|
|
7624
8934
|
|
|
8935
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
8936
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
8937
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
8938
|
+
return callback(null, errorObj);
|
|
8939
|
+
}
|
|
8940
|
+
|
|
7625
8941
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7626
8942
|
if (body === undefined || body === null || body === '') {
|
|
7627
8943
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7707,6 +9023,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7707
9023
|
const origin = `${this.id}-${meth}`;
|
|
7708
9024
|
log.trace(origin);
|
|
7709
9025
|
|
|
9026
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9027
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9028
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9029
|
+
return callback(null, errorObj);
|
|
9030
|
+
}
|
|
9031
|
+
|
|
7710
9032
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7711
9033
|
if (body === undefined || body === null || body === '') {
|
|
7712
9034
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7792,6 +9114,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7792
9114
|
const origin = `${this.id}-${meth}`;
|
|
7793
9115
|
log.trace(origin);
|
|
7794
9116
|
|
|
9117
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9118
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9119
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9120
|
+
return callback(null, errorObj);
|
|
9121
|
+
}
|
|
9122
|
+
|
|
7795
9123
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7796
9124
|
if (body === undefined || body === null || body === '') {
|
|
7797
9125
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7877,6 +9205,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7877
9205
|
const origin = `${this.id}-${meth}`;
|
|
7878
9206
|
log.trace(origin);
|
|
7879
9207
|
|
|
9208
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9209
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9210
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9211
|
+
return callback(null, errorObj);
|
|
9212
|
+
}
|
|
9213
|
+
|
|
7880
9214
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7881
9215
|
if (body === undefined || body === null || body === '') {
|
|
7882
9216
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -7962,6 +9296,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
7962
9296
|
const origin = `${this.id}-${meth}`;
|
|
7963
9297
|
log.trace(origin);
|
|
7964
9298
|
|
|
9299
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9300
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9301
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9302
|
+
return callback(null, errorObj);
|
|
9303
|
+
}
|
|
9304
|
+
|
|
7965
9305
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
7966
9306
|
if (body === undefined || body === null || body === '') {
|
|
7967
9307
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8047,6 +9387,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8047
9387
|
const origin = `${this.id}-${meth}`;
|
|
8048
9388
|
log.trace(origin);
|
|
8049
9389
|
|
|
9390
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9391
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9392
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9393
|
+
return callback(null, errorObj);
|
|
9394
|
+
}
|
|
9395
|
+
|
|
8050
9396
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8051
9397
|
if (body === undefined || body === null || body === '') {
|
|
8052
9398
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8132,6 +9478,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8132
9478
|
const origin = `${this.id}-${meth}`;
|
|
8133
9479
|
log.trace(origin);
|
|
8134
9480
|
|
|
9481
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9482
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9483
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9484
|
+
return callback(null, errorObj);
|
|
9485
|
+
}
|
|
9486
|
+
|
|
8135
9487
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8136
9488
|
if (body === undefined || body === null || body === '') {
|
|
8137
9489
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8217,6 +9569,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8217
9569
|
const origin = `${this.id}-${meth}`;
|
|
8218
9570
|
log.trace(origin);
|
|
8219
9571
|
|
|
9572
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9573
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9574
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9575
|
+
return callback(null, errorObj);
|
|
9576
|
+
}
|
|
9577
|
+
|
|
8220
9578
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8221
9579
|
if (body === undefined || body === null || body === '') {
|
|
8222
9580
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8302,6 +9660,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8302
9660
|
const origin = `${this.id}-${meth}`;
|
|
8303
9661
|
log.trace(origin);
|
|
8304
9662
|
|
|
9663
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9664
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9665
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9666
|
+
return callback(null, errorObj);
|
|
9667
|
+
}
|
|
9668
|
+
|
|
8305
9669
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8306
9670
|
if (body === undefined || body === null || body === '') {
|
|
8307
9671
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8387,6 +9751,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8387
9751
|
const origin = `${this.id}-${meth}`;
|
|
8388
9752
|
log.trace(origin);
|
|
8389
9753
|
|
|
9754
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9755
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9756
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9757
|
+
return callback(null, errorObj);
|
|
9758
|
+
}
|
|
9759
|
+
|
|
8390
9760
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8391
9761
|
if (body === undefined || body === null || body === '') {
|
|
8392
9762
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8472,6 +9842,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8472
9842
|
const origin = `${this.id}-${meth}`;
|
|
8473
9843
|
log.trace(origin);
|
|
8474
9844
|
|
|
9845
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9846
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9847
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9848
|
+
return callback(null, errorObj);
|
|
9849
|
+
}
|
|
9850
|
+
|
|
8475
9851
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8476
9852
|
if (body === undefined || body === null || body === '') {
|
|
8477
9853
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8557,6 +9933,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8557
9933
|
const origin = `${this.id}-${meth}`;
|
|
8558
9934
|
log.trace(origin);
|
|
8559
9935
|
|
|
9936
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
9937
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
9938
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
9939
|
+
return callback(null, errorObj);
|
|
9940
|
+
}
|
|
9941
|
+
|
|
8560
9942
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8561
9943
|
if (body === undefined || body === null || body === '') {
|
|
8562
9944
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8642,6 +10024,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8642
10024
|
const origin = `${this.id}-${meth}`;
|
|
8643
10025
|
log.trace(origin);
|
|
8644
10026
|
|
|
10027
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10028
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10029
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10030
|
+
return callback(null, errorObj);
|
|
10031
|
+
}
|
|
10032
|
+
|
|
8645
10033
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8646
10034
|
if (body === undefined || body === null || body === '') {
|
|
8647
10035
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8727,6 +10115,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8727
10115
|
const origin = `${this.id}-${meth}`;
|
|
8728
10116
|
log.trace(origin);
|
|
8729
10117
|
|
|
10118
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10119
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10120
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10121
|
+
return callback(null, errorObj);
|
|
10122
|
+
}
|
|
10123
|
+
|
|
8730
10124
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8731
10125
|
if (body === undefined || body === null || body === '') {
|
|
8732
10126
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8812,6 +10206,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8812
10206
|
const origin = `${this.id}-${meth}`;
|
|
8813
10207
|
log.trace(origin);
|
|
8814
10208
|
|
|
10209
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10210
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10211
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10212
|
+
return callback(null, errorObj);
|
|
10213
|
+
}
|
|
10214
|
+
|
|
8815
10215
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8816
10216
|
if (body === undefined || body === null || body === '') {
|
|
8817
10217
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8897,6 +10297,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8897
10297
|
const origin = `${this.id}-${meth}`;
|
|
8898
10298
|
log.trace(origin);
|
|
8899
10299
|
|
|
10300
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10301
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10302
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10303
|
+
return callback(null, errorObj);
|
|
10304
|
+
}
|
|
10305
|
+
|
|
8900
10306
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8901
10307
|
if (body === undefined || body === null || body === '') {
|
|
8902
10308
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -8982,6 +10388,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
8982
10388
|
const origin = `${this.id}-${meth}`;
|
|
8983
10389
|
log.trace(origin);
|
|
8984
10390
|
|
|
10391
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10392
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10393
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10394
|
+
return callback(null, errorObj);
|
|
10395
|
+
}
|
|
10396
|
+
|
|
8985
10397
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
8986
10398
|
if (body === undefined || body === null || body === '') {
|
|
8987
10399
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9067,6 +10479,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9067
10479
|
const origin = `${this.id}-${meth}`;
|
|
9068
10480
|
log.trace(origin);
|
|
9069
10481
|
|
|
10482
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10483
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10484
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10485
|
+
return callback(null, errorObj);
|
|
10486
|
+
}
|
|
10487
|
+
|
|
9070
10488
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9071
10489
|
if (body === undefined || body === null || body === '') {
|
|
9072
10490
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9152,6 +10570,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9152
10570
|
const origin = `${this.id}-${meth}`;
|
|
9153
10571
|
log.trace(origin);
|
|
9154
10572
|
|
|
10573
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10574
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10575
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10576
|
+
return callback(null, errorObj);
|
|
10577
|
+
}
|
|
10578
|
+
|
|
9155
10579
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9156
10580
|
if (body === undefined || body === null || body === '') {
|
|
9157
10581
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9237,6 +10661,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9237
10661
|
const origin = `${this.id}-${meth}`;
|
|
9238
10662
|
log.trace(origin);
|
|
9239
10663
|
|
|
10664
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10665
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10666
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10667
|
+
return callback(null, errorObj);
|
|
10668
|
+
}
|
|
10669
|
+
|
|
9240
10670
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9241
10671
|
if (body === undefined || body === null || body === '') {
|
|
9242
10672
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9322,6 +10752,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9322
10752
|
const origin = `${this.id}-${meth}`;
|
|
9323
10753
|
log.trace(origin);
|
|
9324
10754
|
|
|
10755
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10756
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10757
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10758
|
+
return callback(null, errorObj);
|
|
10759
|
+
}
|
|
10760
|
+
|
|
9325
10761
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9326
10762
|
if (body === undefined || body === null || body === '') {
|
|
9327
10763
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9407,6 +10843,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9407
10843
|
const origin = `${this.id}-${meth}`;
|
|
9408
10844
|
log.trace(origin);
|
|
9409
10845
|
|
|
10846
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10847
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10848
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10849
|
+
return callback(null, errorObj);
|
|
10850
|
+
}
|
|
10851
|
+
|
|
9410
10852
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9411
10853
|
if (body === undefined || body === null || body === '') {
|
|
9412
10854
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9492,6 +10934,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9492
10934
|
const origin = `${this.id}-${meth}`;
|
|
9493
10935
|
log.trace(origin);
|
|
9494
10936
|
|
|
10937
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
10938
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
10939
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
10940
|
+
return callback(null, errorObj);
|
|
10941
|
+
}
|
|
10942
|
+
|
|
9495
10943
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9496
10944
|
if (body === undefined || body === null || body === '') {
|
|
9497
10945
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9577,6 +11025,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9577
11025
|
const origin = `${this.id}-${meth}`;
|
|
9578
11026
|
log.trace(origin);
|
|
9579
11027
|
|
|
11028
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11029
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11030
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11031
|
+
return callback(null, errorObj);
|
|
11032
|
+
}
|
|
11033
|
+
|
|
9580
11034
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9581
11035
|
if (body === undefined || body === null || body === '') {
|
|
9582
11036
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9662,6 +11116,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9662
11116
|
const origin = `${this.id}-${meth}`;
|
|
9663
11117
|
log.trace(origin);
|
|
9664
11118
|
|
|
11119
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11120
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11121
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11122
|
+
return callback(null, errorObj);
|
|
11123
|
+
}
|
|
11124
|
+
|
|
9665
11125
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9666
11126
|
if (body === undefined || body === null || body === '') {
|
|
9667
11127
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9747,6 +11207,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9747
11207
|
const origin = `${this.id}-${meth}`;
|
|
9748
11208
|
log.trace(origin);
|
|
9749
11209
|
|
|
11210
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11211
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11212
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11213
|
+
return callback(null, errorObj);
|
|
11214
|
+
}
|
|
11215
|
+
|
|
9750
11216
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9751
11217
|
if (body === undefined || body === null || body === '') {
|
|
9752
11218
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9832,6 +11298,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9832
11298
|
const origin = `${this.id}-${meth}`;
|
|
9833
11299
|
log.trace(origin);
|
|
9834
11300
|
|
|
11301
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11302
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11303
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11304
|
+
return callback(null, errorObj);
|
|
11305
|
+
}
|
|
11306
|
+
|
|
9835
11307
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9836
11308
|
if (body === undefined || body === null || body === '') {
|
|
9837
11309
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -9917,6 +11389,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
9917
11389
|
const origin = `${this.id}-${meth}`;
|
|
9918
11390
|
log.trace(origin);
|
|
9919
11391
|
|
|
11392
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11393
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11394
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11395
|
+
return callback(null, errorObj);
|
|
11396
|
+
}
|
|
11397
|
+
|
|
9920
11398
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
9921
11399
|
if (body === undefined || body === null || body === '') {
|
|
9922
11400
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10002,6 +11480,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10002
11480
|
const origin = `${this.id}-${meth}`;
|
|
10003
11481
|
log.trace(origin);
|
|
10004
11482
|
|
|
11483
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11484
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11485
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11486
|
+
return callback(null, errorObj);
|
|
11487
|
+
}
|
|
11488
|
+
|
|
10005
11489
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10006
11490
|
if (body === undefined || body === null || body === '') {
|
|
10007
11491
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10087,6 +11571,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10087
11571
|
const origin = `${this.id}-${meth}`;
|
|
10088
11572
|
log.trace(origin);
|
|
10089
11573
|
|
|
11574
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11575
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11576
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11577
|
+
return callback(null, errorObj);
|
|
11578
|
+
}
|
|
11579
|
+
|
|
10090
11580
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10091
11581
|
if (body === undefined || body === null || body === '') {
|
|
10092
11582
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10172,6 +11662,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10172
11662
|
const origin = `${this.id}-${meth}`;
|
|
10173
11663
|
log.trace(origin);
|
|
10174
11664
|
|
|
11665
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11666
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11667
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11668
|
+
return callback(null, errorObj);
|
|
11669
|
+
}
|
|
11670
|
+
|
|
10175
11671
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10176
11672
|
if (body === undefined || body === null || body === '') {
|
|
10177
11673
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10257,6 +11753,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10257
11753
|
const origin = `${this.id}-${meth}`;
|
|
10258
11754
|
log.trace(origin);
|
|
10259
11755
|
|
|
11756
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11757
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11758
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11759
|
+
return callback(null, errorObj);
|
|
11760
|
+
}
|
|
11761
|
+
|
|
10260
11762
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10261
11763
|
if (body === undefined || body === null || body === '') {
|
|
10262
11764
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10342,6 +11844,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10342
11844
|
const origin = `${this.id}-${meth}`;
|
|
10343
11845
|
log.trace(origin);
|
|
10344
11846
|
|
|
11847
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11848
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11849
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11850
|
+
return callback(null, errorObj);
|
|
11851
|
+
}
|
|
11852
|
+
|
|
10345
11853
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10346
11854
|
if (body === undefined || body === null || body === '') {
|
|
10347
11855
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10427,6 +11935,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10427
11935
|
const origin = `${this.id}-${meth}`;
|
|
10428
11936
|
log.trace(origin);
|
|
10429
11937
|
|
|
11938
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
11939
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
11940
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
11941
|
+
return callback(null, errorObj);
|
|
11942
|
+
}
|
|
11943
|
+
|
|
10430
11944
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10431
11945
|
if (body === undefined || body === null || body === '') {
|
|
10432
11946
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10512,6 +12026,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10512
12026
|
const origin = `${this.id}-${meth}`;
|
|
10513
12027
|
log.trace(origin);
|
|
10514
12028
|
|
|
12029
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12030
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12031
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12032
|
+
return callback(null, errorObj);
|
|
12033
|
+
}
|
|
12034
|
+
|
|
10515
12035
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10516
12036
|
if (body === undefined || body === null || body === '') {
|
|
10517
12037
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10597,6 +12117,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10597
12117
|
const origin = `${this.id}-${meth}`;
|
|
10598
12118
|
log.trace(origin);
|
|
10599
12119
|
|
|
12120
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12121
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12122
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12123
|
+
return callback(null, errorObj);
|
|
12124
|
+
}
|
|
12125
|
+
|
|
10600
12126
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10601
12127
|
if (body === undefined || body === null || body === '') {
|
|
10602
12128
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10682,6 +12208,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10682
12208
|
const origin = `${this.id}-${meth}`;
|
|
10683
12209
|
log.trace(origin);
|
|
10684
12210
|
|
|
12211
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12212
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12213
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12214
|
+
return callback(null, errorObj);
|
|
12215
|
+
}
|
|
12216
|
+
|
|
10685
12217
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10686
12218
|
if (body === undefined || body === null || body === '') {
|
|
10687
12219
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10767,6 +12299,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10767
12299
|
const origin = `${this.id}-${meth}`;
|
|
10768
12300
|
log.trace(origin);
|
|
10769
12301
|
|
|
12302
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12303
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12304
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12305
|
+
return callback(null, errorObj);
|
|
12306
|
+
}
|
|
12307
|
+
|
|
10770
12308
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10771
12309
|
if (body === undefined || body === null || body === '') {
|
|
10772
12310
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10852,6 +12390,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10852
12390
|
const origin = `${this.id}-${meth}`;
|
|
10853
12391
|
log.trace(origin);
|
|
10854
12392
|
|
|
12393
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12394
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12395
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12396
|
+
return callback(null, errorObj);
|
|
12397
|
+
}
|
|
12398
|
+
|
|
10855
12399
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10856
12400
|
if (body === undefined || body === null || body === '') {
|
|
10857
12401
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -10937,6 +12481,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
10937
12481
|
const origin = `${this.id}-${meth}`;
|
|
10938
12482
|
log.trace(origin);
|
|
10939
12483
|
|
|
12484
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12485
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12486
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12487
|
+
return callback(null, errorObj);
|
|
12488
|
+
}
|
|
12489
|
+
|
|
10940
12490
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
10941
12491
|
if (body === undefined || body === null || body === '') {
|
|
10942
12492
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11022,6 +12572,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11022
12572
|
const origin = `${this.id}-${meth}`;
|
|
11023
12573
|
log.trace(origin);
|
|
11024
12574
|
|
|
12575
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12576
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12577
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12578
|
+
return callback(null, errorObj);
|
|
12579
|
+
}
|
|
12580
|
+
|
|
11025
12581
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11026
12582
|
if (body === undefined || body === null || body === '') {
|
|
11027
12583
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11107,6 +12663,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11107
12663
|
const origin = `${this.id}-${meth}`;
|
|
11108
12664
|
log.trace(origin);
|
|
11109
12665
|
|
|
12666
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12667
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12668
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12669
|
+
return callback(null, errorObj);
|
|
12670
|
+
}
|
|
12671
|
+
|
|
11110
12672
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11111
12673
|
if (body === undefined || body === null || body === '') {
|
|
11112
12674
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11192,6 +12754,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11192
12754
|
const origin = `${this.id}-${meth}`;
|
|
11193
12755
|
log.trace(origin);
|
|
11194
12756
|
|
|
12757
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12758
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12759
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12760
|
+
return callback(null, errorObj);
|
|
12761
|
+
}
|
|
12762
|
+
|
|
11195
12763
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11196
12764
|
if (body === undefined || body === null || body === '') {
|
|
11197
12765
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11277,6 +12845,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11277
12845
|
const origin = `${this.id}-${meth}`;
|
|
11278
12846
|
log.trace(origin);
|
|
11279
12847
|
|
|
12848
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12849
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12850
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12851
|
+
return callback(null, errorObj);
|
|
12852
|
+
}
|
|
12853
|
+
|
|
11280
12854
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11281
12855
|
if (body === undefined || body === null || body === '') {
|
|
11282
12856
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11362,6 +12936,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11362
12936
|
const origin = `${this.id}-${meth}`;
|
|
11363
12937
|
log.trace(origin);
|
|
11364
12938
|
|
|
12939
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
12940
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
12941
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
12942
|
+
return callback(null, errorObj);
|
|
12943
|
+
}
|
|
12944
|
+
|
|
11365
12945
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11366
12946
|
if (body === undefined || body === null || body === '') {
|
|
11367
12947
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11447,6 +13027,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11447
13027
|
const origin = `${this.id}-${meth}`;
|
|
11448
13028
|
log.trace(origin);
|
|
11449
13029
|
|
|
13030
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13031
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13032
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13033
|
+
return callback(null, errorObj);
|
|
13034
|
+
}
|
|
13035
|
+
|
|
11450
13036
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11451
13037
|
if (body === undefined || body === null || body === '') {
|
|
11452
13038
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11532,6 +13118,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11532
13118
|
const origin = `${this.id}-${meth}`;
|
|
11533
13119
|
log.trace(origin);
|
|
11534
13120
|
|
|
13121
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13122
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13123
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13124
|
+
return callback(null, errorObj);
|
|
13125
|
+
}
|
|
13126
|
+
|
|
11535
13127
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11536
13128
|
if (body === undefined || body === null || body === '') {
|
|
11537
13129
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11617,6 +13209,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11617
13209
|
const origin = `${this.id}-${meth}`;
|
|
11618
13210
|
log.trace(origin);
|
|
11619
13211
|
|
|
13212
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13213
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13214
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13215
|
+
return callback(null, errorObj);
|
|
13216
|
+
}
|
|
13217
|
+
|
|
11620
13218
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11621
13219
|
if (body === undefined || body === null || body === '') {
|
|
11622
13220
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11702,6 +13300,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11702
13300
|
const origin = `${this.id}-${meth}`;
|
|
11703
13301
|
log.trace(origin);
|
|
11704
13302
|
|
|
13303
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13304
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13305
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13306
|
+
return callback(null, errorObj);
|
|
13307
|
+
}
|
|
13308
|
+
|
|
11705
13309
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11706
13310
|
if (body === undefined || body === null || body === '') {
|
|
11707
13311
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11787,6 +13391,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11787
13391
|
const origin = `${this.id}-${meth}`;
|
|
11788
13392
|
log.trace(origin);
|
|
11789
13393
|
|
|
13394
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13395
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13396
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13397
|
+
return callback(null, errorObj);
|
|
13398
|
+
}
|
|
13399
|
+
|
|
11790
13400
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11791
13401
|
if (body === undefined || body === null || body === '') {
|
|
11792
13402
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11872,6 +13482,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11872
13482
|
const origin = `${this.id}-${meth}`;
|
|
11873
13483
|
log.trace(origin);
|
|
11874
13484
|
|
|
13485
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13486
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13487
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13488
|
+
return callback(null, errorObj);
|
|
13489
|
+
}
|
|
13490
|
+
|
|
11875
13491
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11876
13492
|
if (body === undefined || body === null || body === '') {
|
|
11877
13493
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -11957,6 +13573,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
11957
13573
|
const origin = `${this.id}-${meth}`;
|
|
11958
13574
|
log.trace(origin);
|
|
11959
13575
|
|
|
13576
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13577
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13578
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13579
|
+
return callback(null, errorObj);
|
|
13580
|
+
}
|
|
13581
|
+
|
|
11960
13582
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
11961
13583
|
if (body === undefined || body === null || body === '') {
|
|
11962
13584
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12042,6 +13664,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12042
13664
|
const origin = `${this.id}-${meth}`;
|
|
12043
13665
|
log.trace(origin);
|
|
12044
13666
|
|
|
13667
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13668
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13669
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13670
|
+
return callback(null, errorObj);
|
|
13671
|
+
}
|
|
13672
|
+
|
|
12045
13673
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12046
13674
|
if (body === undefined || body === null || body === '') {
|
|
12047
13675
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12127,6 +13755,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12127
13755
|
const origin = `${this.id}-${meth}`;
|
|
12128
13756
|
log.trace(origin);
|
|
12129
13757
|
|
|
13758
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13759
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13760
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13761
|
+
return callback(null, errorObj);
|
|
13762
|
+
}
|
|
13763
|
+
|
|
12130
13764
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12131
13765
|
if (body === undefined || body === null || body === '') {
|
|
12132
13766
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12212,6 +13846,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12212
13846
|
const origin = `${this.id}-${meth}`;
|
|
12213
13847
|
log.trace(origin);
|
|
12214
13848
|
|
|
13849
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13850
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13851
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13852
|
+
return callback(null, errorObj);
|
|
13853
|
+
}
|
|
13854
|
+
|
|
12215
13855
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12216
13856
|
if (body === undefined || body === null || body === '') {
|
|
12217
13857
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12297,6 +13937,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12297
13937
|
const origin = `${this.id}-${meth}`;
|
|
12298
13938
|
log.trace(origin);
|
|
12299
13939
|
|
|
13940
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
13941
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
13942
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
13943
|
+
return callback(null, errorObj);
|
|
13944
|
+
}
|
|
13945
|
+
|
|
12300
13946
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12301
13947
|
if (body === undefined || body === null || body === '') {
|
|
12302
13948
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12382,6 +14028,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12382
14028
|
const origin = `${this.id}-${meth}`;
|
|
12383
14029
|
log.trace(origin);
|
|
12384
14030
|
|
|
14031
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14032
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14033
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14034
|
+
return callback(null, errorObj);
|
|
14035
|
+
}
|
|
14036
|
+
|
|
12385
14037
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12386
14038
|
if (body === undefined || body === null || body === '') {
|
|
12387
14039
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12467,6 +14119,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12467
14119
|
const origin = `${this.id}-${meth}`;
|
|
12468
14120
|
log.trace(origin);
|
|
12469
14121
|
|
|
14122
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14123
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14124
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14125
|
+
return callback(null, errorObj);
|
|
14126
|
+
}
|
|
14127
|
+
|
|
12470
14128
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12471
14129
|
if (body === undefined || body === null || body === '') {
|
|
12472
14130
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12552,6 +14210,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12552
14210
|
const origin = `${this.id}-${meth}`;
|
|
12553
14211
|
log.trace(origin);
|
|
12554
14212
|
|
|
14213
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14214
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14215
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14216
|
+
return callback(null, errorObj);
|
|
14217
|
+
}
|
|
14218
|
+
|
|
12555
14219
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12556
14220
|
if (body === undefined || body === null || body === '') {
|
|
12557
14221
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12637,6 +14301,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12637
14301
|
const origin = `${this.id}-${meth}`;
|
|
12638
14302
|
log.trace(origin);
|
|
12639
14303
|
|
|
14304
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14305
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14306
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14307
|
+
return callback(null, errorObj);
|
|
14308
|
+
}
|
|
14309
|
+
|
|
12640
14310
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12641
14311
|
if (body === undefined || body === null || body === '') {
|
|
12642
14312
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12722,6 +14392,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12722
14392
|
const origin = `${this.id}-${meth}`;
|
|
12723
14393
|
log.trace(origin);
|
|
12724
14394
|
|
|
14395
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14396
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14397
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14398
|
+
return callback(null, errorObj);
|
|
14399
|
+
}
|
|
14400
|
+
|
|
12725
14401
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12726
14402
|
if (body === undefined || body === null || body === '') {
|
|
12727
14403
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12807,6 +14483,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12807
14483
|
const origin = `${this.id}-${meth}`;
|
|
12808
14484
|
log.trace(origin);
|
|
12809
14485
|
|
|
14486
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14487
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14488
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14489
|
+
return callback(null, errorObj);
|
|
14490
|
+
}
|
|
14491
|
+
|
|
12810
14492
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12811
14493
|
if (body === undefined || body === null || body === '') {
|
|
12812
14494
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12892,6 +14574,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12892
14574
|
const origin = `${this.id}-${meth}`;
|
|
12893
14575
|
log.trace(origin);
|
|
12894
14576
|
|
|
14577
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14578
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14579
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14580
|
+
return callback(null, errorObj);
|
|
14581
|
+
}
|
|
14582
|
+
|
|
12895
14583
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12896
14584
|
if (body === undefined || body === null || body === '') {
|
|
12897
14585
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -12977,6 +14665,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
12977
14665
|
const origin = `${this.id}-${meth}`;
|
|
12978
14666
|
log.trace(origin);
|
|
12979
14667
|
|
|
14668
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14669
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14670
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14671
|
+
return callback(null, errorObj);
|
|
14672
|
+
}
|
|
14673
|
+
|
|
12980
14674
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
12981
14675
|
if (body === undefined || body === null || body === '') {
|
|
12982
14676
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13062,6 +14756,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13062
14756
|
const origin = `${this.id}-${meth}`;
|
|
13063
14757
|
log.trace(origin);
|
|
13064
14758
|
|
|
14759
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14760
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14761
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14762
|
+
return callback(null, errorObj);
|
|
14763
|
+
}
|
|
14764
|
+
|
|
13065
14765
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13066
14766
|
if (body === undefined || body === null || body === '') {
|
|
13067
14767
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13147,6 +14847,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13147
14847
|
const origin = `${this.id}-${meth}`;
|
|
13148
14848
|
log.trace(origin);
|
|
13149
14849
|
|
|
14850
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14851
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14852
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14853
|
+
return callback(null, errorObj);
|
|
14854
|
+
}
|
|
14855
|
+
|
|
13150
14856
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13151
14857
|
if (body === undefined || body === null || body === '') {
|
|
13152
14858
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13232,6 +14938,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13232
14938
|
const origin = `${this.id}-${meth}`;
|
|
13233
14939
|
log.trace(origin);
|
|
13234
14940
|
|
|
14941
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
14942
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
14943
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
14944
|
+
return callback(null, errorObj);
|
|
14945
|
+
}
|
|
14946
|
+
|
|
13235
14947
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13236
14948
|
if (body === undefined || body === null || body === '') {
|
|
13237
14949
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13317,6 +15029,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13317
15029
|
const origin = `${this.id}-${meth}`;
|
|
13318
15030
|
log.trace(origin);
|
|
13319
15031
|
|
|
15032
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15033
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15034
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15035
|
+
return callback(null, errorObj);
|
|
15036
|
+
}
|
|
15037
|
+
|
|
13320
15038
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13321
15039
|
if (body === undefined || body === null || body === '') {
|
|
13322
15040
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13402,6 +15120,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13402
15120
|
const origin = `${this.id}-${meth}`;
|
|
13403
15121
|
log.trace(origin);
|
|
13404
15122
|
|
|
15123
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15124
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15125
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15126
|
+
return callback(null, errorObj);
|
|
15127
|
+
}
|
|
15128
|
+
|
|
13405
15129
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13406
15130
|
if (body === undefined || body === null || body === '') {
|
|
13407
15131
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13487,6 +15211,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13487
15211
|
const origin = `${this.id}-${meth}`;
|
|
13488
15212
|
log.trace(origin);
|
|
13489
15213
|
|
|
15214
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15215
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15216
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15217
|
+
return callback(null, errorObj);
|
|
15218
|
+
}
|
|
15219
|
+
|
|
13490
15220
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13491
15221
|
if (body === undefined || body === null || body === '') {
|
|
13492
15222
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13572,6 +15302,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13572
15302
|
const origin = `${this.id}-${meth}`;
|
|
13573
15303
|
log.trace(origin);
|
|
13574
15304
|
|
|
15305
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15306
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15307
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15308
|
+
return callback(null, errorObj);
|
|
15309
|
+
}
|
|
15310
|
+
|
|
13575
15311
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13576
15312
|
if (body === undefined || body === null || body === '') {
|
|
13577
15313
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13657,6 +15393,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13657
15393
|
const origin = `${this.id}-${meth}`;
|
|
13658
15394
|
log.trace(origin);
|
|
13659
15395
|
|
|
15396
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15397
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15398
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15399
|
+
return callback(null, errorObj);
|
|
15400
|
+
}
|
|
15401
|
+
|
|
13660
15402
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13661
15403
|
if (body === undefined || body === null || body === '') {
|
|
13662
15404
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13742,6 +15484,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13742
15484
|
const origin = `${this.id}-${meth}`;
|
|
13743
15485
|
log.trace(origin);
|
|
13744
15486
|
|
|
15487
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15488
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15489
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15490
|
+
return callback(null, errorObj);
|
|
15491
|
+
}
|
|
15492
|
+
|
|
13745
15493
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13746
15494
|
if (body === undefined || body === null || body === '') {
|
|
13747
15495
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13827,6 +15575,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13827
15575
|
const origin = `${this.id}-${meth}`;
|
|
13828
15576
|
log.trace(origin);
|
|
13829
15577
|
|
|
15578
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15579
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15580
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15581
|
+
return callback(null, errorObj);
|
|
15582
|
+
}
|
|
15583
|
+
|
|
13830
15584
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13831
15585
|
if (body === undefined || body === null || body === '') {
|
|
13832
15586
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13912,6 +15666,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13912
15666
|
const origin = `${this.id}-${meth}`;
|
|
13913
15667
|
log.trace(origin);
|
|
13914
15668
|
|
|
15669
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15670
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15671
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15672
|
+
return callback(null, errorObj);
|
|
15673
|
+
}
|
|
15674
|
+
|
|
13915
15675
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
13916
15676
|
if (body === undefined || body === null || body === '') {
|
|
13917
15677
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -13997,6 +15757,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
13997
15757
|
const origin = `${this.id}-${meth}`;
|
|
13998
15758
|
log.trace(origin);
|
|
13999
15759
|
|
|
15760
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15761
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15762
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15763
|
+
return callback(null, errorObj);
|
|
15764
|
+
}
|
|
15765
|
+
|
|
14000
15766
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14001
15767
|
if (body === undefined || body === null || body === '') {
|
|
14002
15768
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14082,6 +15848,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14082
15848
|
const origin = `${this.id}-${meth}`;
|
|
14083
15849
|
log.trace(origin);
|
|
14084
15850
|
|
|
15851
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15852
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15853
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15854
|
+
return callback(null, errorObj);
|
|
15855
|
+
}
|
|
15856
|
+
|
|
14085
15857
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14086
15858
|
if (body === undefined || body === null || body === '') {
|
|
14087
15859
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14167,6 +15939,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14167
15939
|
const origin = `${this.id}-${meth}`;
|
|
14168
15940
|
log.trace(origin);
|
|
14169
15941
|
|
|
15942
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
15943
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
15944
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
15945
|
+
return callback(null, errorObj);
|
|
15946
|
+
}
|
|
15947
|
+
|
|
14170
15948
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14171
15949
|
if (body === undefined || body === null || body === '') {
|
|
14172
15950
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14252,6 +16030,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14252
16030
|
const origin = `${this.id}-${meth}`;
|
|
14253
16031
|
log.trace(origin);
|
|
14254
16032
|
|
|
16033
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16034
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16035
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16036
|
+
return callback(null, errorObj);
|
|
16037
|
+
}
|
|
16038
|
+
|
|
14255
16039
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14256
16040
|
if (body === undefined || body === null || body === '') {
|
|
14257
16041
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14337,6 +16121,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14337
16121
|
const origin = `${this.id}-${meth}`;
|
|
14338
16122
|
log.trace(origin);
|
|
14339
16123
|
|
|
16124
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16125
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16126
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16127
|
+
return callback(null, errorObj);
|
|
16128
|
+
}
|
|
16129
|
+
|
|
14340
16130
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14341
16131
|
if (body === undefined || body === null || body === '') {
|
|
14342
16132
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14422,6 +16212,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14422
16212
|
const origin = `${this.id}-${meth}`;
|
|
14423
16213
|
log.trace(origin);
|
|
14424
16214
|
|
|
16215
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16216
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16217
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16218
|
+
return callback(null, errorObj);
|
|
16219
|
+
}
|
|
16220
|
+
|
|
14425
16221
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14426
16222
|
if (body === undefined || body === null || body === '') {
|
|
14427
16223
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14507,6 +16303,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14507
16303
|
const origin = `${this.id}-${meth}`;
|
|
14508
16304
|
log.trace(origin);
|
|
14509
16305
|
|
|
16306
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16307
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16308
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16309
|
+
return callback(null, errorObj);
|
|
16310
|
+
}
|
|
16311
|
+
|
|
14510
16312
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14511
16313
|
if (body === undefined || body === null || body === '') {
|
|
14512
16314
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14592,6 +16394,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14592
16394
|
const origin = `${this.id}-${meth}`;
|
|
14593
16395
|
log.trace(origin);
|
|
14594
16396
|
|
|
16397
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16398
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16399
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16400
|
+
return callback(null, errorObj);
|
|
16401
|
+
}
|
|
16402
|
+
|
|
14595
16403
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14596
16404
|
if (body === undefined || body === null || body === '') {
|
|
14597
16405
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14677,6 +16485,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14677
16485
|
const origin = `${this.id}-${meth}`;
|
|
14678
16486
|
log.trace(origin);
|
|
14679
16487
|
|
|
16488
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16489
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16490
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16491
|
+
return callback(null, errorObj);
|
|
16492
|
+
}
|
|
16493
|
+
|
|
14680
16494
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14681
16495
|
if (body === undefined || body === null || body === '') {
|
|
14682
16496
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14762,6 +16576,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14762
16576
|
const origin = `${this.id}-${meth}`;
|
|
14763
16577
|
log.trace(origin);
|
|
14764
16578
|
|
|
16579
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16580
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16581
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16582
|
+
return callback(null, errorObj);
|
|
16583
|
+
}
|
|
16584
|
+
|
|
14765
16585
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14766
16586
|
if (body === undefined || body === null || body === '') {
|
|
14767
16587
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14847,6 +16667,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14847
16667
|
const origin = `${this.id}-${meth}`;
|
|
14848
16668
|
log.trace(origin);
|
|
14849
16669
|
|
|
16670
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16671
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16672
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16673
|
+
return callback(null, errorObj);
|
|
16674
|
+
}
|
|
16675
|
+
|
|
14850
16676
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14851
16677
|
if (body === undefined || body === null || body === '') {
|
|
14852
16678
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -14932,6 +16758,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
14932
16758
|
const origin = `${this.id}-${meth}`;
|
|
14933
16759
|
log.trace(origin);
|
|
14934
16760
|
|
|
16761
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16762
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16763
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16764
|
+
return callback(null, errorObj);
|
|
16765
|
+
}
|
|
16766
|
+
|
|
14935
16767
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
14936
16768
|
if (body === undefined || body === null || body === '') {
|
|
14937
16769
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15017,6 +16849,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15017
16849
|
const origin = `${this.id}-${meth}`;
|
|
15018
16850
|
log.trace(origin);
|
|
15019
16851
|
|
|
16852
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16853
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16854
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16855
|
+
return callback(null, errorObj);
|
|
16856
|
+
}
|
|
16857
|
+
|
|
15020
16858
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15021
16859
|
if (body === undefined || body === null || body === '') {
|
|
15022
16860
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15102,6 +16940,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15102
16940
|
const origin = `${this.id}-${meth}`;
|
|
15103
16941
|
log.trace(origin);
|
|
15104
16942
|
|
|
16943
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
16944
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
16945
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
16946
|
+
return callback(null, errorObj);
|
|
16947
|
+
}
|
|
16948
|
+
|
|
15105
16949
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15106
16950
|
if (body === undefined || body === null || body === '') {
|
|
15107
16951
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15187,6 +17031,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15187
17031
|
const origin = `${this.id}-${meth}`;
|
|
15188
17032
|
log.trace(origin);
|
|
15189
17033
|
|
|
17034
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17035
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17036
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17037
|
+
return callback(null, errorObj);
|
|
17038
|
+
}
|
|
17039
|
+
|
|
15190
17040
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15191
17041
|
if (body === undefined || body === null || body === '') {
|
|
15192
17042
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15272,6 +17122,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15272
17122
|
const origin = `${this.id}-${meth}`;
|
|
15273
17123
|
log.trace(origin);
|
|
15274
17124
|
|
|
17125
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17126
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17127
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17128
|
+
return callback(null, errorObj);
|
|
17129
|
+
}
|
|
17130
|
+
|
|
15275
17131
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15276
17132
|
if (body === undefined || body === null || body === '') {
|
|
15277
17133
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15357,6 +17213,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15357
17213
|
const origin = `${this.id}-${meth}`;
|
|
15358
17214
|
log.trace(origin);
|
|
15359
17215
|
|
|
17216
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17217
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17218
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17219
|
+
return callback(null, errorObj);
|
|
17220
|
+
}
|
|
17221
|
+
|
|
15360
17222
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15361
17223
|
if (body === undefined || body === null || body === '') {
|
|
15362
17224
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15442,6 +17304,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15442
17304
|
const origin = `${this.id}-${meth}`;
|
|
15443
17305
|
log.trace(origin);
|
|
15444
17306
|
|
|
17307
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17308
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17309
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17310
|
+
return callback(null, errorObj);
|
|
17311
|
+
}
|
|
17312
|
+
|
|
15445
17313
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15446
17314
|
if (body === undefined || body === null || body === '') {
|
|
15447
17315
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15527,6 +17395,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15527
17395
|
const origin = `${this.id}-${meth}`;
|
|
15528
17396
|
log.trace(origin);
|
|
15529
17397
|
|
|
17398
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17399
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17400
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17401
|
+
return callback(null, errorObj);
|
|
17402
|
+
}
|
|
17403
|
+
|
|
15530
17404
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15531
17405
|
if (body === undefined || body === null || body === '') {
|
|
15532
17406
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15612,6 +17486,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15612
17486
|
const origin = `${this.id}-${meth}`;
|
|
15613
17487
|
log.trace(origin);
|
|
15614
17488
|
|
|
17489
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17490
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17491
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17492
|
+
return callback(null, errorObj);
|
|
17493
|
+
}
|
|
17494
|
+
|
|
15615
17495
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15616
17496
|
if (body === undefined || body === null || body === '') {
|
|
15617
17497
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15697,6 +17577,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15697
17577
|
const origin = `${this.id}-${meth}`;
|
|
15698
17578
|
log.trace(origin);
|
|
15699
17579
|
|
|
17580
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17581
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17582
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17583
|
+
return callback(null, errorObj);
|
|
17584
|
+
}
|
|
17585
|
+
|
|
15700
17586
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15701
17587
|
if (body === undefined || body === null || body === '') {
|
|
15702
17588
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15782,6 +17668,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15782
17668
|
const origin = `${this.id}-${meth}`;
|
|
15783
17669
|
log.trace(origin);
|
|
15784
17670
|
|
|
17671
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17672
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17673
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17674
|
+
return callback(null, errorObj);
|
|
17675
|
+
}
|
|
17676
|
+
|
|
15785
17677
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15786
17678
|
if (body === undefined || body === null || body === '') {
|
|
15787
17679
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15867,6 +17759,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15867
17759
|
const origin = `${this.id}-${meth}`;
|
|
15868
17760
|
log.trace(origin);
|
|
15869
17761
|
|
|
17762
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17763
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17764
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17765
|
+
return callback(null, errorObj);
|
|
17766
|
+
}
|
|
17767
|
+
|
|
15870
17768
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15871
17769
|
if (body === undefined || body === null || body === '') {
|
|
15872
17770
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -15952,6 +17850,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
15952
17850
|
const origin = `${this.id}-${meth}`;
|
|
15953
17851
|
log.trace(origin);
|
|
15954
17852
|
|
|
17853
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17854
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17855
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17856
|
+
return callback(null, errorObj);
|
|
17857
|
+
}
|
|
17858
|
+
|
|
15955
17859
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
15956
17860
|
if (body === undefined || body === null || body === '') {
|
|
15957
17861
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16037,6 +17941,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16037
17941
|
const origin = `${this.id}-${meth}`;
|
|
16038
17942
|
log.trace(origin);
|
|
16039
17943
|
|
|
17944
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
17945
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
17946
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
17947
|
+
return callback(null, errorObj);
|
|
17948
|
+
}
|
|
17949
|
+
|
|
16040
17950
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16041
17951
|
if (body === undefined || body === null || body === '') {
|
|
16042
17952
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16122,6 +18032,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16122
18032
|
const origin = `${this.id}-${meth}`;
|
|
16123
18033
|
log.trace(origin);
|
|
16124
18034
|
|
|
18035
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18036
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18037
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18038
|
+
return callback(null, errorObj);
|
|
18039
|
+
}
|
|
18040
|
+
|
|
16125
18041
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16126
18042
|
if (body === undefined || body === null || body === '') {
|
|
16127
18043
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16207,6 +18123,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16207
18123
|
const origin = `${this.id}-${meth}`;
|
|
16208
18124
|
log.trace(origin);
|
|
16209
18125
|
|
|
18126
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18127
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18128
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18129
|
+
return callback(null, errorObj);
|
|
18130
|
+
}
|
|
18131
|
+
|
|
16210
18132
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16211
18133
|
if (body === undefined || body === null || body === '') {
|
|
16212
18134
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16292,6 +18214,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16292
18214
|
const origin = `${this.id}-${meth}`;
|
|
16293
18215
|
log.trace(origin);
|
|
16294
18216
|
|
|
18217
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18218
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18219
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18220
|
+
return callback(null, errorObj);
|
|
18221
|
+
}
|
|
18222
|
+
|
|
16295
18223
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16296
18224
|
if (body === undefined || body === null || body === '') {
|
|
16297
18225
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16377,6 +18305,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16377
18305
|
const origin = `${this.id}-${meth}`;
|
|
16378
18306
|
log.trace(origin);
|
|
16379
18307
|
|
|
18308
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18309
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18310
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18311
|
+
return callback(null, errorObj);
|
|
18312
|
+
}
|
|
18313
|
+
|
|
16380
18314
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16381
18315
|
if (body === undefined || body === null || body === '') {
|
|
16382
18316
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16462,6 +18396,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16462
18396
|
const origin = `${this.id}-${meth}`;
|
|
16463
18397
|
log.trace(origin);
|
|
16464
18398
|
|
|
18399
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18400
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18401
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18402
|
+
return callback(null, errorObj);
|
|
18403
|
+
}
|
|
18404
|
+
|
|
16465
18405
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16466
18406
|
if (body === undefined || body === null || body === '') {
|
|
16467
18407
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16547,6 +18487,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16547
18487
|
const origin = `${this.id}-${meth}`;
|
|
16548
18488
|
log.trace(origin);
|
|
16549
18489
|
|
|
18490
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18491
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18492
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18493
|
+
return callback(null, errorObj);
|
|
18494
|
+
}
|
|
18495
|
+
|
|
16550
18496
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16551
18497
|
if (body === undefined || body === null || body === '') {
|
|
16552
18498
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16632,6 +18578,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16632
18578
|
const origin = `${this.id}-${meth}`;
|
|
16633
18579
|
log.trace(origin);
|
|
16634
18580
|
|
|
18581
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18582
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18583
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18584
|
+
return callback(null, errorObj);
|
|
18585
|
+
}
|
|
18586
|
+
|
|
16635
18587
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16636
18588
|
if (body === undefined || body === null || body === '') {
|
|
16637
18589
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16717,6 +18669,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16717
18669
|
const origin = `${this.id}-${meth}`;
|
|
16718
18670
|
log.trace(origin);
|
|
16719
18671
|
|
|
18672
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18673
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18674
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18675
|
+
return callback(null, errorObj);
|
|
18676
|
+
}
|
|
18677
|
+
|
|
16720
18678
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16721
18679
|
if (body === undefined || body === null || body === '') {
|
|
16722
18680
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16802,6 +18760,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16802
18760
|
const origin = `${this.id}-${meth}`;
|
|
16803
18761
|
log.trace(origin);
|
|
16804
18762
|
|
|
18763
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18764
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18765
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18766
|
+
return callback(null, errorObj);
|
|
18767
|
+
}
|
|
18768
|
+
|
|
16805
18769
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16806
18770
|
if (body === undefined || body === null || body === '') {
|
|
16807
18771
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16887,6 +18851,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16887
18851
|
const origin = `${this.id}-${meth}`;
|
|
16888
18852
|
log.trace(origin);
|
|
16889
18853
|
|
|
18854
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18855
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18856
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18857
|
+
return callback(null, errorObj);
|
|
18858
|
+
}
|
|
18859
|
+
|
|
16890
18860
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16891
18861
|
if (body === undefined || body === null || body === '') {
|
|
16892
18862
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -16972,6 +18942,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
16972
18942
|
const origin = `${this.id}-${meth}`;
|
|
16973
18943
|
log.trace(origin);
|
|
16974
18944
|
|
|
18945
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
18946
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
18947
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
18948
|
+
return callback(null, errorObj);
|
|
18949
|
+
}
|
|
18950
|
+
|
|
16975
18951
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
16976
18952
|
if (body === undefined || body === null || body === '') {
|
|
16977
18953
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17057,6 +19033,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17057
19033
|
const origin = `${this.id}-${meth}`;
|
|
17058
19034
|
log.trace(origin);
|
|
17059
19035
|
|
|
19036
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19037
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19038
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19039
|
+
return callback(null, errorObj);
|
|
19040
|
+
}
|
|
19041
|
+
|
|
17060
19042
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17061
19043
|
if (body === undefined || body === null || body === '') {
|
|
17062
19044
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17142,6 +19124,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17142
19124
|
const origin = `${this.id}-${meth}`;
|
|
17143
19125
|
log.trace(origin);
|
|
17144
19126
|
|
|
19127
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19128
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19129
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19130
|
+
return callback(null, errorObj);
|
|
19131
|
+
}
|
|
19132
|
+
|
|
17145
19133
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17146
19134
|
if (body === undefined || body === null || body === '') {
|
|
17147
19135
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17227,6 +19215,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17227
19215
|
const origin = `${this.id}-${meth}`;
|
|
17228
19216
|
log.trace(origin);
|
|
17229
19217
|
|
|
19218
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19219
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19220
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19221
|
+
return callback(null, errorObj);
|
|
19222
|
+
}
|
|
19223
|
+
|
|
17230
19224
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17231
19225
|
if (body === undefined || body === null || body === '') {
|
|
17232
19226
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17312,6 +19306,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17312
19306
|
const origin = `${this.id}-${meth}`;
|
|
17313
19307
|
log.trace(origin);
|
|
17314
19308
|
|
|
19309
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19310
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19311
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19312
|
+
return callback(null, errorObj);
|
|
19313
|
+
}
|
|
19314
|
+
|
|
17315
19315
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17316
19316
|
if (body === undefined || body === null || body === '') {
|
|
17317
19317
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17397,6 +19397,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17397
19397
|
const origin = `${this.id}-${meth}`;
|
|
17398
19398
|
log.trace(origin);
|
|
17399
19399
|
|
|
19400
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19401
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19402
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19403
|
+
return callback(null, errorObj);
|
|
19404
|
+
}
|
|
19405
|
+
|
|
17400
19406
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17401
19407
|
if (body === undefined || body === null || body === '') {
|
|
17402
19408
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17482,6 +19488,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17482
19488
|
const origin = `${this.id}-${meth}`;
|
|
17483
19489
|
log.trace(origin);
|
|
17484
19490
|
|
|
19491
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19492
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19493
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19494
|
+
return callback(null, errorObj);
|
|
19495
|
+
}
|
|
19496
|
+
|
|
17485
19497
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17486
19498
|
if (body === undefined || body === null || body === '') {
|
|
17487
19499
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17567,6 +19579,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17567
19579
|
const origin = `${this.id}-${meth}`;
|
|
17568
19580
|
log.trace(origin);
|
|
17569
19581
|
|
|
19582
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19583
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19584
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19585
|
+
return callback(null, errorObj);
|
|
19586
|
+
}
|
|
19587
|
+
|
|
17570
19588
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17571
19589
|
if (body === undefined || body === null || body === '') {
|
|
17572
19590
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17652,6 +19670,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17652
19670
|
const origin = `${this.id}-${meth}`;
|
|
17653
19671
|
log.trace(origin);
|
|
17654
19672
|
|
|
19673
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19674
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19675
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19676
|
+
return callback(null, errorObj);
|
|
19677
|
+
}
|
|
19678
|
+
|
|
17655
19679
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17656
19680
|
if (body === undefined || body === null || body === '') {
|
|
17657
19681
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17737,6 +19761,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17737
19761
|
const origin = `${this.id}-${meth}`;
|
|
17738
19762
|
log.trace(origin);
|
|
17739
19763
|
|
|
19764
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19765
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19766
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19767
|
+
return callback(null, errorObj);
|
|
19768
|
+
}
|
|
19769
|
+
|
|
17740
19770
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17741
19771
|
if (body === undefined || body === null || body === '') {
|
|
17742
19772
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17822,6 +19852,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17822
19852
|
const origin = `${this.id}-${meth}`;
|
|
17823
19853
|
log.trace(origin);
|
|
17824
19854
|
|
|
19855
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19856
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19857
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19858
|
+
return callback(null, errorObj);
|
|
19859
|
+
}
|
|
19860
|
+
|
|
17825
19861
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17826
19862
|
if (body === undefined || body === null || body === '') {
|
|
17827
19863
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17907,6 +19943,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17907
19943
|
const origin = `${this.id}-${meth}`;
|
|
17908
19944
|
log.trace(origin);
|
|
17909
19945
|
|
|
19946
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
19947
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
19948
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
19949
|
+
return callback(null, errorObj);
|
|
19950
|
+
}
|
|
19951
|
+
|
|
17910
19952
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17911
19953
|
if (body === undefined || body === null || body === '') {
|
|
17912
19954
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -17992,6 +20034,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
17992
20034
|
const origin = `${this.id}-${meth}`;
|
|
17993
20035
|
log.trace(origin);
|
|
17994
20036
|
|
|
20037
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20038
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20039
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20040
|
+
return callback(null, errorObj);
|
|
20041
|
+
}
|
|
20042
|
+
|
|
17995
20043
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
17996
20044
|
if (body === undefined || body === null || body === '') {
|
|
17997
20045
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18077,6 +20125,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18077
20125
|
const origin = `${this.id}-${meth}`;
|
|
18078
20126
|
log.trace(origin);
|
|
18079
20127
|
|
|
20128
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20129
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20130
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20131
|
+
return callback(null, errorObj);
|
|
20132
|
+
}
|
|
20133
|
+
|
|
18080
20134
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18081
20135
|
if (body === undefined || body === null || body === '') {
|
|
18082
20136
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18162,6 +20216,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18162
20216
|
const origin = `${this.id}-${meth}`;
|
|
18163
20217
|
log.trace(origin);
|
|
18164
20218
|
|
|
20219
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20220
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20221
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20222
|
+
return callback(null, errorObj);
|
|
20223
|
+
}
|
|
20224
|
+
|
|
18165
20225
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18166
20226
|
if (body === undefined || body === null || body === '') {
|
|
18167
20227
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18247,6 +20307,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18247
20307
|
const origin = `${this.id}-${meth}`;
|
|
18248
20308
|
log.trace(origin);
|
|
18249
20309
|
|
|
20310
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20311
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20312
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20313
|
+
return callback(null, errorObj);
|
|
20314
|
+
}
|
|
20315
|
+
|
|
18250
20316
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18251
20317
|
if (body === undefined || body === null || body === '') {
|
|
18252
20318
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18332,6 +20398,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18332
20398
|
const origin = `${this.id}-${meth}`;
|
|
18333
20399
|
log.trace(origin);
|
|
18334
20400
|
|
|
20401
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20402
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20403
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20404
|
+
return callback(null, errorObj);
|
|
20405
|
+
}
|
|
20406
|
+
|
|
18335
20407
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18336
20408
|
if (body === undefined || body === null || body === '') {
|
|
18337
20409
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18417,6 +20489,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18417
20489
|
const origin = `${this.id}-${meth}`;
|
|
18418
20490
|
log.trace(origin);
|
|
18419
20491
|
|
|
20492
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20493
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20494
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20495
|
+
return callback(null, errorObj);
|
|
20496
|
+
}
|
|
20497
|
+
|
|
18420
20498
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18421
20499
|
if (body === undefined || body === null || body === '') {
|
|
18422
20500
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18502,6 +20580,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18502
20580
|
const origin = `${this.id}-${meth}`;
|
|
18503
20581
|
log.trace(origin);
|
|
18504
20582
|
|
|
20583
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20584
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20585
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20586
|
+
return callback(null, errorObj);
|
|
20587
|
+
}
|
|
20588
|
+
|
|
18505
20589
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18506
20590
|
if (body === undefined || body === null || body === '') {
|
|
18507
20591
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18587,6 +20671,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18587
20671
|
const origin = `${this.id}-${meth}`;
|
|
18588
20672
|
log.trace(origin);
|
|
18589
20673
|
|
|
20674
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20675
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20676
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20677
|
+
return callback(null, errorObj);
|
|
20678
|
+
}
|
|
20679
|
+
|
|
18590
20680
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18591
20681
|
if (body === undefined || body === null || body === '') {
|
|
18592
20682
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18672,6 +20762,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18672
20762
|
const origin = `${this.id}-${meth}`;
|
|
18673
20763
|
log.trace(origin);
|
|
18674
20764
|
|
|
20765
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20766
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20767
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20768
|
+
return callback(null, errorObj);
|
|
20769
|
+
}
|
|
20770
|
+
|
|
18675
20771
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18676
20772
|
if (body === undefined || body === null || body === '') {
|
|
18677
20773
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18757,6 +20853,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18757
20853
|
const origin = `${this.id}-${meth}`;
|
|
18758
20854
|
log.trace(origin);
|
|
18759
20855
|
|
|
20856
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20857
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20858
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20859
|
+
return callback(null, errorObj);
|
|
20860
|
+
}
|
|
20861
|
+
|
|
18760
20862
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18761
20863
|
if (body === undefined || body === null || body === '') {
|
|
18762
20864
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18842,6 +20944,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18842
20944
|
const origin = `${this.id}-${meth}`;
|
|
18843
20945
|
log.trace(origin);
|
|
18844
20946
|
|
|
20947
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
20948
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
20949
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
20950
|
+
return callback(null, errorObj);
|
|
20951
|
+
}
|
|
20952
|
+
|
|
18845
20953
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18846
20954
|
if (body === undefined || body === null || body === '') {
|
|
18847
20955
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -18927,6 +21035,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
18927
21035
|
const origin = `${this.id}-${meth}`;
|
|
18928
21036
|
log.trace(origin);
|
|
18929
21037
|
|
|
21038
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21039
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21040
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21041
|
+
return callback(null, errorObj);
|
|
21042
|
+
}
|
|
21043
|
+
|
|
18930
21044
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
18931
21045
|
if (body === undefined || body === null || body === '') {
|
|
18932
21046
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19012,6 +21126,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19012
21126
|
const origin = `${this.id}-${meth}`;
|
|
19013
21127
|
log.trace(origin);
|
|
19014
21128
|
|
|
21129
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21130
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21131
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21132
|
+
return callback(null, errorObj);
|
|
21133
|
+
}
|
|
21134
|
+
|
|
19015
21135
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19016
21136
|
if (body === undefined || body === null || body === '') {
|
|
19017
21137
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19097,6 +21217,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19097
21217
|
const origin = `${this.id}-${meth}`;
|
|
19098
21218
|
log.trace(origin);
|
|
19099
21219
|
|
|
21220
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21221
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21222
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21223
|
+
return callback(null, errorObj);
|
|
21224
|
+
}
|
|
21225
|
+
|
|
19100
21226
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19101
21227
|
if (body === undefined || body === null || body === '') {
|
|
19102
21228
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19182,6 +21308,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19182
21308
|
const origin = `${this.id}-${meth}`;
|
|
19183
21309
|
log.trace(origin);
|
|
19184
21310
|
|
|
21311
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21312
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21313
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21314
|
+
return callback(null, errorObj);
|
|
21315
|
+
}
|
|
21316
|
+
|
|
19185
21317
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19186
21318
|
if (body === undefined || body === null || body === '') {
|
|
19187
21319
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19267,6 +21399,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19267
21399
|
const origin = `${this.id}-${meth}`;
|
|
19268
21400
|
log.trace(origin);
|
|
19269
21401
|
|
|
21402
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21403
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21404
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21405
|
+
return callback(null, errorObj);
|
|
21406
|
+
}
|
|
21407
|
+
|
|
19270
21408
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19271
21409
|
if (body === undefined || body === null || body === '') {
|
|
19272
21410
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19352,6 +21490,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19352
21490
|
const origin = `${this.id}-${meth}`;
|
|
19353
21491
|
log.trace(origin);
|
|
19354
21492
|
|
|
21493
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21494
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21495
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21496
|
+
return callback(null, errorObj);
|
|
21497
|
+
}
|
|
21498
|
+
|
|
19355
21499
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19356
21500
|
if (body === undefined || body === null || body === '') {
|
|
19357
21501
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19437,6 +21581,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19437
21581
|
const origin = `${this.id}-${meth}`;
|
|
19438
21582
|
log.trace(origin);
|
|
19439
21583
|
|
|
21584
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21585
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21586
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21587
|
+
return callback(null, errorObj);
|
|
21588
|
+
}
|
|
21589
|
+
|
|
19440
21590
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19441
21591
|
if (body === undefined || body === null || body === '') {
|
|
19442
21592
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19522,6 +21672,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19522
21672
|
const origin = `${this.id}-${meth}`;
|
|
19523
21673
|
log.trace(origin);
|
|
19524
21674
|
|
|
21675
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21676
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21677
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21678
|
+
return callback(null, errorObj);
|
|
21679
|
+
}
|
|
21680
|
+
|
|
19525
21681
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19526
21682
|
if (body === undefined || body === null || body === '') {
|
|
19527
21683
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19607,6 +21763,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19607
21763
|
const origin = `${this.id}-${meth}`;
|
|
19608
21764
|
log.trace(origin);
|
|
19609
21765
|
|
|
21766
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21767
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21768
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21769
|
+
return callback(null, errorObj);
|
|
21770
|
+
}
|
|
21771
|
+
|
|
19610
21772
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19611
21773
|
if (body === undefined || body === null || body === '') {
|
|
19612
21774
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19692,6 +21854,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19692
21854
|
const origin = `${this.id}-${meth}`;
|
|
19693
21855
|
log.trace(origin);
|
|
19694
21856
|
|
|
21857
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21858
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21859
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21860
|
+
return callback(null, errorObj);
|
|
21861
|
+
}
|
|
21862
|
+
|
|
19695
21863
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19696
21864
|
if (body === undefined || body === null || body === '') {
|
|
19697
21865
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19777,6 +21945,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19777
21945
|
const origin = `${this.id}-${meth}`;
|
|
19778
21946
|
log.trace(origin);
|
|
19779
21947
|
|
|
21948
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
21949
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
21950
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
21951
|
+
return callback(null, errorObj);
|
|
21952
|
+
}
|
|
21953
|
+
|
|
19780
21954
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19781
21955
|
if (body === undefined || body === null || body === '') {
|
|
19782
21956
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19862,6 +22036,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19862
22036
|
const origin = `${this.id}-${meth}`;
|
|
19863
22037
|
log.trace(origin);
|
|
19864
22038
|
|
|
22039
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22040
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22041
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22042
|
+
return callback(null, errorObj);
|
|
22043
|
+
}
|
|
22044
|
+
|
|
19865
22045
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19866
22046
|
if (body === undefined || body === null || body === '') {
|
|
19867
22047
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -19947,6 +22127,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
19947
22127
|
const origin = `${this.id}-${meth}`;
|
|
19948
22128
|
log.trace(origin);
|
|
19949
22129
|
|
|
22130
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22131
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22132
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22133
|
+
return callback(null, errorObj);
|
|
22134
|
+
}
|
|
22135
|
+
|
|
19950
22136
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
19951
22137
|
if (body === undefined || body === null || body === '') {
|
|
19952
22138
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20032,6 +22218,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20032
22218
|
const origin = `${this.id}-${meth}`;
|
|
20033
22219
|
log.trace(origin);
|
|
20034
22220
|
|
|
22221
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22222
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22223
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22224
|
+
return callback(null, errorObj);
|
|
22225
|
+
}
|
|
22226
|
+
|
|
20035
22227
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20036
22228
|
if (body === undefined || body === null || body === '') {
|
|
20037
22229
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20117,6 +22309,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20117
22309
|
const origin = `${this.id}-${meth}`;
|
|
20118
22310
|
log.trace(origin);
|
|
20119
22311
|
|
|
22312
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22313
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22314
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22315
|
+
return callback(null, errorObj);
|
|
22316
|
+
}
|
|
22317
|
+
|
|
20120
22318
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20121
22319
|
if (body === undefined || body === null || body === '') {
|
|
20122
22320
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20202,6 +22400,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20202
22400
|
const origin = `${this.id}-${meth}`;
|
|
20203
22401
|
log.trace(origin);
|
|
20204
22402
|
|
|
22403
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22404
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22405
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22406
|
+
return callback(null, errorObj);
|
|
22407
|
+
}
|
|
22408
|
+
|
|
20205
22409
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20206
22410
|
if (body === undefined || body === null || body === '') {
|
|
20207
22411
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20287,6 +22491,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20287
22491
|
const origin = `${this.id}-${meth}`;
|
|
20288
22492
|
log.trace(origin);
|
|
20289
22493
|
|
|
22494
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22495
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22496
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22497
|
+
return callback(null, errorObj);
|
|
22498
|
+
}
|
|
22499
|
+
|
|
20290
22500
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20291
22501
|
if (body === undefined || body === null || body === '') {
|
|
20292
22502
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20372,6 +22582,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20372
22582
|
const origin = `${this.id}-${meth}`;
|
|
20373
22583
|
log.trace(origin);
|
|
20374
22584
|
|
|
22585
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22586
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22587
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22588
|
+
return callback(null, errorObj);
|
|
22589
|
+
}
|
|
22590
|
+
|
|
20375
22591
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20376
22592
|
if (body === undefined || body === null || body === '') {
|
|
20377
22593
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20457,6 +22673,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20457
22673
|
const origin = `${this.id}-${meth}`;
|
|
20458
22674
|
log.trace(origin);
|
|
20459
22675
|
|
|
22676
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22677
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22678
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22679
|
+
return callback(null, errorObj);
|
|
22680
|
+
}
|
|
22681
|
+
|
|
20460
22682
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20461
22683
|
if (body === undefined || body === null || body === '') {
|
|
20462
22684
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20542,6 +22764,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20542
22764
|
const origin = `${this.id}-${meth}`;
|
|
20543
22765
|
log.trace(origin);
|
|
20544
22766
|
|
|
22767
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22768
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22769
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22770
|
+
return callback(null, errorObj);
|
|
22771
|
+
}
|
|
22772
|
+
|
|
20545
22773
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20546
22774
|
if (body === undefined || body === null || body === '') {
|
|
20547
22775
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20627,6 +22855,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20627
22855
|
const origin = `${this.id}-${meth}`;
|
|
20628
22856
|
log.trace(origin);
|
|
20629
22857
|
|
|
22858
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22859
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22860
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22861
|
+
return callback(null, errorObj);
|
|
22862
|
+
}
|
|
22863
|
+
|
|
20630
22864
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20631
22865
|
if (body === undefined || body === null || body === '') {
|
|
20632
22866
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20712,6 +22946,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20712
22946
|
const origin = `${this.id}-${meth}`;
|
|
20713
22947
|
log.trace(origin);
|
|
20714
22948
|
|
|
22949
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
22950
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
22951
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
22952
|
+
return callback(null, errorObj);
|
|
22953
|
+
}
|
|
22954
|
+
|
|
20715
22955
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20716
22956
|
if (body === undefined || body === null || body === '') {
|
|
20717
22957
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20797,6 +23037,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20797
23037
|
const origin = `${this.id}-${meth}`;
|
|
20798
23038
|
log.trace(origin);
|
|
20799
23039
|
|
|
23040
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23041
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23042
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23043
|
+
return callback(null, errorObj);
|
|
23044
|
+
}
|
|
23045
|
+
|
|
20800
23046
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20801
23047
|
if (body === undefined || body === null || body === '') {
|
|
20802
23048
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20882,6 +23128,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20882
23128
|
const origin = `${this.id}-${meth}`;
|
|
20883
23129
|
log.trace(origin);
|
|
20884
23130
|
|
|
23131
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23132
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23133
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23134
|
+
return callback(null, errorObj);
|
|
23135
|
+
}
|
|
23136
|
+
|
|
20885
23137
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20886
23138
|
if (body === undefined || body === null || body === '') {
|
|
20887
23139
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -20967,6 +23219,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
20967
23219
|
const origin = `${this.id}-${meth}`;
|
|
20968
23220
|
log.trace(origin);
|
|
20969
23221
|
|
|
23222
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23223
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23224
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23225
|
+
return callback(null, errorObj);
|
|
23226
|
+
}
|
|
23227
|
+
|
|
20970
23228
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
20971
23229
|
if (body === undefined || body === null || body === '') {
|
|
20972
23230
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21052,6 +23310,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21052
23310
|
const origin = `${this.id}-${meth}`;
|
|
21053
23311
|
log.trace(origin);
|
|
21054
23312
|
|
|
23313
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23314
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23315
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23316
|
+
return callback(null, errorObj);
|
|
23317
|
+
}
|
|
23318
|
+
|
|
21055
23319
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21056
23320
|
if (body === undefined || body === null || body === '') {
|
|
21057
23321
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21137,6 +23401,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21137
23401
|
const origin = `${this.id}-${meth}`;
|
|
21138
23402
|
log.trace(origin);
|
|
21139
23403
|
|
|
23404
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23405
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23406
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23407
|
+
return callback(null, errorObj);
|
|
23408
|
+
}
|
|
23409
|
+
|
|
21140
23410
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21141
23411
|
if (body === undefined || body === null || body === '') {
|
|
21142
23412
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21222,6 +23492,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21222
23492
|
const origin = `${this.id}-${meth}`;
|
|
21223
23493
|
log.trace(origin);
|
|
21224
23494
|
|
|
23495
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23496
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23497
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23498
|
+
return callback(null, errorObj);
|
|
23499
|
+
}
|
|
23500
|
+
|
|
21225
23501
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21226
23502
|
if (body === undefined || body === null || body === '') {
|
|
21227
23503
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21307,6 +23583,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21307
23583
|
const origin = `${this.id}-${meth}`;
|
|
21308
23584
|
log.trace(origin);
|
|
21309
23585
|
|
|
23586
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23587
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23588
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23589
|
+
return callback(null, errorObj);
|
|
23590
|
+
}
|
|
23591
|
+
|
|
21310
23592
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21311
23593
|
if (body === undefined || body === null || body === '') {
|
|
21312
23594
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21392,6 +23674,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21392
23674
|
const origin = `${this.id}-${meth}`;
|
|
21393
23675
|
log.trace(origin);
|
|
21394
23676
|
|
|
23677
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23678
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23679
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23680
|
+
return callback(null, errorObj);
|
|
23681
|
+
}
|
|
23682
|
+
|
|
21395
23683
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21396
23684
|
if (body === undefined || body === null || body === '') {
|
|
21397
23685
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21477,6 +23765,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21477
23765
|
const origin = `${this.id}-${meth}`;
|
|
21478
23766
|
log.trace(origin);
|
|
21479
23767
|
|
|
23768
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23769
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23770
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23771
|
+
return callback(null, errorObj);
|
|
23772
|
+
}
|
|
23773
|
+
|
|
21480
23774
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21481
23775
|
if (body === undefined || body === null || body === '') {
|
|
21482
23776
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21562,6 +23856,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21562
23856
|
const origin = `${this.id}-${meth}`;
|
|
21563
23857
|
log.trace(origin);
|
|
21564
23858
|
|
|
23859
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23860
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23861
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23862
|
+
return callback(null, errorObj);
|
|
23863
|
+
}
|
|
23864
|
+
|
|
21565
23865
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21566
23866
|
if (body === undefined || body === null || body === '') {
|
|
21567
23867
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21647,6 +23947,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21647
23947
|
const origin = `${this.id}-${meth}`;
|
|
21648
23948
|
log.trace(origin);
|
|
21649
23949
|
|
|
23950
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
23951
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
23952
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
23953
|
+
return callback(null, errorObj);
|
|
23954
|
+
}
|
|
23955
|
+
|
|
21650
23956
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21651
23957
|
if (body === undefined || body === null || body === '') {
|
|
21652
23958
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21732,6 +24038,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21732
24038
|
const origin = `${this.id}-${meth}`;
|
|
21733
24039
|
log.trace(origin);
|
|
21734
24040
|
|
|
24041
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24042
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24043
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24044
|
+
return callback(null, errorObj);
|
|
24045
|
+
}
|
|
24046
|
+
|
|
21735
24047
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21736
24048
|
if (body === undefined || body === null || body === '') {
|
|
21737
24049
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21817,6 +24129,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21817
24129
|
const origin = `${this.id}-${meth}`;
|
|
21818
24130
|
log.trace(origin);
|
|
21819
24131
|
|
|
24132
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24133
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24134
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24135
|
+
return callback(null, errorObj);
|
|
24136
|
+
}
|
|
24137
|
+
|
|
21820
24138
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21821
24139
|
if (body === undefined || body === null || body === '') {
|
|
21822
24140
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21902,6 +24220,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21902
24220
|
const origin = `${this.id}-${meth}`;
|
|
21903
24221
|
log.trace(origin);
|
|
21904
24222
|
|
|
24223
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24224
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24225
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24226
|
+
return callback(null, errorObj);
|
|
24227
|
+
}
|
|
24228
|
+
|
|
21905
24229
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21906
24230
|
if (body === undefined || body === null || body === '') {
|
|
21907
24231
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -21987,6 +24311,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
21987
24311
|
const origin = `${this.id}-${meth}`;
|
|
21988
24312
|
log.trace(origin);
|
|
21989
24313
|
|
|
24314
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24315
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24316
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24317
|
+
return callback(null, errorObj);
|
|
24318
|
+
}
|
|
24319
|
+
|
|
21990
24320
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
21991
24321
|
if (body === undefined || body === null || body === '') {
|
|
21992
24322
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22072,6 +24402,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22072
24402
|
const origin = `${this.id}-${meth}`;
|
|
22073
24403
|
log.trace(origin);
|
|
22074
24404
|
|
|
24405
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24406
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24407
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24408
|
+
return callback(null, errorObj);
|
|
24409
|
+
}
|
|
24410
|
+
|
|
22075
24411
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22076
24412
|
if (body === undefined || body === null || body === '') {
|
|
22077
24413
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22157,6 +24493,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22157
24493
|
const origin = `${this.id}-${meth}`;
|
|
22158
24494
|
log.trace(origin);
|
|
22159
24495
|
|
|
24496
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24497
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24498
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24499
|
+
return callback(null, errorObj);
|
|
24500
|
+
}
|
|
24501
|
+
|
|
22160
24502
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22161
24503
|
if (body === undefined || body === null || body === '') {
|
|
22162
24504
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22242,6 +24584,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22242
24584
|
const origin = `${this.id}-${meth}`;
|
|
22243
24585
|
log.trace(origin);
|
|
22244
24586
|
|
|
24587
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24588
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24589
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24590
|
+
return callback(null, errorObj);
|
|
24591
|
+
}
|
|
24592
|
+
|
|
22245
24593
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22246
24594
|
if (body === undefined || body === null || body === '') {
|
|
22247
24595
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22327,6 +24675,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22327
24675
|
const origin = `${this.id}-${meth}`;
|
|
22328
24676
|
log.trace(origin);
|
|
22329
24677
|
|
|
24678
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24679
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24680
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24681
|
+
return callback(null, errorObj);
|
|
24682
|
+
}
|
|
24683
|
+
|
|
22330
24684
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22331
24685
|
if (body === undefined || body === null || body === '') {
|
|
22332
24686
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22412,6 +24766,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22412
24766
|
const origin = `${this.id}-${meth}`;
|
|
22413
24767
|
log.trace(origin);
|
|
22414
24768
|
|
|
24769
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24770
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24771
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24772
|
+
return callback(null, errorObj);
|
|
24773
|
+
}
|
|
24774
|
+
|
|
22415
24775
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22416
24776
|
if (body === undefined || body === null || body === '') {
|
|
22417
24777
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22497,6 +24857,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22497
24857
|
const origin = `${this.id}-${meth}`;
|
|
22498
24858
|
log.trace(origin);
|
|
22499
24859
|
|
|
24860
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24861
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24862
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24863
|
+
return callback(null, errorObj);
|
|
24864
|
+
}
|
|
24865
|
+
|
|
22500
24866
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22501
24867
|
if (body === undefined || body === null || body === '') {
|
|
22502
24868
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22582,6 +24948,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22582
24948
|
const origin = `${this.id}-${meth}`;
|
|
22583
24949
|
log.trace(origin);
|
|
22584
24950
|
|
|
24951
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
24952
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
24953
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
24954
|
+
return callback(null, errorObj);
|
|
24955
|
+
}
|
|
24956
|
+
|
|
22585
24957
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22586
24958
|
if (body === undefined || body === null || body === '') {
|
|
22587
24959
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22667,6 +25039,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22667
25039
|
const origin = `${this.id}-${meth}`;
|
|
22668
25040
|
log.trace(origin);
|
|
22669
25041
|
|
|
25042
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25043
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25044
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25045
|
+
return callback(null, errorObj);
|
|
25046
|
+
}
|
|
25047
|
+
|
|
22670
25048
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22671
25049
|
if (body === undefined || body === null || body === '') {
|
|
22672
25050
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22752,6 +25130,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22752
25130
|
const origin = `${this.id}-${meth}`;
|
|
22753
25131
|
log.trace(origin);
|
|
22754
25132
|
|
|
25133
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25134
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25135
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25136
|
+
return callback(null, errorObj);
|
|
25137
|
+
}
|
|
25138
|
+
|
|
22755
25139
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22756
25140
|
if (body === undefined || body === null || body === '') {
|
|
22757
25141
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22837,6 +25221,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22837
25221
|
const origin = `${this.id}-${meth}`;
|
|
22838
25222
|
log.trace(origin);
|
|
22839
25223
|
|
|
25224
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25225
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25226
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25227
|
+
return callback(null, errorObj);
|
|
25228
|
+
}
|
|
25229
|
+
|
|
22840
25230
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22841
25231
|
if (body === undefined || body === null || body === '') {
|
|
22842
25232
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -22922,6 +25312,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
22922
25312
|
const origin = `${this.id}-${meth}`;
|
|
22923
25313
|
log.trace(origin);
|
|
22924
25314
|
|
|
25315
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25316
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25317
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25318
|
+
return callback(null, errorObj);
|
|
25319
|
+
}
|
|
25320
|
+
|
|
22925
25321
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
22926
25322
|
if (body === undefined || body === null || body === '') {
|
|
22927
25323
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23007,6 +25403,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23007
25403
|
const origin = `${this.id}-${meth}`;
|
|
23008
25404
|
log.trace(origin);
|
|
23009
25405
|
|
|
25406
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25407
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25408
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25409
|
+
return callback(null, errorObj);
|
|
25410
|
+
}
|
|
25411
|
+
|
|
23010
25412
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23011
25413
|
if (body === undefined || body === null || body === '') {
|
|
23012
25414
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23092,6 +25494,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23092
25494
|
const origin = `${this.id}-${meth}`;
|
|
23093
25495
|
log.trace(origin);
|
|
23094
25496
|
|
|
25497
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25498
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25499
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25500
|
+
return callback(null, errorObj);
|
|
25501
|
+
}
|
|
25502
|
+
|
|
23095
25503
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23096
25504
|
if (body === undefined || body === null || body === '') {
|
|
23097
25505
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23177,6 +25585,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23177
25585
|
const origin = `${this.id}-${meth}`;
|
|
23178
25586
|
log.trace(origin);
|
|
23179
25587
|
|
|
25588
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25589
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25590
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25591
|
+
return callback(null, errorObj);
|
|
25592
|
+
}
|
|
25593
|
+
|
|
23180
25594
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23181
25595
|
if (body === undefined || body === null || body === '') {
|
|
23182
25596
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23262,6 +25676,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23262
25676
|
const origin = `${this.id}-${meth}`;
|
|
23263
25677
|
log.trace(origin);
|
|
23264
25678
|
|
|
25679
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25680
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25681
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25682
|
+
return callback(null, errorObj);
|
|
25683
|
+
}
|
|
25684
|
+
|
|
23265
25685
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23266
25686
|
if (body === undefined || body === null || body === '') {
|
|
23267
25687
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23347,6 +25767,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23347
25767
|
const origin = `${this.id}-${meth}`;
|
|
23348
25768
|
log.trace(origin);
|
|
23349
25769
|
|
|
25770
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25771
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25772
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25773
|
+
return callback(null, errorObj);
|
|
25774
|
+
}
|
|
25775
|
+
|
|
23350
25776
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23351
25777
|
if (body === undefined || body === null || body === '') {
|
|
23352
25778
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23432,6 +25858,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23432
25858
|
const origin = `${this.id}-${meth}`;
|
|
23433
25859
|
log.trace(origin);
|
|
23434
25860
|
|
|
25861
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25862
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25863
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25864
|
+
return callback(null, errorObj);
|
|
25865
|
+
}
|
|
25866
|
+
|
|
23435
25867
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23436
25868
|
if (body === undefined || body === null || body === '') {
|
|
23437
25869
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23517,6 +25949,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23517
25949
|
const origin = `${this.id}-${meth}`;
|
|
23518
25950
|
log.trace(origin);
|
|
23519
25951
|
|
|
25952
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
25953
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
25954
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
25955
|
+
return callback(null, errorObj);
|
|
25956
|
+
}
|
|
25957
|
+
|
|
23520
25958
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23521
25959
|
if (body === undefined || body === null || body === '') {
|
|
23522
25960
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23602,6 +26040,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23602
26040
|
const origin = `${this.id}-${meth}`;
|
|
23603
26041
|
log.trace(origin);
|
|
23604
26042
|
|
|
26043
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26044
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26045
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26046
|
+
return callback(null, errorObj);
|
|
26047
|
+
}
|
|
26048
|
+
|
|
23605
26049
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23606
26050
|
if (body === undefined || body === null || body === '') {
|
|
23607
26051
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23687,6 +26131,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23687
26131
|
const origin = `${this.id}-${meth}`;
|
|
23688
26132
|
log.trace(origin);
|
|
23689
26133
|
|
|
26134
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26135
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26136
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26137
|
+
return callback(null, errorObj);
|
|
26138
|
+
}
|
|
26139
|
+
|
|
23690
26140
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23691
26141
|
if (body === undefined || body === null || body === '') {
|
|
23692
26142
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23772,6 +26222,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23772
26222
|
const origin = `${this.id}-${meth}`;
|
|
23773
26223
|
log.trace(origin);
|
|
23774
26224
|
|
|
26225
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26226
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26227
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26228
|
+
return callback(null, errorObj);
|
|
26229
|
+
}
|
|
26230
|
+
|
|
23775
26231
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23776
26232
|
if (body === undefined || body === null || body === '') {
|
|
23777
26233
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23857,6 +26313,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23857
26313
|
const origin = `${this.id}-${meth}`;
|
|
23858
26314
|
log.trace(origin);
|
|
23859
26315
|
|
|
26316
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26317
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26318
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26319
|
+
return callback(null, errorObj);
|
|
26320
|
+
}
|
|
26321
|
+
|
|
23860
26322
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23861
26323
|
if (body === undefined || body === null || body === '') {
|
|
23862
26324
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -23942,6 +26404,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
23942
26404
|
const origin = `${this.id}-${meth}`;
|
|
23943
26405
|
log.trace(origin);
|
|
23944
26406
|
|
|
26407
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26408
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26409
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26410
|
+
return callback(null, errorObj);
|
|
26411
|
+
}
|
|
26412
|
+
|
|
23945
26413
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
23946
26414
|
if (body === undefined || body === null || body === '') {
|
|
23947
26415
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24027,6 +26495,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24027
26495
|
const origin = `${this.id}-${meth}`;
|
|
24028
26496
|
log.trace(origin);
|
|
24029
26497
|
|
|
26498
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26499
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26500
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26501
|
+
return callback(null, errorObj);
|
|
26502
|
+
}
|
|
26503
|
+
|
|
24030
26504
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24031
26505
|
if (body === undefined || body === null || body === '') {
|
|
24032
26506
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24112,6 +26586,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24112
26586
|
const origin = `${this.id}-${meth}`;
|
|
24113
26587
|
log.trace(origin);
|
|
24114
26588
|
|
|
26589
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26590
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26591
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26592
|
+
return callback(null, errorObj);
|
|
26593
|
+
}
|
|
26594
|
+
|
|
24115
26595
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24116
26596
|
if (body === undefined || body === null || body === '') {
|
|
24117
26597
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24197,6 +26677,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24197
26677
|
const origin = `${this.id}-${meth}`;
|
|
24198
26678
|
log.trace(origin);
|
|
24199
26679
|
|
|
26680
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26681
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26682
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26683
|
+
return callback(null, errorObj);
|
|
26684
|
+
}
|
|
26685
|
+
|
|
24200
26686
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24201
26687
|
if (body === undefined || body === null || body === '') {
|
|
24202
26688
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24282,6 +26768,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24282
26768
|
const origin = `${this.id}-${meth}`;
|
|
24283
26769
|
log.trace(origin);
|
|
24284
26770
|
|
|
26771
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26772
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26773
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26774
|
+
return callback(null, errorObj);
|
|
26775
|
+
}
|
|
26776
|
+
|
|
24285
26777
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24286
26778
|
if (body === undefined || body === null || body === '') {
|
|
24287
26779
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24367,6 +26859,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24367
26859
|
const origin = `${this.id}-${meth}`;
|
|
24368
26860
|
log.trace(origin);
|
|
24369
26861
|
|
|
26862
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26863
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26864
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26865
|
+
return callback(null, errorObj);
|
|
26866
|
+
}
|
|
26867
|
+
|
|
24370
26868
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24371
26869
|
if (body === undefined || body === null || body === '') {
|
|
24372
26870
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24452,6 +26950,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24452
26950
|
const origin = `${this.id}-${meth}`;
|
|
24453
26951
|
log.trace(origin);
|
|
24454
26952
|
|
|
26953
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
26954
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
26955
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
26956
|
+
return callback(null, errorObj);
|
|
26957
|
+
}
|
|
26958
|
+
|
|
24455
26959
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24456
26960
|
if (body === undefined || body === null || body === '') {
|
|
24457
26961
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24537,6 +27041,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24537
27041
|
const origin = `${this.id}-${meth}`;
|
|
24538
27042
|
log.trace(origin);
|
|
24539
27043
|
|
|
27044
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27045
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27046
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27047
|
+
return callback(null, errorObj);
|
|
27048
|
+
}
|
|
27049
|
+
|
|
24540
27050
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24541
27051
|
if (body === undefined || body === null || body === '') {
|
|
24542
27052
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24622,6 +27132,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24622
27132
|
const origin = `${this.id}-${meth}`;
|
|
24623
27133
|
log.trace(origin);
|
|
24624
27134
|
|
|
27135
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27136
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27137
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27138
|
+
return callback(null, errorObj);
|
|
27139
|
+
}
|
|
27140
|
+
|
|
24625
27141
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24626
27142
|
if (body === undefined || body === null || body === '') {
|
|
24627
27143
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24707,6 +27223,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24707
27223
|
const origin = `${this.id}-${meth}`;
|
|
24708
27224
|
log.trace(origin);
|
|
24709
27225
|
|
|
27226
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27227
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27228
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27229
|
+
return callback(null, errorObj);
|
|
27230
|
+
}
|
|
27231
|
+
|
|
24710
27232
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24711
27233
|
if (body === undefined || body === null || body === '') {
|
|
24712
27234
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24792,6 +27314,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24792
27314
|
const origin = `${this.id}-${meth}`;
|
|
24793
27315
|
log.trace(origin);
|
|
24794
27316
|
|
|
27317
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27318
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27319
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27320
|
+
return callback(null, errorObj);
|
|
27321
|
+
}
|
|
27322
|
+
|
|
24795
27323
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24796
27324
|
if (body === undefined || body === null || body === '') {
|
|
24797
27325
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24877,6 +27405,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24877
27405
|
const origin = `${this.id}-${meth}`;
|
|
24878
27406
|
log.trace(origin);
|
|
24879
27407
|
|
|
27408
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27409
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27410
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27411
|
+
return callback(null, errorObj);
|
|
27412
|
+
}
|
|
27413
|
+
|
|
24880
27414
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24881
27415
|
if (body === undefined || body === null || body === '') {
|
|
24882
27416
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -24962,6 +27496,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
24962
27496
|
const origin = `${this.id}-${meth}`;
|
|
24963
27497
|
log.trace(origin);
|
|
24964
27498
|
|
|
27499
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27500
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27501
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27502
|
+
return callback(null, errorObj);
|
|
27503
|
+
}
|
|
27504
|
+
|
|
24965
27505
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
24966
27506
|
if (body === undefined || body === null || body === '') {
|
|
24967
27507
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -25047,6 +27587,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
25047
27587
|
const origin = `${this.id}-${meth}`;
|
|
25048
27588
|
log.trace(origin);
|
|
25049
27589
|
|
|
27590
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27591
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27592
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27593
|
+
return callback(null, errorObj);
|
|
27594
|
+
}
|
|
27595
|
+
|
|
25050
27596
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
25051
27597
|
if (body === undefined || body === null || body === '') {
|
|
25052
27598
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -25132,6 +27678,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
25132
27678
|
const origin = `${this.id}-${meth}`;
|
|
25133
27679
|
log.trace(origin);
|
|
25134
27680
|
|
|
27681
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27682
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27683
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27684
|
+
return callback(null, errorObj);
|
|
27685
|
+
}
|
|
27686
|
+
|
|
25135
27687
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
25136
27688
|
if (body === undefined || body === null || body === '') {
|
|
25137
27689
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|
|
@@ -25217,6 +27769,12 @@ class CheckpointManagement extends AdapterBaseCl {
|
|
|
25217
27769
|
const origin = `${this.id}-${meth}`;
|
|
25218
27770
|
log.trace(origin);
|
|
25219
27771
|
|
|
27772
|
+
if (this.suspended && this.suspendMode === 'error') {
|
|
27773
|
+
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'AD.600', [], null, null, null);
|
|
27774
|
+
log.error(`${origin}: ${errorObj.IAPerror.displayString}`);
|
|
27775
|
+
return callback(null, errorObj);
|
|
27776
|
+
}
|
|
27777
|
+
|
|
25220
27778
|
/* HERE IS WHERE YOU VALIDATE DATA */
|
|
25221
27779
|
if (body === undefined || body === null || body === '') {
|
|
25222
27780
|
const errorObj = this.requestHandlerInst.formatErrorObject(this.id, meth, 'Missing Data', ['body'], null, null, null);
|