@nsshunt/ststestrunner 1.0.38 → 1.0.40

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.
@@ -13182,7 +13182,7 @@ class TestCaseFhir01 extends TestCaseFhirBase {
13182
13182
  super(workerInstance, runner);
13183
13183
  __publicField(this, "ExecuteRunner", async () => {
13184
13184
  if (this.runner.iteration % 100 === 0) {
13185
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13185
+ this.Debug(`TestCaseFhir01(): -->> Iteration: ${this.runner.iteration}`);
13186
13186
  }
13187
13187
  const start = performance.now();
13188
13188
  const options = this.runner.options;
@@ -13210,7 +13210,7 @@ class TestCaseFhir02 extends TestCaseFhirBase {
13210
13210
  super(workerInstance, runner);
13211
13211
  __publicField(this, "ExecuteRunner", async () => {
13212
13212
  if (this.runner.iteration % 100 === 0) {
13213
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13213
+ this.Debug(`TestCaseFhir02(): -->> Iteration: ${this.runner.iteration}`);
13214
13214
  }
13215
13215
  const iteration = this.runner.iteration;
13216
13216
  const start = performance.now();
@@ -13248,7 +13248,7 @@ class TestCaseFhir03 extends TestCaseFhirBase {
13248
13248
  super(workerInstance, runner);
13249
13249
  __publicField(this, "ExecuteRunner", async () => {
13250
13250
  if (this.runner.iteration % 100 === 0) {
13251
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13251
+ this.Debug(`TestCaseFhir03(): -->> Iteration: ${this.runner.iteration}`);
13252
13252
  }
13253
13253
  const iteration = this.runner.iteration;
13254
13254
  const start = performance.now();
@@ -13288,7 +13288,7 @@ class TestCaseFhir04 extends TestCaseFhirBase {
13288
13288
  super(workerInstance, runner);
13289
13289
  __publicField(this, "ExecuteRunner", async () => {
13290
13290
  if (this.runner.iteration % 100 === 0) {
13291
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13291
+ this.Debug(`TestCaseFhir04(): -->> Iteration: ${this.runner.iteration}`);
13292
13292
  }
13293
13293
  const iteration = this.runner.iteration;
13294
13294
  const start = performance.now();
@@ -13343,7 +13343,7 @@ class TestCaseFhir05 extends TestCaseFhirBase {
13343
13343
  super(workerInstance, runner);
13344
13344
  __publicField(this, "ExecuteRunner", async () => {
13345
13345
  if (this.runner.iteration % 100 === 0) {
13346
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13346
+ this.Debug(`TestCaseFhir05(): -->> Iteration: ${this.runner.iteration}`);
13347
13347
  }
13348
13348
  const iteration = this.runner.iteration;
13349
13349
  const start = performance.now();
@@ -13420,7 +13420,7 @@ class TestCaseFhir06 extends TestCaseFhirQueryBase {
13420
13420
  super(...arguments);
13421
13421
  __publicField(this, "ExecuteQuery", async (iteration, fhirClient) => {
13422
13422
  if (this.runner.iteration % 100 === 0) {
13423
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13423
+ this.Debug(`TestCaseFhir06(): -->> Iteration: ${this.runner.iteration}`);
13424
13424
  }
13425
13425
  const searchLetter = String.fromCharCode(65 + iteration % 26);
13426
13426
  const retVal = await fhirClient.GetResources("Person", [], {
@@ -13439,7 +13439,7 @@ class TestCaseFhir07 extends TestCaseFhirQueryBase {
13439
13439
  super(...arguments);
13440
13440
  __publicField(this, "ExecuteQuery", async (iteration, fhirClient) => {
13441
13441
  if (this.runner.iteration % 100 === 0) {
13442
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13442
+ this.Debug(`TestCaseFhir07(): -->> Iteration: ${this.runner.iteration}`);
13443
13443
  }
13444
13444
  const searchLetter = String.fromCharCode(65 + iteration % 26);
13445
13445
  const retVal = await fhirClient.GetResources("Person", [], {
@@ -13457,7 +13457,7 @@ class TestCaseFhir08 extends TestCaseFhirQueryBase {
13457
13457
  super(...arguments);
13458
13458
  __publicField(this, "ExecuteQuery", async (iteration, fhirClient) => {
13459
13459
  if (this.runner.iteration % 100 === 0) {
13460
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13460
+ this.Debug(`TestCaseFhir08(): -->> Iteration: ${this.runner.iteration}`);
13461
13461
  }
13462
13462
  const searchLetter = String.fromCharCode(65 + iteration % 26);
13463
13463
  const retVal = await fhirClient.GetResources("Person", [], {
@@ -13475,7 +13475,7 @@ class TestCaseFhir09 extends TestCaseFhirBase {
13475
13475
  super(workerInstance, runner);
13476
13476
  __publicField(this, "ExecuteRunner", async () => {
13477
13477
  if (this.runner.iteration % 100 === 0) {
13478
- this.Debug(`-->> Iteration: ${this.runner.iteration}`);
13478
+ this.Debug(`TestCaseFhir09(): -->> Iteration: ${this.runner.iteration}`);
13479
13479
  }
13480
13480
  const iteration = this.runner.iteration;
13481
13481
  const start = performance.now();
@@ -20191,6 +20191,13 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
20191
20191
  raw.serviceDetails = gzipSync(strToU8(JSON.stringify(raw.serviceDetails)));
20192
20192
  return raw;
20193
20193
  });
20194
+ __publicField(this, "GetServiceNoZip", async () => {
20195
+ const raw = __privateGet(this, _EmitEvent).call(this, "GetService", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20196
+ ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetService, IEventReturnValueBaseType.serviceDetails),
20197
+ serviceDetails: await __privateGet(this, _options5).GetServiceDetails()
20198
+ }));
20199
+ return raw;
20200
+ });
20194
20201
  __privateAdd(this, _EmitStateChange, (runnerEx) => {
20195
20202
  __privateGet(this, _debug5).call(this, chalk$1.rgb(10, 50, 200)` ==>> Runner State Change: [${runnerEx.workerId}] RunnerId: [${runnerEx.id}] State: [${runnerEx.state}]`);
20196
20203
  const stateChangeRetVal = {
@@ -20305,11 +20312,18 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
20305
20312
  __publicField(this, "GetArchiveList", async (runnerSearchFilters) => {
20306
20313
  const raw = __privateGet(this, _EmitEvent).call(this, "GetArchiveList", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20307
20314
  ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetArchiveList, IEventReturnValueBaseType.archiveList),
20308
- archiveList: gzipSync(strToU8(JSON.stringify(await __privateGet(this, _wm).GetArchiveList(runnerSearchFilters))))
20315
+ archiveList: await __privateGet(this, _wm).GetArchiveList(runnerSearchFilters)
20309
20316
  }));
20310
20317
  raw.archiveList = gzipSync(strToU8(JSON.stringify(raw.archiveList)));
20311
20318
  return raw;
20312
20319
  });
20320
+ __publicField(this, "GetArchiveListNoZip", async (runnerSearchFilters) => {
20321
+ const raw = __privateGet(this, _EmitEvent).call(this, "GetArchiveList", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20322
+ ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetArchiveList, IEventReturnValueBaseType.archiveList),
20323
+ archiveList: await __privateGet(this, _wm).GetArchiveList(runnerSearchFilters)
20324
+ }));
20325
+ return raw;
20326
+ });
20313
20327
  // d.workers = JSON.parse(strFromU8(decompressSync(d.workers as any)));
20314
20328
  __publicField(this, "GetWorkers", async () => {
20315
20329
  const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkers", __privateGet(this, _LogPayloadEventRetVal).call(this, {
@@ -20319,15 +20333,29 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
20319
20333
  raw.workers = gzipSync(strToU8(JSON.stringify(raw.workers)));
20320
20334
  return raw;
20321
20335
  });
20336
+ __publicField(this, "GetWorkersNoZip", async () => {
20337
+ const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkers", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20338
+ ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetWorkers, IEventReturnValueBaseType.workers),
20339
+ workers: await __privateGet(this, _wm).GetWorkers()
20340
+ }));
20341
+ return raw;
20342
+ });
20322
20343
  // d.workers = JSON.parse(strFromU8(decompressSync(d.workers as any)));
20323
20344
  __publicField(this, "GetWorkersSmall", async (states) => {
20324
20345
  const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkersSmall", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20325
20346
  ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetWorkersSmall, IEventReturnValueBaseType.workers),
20326
- workers: gzipSync(strToU8(JSON.stringify(await __privateGet(this, _wm).GetWorkersSmall(states))))
20347
+ workers: await __privateGet(this, _wm).GetWorkersSmall(states)
20327
20348
  }));
20328
20349
  raw.workers = gzipSync(strToU8(JSON.stringify(raw.workers)));
20329
20350
  return raw;
20330
20351
  });
20352
+ __publicField(this, "GetWorkersSmallNoZip", async (states) => {
20353
+ const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkersSmall", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20354
+ ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetWorkersSmall, IEventReturnValueBaseType.workers),
20355
+ workers: await __privateGet(this, _wm).GetWorkersSmall(states)
20356
+ }));
20357
+ return raw;
20358
+ });
20331
20359
  __publicField(this, "StartWorkers", async (workerIds) => {
20332
20360
  return __privateGet(this, _EmitEvent).call(this, "StartWorkers", __privateGet(this, _LogPayloadEventRetVal).call(this, {
20333
20361
  ...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.StartWorkers, IEventReturnValueBaseType.executeWorkerActionResult),