Stream: hapi
Topic: Reset/Wipe Database
Karl M. Davis (May 21 2020 at 03:23):
I swear I remember seeing a custom operation in HAPI or HAPI's test server or somewhere like that that wiped the database clean. Anyone know if that does exist and if so, where? Would be useful for some test scenarios I've got cooking right now.
Karl M. Davis (May 21 2020 at 03:30):
And it wouldn't just be the DB I suppose, right? I'd need to wipe the search indexes, too. And maybe there's some caching somewhere that'd also need to be cleared?
Jens Villadsen (May 21 2020 at 05:51):
Jens Villadsen (May 21 2020 at 05:52):
Or https://smilecdr.com/docs/fhir_repository/deleting_data.html#expunge
Karl M. Davis (May 21 2020 at 19:11):
@Jens Villadsen Fantastic! Thank you!
Looks different than I recall, but in a good way: the version I recall was pretty hacky.
Last updated: Apr 12 2022 at 19:14 UTC