Skip to content
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

[WIP] Switch to Internal Resource Identifier in the Index #745

Open
wants to merge 242 commits into
base: develop-v0.18
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
242 commits
Select commit Hold shift + click to select a range
9bbc360
Merge pull request #741 from samply/release-v0.17.7
alexanderkiel Jun 5, 2022
88dc464
Allow For Spaces in CQL File Path
alexanderkiel Jun 8, 2022
f7edb97
Merge pull request #744 from samply/eval-measure-script
alexanderkiel Jun 8, 2022
48c1afc
Implement CQL ConvertsTo: Decimal, Integer, Long, Quantity and String
marlenaMyr May 30, 2022
7c4cd44
Merge pull request #726 from samply/convertstodecimal
alexanderkiel Jun 9, 2022
f05fcfc
Update Dependencies
alexanderkiel Jun 20, 2022
bf7658e
Merge pull request #746 from samply/update
alexanderkiel Jun 20, 2022
783f42e
Switch to Media Type text/cql-identifier for CQL Expressions
alexanderkiel Jun 29, 2022
133ebee
Update Dependencies
alexanderkiel Jun 29, 2022
e853014
Merge pull request #748 from samply/measure
alexanderkiel Jun 29, 2022
5ef48c5
Merge pull request #749 from samply/update
alexanderkiel Jun 29, 2022
5d276e3
Release v0.17.8
alexanderkiel Jun 30, 2022
ebc0762
Merge pull request #753 from samply/release-v0.17.8
alexanderkiel Jun 30, 2022
8bd10f7
Implement CQL ToTime and rearrange ToDate and ToDateTime
marlenaMyr May 30, 2022
f8f8683
Merge pull request #747 from samply/to-time
alexanderkiel Jul 1, 2022
2b76d13
Improve CQL Error Message on Subtract
alexanderkiel Jul 1, 2022
3d2bd2e
Merge pull request #755 from samply/cql-error-msg
alexanderkiel Jul 1, 2022
3926bf0
Release v0.17.9
alexanderkiel Jul 1, 2022
7ca2e4a
Merge pull request #757 from samply/release-v0.17.9
alexanderkiel Jul 2, 2022
4bcd0d3
Implement CQL ConvertsToDate and ConvertsToDateTime and add new query…
marlenaMyr Jun 30, 2022
9bf00ee
Merge pull request #751 from samply/converts-to-date-time
alexanderkiel Jul 4, 2022
4b2dc55
Implement CQL ConvertsToTime
marlenaMyr Jul 4, 2022
b95b04b
Fix Reference Resolution on Extended Primitive References
alexanderkiel Jul 4, 2022
945c43b
Merge pull request #760 from samply/758-extended-references
alexanderkiel Jul 4, 2022
12d31f1
Merge pull request #759 from samply/converts-to-time
alexanderkiel Jul 4, 2022
be31285
Update Dev Dependencies
alexanderkiel Jul 4, 2022
11b1098
Merge pull request #761 from samply/update
alexanderkiel Jul 4, 2022
d8bf662
Release v0.17.10
alexanderkiel Jul 4, 2022
6a20209
Merge pull request #763 from samply/release-v0.17.10
alexanderkiel Jul 5, 2022
a84c303
Fix Quantity Indexing without Value
alexanderkiel Jul 5, 2022
cd22ea8
Merge pull request #765 from samply/764-quantity-wo-value
alexanderkiel Jul 5, 2022
579f233
Implement Functions in CQL
alexanderkiel Jul 7, 2022
af6006d
Merge pull request #766 from samply/501-cql-functions
alexanderkiel Jul 7, 2022
a5c2552
Fix Deserialisation of Primitive Values in Extensions
alexanderkiel Jul 13, 2022
483aa88
Merge pull request #769 from samply/767-primitive-value-extension
alexanderkiel Jul 13, 2022
02f2409
Release v0.17.11
alexanderkiel Jul 13, 2022
188b83c
Merge pull request #771 from samply/release-v0.17.11
alexanderkiel Jul 14, 2022
a908dec
Add type operators to deps_infer.clj and normalizer.clj
marlenaMyr Jul 1, 2022
ce6b4ac
Remove Bare Polymorph JSON Properties
alexanderkiel Jul 21, 2022
909d040
Merge pull request #772 from samply/remove-bar-properties
alexanderkiel Jul 21, 2022
ba7f3b1
Migrate to Eclipse Temurin because OpenJDK is Deprecated
alexanderkiel Jul 21, 2022
706786c
Merge pull request #773 from samply/temurin
alexanderkiel Jul 21, 2022
698ebbb
Update Dependencies
alexanderkiel Jul 21, 2022
1d589e3
Merge pull request #774 from samply/update
alexanderkiel Jul 21, 2022
2535685
Release v0.17.12
alexanderkiel Jul 21, 2022
bf248a5
Merge pull request #776 from samply/release-v0.17.12
alexanderkiel Jul 22, 2022
642175d
Merge pull request #754 from samply/deps_infer
alexanderkiel Jul 22, 2022
3a87838
Allow Population Basis Differ from Subject
alexanderkiel Jul 12, 2022
02cfb12
Merge pull request #768 from samply/measure-population-basis
alexanderkiel Aug 1, 2022
f1df40c
Update Dependencies
alexanderkiel Aug 2, 2022
82427ae
Merge pull request #780 from samply/update
alexanderkiel Aug 2, 2022
03fd97a
Allow Metadata Requests in Batches
alexanderkiel Aug 2, 2022
edeacd8
Merge pull request #781 from samply/778-batch-metadata
alexanderkiel Aug 2, 2022
1539efd
Implement Sorting by _lastUpdated
alexanderkiel Aug 3, 2022
2db9d88
Merge pull request #783 from samply/sort
alexanderkiel Aug 4, 2022
3778a0e
Add Important Eye Candy at Startup
alexanderkiel Aug 4, 2022
fcf5180
Merge pull request #784 from samply/eye-candy
alexanderkiel Aug 5, 2022
fc91629
Update Dependencies
alexanderkiel Aug 9, 2022
4e0337d
Merge pull request #785 from samply/update
alexanderkiel Aug 10, 2022
a0cb701
Update Dependencies
alexanderkiel Sep 6, 2022
68f677f
Merge pull request #787 from samply/update
alexanderkiel Sep 6, 2022
697caa8
Add Some CQL Tests
alexanderkiel Sep 8, 2022
82afcea
Merge pull request #788 from samply/add-cql-tests
alexanderkiel Sep 12, 2022
edf773c
Update Dependencies
alexanderkiel Sep 12, 2022
4614051
Merge pull request #789 from samply/update
alexanderkiel Sep 13, 2022
d33d340
Allow to Set Separate WAL Dirs
alexanderkiel Sep 14, 2022
1bf3b79
Merge pull request #791 from samply/wal-dir
alexanderkiel Sep 14, 2022
dfc7eb4
Add Documentation Index Files
alexanderkiel Sep 21, 2022
9195076
Merge pull request #796 from samply/doc
alexanderkiel Sep 21, 2022
eb69fed
Update Dependencies
alexanderkiel Sep 21, 2022
b336cd3
Merge pull request #797 from samply/update
alexanderkiel Sep 21, 2022
c8a8078
Release v0.18.0
alexanderkiel Sep 22, 2022
95e634d
Merge pull request #800 from samply/release-v0.18.0
alexanderkiel Sep 22, 2022
4c01f31
Uninstall wget because of CVE-2021-31879
alexanderkiel Sep 22, 2022
b39be1d
Merge pull request #801 from samply/wget
alexanderkiel Sep 22, 2022
49381c0
Add TNM-T CQL Test
alexanderkiel Oct 4, 2022
f25df51
Merge pull request #805 from samply/cql-query-test-tnm
alexanderkiel Oct 4, 2022
8ae8b39
Update Dependencies
alexanderkiel Oct 4, 2022
c67eb56
Merge pull request #806 from samply/update
alexanderkiel Oct 4, 2022
3876250
Add Histology CQL Test
alexanderkiel Oct 5, 2022
79fbf3c
Merge pull request #807 from samply/cql-test
alexanderkiel Oct 5, 2022
9ba9133
Add Date Component CQL Test
alexanderkiel Oct 11, 2022
a9a0202
Merge pull request #812 from samply/date-component-cql-test
alexanderkiel Oct 11, 2022
e628ab6
Update Dependencies
alexanderkiel Oct 11, 2022
92a5b00
Merge pull request #813 from samply/update
alexanderkiel Oct 11, 2022
2a94559
Add Release badge
alexanderkiel Oct 12, 2022
c4f38ac
Merge pull request #814 from samply/release-badge
alexanderkiel Oct 12, 2022
1efc415
Fix Git SHA Problems in GitHub Actions
alexanderkiel Oct 13, 2022
0e9ab6b
Merge pull request #816 from samply/fix-ci
alexanderkiel Oct 13, 2022
dbb85f1
Ensure CQL Library Name Equals its Filename
alexanderkiel Oct 12, 2022
f5be5c7
Merge pull request #815 from samply/rename-cql-files
alexanderkiel Oct 13, 2022
31d1751
Implement CQL Is
marlenaMyr Sep 19, 2022
c1c6e44
Merge pull request #795 from samply/is
alexanderkiel Oct 13, 2022
8e7b98f
Update Dependencies
alexanderkiel Oct 14, 2022
ce41370
Merge pull request #817 from samply/update
alexanderkiel Oct 14, 2022
66da081
Release v0.18.1
alexanderkiel Oct 14, 2022
17392b8
Merge pull request #819 from samply/release-v0.18.1
alexanderkiel Oct 14, 2022
d7d17b3
Update Dependencies
alexanderkiel Oct 25, 2022
da5f103
Fix Storage of Bundles with References
alexanderkiel Oct 25, 2022
875cd62
Merge pull request #822 from samply/fix-bundle-references
alexanderkiel Oct 25, 2022
d3be565
Merge pull request #824 from samply/update
alexanderkiel Oct 25, 2022
8629c95
Release v0.18.2
alexanderkiel Oct 25, 2022
0dcacf5
Merge pull request #826 from samply/release-v0.18.2
alexanderkiel Nov 1, 2022
d49bc0f
Update Dependencies
alexanderkiel Nov 7, 2022
8c93ac7
Merge pull request #828 from samply/update
alexanderkiel Nov 7, 2022
a1d542e
Remove English Locale to Prevent CQL Parsing Bug
alexanderkiel Nov 8, 2022
578e05b
Merge pull request #829 from samply/remove-locale
alexanderkiel Nov 8, 2022
de4515f
Revert Purging curl for Future Docker Health Checks
alexanderkiel Nov 10, 2022
215ae21
Merge pull request #831 from samply/docker-healthcheck
alexanderkiel Nov 10, 2022
c15a1a9
Release v0.18.3
alexanderkiel Nov 10, 2022
91b79a1
Merge pull request #834 from samply/release-v0.18.3
alexanderkiel Nov 10, 2022
10c068f
Add Form to Concatenate
alexanderkiel Nov 11, 2022
7903fba
Fix CQL Function Argument Hiding
alexanderkiel Nov 11, 2022
4124961
Merge pull request #835 from samply/remove-single-scope
alexanderkiel Nov 12, 2022
99fc73f
Release v0.18.4
alexanderkiel Nov 12, 2022
255ac9f
Merge pull request #837 from samply/release-v0.18.4
alexanderkiel Nov 14, 2022
efc345b
Implement CQL ratio
marlenaMyr Oct 11, 2022
bcb25bb
Merge pull request #810 from samply/ratio
alexanderkiel Nov 15, 2022
06a4f90
Implement CQL concept
marlenaMyr Nov 15, 2022
1eee82d
Merge pull request #839 from samply/concept
alexanderkiel Nov 17, 2022
c362bc1
Support HTTP Header If-None-Match in Update Interactions
alexanderkiel Nov 26, 2022
3d22ea3
Update Dependencies
alexanderkiel Nov 27, 2022
56298a4
Merge pull request #842 from samply/782-ifnonematch
alexanderkiel Nov 27, 2022
4f8a777
Merge pull request #843 from samply/update
alexanderkiel Nov 27, 2022
38b93e0
Remove Conditional Patch
alexanderkiel Nov 27, 2022
1e30dcc
Merge pull request #844 from samply/remove-conditional-patch
alexanderkiel Nov 27, 2022
2298e1a
Add Chaining Without Referential Integrity Test:
alexanderkiel Nov 28, 2022
8b7e57c
Merge pull request #846 from samply/chaining-test
alexanderkiel Nov 28, 2022
4e6824d
Implement CQL ToRatio
marlenaMyr Nov 22, 2022
cf8977d
Merge pull request #840 from samply/ToRatio
alexanderkiel Nov 29, 2022
cd2080f
Update Blazectl
alexanderkiel Nov 29, 2022
50d6876
Merge pull request #847 from samply/update-blazectl
alexanderkiel Nov 29, 2022
d488230
Implement CQL ConceptRef and Allow Concept in Retrieve
marlenaMyr Dec 1, 2022
fe99e1c
Merge pull request #850 from samply/ConceptRef
alexanderkiel Dec 1, 2022
d5bfff9
Return CodeableConcepts as is for Strata
alexanderkiel Dec 4, 2022
64e8f53
Update Dependencies
alexanderkiel Dec 4, 2022
9baf13c
Merge pull request #852 from samply/update
alexanderkiel Dec 4, 2022
8373260
Merge pull request #851 from samply/codeable-concept-stratum
alexanderkiel Dec 4, 2022
f122c88
Add a Backport of R5 Quantity Stratum Values
alexanderkiel Dec 6, 2022
5d47310
Merge pull request #853 from samply/stratum-value
alexanderkiel Dec 6, 2022
5271c49
Fix Jepsen Tests
alexanderkiel Dec 6, 2022
a2e7aa5
Merge pull request #854 from samply/fix-jepsen-tests
alexanderkiel Dec 6, 2022
9c20088
Update Jepsen
alexanderkiel Dec 6, 2022
b4843c6
Merge pull request #855 from samply/update-jepsen
alexanderkiel Dec 6, 2022
48bb9f0
Update CQL-to-ELM Translator
alexanderkiel Dec 7, 2022
7685a03
Merge pull request #856 from samply/update-cql
alexanderkiel Dec 7, 2022
36201fb
Use Official FHIR Backport Mechanism for MeasureReport Stratum Values
alexanderkiel Dec 8, 2022
0a380b9
Merge pull request #857 from samply/backport-extension-url
alexanderkiel Dec 8, 2022
ee99a91
Decrease size of docker image
lablans Dec 8, 2022
ceb729d
Remove Resources Source Dir in Module CQL
alexanderkiel Dec 8, 2022
ce90dc6
Merge pull request #859 from samply/build-fix
alexanderkiel Dec 8, 2022
814ff40
Merge pull request #858 from samply/smaller-docker
alexanderkiel Dec 8, 2022
ec8e623
Use Tools Build
alexanderkiel Sep 22, 2022
67d01ce
Merge pull request #861 from samply/tools-build
alexanderkiel Dec 11, 2022
1eb3720
Rename blaze.metrics.Collector to Resolve Loading Issue
alexanderkiel Dec 12, 2022
0ee6320
Merge pull request #862 from samply/rename-collector
alexanderkiel Dec 12, 2022
043d427
Add Documentation of using CQL with Blazectl
alexanderkiel Dec 1, 2022
095321d
Update Dependencies
alexanderkiel Dec 12, 2022
fc0b967
Merge pull request #863 from samply/update
alexanderkiel Dec 12, 2022
06aa4ed
Merge pull request #849 from samply/cql-blazectl
alexanderkiel Dec 12, 2022
fdace70
Implement CQL toConcept
marlenaMyr Dec 13, 2022
0d9c0a8
Merge pull request #865 from samply/toConcept
alexanderkiel Dec 14, 2022
a39ecd0
Improve Hashing Performance
alexanderkiel Dec 14, 2022
7282dd5
Merge pull request #866 from samply/hash-perf
alexanderkiel Dec 15, 2022
004c124
Fix Date Search
alexanderkiel Dec 12, 2022
f2f5dde
Merge pull request #864 from samply/fix-date-search
alexanderkiel Dec 16, 2022
407294f
Update Dependencies
alexanderkiel Dec 16, 2022
f7c56a7
Merge pull request #867 from samply/update
alexanderkiel Dec 17, 2022
9b2a28c
Push Docker Image after Integration Tests
alexanderkiel Dec 17, 2022
3364cf7
Merge pull request #868 from samply/push-image-after-tests
alexanderkiel Dec 17, 2022
d8eeb55
Release v0.18.5
alexanderkiel Dec 17, 2022
0b45d3f
Merge pull request #870 from samply/release-v0.18.5
alexanderkiel Dec 19, 2022
36f1b19
Update Dependencies
alexanderkiel Jan 9, 2023
138b7c9
Merge pull request #874 from samply/update
alexanderkiel Jan 10, 2023
ff79610
Add Measure ID to Anomaly
alexanderkiel Jan 9, 2023
cb53f6d
Merge pull request #873 from samply/measure-id
alexanderkiel Jan 10, 2023
3925cb1
Add Integration Test Uploading a Big Transaction
alexanderkiel Jan 10, 2023
d24b3ab
Remove Test Coverage Dependency from Push Image Job
alexanderkiel Jan 10, 2023
4a59e00
Merge pull request #875 from samply/big-tx
alexanderkiel Jan 10, 2023
b981f23
Update Copyright to 2023
alexanderkiel Jan 10, 2023
a10e3a6
Merge pull request #876 from samply/test-cov
alexanderkiel Jan 10, 2023
e194c07
Merge pull request #877 from samply/copyright
alexanderkiel Jan 10, 2023
40676ec
Enhance Development Docs
alexanderkiel Jan 12, 2023
54e209e
Merge pull request #878 from samply/dev-doc
alexanderkiel Jan 12, 2023
6ceb05e
Update Dev Dependencies
alexanderkiel Jan 16, 2023
11e6d63
Merge pull request #880 from samply/update
alexanderkiel Jan 16, 2023
6f3550a
Remove Stratifier Ageclass Test
alexanderkiel Jan 23, 2023
77c5dfe
Merge pull request #883 from samply/remove-ageclass-test
alexanderkiel Jan 23, 2023
fc002fb
Update Dependencies
alexanderkiel Jan 23, 2023
bf10d4e
Merge pull request #884 from samply/update
alexanderkiel Jan 24, 2023
63f37bd
Release v0.18.6
alexanderkiel Jan 24, 2023
0619211
Merge pull request #887 from samply/release-v0.18.6
alexanderkiel Jan 25, 2023
f40de05
Add Evaluate Measure Timeout
alexanderkiel Jan 25, 2023
750a64d
Merge pull request #888 from samply/evaluate-measure-timeout
alexanderkiel Jan 26, 2023
610bee5
Release v0.19.0
alexanderkiel Jan 26, 2023
1a039eb
Merge pull request #890 from samply/release-v0.19.0
alexanderkiel Jan 27, 2023
00eff9f
Fix Two Typos
alexanderkiel Jan 31, 2023
1fba10b
Code Cosmetics
alexanderkiel Jan 31, 2023
3b3e2c6
Implement CQL list operator Times
marlenaMyr Jan 31, 2023
06e84e5
Merge pull request #894 from samply/Times
alexanderkiel Jan 31, 2023
02b9975
Merge pull request #893 from samply/cosmetics
alexanderkiel Jan 31, 2023
baffd2c
Merge pull request #892 from samply/typos
alexanderkiel Jan 31, 2023
a892116
Wait at Maximum Two Minutes for Services in Tests
alexanderkiel Jan 31, 2023
adee3c0
Merge pull request #896 from samply/max-wait-time
alexanderkiel Jan 31, 2023
0ed41ef
CQL add documentation
marlenaMyr Jan 31, 2023
299b033
Merge pull request #895 from samply/Doku
alexanderkiel Feb 1, 2023
2a2c066
Cleanup RocksDB Database Options Handling
alexanderkiel Feb 3, 2023
7520365
Merge pull request #897 from samply/db-opts
alexanderkiel Feb 3, 2023
ea6cb7f
Update Dependencies
alexanderkiel Feb 6, 2023
9fb23d0
Merge pull request #898 from samply/update
alexanderkiel Feb 9, 2023
f769481
Update Dependencies
alexanderkiel Feb 9, 2023
4f46512
Merge pull request #899 from samply/update
alexanderkiel Feb 9, 2023
d44780d
Release v0.19.1
alexanderkiel Feb 9, 2023
172e942
Merge pull request #900 from samply/release-v0.19.1
alexanderkiel Feb 9, 2023
946e35d
Refactor Database Node Init Tests
alexanderkiel Feb 10, 2023
4f3bbd0
Merge pull request #902 from samply/db-init-test
alexanderkiel Feb 11, 2023
3fa494b
Fix _lastUpdated Search Returning a Resource more than Once
alexanderkiel Feb 12, 2023
3bf07d4
Merge pull request #905 from samply/882-fix-lastupdated-search
alexanderkiel Feb 12, 2023
47a62a1
Update Dependencies
alexanderkiel Feb 12, 2023
41ef90f
Merge pull request #906 from samply/update
alexanderkiel Feb 13, 2023
82baf23
Release v0.19.2
alexanderkiel Feb 13, 2023
8bde381
Merge pull request #907 from samply/release-v0.19.2
alexanderkiel Feb 13, 2023
313c6ff
Move Test Fixture into Test Util Namespace
alexanderkiel Feb 15, 2023
718a450
Restart Blaze on Unavailable Cassandra Database
alexanderkiel Feb 15, 2023
f9ee5b2
Merge pull request #909 from samply/refactor-test-fixture
alexanderkiel Feb 15, 2023
909ce2a
Add more Linked Compartments Tests
alexanderkiel Feb 16, 2023
aee1941
Fix System Search Paging
alexanderkiel Feb 16, 2023
0858949
Merge pull request #910 from samply/fix-system-search-paging
alexanderkiel Feb 16, 2023
8e0c5da
Update Dependencies
alexanderkiel Feb 16, 2023
b38743d
Update Blazectl
alexanderkiel Feb 16, 2023
e2f794f
Merge pull request #912 from samply/update
alexanderkiel Feb 16, 2023
8b5e945
Merge pull request #913 from samply/update-blazectl
alexanderkiel Feb 16, 2023
790a002
Extend Documentation of Data Sync
alexanderkiel Feb 16, 2023
5c1db9d
Merge pull request #911 from samply/doc-data-sync
alexanderkiel Feb 17, 2023
7084e86
Release v0.19.3
alexanderkiel Feb 17, 2023
5a461be
Merge pull request #915 from samply/release-v0.19.3
alexanderkiel Feb 17, 2023
276159c
Refactor Verify Test
alexanderkiel Feb 17, 2023
5e7511d
Merge pull request #916 from samply/refactor-verify-test
alexanderkiel Feb 17, 2023
548133c
Switch CI to develop-db-v1
alexanderkiel Feb 17, 2023
17797f5
Increase V-Hash Size from 32 Bit to 64 Bit
alexanderkiel Jun 4, 2022
5c18a11
Document Database Migration in Kubernetes
alexanderkiel Jun 6, 2022
4adc195
[WIP] Switch to Internal Resource Identifier in the Index
alexanderkiel Jun 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .github/distributed-test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
zookeeper:
image: "docker.io/bitnami/zookeeper:3"
Expand Down Expand Up @@ -65,7 +64,7 @@ services:
HEAP_NEWSIZE: "100M"

