FHIR Chat · enabling partitioning · hapi

Stream: hapi

Topic: enabling partitioning


view this post on Zulip Jorrit (Sep 15 2021 at 06:55):

Hi all,
I managed to get the out-of-the-box version of happy-fhir-jpaserver-starter working as a local instance via http://localhost:8080/fhir and http://localhost:8080/. (Compiled via jdk11 and run via jetty)
I would now like to enable partitioning on my local instance of happy-fhir-jpaserver-starter. I uncommented the lines 90 and 91 in application.yaml:
allow_references_across_partitions: false
partitioning_include_in_search_hashes: false
When I restart the server, I get a 503 error on http://localhost:8080/fhir and http://localhost:8080/.
Q: Is this expected behaviour?
I can imagine that the 503 is expected behaviour because it is necessary to create 1 or more partitions first.
But when I try to create a partition via a HTTP-POST to
http://localhost:8080/fhir/DEFAULT/$partition-management-create-partition,
http://localhost:8080/DEFAULT/$partition-management-create-partition,
http://localhost:8080/fhir/$partition-management-create-partition, or
http://localhost:8080/$partition-management-create-partition
I also get a 503.
What am I missing here?


Last updated: Apr 12 2022 at 19:14 UTC