Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Upgrade to Micronaut 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
d22 committed Dec 20, 2023
1 parent 28feb69 commit 598124a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
22 changes: 16 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,25 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ch.unisg.library.systemlibrarian</groupId>
<artifactId>alma-job-runner</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<packaging>${packaging}</packaging>

<!--
Upgrade to Micronaut 4
https://micronaut.io/2023/05/09/upgrade-to-micronaut-framework-4-0-0/
(remove this note after v4 runs well)
-->
<parent>
<groupId>io.micronaut</groupId>
<groupId>io.micronaut.platform</groupId>
<artifactId>micronaut-parent</artifactId>
<version>3.8.7</version>
<version>4.2.2</version>
</parent>

<properties>
<packaging>docker</packaging>
<jdk.version>17</jdk.version>
<release.version>17</release.version>
<micronaut.version>3.8.7</micronaut.version>
<micronaut.version>4.2.2</micronaut.version>
<micronaut.runtime>netty</micronaut.runtime>
<jgit.ssh.version>6.8.0.202311291450-r</jgit.ssh.version>
<jsch.version>0.2.15</jsch.version>
Expand Down Expand Up @@ -54,7 +59,7 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.micronaut</groupId>
<groupId>io.micronaut.validation</groupId>
<artifactId>micronaut-validation</artifactId>
<scope>compile</scope>
</dependency>
Expand All @@ -77,6 +82,11 @@
<groupId>io.micronaut.views</groupId>
<artifactId>micronaut-views-handlebars</artifactId>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
Expand Down Expand Up @@ -156,7 +166,7 @@
<build>
<plugins>
<plugin>
<groupId>io.micronaut.build</groupId>
<groupId>io.micronaut.maven</groupId>
<artifactId>micronaut-maven-plugin</artifactId>
</plugin>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import io.micronaut.http.MediaType;
import io.micronaut.http.annotation.Controller;
import io.micronaut.http.annotation.Get;
import io.micronaut.scheduling.TaskExecutors;
import io.micronaut.scheduling.annotation.ExecuteOn;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -15,6 +17,7 @@
import java.util.List;

@Controller
@ExecuteOn(TaskExecutors.BLOCKING)
public class HealthController {
private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
private final AlmaApiHttpClient almaApiHttpClient;
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<configuration>

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<withJansi>true</withJansi>
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
Expand Down

0 comments on commit 598124a

Please sign in to comment.