blaze-1:
image: "ghcr.io/samply/blaze:sha-${GITHUB_SHA}"
image: "blaze:latest"
environment:
JAVA_TOOL_OPTIONS: "-Xmx512m"
STORAGE: "distributed"
Expand All @@ -92,9 +91,10 @@ services:
- kafka-topic-creator
- cassandra-1
- cassandra-2
restart: unless-stopped

blaze-2:
image: "ghcr.io/samply/blaze:sha-${GITHUB_SHA}"
image: "blaze:latest"
environment:
JAVA_TOOL_OPTIONS: "-Xmx512m"
STORAGE: "distributed"
Expand All @@ -121,6 +121,7 @@ services:
- kafka-topic-creator
- cassandra-1
- cassandra-2
restart: unless-stopped

ingress:
image: "haproxy:2.3"
Expand Down
6 changes: 6 additions & 0 deletions .github/doc-copy-data-test/docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
src:
image: "blaze:latest"

dst:
image: "blaze:latest"
3 changes: 1 addition & 2 deletions .github/openid-auth-test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
keycloak:
image: "jboss/keycloak:15.0.2"
Expand All @@ -12,7 +11,7 @@ services:
- "${GITHUB_WORKSPACE}/.github/openid-auth-test/realm.json:/tmp/realm.json"

