cqframework / cqf-tooling

Tooling for CQL and IG Authors
Apache License 2.0
19 stars 22 forks source link

Test bundle logic correction #500

Closed echicoine-icf closed 8 months ago

echicoine-icf commented 8 months ago

This code change handles the test bundle files better, ensuring each resource within a bundle entry list uses PUT instead of POST, and also ensures the bundle itself is transaction. This "sanitization" of data is essential for proper handling by the HAPI FHIR server.

This code change also adjusts the ordering for persisting the test files, running now after the bundleFiles call, to avoid an issue where POST count was wrong on first refreshIG run.

By creating this PR you acknowledge that your contribution will be licensed under Apache 2.0