Skip to content

Commit f23b13a

Browse files
committed
Release v0.30.1
1 parent c49495d commit f23b13a

File tree

19 files changed

+221
-144
lines changed

19 files changed

+221
-144
lines changed

.github/distributed-test/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ services:
125125
DB_RESOURCE_CACHE_SIZE: "100000"
126126
DB_RESOURCE_INDEXER_THREADS: "8"
127127
ALLOW_MULTIPLE_DELETE: "true"
128+
ENABLE_INTERACTION_DELETE_HISTORY: "true"
129+
ENABLE_OPERATION_PATIENT_PURGE: "true"
128130
ports:
129131
- "8081:8081"
130132
volumes:
@@ -156,6 +158,8 @@ services:
156158
DB_RESOURCE_CACHE_SIZE: "100000"
157159
DB_RESOURCE_INDEXER_THREADS: "8"
158160
ALLOW_MULTIPLE_DELETE: "true"
161+
ENABLE_INTERACTION_DELETE_HISTORY: "true"
162+
ENABLE_OPERATION_PATIENT_PURGE: "true"
159163
ports:
160164
- "8082:8081"
161165
volumes:

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ jobs:
293293
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
294294
with:
295295
path: ~/.m2/repository
296-
key: ${{ runner.os }}-temurin-17-maven-build-${{ hashFiles('**/deps.edn') }}
296+
key: ${{ runner.os }}-temurin-21-maven-build-${{ hashFiles('**/deps.edn') }}
297297

298298
- name: Download Job IG Profiles
299299
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
@@ -575,7 +575,7 @@ jobs:
575575
run: docker load --input /tmp/blaze.tar
576576

577577
- name: Run Blaze
578-
run: docker run --name blaze -d -e JAVA_TOOL_OPTIONS=-Xmx2g -e ALLOW_MULTIPLE_DELETE=true -p 8080:8080 -p 8081:8081 --read-only --tmpfs /tmp:exec -v blaze-data:/app/data blaze:latest
578+
run: docker run --name blaze -d -e JAVA_TOOL_OPTIONS=-Xmx2g -e ALLOW_MULTIPLE_DELETE=true -e ENABLE_INTERACTION_DELETE_HISTORY=true -e ENABLE_OPERATION_PATIENT_PURGE=true -p 8080:8080 -p 8081:8081 --read-only --tmpfs /tmp:exec -v blaze-data:/app/data blaze:latest
579579
if: ${{ matrix.variant == 'standalone' }}
580580

581581
- name: Run Kafka, Cassandra and Blaze
@@ -1475,7 +1475,7 @@ jobs:
14751475
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
14761476
with:
14771477
path: ~/.m2/repository
1478-
key: ${{ runner.os }}-temurin-17-maven-jepsen-${{ hashFiles('modules/jepsen/deps.edn') }}
1478+
key: ${{ runner.os }}-temurin-21-maven-jepsen-${{ hashFiles('modules/jepsen/deps.edn') }}
14791479

14801480
- name: APT Update
14811481
run: sudo apt-get update
@@ -1493,7 +1493,7 @@ jobs:
14931493
run: docker load --input /tmp/blaze.tar
14941494

14951495
- name: Run Blaze
1496-
run: docker run --name blaze -d -e JAVA_TOOL_OPTIONS=-Xmx2g -p 8080:8080 --read-only --tmpfs /tmp:exec -v blaze-data:/app/data blaze:latest
1496+
run: docker run --name blaze -d -e JAVA_TOOL_OPTIONS=-Xmx2g -e ENABLE_INTERACTION_DELETE_HISTORY=true -p 8080:8080 --read-only --tmpfs /tmp:exec -v blaze-data:/app/data blaze:latest
14971497

14981498
- name: Wait for Blaze
14991499
run: .github/scripts/wait-for-url.sh http://localhost:8080/health
@@ -1867,7 +1867,7 @@ jobs:
18671867
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
18681868
with:
18691869
path: ~/.m2/repository
1870-
key: ${{ runner.os }}-temurin-17-maven-jepsen-${{ hashFiles('modules/jepsen/deps.edn') }}
1870+
key: ${{ runner.os }}-temurin-21-maven-jepsen-${{ hashFiles('modules/jepsen/deps.edn') }}
18711871

