@nsshunt/ststestrunner 1.0.6 → 1.0.8
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
|
}
|
|
@@ -9472,9 +9474,12 @@ class StartUpDelFhirResources extends TestCaseFhirBase {
|
|
|
9472
9474
|
let complete = false;
|
|
9473
9475
|
let totalRecordsDelete = 0;
|
|
9474
9476
|
while (!complete) {
|
|
9477
|
+
console.log(chalk$1.magenta(`ExecuteRunner() - pre GetResources()`));
|
|
9475
9478
|
const retVal = await this.fhirClient.GetResources("Person", [`limit=${options.batchDeleteSize}`, `${options.personPrefix}`], null, (error) => {
|
|
9476
9479
|
this.LogErrorMessage(chalk$1.red(`test(POST /stsresource and query using filter): ${error}`));
|
|
9477
9480
|
});
|
|
9481
|
+
console.log(chalk$1.magenta(`ExecuteRunner() - post GetResources()`));
|
|
9482
|
+
console.log(retVal);
|
|
9478
9483
|
if (retVal) {
|
|
9479
9484
|
console.log(`Records already exist - going to delete ...`);
|
|
9480
9485
|
console.log(retVal.length);
|