Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
brambg committed Sep 26, 2023
2 parents abbaf76 + fc06044 commit 11213e1
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>io.github.knaw-huc</groupId>
<artifactId>annorepo</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>
</parent>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion client/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add the following to your `pom.xml`
<dependency>
<groupId>io.github.knaw-huc</groupId>
<artifactId>annorepo-client</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<parent>
<groupId>io.github.knaw-huc</groupId>
<artifactId>annorepo</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>
</parent>

<artifactId>annorepo-common</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Shared libraries/classes/methods for AnnoRepo</description>
Expand Down
4 changes: 2 additions & 2 deletions integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<groupId>io.github.knaw-huc</groupId>
<artifactId>annorepo</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>
</parent>

<artifactId>annorepo-integration-test</artifactId>
<name>${project.groupId}:${project.artifactId}</name>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>

<properties>
<mainClass>nl.knaw.huc.annorepo.integration.IntegrationTest</mainClass>
Expand Down
2 changes: 1 addition & 1 deletion k8s/annorepo-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:22-jdk-slim-bullseye
FROM openjdk:22-ea-12-jdk-slim

RUN apt update && \
apt install -y curl && \
Expand Down
2 changes: 1 addition & 1 deletion k8s/annorepo-server/Dockerfile-multistage
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY ./pom.xml /build/
COPY ./config.yml config.yml
RUN mvn --projects server --no-transfer-progress --batch-mode --update-snapshots --also-make package

FROM openjdk:22-jdk-slim
FROM openjdk:20-rc-jdk-slim

WORKDIR /apps/annorepo
COPY --from=builder /build/server/target/annorepo-server-*.jar /apps/annorepo/annorepo-server.jar
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>io.github.knaw-huc</groupId>
<artifactId>annorepo</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>
<packaging>pom</packaging>

<name>AnnoRepo</name>
Expand All @@ -26,7 +26,7 @@
<!-- Timestamp settings for use in properties file -->
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>

<kotlin.version>1.9.0</kotlin.version>
<kotlin.version>1.9.10</kotlin.version>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand All @@ -48,7 +48,7 @@
<jaxb-api.version>2.3.1</jaxb-api.version>
<jena.version>4.9.0</jena.version>
<json.version>20230227</json.version>
<kotlinx-cli-jvm.version>0.3.5</kotlinx-cli-jvm.version>
<kotlinx-cli-jvm.version>0.3.6</kotlinx-cli-jvm.version>
<kmongo.version>4.9.0</kmongo.version>
<mongodb.version>4.10.0</mongodb.version>
<mordant.version>2.1.0</mordant.version>
Expand Down
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.github.knaw-huc</groupId>
<artifactId>annorepo</artifactId>
<version>0.5.4-SNAPSHOT</version>
<version>0.5.5</version>
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ class AggregateStageGenerator(val configuration: AnnoRepoConfiguration) {
Filters.and(
Filters.eq("${ANNOTATION_FIELD_PREFIX}target.source", rangeParameters.source),
Filters.eq("${ANNOTATION_FIELD_PREFIX}target.selector.type", configuration.rangeSelectorType),
Filters.lt("${ANNOTATION_FIELD_PREFIX}target.selector.start", rangeParameters.end),
Filters.gt("${ANNOTATION_FIELD_PREFIX}target.selector.end", rangeParameters.start),
Filters.lte("${ANNOTATION_FIELD_PREFIX}target.selector.start", rangeParameters.end),
Filters.gte("${ANNOTATION_FIELD_PREFIX}target.selector.end", rangeParameters.start),
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ class AggregateStageGeneratorTest {
"@and": [
{ "annotation.target.source": "$source"},
{ "annotation.target.selector.type": "$selector"},
{ "annotation.target.selector.start": { "@lt": ${end.toFloat()} } },
{ "annotation.target.selector.end": { "@gt": ${start.toFloat()} } }
{ "annotation.target.selector.start": { "@lte": ${end.toFloat()} } },
{ "annotation.target.selector.end": { "@gte": ${start.toFloat()} } }
]
}
}""".trimIndent().replace('@', '$')
Expand Down

0 comments on commit 11213e1

Please sign in to comment.