blaze:
image: "ghcr.io/samply/blaze:sha-${GITHUB_SHA}"
image: "blaze:latest"
environment:
JAVA_TOOL_OPTIONS: "-Xmx2g"
OPENID_PROVIDER_URL: "http://keycloak:8080/auth/realms/blaze"
Expand Down
57 changes: 57 additions & 0 deletions .github/scripts/batch-metadata.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#!/bin/bash -e

#
# This script fetches the CapabilityStatement through a batch request.
#

BASE="http://localhost:8080/fhir"

bundle() {
cat <<END
{
"resourceType": "Bundle",
"type": "batch",
"entry": [
{
"request": {
"method": "GET",
"url": "metadata"
}
}
]
}
END
}
RESULT=$(curl -sH "Content-Type: application/fhir+json" -d "$(bundle)" "$BASE")

RESOURCE_TYPE="$(echo "$RESULT" | jq -r .resourceType)"
if [ "$RESOURCE_TYPE" = "Bundle" ]; then
echo "OK: the resource type is Bundle"
else
echo "Fail: the resource type is $RESOURCE_TYPE, expected Bundle"
exit 1
fi

BUNDLE_TYPE="$(echo "$RESULT" | jq -r .type)"
if [ "$BUNDLE_TYPE" = "batch-response" ]; then
echo "OK: the bundle type is batch-response"
else
echo "Fail: the bundle type is $BUNDLE_TYPE, expected batch-response"
exit 1
fi

