Skip to content

Commit

Permalink
#294 - Update sq2cql to version v0.3.0
Browse files Browse the repository at this point in the history
- update blaze in tests to 0.27, flare to 2.2.0
- update sq2cql dependency
  • Loading branch information
michael-82 committed Jun 14, 2024
1 parent 97b9156 commit 29ae1e5
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .github/integration-test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ services:
POSTGRES_DB: "codex_ui"

blaze:
image: "samply/blaze:0.22"
image: "samply/blaze:0.27"
environment:
BASE_URL: "http://blaze:8080"
JAVA_TOOL_OPTIONS: "-Xmx1g"
Expand All @@ -90,7 +90,7 @@ services:
- "blaze-data:/app/data"

flare:
image: ghcr.io/medizininformatik-initiative/flare:2.1.1
image: ghcr.io/medizininformatik-initiative/flare:2.2.0
ports:
- "8092:8080"
environment:
Expand Down
62 changes: 31 additions & 31 deletions .github/scripts/post-test-query.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,38 @@ response=$(curl -s -i \
--header "Authorization: Bearer $access_token" \
--header 'Content-Type: application/json' \
--data '{
"version": "http://to_be_decided.com/draft-1/schema#",
"inclusionCriteria": [
[
{
"attributeFilters": [],
"termCodes": [
{
"code": "263495000",
"display": "Geschlecht",
"system": "http://snomed.info/sct"
}
],
"context": {
"code": "Patient",
"display": "Patient",
"system": "fdpg.mii.cds",
"version": "1.0.0"
},
"valueFilter": {
"selectedConcepts": [
{
"code": "male",
"display": "Male",
"system": "http://hl7.org/fhir/administrative-gender"
}
],
"type": "concept"
}
}
]
]
"version": "http://to_be_decided.com/draft-1/schema#",
"inclusionCriteria": [
[
{
"attributeFilters": [],
"termCodes": [
{
"code": "263495000",
"display": "Geschlecht",
"system": "http://snomed.info/sct"
}
],
"context": {
"code": "Patient",
"display": "Patient",
"system": "fdpg.mii.cds",
"version": "1.0.0"
},
"valueFilter": {
"selectedConcepts": [
{
"code": "male",
"display": "Male",
"system": "http://hl7.org/fhir/administrative-gender"
}
],
"type": "concept"
}
}
]
]
}
')

result_location=$(echo "$response" | grep -i location | awk '{print $2}')
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
<dependency>
<groupId>de.medizininformatik-initiative</groupId>
<artifactId>sq2cql</artifactId>
<version>0.2.16</version>
<version>0.3.0-rc.1</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class DirectBrokerClientCqlIT {
private static final Long TEST_BACKEND_QUERY_ID = 1L;

private final GenericContainer<?> blaze = new GenericContainer<>(
DockerImageName.parse("samply/blaze:0.25"))
DockerImageName.parse("samply/blaze:0.27"))
.withImagePullPolicy(PullPolicy.alwaysPull())
.withExposedPorts(8080)
.waitingFor(Wait.forHttp("/health").forStatusCodeMatching(c -> c >= 200 && c <= 500))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class DSFFhirWebClientProviderTest {

@Container
private GenericContainer<?> blaze = new GenericContainer<>("samply/blaze:0.25")
private GenericContainer<?> blaze = new GenericContainer<>("samply/blaze:0.27")
.withExposedPorts(8080)
.withNetwork(Network.newNetwork())
.withReuse(true);
Expand Down

0 comments on commit 29ae1e5

Please sign in to comment.