@nsshunt/ststestrunner 1.0.53 → 1.0.55

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.
@@ -12287,19 +12287,6 @@ class FhirClient {
12287
12287
  if (axiosError.response) {
12288
12288
  responseCode = axiosError.response.status;
12289
12289
  __privateGet$1(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error Response.Status = [${axiosError.response.status}]`));
12290
- if (axiosError.response.headers) {
12291
- __privateGet$1(this, _LogErrorMessage).call(this, chalk.red(` headers: [${JSON.stringify(axiosError.response.headers)}]`));
12292
- }
12293
- if (axiosError.response.data) {
12294
- __privateGet$1(this, _LogErrorMessage).call(this, chalk.red(` data: [${JSON.stringify(axiosError.response.data)}]`));
12295
- }
12296
- try {
12297
- if (axiosError.response.config) {
12298
- __privateGet$1(this, _LogErrorMessage).call(this, chalk.red(` config: [${JSON.stringify(axiosError.response.config)}]`));
12299
- }
12300
- } catch (innererror) {
12301
- __privateGet$1(this, _LogErrorMessage).call(this, chalk.red(` could not get response config, error: [${innererror}]`));
12302
- }
12303
12290
  } else {
12304
12291
  __privateGet$1(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error = [${axiosError}]`));
12305
12292
  }
@@ -12396,8 +12383,6 @@ class FhirClient {
12396
12383
  const accessToken = await __privateGet$1(this, _options3).GetAccessToken();
12397
12384
  const requestConfig = new STSAxiosConfig(url2, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER)).withData(filters ? filters : domainResource ? domainResource : void 0);
12398
12385
  if (isNode$1 && __privateGet$1(this, _options3).agentManager) {
12399
- console.log(`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`);
12400
- console.log("using agentManager");
12401
12386
  requestConfig.withAgentManager(__privateGet$1(this, _options3).agentManager);
12402
12387
  }
12403
12388
  return await axios(requestConfig.config);
@@ -12931,10 +12916,6 @@ class TestCaseFhirBase {
12931
12916
  }
12932
12917
  });
12933
12918
  }
12934
- console.log(`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`);
12935
- if (agentManager) {
12936
- console.log("should use agent manager");
12937
- }
12938
12919
  __privateSet(this, _fhirClient, new FhirClient({
12939
12920
  fhirEndpoint: __privateGet(this, _options4).fhirEndpoint,
12940
12921
  logger: defaultLogger,
@@ -13489,7 +13470,7 @@ class TestCaseFhir06 extends TestCaseFhirQueryBase {
13489
13470
  this.Debug(`TestCaseFhir06(): -->> Iteration: ${this.runner.iteration}`);
13490
13471
  }
13491
13472
  const searchLetter = String.fromCharCode(65 + iteration % 26);
13492
- const retVal = await fhirClient.GetResources("Person", [], {
13473
+ const retVal = await fhirClient.GetResources("Person", null, {
13493
13474
  given: searchLetter,
13494
13475
  family: searchLetter
13495
13476
  }, (error) => {
@@ -13508,7 +13489,7 @@ class TestCaseFhir07 extends TestCaseFhirQueryBase {
13508
13489
  this.Debug(`TestCaseFhir07(): -->> Iteration: ${this.runner.iteration}`);
13509
13490
  }
13510
13491
  const searchLetter = String.fromCharCode(65 + iteration % 26);
13511
- const retVal = await fhirClient.GetResources("Person", [], {
13492
+ const retVal = await fhirClient.GetResources("Person", null, {
13512
13493
  given: searchLetter
13513
13494
  }, (error) => {
13514
13495
  this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);
@@ -13526,7 +13507,7 @@ class TestCaseFhir08 extends TestCaseFhirQueryBase {
13526
13507
  this.Debug(`TestCaseFhir08(): -->> Iteration: ${this.runner.iteration}`);
13527
13508
  }
13528
13509
  const searchLetter = String.fromCharCode(65 + iteration % 26);
13529
- const retVal = await fhirClient.GetResources("Person", [], {
13510
+ const retVal = await fhirClient.GetResources("Person", null, {
13530
13511
  family: searchLetter
13531
13512
  }, (error) => {
13532
13513
  this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);