RESPONSE_STATUS="$(echo "$RESULT" | jq -r .entry[].response.status)"
if [ "$RESPONSE_STATUS" = "200" ]; then
echo "OK: the response status is 200"
else
echo "Fail: the response status is $RESPONSE_STATUS, expected 200"
exit 1
fi

RESPONSE_RESOURCE_TYPE="$(echo "$RESULT" | jq -r .entry[].resource.resourceType)"
if [ "$RESPONSE_RESOURCE_TYPE" = "CapabilityStatement" ]; then
echo "OK: resource type is CapabilityStatement"
else
echo "Fail: resource type was $RESPONSE_RESOURCE_TYPE but should be CapabilityStatement"
exit 1
fi
2 changes: 1 addition & 1 deletion .github/scripts/batch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ RESPONSE_PATIENT_ID="$(echo "$RESULT" | jq -r .entry[].resource.id)"
if [ "$RESPONSE_PATIENT_ID" = "$PATIENT_ID" ]; then
echo "OK: patient id's match"
else
echo "Fail: response patient id was $RESPONSE_PATIENT_ID but should be $RESPONSE_PATIENT_ID"
echo "Fail: response patient id was $RESPONSE_PATIENT_ID but should be $PATIENT_ID"
exit 1
fi
15 changes: 15 additions & 0 deletions .github/scripts/chaining-without-referential-integrity.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash -e

