Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
395a87e
Bump dep version
tadgh Aug 27, 2021
5038b5b
Remove javamail and replace with simple-java-mail
tadgh Aug 27, 2021
6e876c1
WIP
tadgh Aug 27, 2021
a8a98c3
Remove print
tadgh Aug 28, 2021
e263646
Remove bean override
tadgh Aug 28, 2021
6e2836b
Bump version
tadgh Sep 7, 2021
f3ea680
Add broken test
tadgh Sep 9, 2021
e41c186
Update for new style of container bean
tadgh Sep 9, 2021
370d68a
Bump for new version
tadgh Sep 16, 2021
ac75421
Update to 5.6.0-PRE7_NIH-SNAPSHOT and activate advanced index
michaelabuckley Oct 5, 2021
3272b8c
Disable default flyway processing
michaelabuckley Oct 5, 2021
097db16
Add local_base_urls configuration to feed DaoConfig.setTreatBaseUrlsA…
michaelabuckley Oct 7, 2021
ea3f10e
Added OpenAPI / Swagger option
jkiddo Nov 10, 2021
16559ea
Upgraded to 5.6.0
jkiddo Nov 18, 2021
9645087
Bumped version of Spring Boot in order to fix same issue as https://g…
jkiddo Nov 18, 2021
a58ef1c
Merge pull request #291 from hapifhir/5.6.0-upgrade
jkiddo Nov 18, 2021
0203a36
Update application.yaml
jkiddo Nov 20, 2021
e39d84e
documented use of Values.extraEnv
chgl Nov 20, 2021
304f779
added options for specifying a PodDisruptionBudget
chgl Nov 22, 2021
8ce44c2
simplified chart release workflow
chgl Nov 22, 2021
6092200
Support HTTPS
ZuSe Nov 25, 2021
ff8302a
Use default application.yaml
ZuSe Nov 25, 2021
e077091
registering ValueSetOperationProvider
ashaban Dec 1, 2021
2512616
Merge branch 'master' into nih-testing
michaelabuckley Dec 9, 2021
8c6a1a7
Upgrade to 5.7.0-PRE4-SNAPSHOT for testing
michaelabuckley Dec 9, 2021
bfa6ed1
Share elasticsearch configuration
michaelabuckley Dec 9, 2021
18cf0fd
Merge pull request #295 from ashaban/master
jkiddo Dec 11, 2021
7ece4c3
Merge pull request #294 from ZuSe/https-support-for-es
jkiddo Dec 11, 2021
c89b0d4
Merge pull request #293 from chgl/updated-helm-chart
jkiddo Dec 11, 2021
8568132
Fixed compile issues
jkiddo Dec 11, 2021
21f5d1d
Fix misconfiguration
michaelabuckley Dec 16, 2021
42e3e78
Bump to 5.7.0-PRE8-SNAPSHOT
michaelabuckley Dec 17, 2021
22e0e1e
Typo fix in README
vadi2 Jan 3, 2022
528d2bc
Add configuration flag to enable storing of resources in lucene index…
jaison-b Jan 5, 2022
6dd3414
Merge pull request #301 from vadi2/patch-1
jkiddo Jan 8, 2022
5312f78
Add ES native aggregation builder for lastN
Jan 24, 2022
d2984d2
Revert "Add ES native aggregation builder for lastN"
Jan 24, 2022
0f13327
bump version
tadgh Jan 27, 2022
bbd9428
Update for 5.7.x changes
tadgh Jan 27, 2022
24ad411
Fix h2 dialect, replace mail dep
tadgh Jan 27, 2022
abf21f8
Merge commit '528d2bc087ae2f5bf49b2fb38d17dba134feda63'
jkiddo Jan 29, 2022
4952c00
Bump postgresql from 42.2.23 to 42.2.25
dependabot[bot] Feb 2, 2022
4914828
Merge pull request #309 from hapifhir/dependabot/maven/org.postgresql…
patrick-werner Feb 2, 2022
eac87fc
bump Hapi PRE version
michaelabuckley Feb 2, 2022
56f4332
Bump to Hapi 6.0-SNAPSHOT and register the ValueSet provider.
michaelabuckley Feb 3, 2022
2860a42
Merge remote-tracking branch 'origin/nih-testing' into nih-testing
Feb 10, 2022
e45ba6c
Version bump to 5.7.0 and a few other components now draw the version…
jkiddo Feb 17, 2022
3fd8803
Update application.yaml
jkiddo Feb 18, 2022
fa8999b
bump to real version
tadgh Feb 18, 2022
a6abfb9
Merge branch 'master' into rel_5_7
tadgh Feb 18, 2022
deefd59
Merge pull request #316 from hapifhir/rel_5_7
tadgh Feb 21, 2022
94f47f4
Bump version
tadgh Feb 22, 2022
0e4926e
Remove search coord thread pool
tadgh Feb 22, 2022
1a52897
Added instructions about removing Hibernate dialect
MacL3an Feb 22, 2022
28e86bd
Bump HAPI-FHIR version
Feb 23, 2022
f2ba86d
Move to newlines
tadgh Feb 23, 2022
810b090
fix to work with latest hapi-fhir
fil512 Feb 23, 2022
31ed166
Merge branch 'nih-testing' into rel_6_0_0
michaelabuckley Feb 28, 2022
24a20a7
Feature/update docker support (#319)
jkiddo Mar 2, 2022
7db1510
add dao_scheduling_enabled configuration property (#324)
jschneid-nmdp Mar 4, 2022
40d7b9c
added reindexProvider to Config (#326)
patrick-werner Mar 7, 2022
0483db9
Update application.yaml
jkiddo Mar 8, 2022
929a353
Update application.yaml
jkiddo Mar 8, 2022
146b9f6
Bump hapi-fhir version to 'PRE5' (#329)
jaison-b Mar 9, 2022
aeef4b1
Add actuator
jkiddo Mar 20, 2022
403b875
Bump to PRE8
michaelabuckley Mar 23, 2022
da319e8
disable springboot actuator endpoints other than 'health' for securit…
XcrigX Mar 23, 2022
49401c0
Bump to PRE9
Mar 29, 2022
6b3f57c
Update application.yaml (#345)
jkiddo Apr 7, 2022
cdda71b
add support for ms sql server (#347)
XcrigX Apr 9, 2022
bb21ccf
Fix comments in Demo that lead to 404 (#348)
dotasek Apr 11, 2022
4bed69f
updated helm chart to use v5.7.0 and latest PostgreSQL sub-chart (#346)
chgl Apr 11, 2022
bf51c22
Update application.yaml
jkiddo Apr 11, 2022
21165cc
Merge pull request #337 from hapifhir/feature/spring-boot-actuator
patrick-werner Apr 13, 2022
ae724f4
Bump to PRE10
Apr 13, 2022
c607a98
Updated to HAPI FHIR version 5.7.2 (#349)
chgl Apr 15, 2022
f1e18d2
Revert accidental default activation of experimental lucene indexing
michaelabuckley Apr 20, 2022
c8da589
Add disclaimer for advanced_lucene_indexing
patrick-werner Apr 20, 2022
b589542
Merge pull request #352 from hapifhir/mb-turn-off-lucene
michaelabuckley Apr 20, 2022
3a880ee
Merge pull request #353 from hapifhir/advanced-lucene-disclaimer
michaelabuckley Apr 20, 2022
51cf27a
Merge pull request #321 from MacL3an/patch-3
patrick-werner Apr 20, 2022
f736b6d
Bump to hapi PRE11
michaelabuckley Apr 29, 2022
fdfa6fd
Expose Prometheus metrics (#355)
chgl May 1, 2022
91e4105
Add: of-type modifier option in application.yaml (#363)
janol77 May 6, 2022
244113b
Fix applying supported_resource_types option with list that already i…
dennisverspuij May 9, 2022
cd0b8d7
Bump pom and minimum java version
tadgh May 16, 2022
ffd0cb1
Bump ES version
tadgh May 16, 2022
87585ec
hibernate search application properties updates.
May 16, 2022
12ea07b
make lastN test pass
tadgh May 16, 2022
2a71578
Merge branch 'master' into rel_6_0_0_mergeback
tadgh May 19, 2022
5942823
Remove value set provider as it causes a boot failure without lucene
tadgh May 19, 2022
af84261
Fix reindex provider
tadgh May 19, 2022
d4bc6fe
Bump java version for test
tadgh May 19, 2022
7cfbac8
Merge pull request #372 from hapifhir/rel_6_0_0_mergeback
tadgh May 19, 2022
6ad499c
Bump to pre-01
tadgh May 19, 2022
e5b0fc7
fix build
fil512 May 20, 2022
8ac32dd
Merge pull request #373 from hapifhir/20200520-test-failure
tadgh May 20, 2022
4dacf6a
Re-add valuesetoperation provider
tadgh May 21, 2022
f39393c
Disable lucene by default
tadgh May 21, 2022
d660dc1
Re-add valueset operation provider
tadgh May 21, 2022
9882a1c
adding smoke test files
markiantorno May 24, 2022
067c7f1
adding base documentation
markiantorno May 24, 2022
8d6247b
wip
markiantorno May 24, 2022
b71880e
Update src/test/smoketest/SMOKE_TEST.md
markiantorno May 25, 2022
788015f
Update src/test/smoketest/SMOKE_TEST.md
markiantorno May 25, 2022
e9ff226
Update src/test/smoketest/SMOKE_TEST.md
markiantorno May 25, 2022
73d7ee1
bumping to non-snapshot version (#377)
markiantorno May 26, 2022
2daf365
Merge pull request #376 from hapifhir/smoke_tests
markiantorno May 29, 2022
67caa88
updated helm chart to use latest v6.0.1 version of the image (#382)
chgl Jun 4, 2022
41ba07a
add BinaryAccessProvider to BaseJpaRestfulServer
ibrohimislam Jun 17, 2022
a026b1f
Update src/main/java/ca/uhn/fhir/jpa/starter/BaseJpaRestfulServer.java
ibrohimislam Jun 23, 2022
aa56061
Merge pull request #386 from ehealth-co-id/fix-binary
KevinDougan Jun 27, 2022
d6b5bc3
Applying fix from upstream for h2 Binaries
patrick-werner Jul 4, 2022
82d1b35
Merge pull request #396 from hapifhir/patrick-werner-fix-h2
patrick-werner Jul 4, 2022
bea4d47
removed wrong and duplicated config entry
patrick-werner Jul 4, 2022
8a5d2f8
Merge pull request #397 from hapifhir/patrick-werner-remove-config-du…
patrick-werner Jul 4, 2022
cd8b06b
Added OpenTelemetry Java Agent JAR to container image (#391)
chgl Jul 4, 2022
6ad2989
changes to pom.xml to enable publishing
markiantorno Jul 5, 2022
014dd14
Merge pull request #398 from hapifhir/oss_publishing_update
markiantorno Jul 5, 2022
c9dd605
fixed directory of the .war in tomcat-based image
chgl Jul 7, 2022
5c102f7
Merge pull request #400 from chgl/fixed-tomcat-wrong-war-dir
KevinDougan Jul 12, 2022
d148f45
bulk data instrumentation included
amuslim-fn Aug 9, 2022
c617f4e
bulk data instrumentation turned off by default
amuslim-fn Aug 9, 2022
427a147
Merge pull request #410 from amuslim-fn/master
KevinDougan Aug 10, 2022
1753272
updated opentelemetry-java-instrumentation JAR to 1.16.0
chgl Aug 14, 2022
4978f32
Merge pull request #411 from chgl/patch-1
KevinDougan Aug 15, 2022
ee74116
Better support for ARM
jkiddo Aug 18, 2022
956cfb1
Updated Otel Java agent to 1.17.0
chgl Aug 22, 2022
d059954
Updated hapi-fhir to 6.1.0
chgl Aug 22, 2022
ac5364c
Merge pull request #413 from hapifhir/jkiddo-patch-1
patrick-werner Aug 23, 2022
001bc9c
Merge pull request #415 from chgl/updated-to-hapi-6.1.0
markiantorno Aug 23, 2022
68e64f2
Minor Helm chart dependency updates and security improvements
chgl Aug 25, 2022
4790c43
Don't run maven CI on changes to the helm chart
chgl Aug 25, 2022
bdc621e
updated helm chart to use version 6.1.0 of the image
chgl Aug 25, 2022
c5e460d
added appProperties.getInline_resource_storage_below_size() (#420)
patrick-werner Sep 3, 2022
d660d5f
Feat/restructuring (#422)
jkiddo Sep 10, 2022
43d50a0
Extract IG loading (#426)
jkiddo Sep 13, 2022
38f37e4
added back lost config entry: allowed_bundle_types (#427)
patrick-werner Sep 15, 2022
5c1f99b
Bump snakeyaml from 1.30 to 1.31
dependabot[bot] Sep 27, 2022
cd1a2e1
Merge pull request #432 from hapifhir/dependabot/maven/org.yaml-snake…
KevinDougan Sep 27, 2022
3d03cd0
fix: configuration of cors
jkiddo Sep 28, 2022
f3b9ffe
Merge pull request #434 from jkiddo/feat/fix-cors
KevinDougan Sep 30, 2022
531d255
Proper close DB connection after dialect was resolved (#435)
Thopap Oct 1, 2022
7a72c86
removed duplicated and wrong subscription code (#440)
patrick-werner Oct 6, 2022
a95c40d
fixed SubscriptionDebugLogInterceptor adding logic
patrick-werner Oct 6, 2022
d61c8a5
switch to postgres db (#444)
rti Oct 11, 2022
a1e2ca3
revering to H2 (#449)
jkiddo Oct 27, 2022
f8d749a
Tracking Hapi 6.2-PRE releases (#408)
jmarchionatto Nov 12, 2022
64aeb9b
Added hibernate.dialect for Postgress to Readme (#451)
Kai-W Nov 12, 2022
2e1f5f5
fixes for support of R4B / 6.2.0 (#455)
jkiddo Nov 12, 2022
4fb2558
upping hapi version to 6.2.1
markiantorno Nov 17, 2022
daea391
Merge pull request #457 from hapifhir/update_HAPI_version
markiantorno Nov 17, 2022
05d76c7
Updated Helm chart to use image 6.2.1 and latest PostgreSQL (#458)
chgl Nov 24, 2022
19c68e7
Bumped version (#462)
jkiddo Dec 3, 2022
ba58a71
allow interceptors to be registered via properties
XcrigX Dec 21, 2022
1943589
Merge pull request #467 from XcrigX/feature/interceptor-discovery
jamesagnew Dec 21, 2022
9a513cd
Update pom.xml to reference hapi-fhir 6.3.6-SNAPSHOT. This hapi-fhir…
Jan 5, 2023
96ff27f
Feature/static files (#456)
jkiddo Jan 5, 2023
d903ab9
Remove old junit4 usage.
Jan 10, 2023
f8c69bf
Merge pull request #474 from inspector-cochise/junit-dep-remove
KevinDougan Jan 10, 2023
0c7e48c
Revert "Update pom.xml to reference hapi-fhir 6.3.6-SNAPSHOT. This h…
Jan 10, 2023
f3493c7
Restore rolled back changes to ExampleServerR4BIT that pass unnecessa…
Jan 10, 2023
76650df
First commit to restore hapi-fhir 6.3.6-SNAPSHOT changes. Add static…
Jan 10, 2023
07d9a19
Feature/index default (#475)
jkiddo Jan 10, 2023
ef8c487
Updated Helm chart to use hapi fhir image 6.2.2 (#472)
chgl Jan 10, 2023
d9f5e5c
Merge remote-tracking branch 'origin/master' into ld-20230110-hapi-fh…
Jan 10, 2023
38ed00a
Implement a new solution: Instead of static code blocks disabling lo…
Jan 10, 2023
ea3d858
Fix tests for websocket
jamesagnew Jan 11, 2023
8f528db
Update pipeline to run integration tests.
Jan 11, 2023
cd6a876
Merge pull request #483 from hapifhir/ld-20230111-pipeline-maven-verify
markiantorno Jan 12, 2023
5b42944
Merge remote-tracking branch 'origin/master' into ld-20230110-hapi-fh…
Jan 12, 2023
c7962b6
Merge pull request #482 from hapifhir/ld-20230110-hapi-fhir-6-3-6-sna…
markiantorno Jan 13, 2023
7c89add
Initial IPS + Cql to Cr migration
psavva Jan 16, 2023
c7ee984
Allow Enabling IPS via config
psavva Jan 16, 2023
99ea176
typo
psavva Jan 16, 2023
e905da7
CQL to CR
psavva Jan 16, 2023
64b497e
HAPI FHIR bump
jamesagnew Jan 24, 2023
3f66973
docs: Updated README.md. Discontinue mysql
juvarabrera Feb 4, 2023
9847d82
Merge pull request #491 from juvarabrera/update-readme
jamesagnew Feb 4, 2023
c9bc40c
removed mysql-connector-java dependency since no longer supported and…
XcrigX Feb 8, 2023
7dd1619
Merge pull request #495 from XcrigX/remove-mysql-dependency
jamesagnew Feb 9, 2023
c88d26d
docs: Fix postgresql typo in docker-compose
juvarabrera Feb 5, 2023
b6c1b9f
docs: Explicitly set hibnerate.search.enabled to false if database is…
juvarabrera Feb 5, 2023
74be713
refactor: Separate unrelated settings and documentation
juvarabrera Feb 5, 2023
7f7ea92
docs: Explicitly set hibernate.search.enabled to false if database is…
juvarabrera Feb 5, 2023
35d09cc
docs: Revert dislaimer in postgres
juvarabrera Feb 5, 2023
19988c5
Bump Hapi
dotasek Feb 14, 2023
9d126a4
Fix Application error regarding multiple beans
dotasek Feb 14, 2023
afcd2fc
Add optional explicit ip config for smoke tests
dotasek Feb 14, 2023
20ed5d9
Revert "Add optional explicit ip config for smoke tests"
dotasek Feb 14, 2023
9cabe35
Merge pull request #498 from hapifhir/rel_6_4
tadgh Feb 17, 2023
236c1e8
Spelling error in Application.yaml
psavva Mar 1, 2023
cb4f560
Merge pull request #505 from psavva/patch-4
KevinDougan Mar 1, 2023
c83e324
configuration option to not reload IG resources that are already loaded
XcrigX Mar 23, 2023
600f3fe
Update docker-compose sample with small application.properties
Bert-R Feb 22, 2023
43890a4
Removed explicit inclusion of snakeyaml and allow spring-boot-starter…
Mar 31, 2023
7e0fb80
Simplify using an interceptor with Docker
Bert-R Mar 31, 2023
c73c580
Update pom.xml
jkiddo Feb 27, 2023
a1bdba5
Update pom.xml
jkiddo Mar 3, 2023
d96c90c
Update pom.xml
jkiddo Mar 30, 2023
75e0e68
497 - Fix typo on property setter.
May 5, 2023
4077cf5
Merge pull request #522 from hapifhir/497-set-bundle-batch-max-pool-size
KevinDougan May 5, 2023
e8d1931
Create smoke-tests.yml
dotasek May 9, 2023
d47d048
Update smoke-tests.yml
dotasek May 9, 2023
f1765a3
Rename plain_server.rest to plain_server.http
dotasek May 9, 2023
dbd6ff0
Update smoke-tests.yml
dotasek May 9, 2023
ec64299
Update smoke-tests.yml
dotasek May 9, 2023
b4ab761
Merge pull request #524 from hapifhir/do-20230509-smoke-test-ci
markiantorno May 17, 2023
3eab2fc
Use docker for HTTP client
dotasek May 19, 2023
8b7c35c
Try fixing TTY issue
dotasek May 19, 2023
f54088e
Sleep a little longer...
dotasek May 19, 2023
9a18b23
Additional param for linux localhost
dotasek May 19, 2023
8bf9dfd
Intentional failure
dotasek May 19, 2023
a2cf95a
Restore reasonable sleep time
dotasek May 19, 2023
eb65ec6
Merge pull request #535 from hapifhir/do-20230519-use-docker-for-smok…
markiantorno May 23, 2023
53a958a
Bump HAPI to release 6.6.0 (#539)
dotasek May 29, 2023
9e9c08b
Add fix to enable the CR module.
May 30, 2023
2899060
Addressed comment to for cr_enabled flag.
May 30, 2023
a06c0b9
Merge pull request #541 from hapifhir/501_fix_cr_enabled
jmarchionatto May 31, 2023
afaec85
Addressing https://github.com/hapifhir/hapi-fhir-jpaserver-starter/is…
jkiddo Jun 9, 2023
0a91a2d
Merge branch 'hapifhir:master' into feat/static-hosting-additions
jkiddo Jun 9, 2023
776afde
no message
jkiddo Jun 25, 2023
b4232e7
Merge branch 'hapifhir:master' into feature/tester-configurable
jkiddo Jun 25, 2023
fdcd021
Updated helm chart and dockerfile dependencies (#540)
chgl Jun 25, 2023
484aa9d
Boyscouting (#558)
winne42 Jul 11, 2023
9d8fc4d
#563 Add configuration for auto-versioning references
winfriedgerlach Jul 12, 2023
98165e8
#563 fix indentation
winfriedgerlach Jul 13, 2023
5bd43b2
Merge pull request #564 from winne42/feature/add_configuration_for_au…
patrick-werner Jul 18, 2023
8ef5083
Updated helm chart with additional config settings (#566)
chgl Jul 21, 2023
e9f29af
Bump to hapi 6.8.0-SNAPSHOT
dotasek Jul 31, 2023
aafd4fa
Switch to new ca.uhn.fhir.batch2.jobs.export to fix StarterJpaConfig
dotasek Jul 31, 2023
bf7698b
Merge remote-tracking branch 'origin/master' into do-20230731-bump-to…
dotasek Jul 31, 2023
3c395e9
WIP try to expand default max_result_window
dotasek Aug 10, 2023
f7853f5
Fix up test
tadgh Aug 10, 2023
bdf593f
Clean up code
dotasek Aug 10, 2023
1907536
Fix one more failing IT config
dotasek Aug 10, 2023
7265b11
Leave comment in case of updates
dotasek Aug 10, 2023
69ff8c4
Bump to HAPI 6.8.0
dotasek Aug 17, 2023
b88ffda
Fix breakages due to https://github.com/hapifhir/hapi-fhir/pull/5180
dotasek Aug 17, 2023
8b0623d
Merge pull request #572 from hapifhir/do-20230731-bump-to-hapi-6-8-0
dotasek Aug 17, 2023
0252fa4
Merge pull request #556 from trifork/feature/tester-configurable
patrick-werner Aug 22, 2023
d6e9aba
Merge pull request #546 from trifork/feat/static-hosting-additions
patrick-werner Aug 22, 2023
37a9317
Feature/using package installer spec (#577)
jkiddo Aug 22, 2023
63c4825
Fixing some typos in README.md
HussamNujaim Sep 2, 2023
0255d37
Merge pull request #1 from HussamNujaim/typos-readme
HussamNujaim Sep 2, 2023
bfa85ce
Merge pull request #582 from HussamNujaim/master
KevinDougan Sep 5, 2023
395bcb6
Sync with the upstream v6.8.0
hankwallace Jan 20, 2024
f7e2fb9
Adds our banner to the web UI
hankwallace Jan 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/ct/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ helm-extra-args: --timeout 300s
upgrade: true
skip-missing-values: true
release-label: release
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
release-name-template: "helm-v{{ .Version }}"
13 changes: 7 additions & 6 deletions .github/workflows/chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ on:

jobs:
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Add workspace as safe directory
run: |
git config --global --add safe.directory /__w/hapi-fhir-jpaserver-starter/hapi-fhir-jpaserver-starter

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0

Expand All @@ -21,14 +25,11 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Add bitnami repo
run: helm repo add bitnami https://charts.bitnami.com/bitnami

- name: Update dependencies
run: find charts/ ! -path charts/ -maxdepth 1 -type d -exec helm dependency update {} \;

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.0
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0
with:
config: .github/ct/config.yaml
env:
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

jobs:
lint:
runs-on: ubuntu-20.04
container: quay.io/helmpack/chart-testing:v3.4.0
runs-on: ubuntu-22.04
container: quay.io/helmpack/chart-testing:v3.8.0@sha256:f058c660a28d99a9394ae081d98921efe068079531f247c86b8054e3c9d407aa
steps:
- name: Install helm-docs
working-directory: /tmp
Expand All @@ -22,32 +22,35 @@ jobs:
chmod +x /usr/local/bin/helm-docs && \
helm-docs --version

- name: Add workspace as safe directory
run: |
git config --global --add safe.directory /__w/hapi-fhir-jpaserver-starter/hapi-fhir-jpaserver-starter

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0

- name: Check if documentation is up-to-date
run: helm-docs && git diff --exit-code HEAD

- name: Run chart-testing (lint)
run: ct lint --config .github/ct/config.yaml

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
k8s-version: [1.22.9, 1.23.6, 1.24.1]
k8s-version: [1.25.9, 1.26.4, 1.27.2]
needs:
- lint
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -58,13 +61,12 @@ jobs:
fi

- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.2.0
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@fa81e57adff234b2908110485695db0f181f3c67 # v1.7.0
if: ${{ steps.list-changed.outputs.changed == 'true' }}
with:
version: v0.14.0
cluster_name: kind-cluster-k8s-${{ matrix.k8s-version }}
node_image: kindest/node:v${{ matrix.k8s-version }}

- name: Run chart-testing (install)
run: ct install --config .github/ct/config.yaml
if: steps.list-changed.outputs.changed == 'true'
if: ${{ steps.list-changed.outputs.changed == 'true' }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,6 @@ Temporary Items

# Helm Chart dependencies
**/charts/*.tgz

# Visual Studio Code
.vscode
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
FROM maven:3.8-openjdk-17-slim as build-hapi
WORKDIR /usr/app/hapi-fhir-jpaserver-starter
FROM docker.io/library/maven:3.9.2-eclipse-temurin-17 AS build-hapi
WORKDIR /tmp/hapi-fhir-jpaserver-starter

ARG OPENTELEMETRY_JAVA_AGENT_VERSION=1.17.0
ARG OPENTELEMETRY_JAVA_AGENT_VERSION=1.26.0
RUN curl -LSsO https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v${OPENTELEMETRY_JAVA_AGENT_VERSION}/opentelemetry-javaagent.jar

COPY pom.xml .
COPY server.xml .
RUN mvn -ntp dependency:go-offline

COPY src/ /usr/app/hapi-fhir-jpaserver-starter/src/
COPY src/ /tmp/hapi-fhir-jpaserver-starter/src/
RUN mvn clean install -DskipTests -Djdk.lang.Process.launchMechanism=vfork

FROM build-hapi AS build-distroless
RUN mvn package spring-boot:repackage -Pboot
RUN mkdir /app && cp /usr/app/hapi-fhir-jpaserver-starter/target/ROOT.war /app/main.war
RUN mkdir /app && cp /tmp/hapi-fhir-jpaserver-starter/target/ROOT.war /app/main.war


########### bitnami tomcat version is suitable for debugging and comes with a shell
########### it can be built using eg. `docker build --target tomcat .`
FROM bitnami/tomcat:9.0 as tomcat
FROM bitnami/tomcat:9.0 AS tomcat

RUN rm -rf /opt/bitnami/tomcat/webapps/ROOT && \
mkdir -p /opt/bitnami/hapi/data/hapi/lucenefiles && \
Expand All @@ -30,20 +30,20 @@ USER 1001

COPY --chown=1001:1001 catalina.properties /opt/bitnami/tomcat/conf/catalina.properties
COPY --chown=1001:1001 server.xml /opt/bitnami/tomcat/conf/server.xml
COPY --from=build-hapi --chown=1001:1001 /usr/app/hapi-fhir-jpaserver-starter/target/ROOT.war /opt/bitnami/tomcat/webapps/ROOT.war
COPY --from=build-hapi --chown=1001:1001 /usr/app/hapi-fhir-jpaserver-starter/opentelemetry-javaagent.jar /app
COPY --from=build-hapi --chown=1001:1001 /tmp/hapi-fhir-jpaserver-starter/target/ROOT.war /opt/bitnami/tomcat/webapps/ROOT.war
COPY --from=build-hapi --chown=1001:1001 /tmp/hapi-fhir-jpaserver-starter/opentelemetry-javaagent.jar /app

ENV ALLOW_EMPTY_PASSWORD=yes

########### distroless brings focus on security and runs on plain spring boot - this is the default image
FROM gcr.io/distroless/java17-debian11:nonroot as default
FROM gcr.io/distroless/java17-debian11:nonroot AS default
# 65532 is the nonroot user's uid
# used here instead of the name to allow Kubernetes to easily detect that the container
# is running as a non-root (uid != 0) user.
USER 65532:65532
WORKDIR /app

COPY --chown=nonroot:nonroot --from=build-distroless /app /app
COPY --chown=nonroot:nonroot --from=build-hapi /usr/app/hapi-fhir-jpaserver-starter/opentelemetry-javaagent.jar /app
COPY --chown=nonroot:nonroot --from=build-hapi /tmp/hapi-fhir-jpaserver-starter/opentelemetry-javaagent.jar /app

ENTRYPOINT ["java", "--class-path", "/app/main.war", "-Dloader.path=main.war!/WEB-INF/classes/,main.war!/WEB-INF/,/app/extra-classes", "org.springframework.boot.loader.PropertiesLauncher", "app/main.war"]
ENTRYPOINT ["java", "--class-path", "/app/main.war", "-Dloader.path=main.war!/WEB-INF/classes/,main.war!/WEB-INF/,/app/extra-classes", "org.springframework.boot.loader.PropertiesLauncher"]
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Server will then be accessible at http://localhost:8080/ and eg. http://localhos
```bash
mvn clean package spring-boot:repackage -Pboot && java -jar target/ROOT.war
```
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to eg.
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to eg.

```yaml
tester:
Expand All @@ -250,7 +250,7 @@ Server will then be accessible at http://localhost:8080/ and eg. http://localhos
```bash
mvn clean package com.google.cloud.tools:jib-maven-plugin:dockerBuild -Dimage=distroless-hapi && docker run -p 8080:8080 distroless-hapi
```
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to eg.
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to eg.

```yaml
tester:
Expand All @@ -266,7 +266,7 @@ Server will then be accessible at http://localhost:8080/ and eg. http://localhos
```bash
./build-docker-image.sh && docker run -p 8080:8080 hapi-fhir/hapi-fhir-jpaserver-starter:latest
```
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust you overlay configuration in the application.yaml to eg.
Server will then be accessible at http://localhost:8080/ and eg. http://localhost:8080/fhir/metadata. Remember to adjust your overlay configuration in the application.yaml to eg.

```yaml
tester:
Expand Down Expand Up @@ -315,7 +315,7 @@ spring:
# Then comment all hibernate.search.backend.*
```

Because the integration tests within the project rely on the default H2 database configuration, it is important to either explicity skip the integration tests during the build process, i.e., `mvn install -DskipTests`, or delete the tests altogether. Failure to skip or delete the tests once you've configured PostgreSQL for the datasource.driver, datasource.url, and hibernate.dialect as outlined above will result in build errors and compilation failure.
Because the integration tests within the project rely on the default H2 database configuration, it is important to either explicitly skip the integration tests during the build process, i.e., `mvn install -DskipTests`, or delete the tests altogether. Failure to skip or delete the tests once you've configured PostgreSQL for the datasource.driver, datasource.url, and hibernate.dialect as outlined above will result in build errors and compilation failure.

### Microsoft SQL Server configuration

Expand All @@ -330,14 +330,14 @@ spring:
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
```

Also, make sure you are not setting the Hibernate dialect explicitly, in other words remove any lines similar to:
Also, make sure you are not setting the Hibernate dialect explicitly, in other words, remove any lines similar to:

```
hibernate.dialect: {some none Microsoft SQL dialect}
```


Because the integration tests within the project rely on the default H2 database configuration, it is important to either explicity skip the integration tests during the build process, i.e., `mvn install -DskipTests`, or delete the tests altogether. Failure to skip or delete the tests once you've configured PostgreSQL for the datasource.driver, datasource.url, and hibernate.dialect as outlined above will result in build errors and compilation failure.
Because the integration tests within the project rely on the default H2 database configuration, it is important to either explicitly skip the integration tests during the build process, i.e., `mvn install -DskipTests`, or delete the tests altogether. Failure to skip or delete the tests once you've configured PostgreSQL for the datasource.driver, datasource.url, and hibernate.dialect as outlined above will result in build errors and compilation failure.


NOTE: MS SQL Server by default uses a case-insensitive codepage. This will cause errors with some operations - such as when expanding case-sensitive valuesets (UCUM) as there are unique indexes defined on the terminology tables for codes.
Expand Down Expand Up @@ -381,7 +381,7 @@ Again, browse to the following link to use the server (note that the port 8080 m

[http://localhost:8080/](http://localhost:8080/)

You will then be able access the JPA server e.g. using http://localhost:8080/fhir/metadata.
You will then be able to access the JPA server e.g. using http://localhost:8080/fhir/metadata.

If you would like it to be hosted at eg. hapi-fhir-jpaserver, eg. http://localhost:8080/hapi-fhir-jpaserver/ or http://localhost:8080/hapi-fhir-jpaserver/fhir/metadata - then rename the WAR file to ```hapi-fhir-jpaserver.war``` and adjust the overlay configuration accordingly e.g.

Expand All @@ -398,7 +398,7 @@ If you would like it to be hosted at eg. hapi-fhir-jpaserver, eg. http://localho

## Deploy with docker compose

Docker compose is a simple option to build and deploy container. To deploy with docker compose, you should build the project
Docker compose is a simple option to build and deploy containers. To deploy with docker compose, you should build the project
with `mvn clean install` and then bring up the containers with `docker-compose up -d --build`. The server can be
reached at http://localhost:8080/.

Expand Down
8 changes: 4 additions & 4 deletions charts/hapi-fhir-jpaserver/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 12.1.2
digest: sha256:525689611a29f90b0bc8cd674df5d97024c99eda8104216390f6747904fd0208
generated: "2022-11-21T22:55:45.1699395+01:00"
repository: oci://registry-1.docker.io/bitnamicharts
version: 12.5.6
digest: sha256:4d21dbc02bbdb55b957b0093e37376853727de82396abfadfaf1d738bd51b8e6
generated: "2023-06-03T20:58:45.922102213+02:00"
16 changes: 10 additions & 6 deletions charts/hapi-fhir-jpaserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ sources:
- https://github.com/hapifhir/hapi-fhir-jpaserver-starter
dependencies:
- name: postgresql
version: 12.1.2
repository: https://charts.bitnami.com/bitnami
version: 12.5.6
repository: oci://registry-1.docker.io/bitnamicharts
condition: postgresql.enabled
appVersion: 6.2.2
version: 0.11.1
appVersion: 6.6.0
version: 0.13.0
annotations:
artifacthub.io/license: Apache-2.0
artifacthub.io/changes: |
# When using the list of objects option the valid supported kinds are
# added, changed, deprecated, removed, fixed, and security.
- kind: added
description: allow specifying application properties via yaml config
- kind: added
description: allow setting resource limits and requests for the Helm test pods
- kind: changed
description: updated HAPI FHIR JPA Server app image version to v6.2.2
description: updated curl used by helm tests to version to v8.2.0
- kind: changed
description: updated curl used by helm tests to version to v7.87.0
description: allow disabling the liveness-, readiness-, and startup-probes entirely
32 changes: 11 additions & 21 deletions charts/hapi-fhir-jpaserver/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# HAPI FHIR JPA Server Starter Helm Chart

![Version: 0.11.1](https://img.shields.io/badge/Version-0.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.2.2](https://img.shields.io/badge/AppVersion-6.2.2-informational?style=flat-square)
![Version: 0.13.0](https://img.shields.io/badge/Version-0.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.6.0](https://img.shields.io/badge/AppVersion-6.6.0-informational?style=flat-square)

This helm chart will help you install the HAPI FHIR JPA Server in a Kubernetes environment.

## Sample usage

```sh
helm repo add hapifhir https://hapifhir.github.io/hapi-fhir-jpaserver-starter/
helm install --render-subchart-notes hapi-fhir-jpaserver hapifhir/hapi-fhir-jpaserver
helm install hapi-fhir-jpaserver hapifhir/hapi-fhir-jpaserver
```

> ⚠ By default, the included [PostgreSQL Helm chart](https://github.com/bitnami/charts/tree/master/bitnami/postgresql#upgrading)
> auto-generates a random password for the database which may cause problems when upgrading the chart (see [here for details](https://github.com/bitnami/charts/tree/master/bitnami/postgresql#upgrading)).
## Requirements

| Repository | Name | Version |
|------------|------|---------|
| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.5.6 |

## Values

Expand All @@ -27,24 +30,20 @@ helm install --render-subchart-notes hapi-fhir-jpaserver hapifhir/hapi-fhir-jpas
| externalDatabase.password | string | `""` | database password |
| externalDatabase.port | int | `5432` | database port number |
| externalDatabase.user | string | `"fhir"` | username for the external database |
| extraConfig | string | `""` | additional Spring Boot application config. Mounted as a file and automatically loaded by the application. |
| extraEnv | list | `[]` | extra environment variables to set on the server container |
| fullnameOverride | string | `""` | override the chart fullname |
| image.pullPolicy | string | `"IfNotPresent"` | image pullPolicy to use |
| image.registry | string | `"docker.io"` | registry where the HAPI FHIR server image is hosted |
| image.repository | string | `"hapiproject/hapi"` | the path inside the repository |
| image.tag | string | `"v6.2.2@sha256:9c4e8af94d81ac0049dbb589e4cd855bf78c9c13be6f6844e814c63d63545b44"` | the image tag. As of v5.7.0, this is the `distroless` flavor by default, add `-tomcat` to use the Tomcat-based image. |
| image.tag | string | `"v6.6.0@sha256:c00367865ae5dad4e171cbb68bfc1c39818854079d1565bee4c86a45e78335d0"` | the image tag. As of v5.7.0, this is the `distroless` flavor by default, add `-tomcat` to use the Tomcat-based image. |
| imagePullSecrets | list | `[]` | image pull secrets to use when pulling the image |
| ingress.annotations | object | `{}` | provide any additional annotations which may be required. Evaluated as a template. |
| ingress.enabled | bool | `false` | whether to create an Ingress to expose the FHIR server HTTP endpoint |
| ingress.hosts[0].host | string | `"fhir-server.127.0.0.1.nip.io"` | |
| ingress.hosts[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.hosts[0].paths[0] | string | `"/"` | |
| ingress.tls | list | `[]` | ingress TLS config |
| livenessProbe.failureThreshold | int | `5` | |
| livenessProbe.initialDelaySeconds | int | `30` | |
| livenessProbe.periodSeconds | int | `20` | |
| livenessProbe.successThreshold | int | `1` | |
| livenessProbe.timeoutSeconds | int | `30` | |
| metrics.service.port | int | `8081` | |
| metrics.serviceMonitor.additionalLabels | object | `{}` | additional labels to apply to the ServiceMonitor object, e.g. `release: prometheus` |
| metrics.serviceMonitor.enabled | bool | `false` | if enabled, creates a ServiceMonitor instance for Prometheus Operator-based monitoring |
Expand All @@ -62,11 +61,6 @@ helm install --render-subchart-notes hapi-fhir-jpaserver hapifhir/hapi-fhir-jpas
| postgresql.primary.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
| postgresql.primary.containerSecurityContext.runAsNonRoot | bool | `true` | |
| postgresql.primary.containerSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | |
| readinessProbe.failureThreshold | int | `5` | |
| readinessProbe.initialDelaySeconds | int | `30` | |
| readinessProbe.periodSeconds | int | `20` | |
| readinessProbe.successThreshold | int | `1` | |
| readinessProbe.timeoutSeconds | int | `20` | |
| replicaCount | int | `1` | number of replicas to deploy |
| resources | object | `{}` | configure the FHIR server's resource requests and limits |
| securityContext.allowPrivilegeEscalation | bool | `false` | |
Expand All @@ -79,18 +73,14 @@ helm install --render-subchart-notes hapi-fhir-jpaserver hapifhir/hapi-fhir-jpas
| securityContext.seccompProfile.type | string | `"RuntimeDefault"` | |
| service.port | int | `8080` | port where the server will be exposed at |
| service.type | string | `"ClusterIP"` | service type |
| startupProbe.failureThreshold | int | `10` | |
| startupProbe.initialDelaySeconds | int | `30` | |
| startupProbe.periodSeconds | int | `30` | |
| startupProbe.successThreshold | int | `1` | |
| startupProbe.timeoutSeconds | int | `30` | |
| tests.resources | object | `{}` | configure the test pods resource requests and limits |
| tolerations | list | `[]` | pod tolerations |
| topologySpreadConstraints | list | `[]` | pod topology spread configuration see: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#api |

## Development

To update the Helm chart when a new version of the `hapiproject/hapi` image is released, [values.yaml](values.yaml) `image.tag` and the [Chart.yaml](Chart.yaml)'s
`version` and optionally the `appVersion` field on major releases need to be updated. Afterwards, re-generate the [README.md](README.md)
`version` and optionally the `appVersion` field need to be updated. Afterwards, re-generate the [README.md](README.md)
by running:

```sh
Expand Down
Loading