-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hapi 7.0.3 #2
Hapi 7.0.3 #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Had some suggestions for making the IPS-specific configs easier to maintain across new Hapi releases
environment: | ||
SPRING_CONFIG_LOCATION: file:///opt/application.yaml | ||
spring.datasource.url: jdbc:postgresql://db:5432/hapifhir | ||
spring.datasource.username: postgres | ||
spring.datasource.password: postgres | ||
spring.datasource.driverClassName: org.postgresql.Driver | ||
spring.jpa.hibernate.dialect: org.hibernate.dialect.PostgreSQL94Dialect | ||
spring.jpa.properties.hibernate.dialect: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest configuring any overrides to the default application.yaml as environment variables (and use the vanilla application.yaml from Hapi)
Since env vars take precedence over values in application.yaml, it may not be obvious later which config is actually being used. It'll also be fewer changes to maintain when Hapi is upgraded in the future.
In the past, Hapi has required a application.yaml, but ideally we'd remove that in the future (since it's all defaults anyway)
# enable IPS; use latest version | |
hapi.fhir.ips_enabled: "true" | |
hapi.fhir.implementationguides.ips_1_1_0.packageUrl: https://build.fhir.org/ig/HL7/fhir-ips/package.tgz | |
hapi.fhir.implementationguides.ips_1_1_0.name: hl7.fhir.uv.ips | |
hapi.fhir.implementationguides.ips_1_1_0.version: 1.1.0 | |
# IPS needs this for $REASON | |
hapi.fhir.allow_external_references: "true" | |
hapi.fhir.enforce_referential_integrity_on_write: "false" | |
hapi.fhir.auto_create_placeholder_reference_targets: "true" | |
hapi.fhir.cr_enabled: "true" |
(I tested the above values via /actuator/configprops
to confirm they work)
Co-authored-by: Ivan Cvitkovic <[email protected]>
Upgrade to HAPI version 7.0.3 with improvements to $summary support