Stream: hapi
Topic: jpa-starter: why was server.base removed?
Patrick Werner (Aug 04 2019 at 16:34):
In the current 3.8.0 hapi jpa-starter server server.base was removed and set to /fhir
Patrick Werner (Aug 04 2019 at 16:43):
could this property brought back? I assume it was removed because /fhir is hardcoded in the web.xml and then the server base won't fit if you change it away from /fhir?
Patrick Werner (Aug 04 2019 at 16:44):
@Sean McIlvenna @James Agnew
Sean McIlvenna (Aug 05 2019 at 06:22):
I believe this was removed so that it didn't matter whether or not you were working with STU3 or R4, it would be the same generic endpoint... And yes, "/fhir" is in the web.xml, and to have it potentially be different in web.xml from the hapi.properties wouldn't be ideal. I would welcome a PR that re-introduced a hapi.properties property for server.base, and programmatically set the web.xml configuration dynamically based on the hapi.properties value. Otherwise, though, I don't think it makes sense to have it in two different places.
Patrick Werner (Aug 05 2019 at 07:38):
sounds great, thx.
Last updated: Apr 12 2022 at 19:14 UTC