18721872
- name: APT Update
18731873
run: sudo apt-get update

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## v0.30.1
4+
5+
### Bugfixes
6+
7+
* Fix Returning Resources with Non-Matching Identifier ([#2111](https://github.com/samply/blaze/issues/2111))
8+
9+
### Enhancements (alpha)
10+
11+
* Implement the delete-history Command ([#1382](https://github.com/samply/blaze/issues/1382)) ([docs](https://github.com/samply/blaze/blob/main/docs/api.md#delete-history))
12+
* Implement Operation $purge on Patient ([#1298](https://github.com/samply/blaze/issues/1298)) ([docs](https://github.com/samply/blaze/blob/main/docs/api/operation-patient-purge.md))
13+
14+
The full changelog can be found [here](https://github.com/samply/blaze/milestone/99?closed=1).
15+
316
## v0.30.0
417

518
### Enhancements

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get upgrade -y && \
77
rm -rf /var/lib/apt/lists/
88

99
RUN mkdir -p /app/data && chown 1001:1001 /app/data
10-
COPY target/blaze-0.30.0-standalone.jar /app/
10+
COPY target/blaze-0.30.1-standalone.jar /app/
1111

1212
WORKDIR /app
1313
USER 1001
@@ -20,4 +20,4 @@ ENV RESOURCE_DB_DIR="/app/data/resource"
2020
ENV ADMIN_INDEX_DB_DIR="/app/data/admin-index"
2121
ENV ADMIN_TRANSACTION_DB_DIR="/app/data/admin-transaction"
2222

23-
CMD ["java", "-jar", "blaze-0.30.0-standalone.jar"]
23+
CMD ["java", "-jar", "blaze-0.30.1-standalone.jar"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A demo installation can be found [here](https://blaze.life.uni-leipzig.de/fhir)
2020

2121
Blaze is widely used in the [Medical Informatics Initiative](https://www.medizininformatik-initiative.de) in Germany and in [Biobanks](https://www.bbmri-eric.eu) across Europe. A 1.0 version is expected in the next months.
2222

23-
Latest release: [v0.30.0][5]
23+
Latest release: [v0.30.1][5]
2424

2525
## Quick Start
2626

@@ -76,7 +76,7 @@ Unless required by applicable law or agreed to in writing, software distributed
7676

7777
[3]: <https://cql.hl7.org/tests.html>
7878
[4]: <https://alexanderkiel.gitbook.io/blaze/deployment>
79-
[5]: <https://github.com/samply/blaze/releases/tag/v0.30.0>
79+
[5]: <https://github.com/samply/blaze/releases/tag/v0.30.1>
8080
[6]: <https://www.yourkit.com/java/profiler/>
8181
[7]: <https://www.yourkit.com/.net/profiler/>
8282
[8]: <https://www.yourkit.com/youmonitor/>

build.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[java.time LocalDate]))
66

77
(def lib 'samply/blaze)
8-
(def version "0.30.0")
8+
(def version "0.30.1")
99
(def class-dir "target/classes")
1010
(def basis (b/create-basis {:project "deps.edn"}))
1111
(def uber-file (format "target/%s-%s-standalone.jar" (name lib) version))

docs/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default defineConfig({
2727
nav: [
2828
{text: 'Home', link: '/'},
2929
{
30-
text: "v0.30.0",
30+
text: "v0.30.1",
3131
items: [
3232
{
3333
text: 'Changelog',

docs/api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ By default Blaze enforces referential integrity while deleting resources. So res
5252

5353
### Delete History
5454

55+
> [!CAUTION]
56+
> The delete history interaction is currently **alpha** and has to be enabled explicitly by setting the env var `ENABLE_INTERACTION_DELETE_HISTORY` to true. Please don't use it in production. Please be aware that the database might not be able to migrate to a newer version of Blaze if the operation was used.
57+
5558
> [!CAUTION]
5659
> The delete history interaction is trial use in the unreleased next version of FHIR. So it is subject to change. Please use it with care.
5760

docs/api/operation-patient-purge.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# Operation Patient Purge
1+
# Operation \$purge on Patient
22

33
> [!CAUTION]
4-
> The patient $purge operation is trial use in the unreleased next version of FHIR. So it is subject to change. Please use it with care.
4+
> The operation \$purge on patient is currently **alpha** and has to be enabled explicitly by setting the env var `ENABLE_OPERATION_PATIENT_PURGE` to true. Please don't use it in production. Please be aware that the database might not be able to migrate to a newer version of Blaze if the operation was used.
5+
6+
> [!CAUTION]
7+
> The operation \$purge on patient is trial use in the unreleased next version of FHIR (R6). So it is subject to change. Please use it with care.
58
69
The patient \$purge operation is used to request the removal of all current and historical versions for all resources in a patient compartment. The return is an OperationOutcome with results and/or details about execution. The `code` of the first issue of the OperationOutcome is either `success` on successful purging of all resources or an error.
710

docs/deployment/environment-variables.md

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -86,34 +86,36 @@ More information about distributed deployment are available [here](distributed-b
8686

8787
### Other Environment Variables
8888

89-
| Name | Default | Since | Depr ¹ | Description |
90-
|:----------------------------------------|:---------------------------|:-------|--------|:------------------------------------------------------------------------------------------------------------|
91-
| PROXY_HOST || v0.6 || REMOVED: use -Dhttp.proxyHost |
92-
| PROXY_PORT || v0.6 || REMOVED: use -Dhttp.proxyPort |
93-
| PROXY_USER || v0.6.1 || REMOVED: try [SOCKS Options][1] |
94-
| PROXY_PASSWORD || v0.6.1 || REMOVED: try [SOCKS Options][1] |
95-
| CONNECTION_TIMEOUT | 5 s | v0.6.3 || connection timeout for outbound HTTP requests |
96-
| REQUEST_TIMEOUT | 30 s | v0.6.3 || REMOVED |
97-
| TERM_SERVICE_URI | [http://tx.fhir.org/r4][6] | v0.6 | v0.11 | Base URI of the terminology service |
98-
| BASE_URL | `http://localhost:8080` ||| The URL under which Blaze is accessible by clients. |
99-
| CONTEXT_PATH | /fhir | v0.11 || Context path under which the FHIR RESTful API will be accessible. |
100-
| SERVER_PORT | 8080 ||| The port of the main HTTP server |
101-
| METRICS_SERVER_PORT | 8081 | v0.6 || The port of the Prometheus metrics server |
102-
| LOG_LEVEL | info | v0.6 || one of trace, debug, info, warn or error |
103-
| JAVA_TOOL_OPTIONS |||| JVM options \(Docker only\) |
104-
| FHIR_OPERATION_EVALUATE_MEASURE_THREADS | number of CPUs | v0.8 || The number threads used for $evaluate-measure executions. |
105-
| FHIR_OPERATION_EVALUATE_MEASURE_TIMEOUT | 3600000 (1h) | v0.19 || Timeout in milliseconds for synchronous $evaluate-measure executions. |
106-
| OPENID_PROVIDER_URL || v0.11 || [OpenID Connect][4] provider URL to enable [authentication][5] |
107-
| OPENID_CLIENT_TRUST_STORE || v0.26 || A PKCS #12 trust store containing CA certificates needed for the [OpenID Connect][4] provider. |
108-
| OPENID_CLIENT_TRUST_STORE_PASS || v0.26 || The password for the PKCS #12 trust store. |
109-
| ENFORCE_REFERENTIAL_INTEGRITY | true | v0.14 || Enforce referential integrity on resource create, update and delete. |
110-
| DB_SYNC_TIMEOUT | 10000 | v0.15 || Timeout in milliseconds for all reading FHIR interactions acquiring the newest database state. |
111-
| DB_SEARCH_PARAM_BUNDLE || v0.21 || Name of a custom search parameter bundle file. |
112-
| ENABLE_ADMIN_API || v0.26 || Set to `true` if the optional Admin API should be enabled. Needed by the frontend. |
113-
| CQL_EXPR_CACHE_SIZE || v0.28 || Size of the CQL expression cache in MiB. This cache is part of the JVM heap. Will be disabled if not given. |
114-
| CQL_EXPR_CACHE_REFRESH | PT24H | v0.28 || The duration after which a Bloom filter of the CQL expression cache will be refreshed. |
115-
| CQL_EXPR_CACHE_THREADS | 4 | v0.28 || The maximum number of parallel Bloom filter calculations for the CQL expression cache. |
116-
| ALLOW_MULTIPLE_DELETE | false | v0.30 || Allow deleting multiple resources using [Conditional Delete](../api.md#conditional-delete). |
89+
| Name | Default | Since | Depr ¹ | Description |
90+
|:----------------------------------------|:---------------------------|:--------|--------|:------------------------------------------------------------------------------------------------------------|
91+
| PROXY_HOST || v0.6 || REMOVED: use -Dhttp.proxyHost |
92+
| PROXY_PORT || v0.6 || REMOVED: use -Dhttp.proxyPort |
93+
| PROXY_USER || v0.6.1 || REMOVED: try [SOCKS Options][1] |
94+
| PROXY_PASSWORD || v0.6.1 || REMOVED: try [SOCKS Options][1] |
95+
| CONNECTION_TIMEOUT | 5 s | v0.6.3 || connection timeout for outbound HTTP requests |
96+
| REQUEST_TIMEOUT | 30 s | v0.6.3 || REMOVED |
97+
| TERM_SERVICE_URI | [http://tx.fhir.org/r4][6] | v0.6 | v0.11 | Base URI of the terminology service |
98+
| BASE_URL | `http://localhost:8080` ||| The URL under which Blaze is accessible by clients. |
99+
| CONTEXT_PATH | /fhir | v0.11 || Context path under which the FHIR RESTful API will be accessible. |
100+
| SERVER_PORT | 8080 ||| The port of the main HTTP server |
101+
| METRICS_SERVER_PORT | 8081 | v0.6 || The port of the Prometheus metrics server |
102+
| LOG_LEVEL | info | v0.6 || one of trace, debug, info, warn or error |
103+
| JAVA_TOOL_OPTIONS |||| JVM options \(Docker only\) |
104+
| FHIR_OPERATION_EVALUATE_MEASURE_THREADS | number of CPUs | v0.8 || The number threads used for $evaluate-measure executions. |
105+
| FHIR_OPERATION_EVALUATE_MEASURE_TIMEOUT | 3600000 (1h) | v0.19 || Timeout in milliseconds for synchronous $evaluate-measure executions. |
106+
| OPENID_PROVIDER_URL || v0.11 || [OpenID Connect][4] provider URL to enable [authentication][5] |
107+
| OPENID_CLIENT_TRUST_STORE || v0.26 || A PKCS #12 trust store containing CA certificates needed for the [OpenID Connect][4] provider. |
108+
| OPENID_CLIENT_TRUST_STORE_PASS || v0.26 || The password for the PKCS #12 trust store. |
109+
| ENFORCE_REFERENTIAL_INTEGRITY | true | v0.14 || Enforce referential integrity on resource create, update and delete. |
110+
| DB_SYNC_TIMEOUT | 10000 | v0.15 || Timeout in milliseconds for all reading FHIR interactions acquiring the newest database state. |
111+
| DB_SEARCH_PARAM_BUNDLE || v0.21 || Name of a custom search parameter bundle file. |
112+
| ENABLE_ADMIN_API || v0.26 || Set to `true` if the optional Admin API should be enabled. Needed by the frontend. |
113+
| CQL_EXPR_CACHE_SIZE || v0.28 || Size of the CQL expression cache in MiB. This cache is part of the JVM heap. Will be disabled if not given. |
114+
| CQL_EXPR_CACHE_REFRESH | PT24H | v0.28 || The duration after which a Bloom filter of the CQL expression cache will be refreshed. |
115+
| CQL_EXPR_CACHE_THREADS | 4 | v0.28 || The maximum number of parallel Bloom filter calculations for the CQL expression cache. |
116+
| ALLOW_MULTIPLE_DELETE | false | v0.30 || Allow deleting multiple resources using [Conditional Delete](../api.md#conditional-delete). |
117+
| ENABLE_INTERACTION_DELETE_HISTORY | - | v0.30.1 || Enable the [Delete History](../api.md#delete-history) interaction. |
118+
| ENABLE_OPERATION_PATIENT_PURGE | - | v0.30.1 || Enable the [Operation \$purge on Patient](../api/operation-patient-purge.md). |
117119

118120
¹ Deprecated
119121

0 commit comments

Comments
 (0)