Stream: hapi
Topic: Run hapi-fhir-testpage-overlay with springboot
Jame Dang (Apr 19 2021 at 10:35):
Hi all
I have problem when I try to run the Test Web Application (hapi-fhir-testpage-overlay) with springboot. I know the Overlays project cannot run with SpringBoot, but maybe there are some alternative solution for that?
Thanks,
Jame Dang (Apr 20 2021 at 05:14):
@James Agnew : For hapi-fhir-testpage-overlay, I think we need to change
<script src="js/RestfulTester.js" type="text/javascript"></script>
<link href="css/tester.css" rel="stylesheet"/>
<link href="/css/hapi-narrative.css" rel="stylesheet"/>
At tmpl-head.html to
<script th:src="@{/js/RestfulTester.js}" type="text/javascript"></script>
<link th:href="@{/css/tester.css}" rel="stylesheet"/>
<link th:href="@{/css/hapi-narrative.css}" rel="stylesheet"/>
Then the hapi-fhir-testpage-overlay can run with the web-application in tomcat (for example : It can run with http://localhost:8080/hapi), with current code it can run only as a ROOT application (http://localhost:8080)
Can you take a look on that
Jame Dang (Apr 20 2021 at 09:44):
I have successfully to run the hapi-fhir-testpage-overlay with Boot profile by copying the templates to resources. Thanks you
Last updated: Apr 12 2022 at 19:14 UTC