BASE="http://localhost:8080/fhir"

curl -sXPUT -d '{"resourceType": "Observation", "id": "0", "subject": {"reference": "Patient/0"}}' -H 'Content-Type: application/fhir+json' "$BASE/Observation/0" > /dev/null
curl -sXPUT -d '{"resourceType" : "Patient", "id": "0", "gender": "male"}' -H 'Content-Type: application/fhir+json' "$BASE/Patient/0" > /dev/null

RESULT="$(curl -sH 'Prefer: handling=strict' -H 'Accept: application/fhir+json' "$BASE/Observation?patient.gender=male&_summary=count" | jq -r '.total')"

if [ "$RESULT" = "1" ]; then
echo "Success: chaining works"
else
echo "Fail: chaining doesn't work"
exit 1
fi
12 changes: 5 additions & 7 deletions .github/scripts/check-capability-statement.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash -e

SOFTWARE_NAME=$(curl -s http://localhost:8080/fhir/metadata | jq -r .software.name)
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
. "$SCRIPT_DIR/util.sh"

if [ "Blaze" = "$SOFTWARE_NAME" ]; then
echo "Success"
else
echo "Fail"
exit 1
fi
BASE="http://localhost:8080/fhir"

test "software name" "$(curl -s "$BASE/metadata" | jq -r .software.name)" "Blaze"
10 changes: 3 additions & 7 deletions .github/scripts/check-total-number-of-resources.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/bash -e

TOTAL=$(curl -s http://localhost:8080/fhir | jq -r .total)
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
. "$SCRIPT_DIR/util.sh"

if [ "$1" = "$TOTAL" ]; then
echo "Success"
else
echo "Fail: total number of resources was $TOTAL but should be $1"
exit 1
fi
test "total number of resources" "$(curl -s http://localhost:8080/fhir | jq -r .total)" "$1"
4 changes: 2 additions & 2 deletions .github/scripts/conditional-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ STATUS=$(curl -sH "Content-Type: application/fhir+json" \
-d "$(bundle)" "$BASE" | jq -r '.entry[].response.status')

if [ "$STATUS" = "201" ]; then
echo "OK: first atempt created the Organization"
echo "OK: first attempt created the Organization"
else
echo "Fail: status was ${STATUS} but should be 201"
exit 1
Expand All @@ -44,7 +44,7 @@ STATUS=$(curl -sH "Content-Type: application/fhir+json" \
-d "$(bundle)" "$BASE" | jq -r '.entry[].response.status')

if [ "$STATUS" = "200" ]; then
echo "OK: second atempt returned the already created Organization"
echo "OK: second attempt returned the already created Organization"
else
echo "Fail: status was ${STATUS} but should be 200"
exit 1
Expand Down
22 changes: 22 additions & 0 deletions .github/scripts/conditional-update-if-none-match.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash -e

#
# This script first creates a patient and expects the conditional update with
# If-None-Match=* to fail afterwards.
#

SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
. "$SCRIPT_DIR/util.sh"

BASE="http://localhost:8080/fhir"
PATIENT_ID=$(curl -sH "Content-Type: application/fhir+json" \
-d '{"resourceType": "Patient"}' "$BASE/Patient" | jq -r .id)

PATIENT="{\"resourceType\": \"Patient\", \"id\": \"$PATIENT_ID\"}"
RESULT=$(curl -sXPUT -H "Content-Type: application/fhir+json" -H "If-None-Match: *" \
-d "$PATIENT" "$BASE/Patient/$PATIENT_ID")

test "resource type" "$(echo "$RESULT" | jq -r .resourceType)" "OperationOutcome"
test "severity" "$(echo "$RESULT" | jq -r .issue[0].severity)" "error"
test "code" "$(echo "$RESULT" | jq -r .issue[0].code)" "conflict"
test "diagnostics" "$(echo "$RESULT" | jq -r .issue[0].diagnostics)" "Resource \`Patient/$PATIENT_ID\` already exists."
5 changes: 5 additions & 0 deletions .github/scripts/cql/q1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q1.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
5 changes: 5 additions & 0 deletions .github/scripts/cql/q14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q14.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
5 changes: 5 additions & 0 deletions .github/scripts/cql/q15.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q15.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
5 changes: 5 additions & 0 deletions .github/scripts/cql/q17.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q17.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
5 changes: 5 additions & 0 deletions .github/scripts/cql/q2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q2.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
68 changes: 68 additions & 0 deletions .github/scripts/cql/q20-stratifier-city.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
"Abington",1
"Acton",1
"Acushnet",1
"Adams",1
"Amherst",1
"Arlington",1
"Attleboro",2
"Auburn",1
"Barnstable",2
"Billerica",1
"Boston",8
"Boxborough",1
"Brimfield",1
"Brockton",1
"Cambridge",1
"Charlton",1
"Chelsea",2
"Concord",1
"Dracut",2
"East Douglas",7
"East Sandwich",1
"Easton",3
"Everett",1
"Fall River",1
"Foxborough",1
"Framingham",1
"Grafton",1
"Greenfield",1
"Hampden",1
"Harvard",1
"Haverhill",1
"Hingham",1
"Hudson",1
"Lancaster",1
"Lawrence",1
"Lexington",3
"Ludlow",2
"Marlborough",3
"Medford",2
"Methuen",1
"Milford",1
"Nantucket",1
"New Bedford",1
"Newton",4
"North Andover",1
"Norwood",3
"Peabody",1
"Plymouth",3
"Pocasset",1
"Quincy",1
"Rehoboth",3
"Sandwich",3
"Shrewsbury",1
"Somerville",3
"Springfield",3
"Stoughton",1
"Swampscott",1
"Taunton",3
"Topsfield",1
"Upton",1
"Walpole",1
"Waltham",2
"Watertown",1
"Weymouth",1
"Williamstown",1
"Winchendon",1
"Winchester",1
"Worcester",10
8 changes: 8 additions & 0 deletions .github/scripts/cql/q20-stratifier-city.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q20-stratifier-city.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
stratifier:
- code: city
expression: City
41 changes: 41 additions & 0 deletions .github/scripts/cql/q21-stratifier-city-of-only-women.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
"Acton",1
"Acushnet",1
"Adams",1
"Amherst",1
"Auburn",1
"Barnstable",1
"Billerica",1
"Boston",5
"Boxborough",1
"Chelsea",1
"Concord",1
"East Douglas",7
"Easton",3
"Everett",1
"Fall River",1
"Foxborough",1
"Framingham",1
"Greenfield",1
"Hampden",1
"Harvard",1
"Haverhill",1
"Hingham",1
"Hudson",1
"Lancaster",1
"Marlborough",1
"New Bedford",1
"Newton",1
"Norwood",1
"Peabody",1
"Plymouth",2
"Pocasset",1
"Quincy",1
"Rehoboth",3
"Springfield",3
"Stoughton",1
"Taunton",2
"Upton",1
"Watertown",1
"Winchendon",1
"Winchester",1
"Worcester",6
8 changes: 8 additions & 0 deletions .github/scripts/cql/q21-stratifier-city-of-only-women.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q21-stratifier-city-of-only-women.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
stratifier:
- code: city
expression: City
23 changes: 23 additions & 0 deletions .github/scripts/cql/q26-stratifier-bmi.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"15",4
"16",5
"17",4
"18",2
"19",2
"20",3
"21",4
"22",5
"23",3
"24",3
"25",3
"26",3
"27",11
"28",22
"29",26
"30",8
"31",5
"32",1
"35",1
"39",2
"40",1
"41",1
"null",1
8 changes: 8 additions & 0 deletions .github/scripts/cql/q26-stratifier-bmi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
library: modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/q26-stratifier-bmi.cql
group:
- type: Patient
population:
- expression: InInitialPopulation
stratifier:
- code: bmi
expression: Bmi
Loading