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.
Github Issue:
[x] I've read the contribution guidelines
[x] Code compiles without errors
[x] Tests are created / updated
[x] Documentation is created / updated
By creating this PR you acknowledge that your contribution will be licensed under Apache 2.0
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