@nsshunt/ststestrunner 1.0.7 → 1.0.9
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/dist/ststestrunner.mjs
CHANGED
|
@@ -8610,6 +8610,8 @@ class FhirClient {
|
|
|
8610
8610
|
}
|
|
8611
8611
|
const accessToken = await __privateGet$1(this, _options$1).GetAccessToken();
|
|
8612
8612
|
const requestConfig = new STSAxiosConfig(url2, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER)).withData(filters ? filters : domainResource ? domainResource : void 0);
|
|
8613
|
+
console.log(`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`);
|
|
8614
|
+
console.log(requestConfig);
|
|
8613
8615
|
if (isNode$1 && __privateGet$1(this, _options$1).agentManager) {
|
|
8614
8616
|
requestConfig.withAgentManager(__privateGet$1(this, _options$1).agentManager);
|
|
8615
8617
|
}
|
|
@@ -9473,9 +9475,17 @@ class StartUpDelFhirResources extends TestCaseFhirBase {
|
|
|
9473
9475
|
let totalRecordsDelete = 0;
|
|
9474
9476
|
while (!complete) {
|
|
9475
9477
|
console.log(chalk$1.magenta(`ExecuteRunner() - pre GetResources()`));
|
|
9476
|
-
const retVal = await this.fhirClient.GetResources(
|
|
9477
|
-
|
|
9478
|
-
|
|
9478
|
+
const retVal = await this.fhirClient.GetResources(
|
|
9479
|
+
"Person",
|
|
9480
|
+
null,
|
|
9481
|
+
{
|
|
9482
|
+
limit: options.batchDeleteSize,
|
|
9483
|
+
prefix: options.personPrefix
|
|
9484
|
+
},
|
|
9485
|
+
(error) => {
|
|
9486
|
+
this.LogErrorMessage(chalk$1.red(`test(POST /stsresource and query using filter): ${error}`));
|
|
9487
|
+
}
|
|
9488
|
+
);
|
|
9479
9489
|
console.log(chalk$1.magenta(`ExecuteRunner() - post GetResources()`));
|
|
9480
9490
|
console.log(retVal);
|
|
9481
9491
|
if (retVal) {
|