File tree Expand file tree Collapse file tree 9 files changed +20
-23
lines changed
iexec-result-proxy-library
src/main/java/com/iexec/resultproxy Expand file tree Collapse file tree 9 files changed +20
-23
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
55## [[ NEXT]] ( https://github.com/iExecBlockchainComputing/iexec-result-proxy/releases/tag/vNEXT ) 2025
66
7+ ### Dependency Upgrades
8+
9+ - Upgrade to ` eclipse-temurin:17.0.13_11-jre-focal ` . (#149 )
10+ - Upgrade to Spring Boot 3.0.13. (#149 )
11+ - Upgrade to Spring Doc OpenAPI 2.6.0. (#149 )
12+
713## [[ 8.6.0]] ( https://github.com/iExecBlockchainComputing/iexec-result-proxy/releases/tag/v8.6.0 ) 2024-12-20
814
915### Quality
Original file line number Diff line number Diff line change 1- FROM eclipse-temurin:11 .0.24_8 -jre-focal
1+ FROM eclipse-temurin:17 .0.13_11 -jre-focal
22
33ARG jar
44
Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
33 id ' io.freefair.lombok' version ' 8.10.2'
4- id ' org.springframework.boot' version ' 2.7.18 '
4+ id ' org.springframework.boot' version ' 3.0.13 '
55 id ' io.spring.dependency-management' version ' 1.1.6'
66 id ' jacoco'
77 id ' org.sonarqube' version ' 5.1.0.4882'
@@ -40,8 +40,8 @@ allprojects {
4040 toolchain {
4141 languageVersion. set(JavaLanguageVersion . of(17 ))
4242 }
43- sourceCompatibility = " 11 "
44- targetCompatibility = " 11 "
43+ sourceCompatibility = JavaVersion . VERSION_17
44+ targetCompatibility = JavaVersion . VERSION_17
4545 }
4646}
4747
@@ -62,7 +62,7 @@ dependencies {
6262 runtimeOnly ' io.micrometer:micrometer-registry-prometheus'
6363
6464 // Spring Doc
65- implementation ' org.springdoc:springdoc-openapi-ui:1.7 .0'
65+ implementation ' org.springdoc:springdoc-openapi-starter-webmvc- ui:2.6 .0'
6666
6767 // ipfs
6868 implementation ' com.github.ipfs:java-ipfs-http-client:1.4.0'
Original file line number Diff line number Diff line change 11version =8.6.0
2- iexecCommonVersion =8.6.0
3- iexecCommonsPocoVersion =4.2.0
2+ iexecCommonVersion =8.6.0-NEXT-SNAPSHOT
3+ iexecCommonsPocoVersion =4.2.0-NEXT-SNAPSHOT
44
55nexusUser
66nexusPassword
Original file line number Diff line number Diff line change @@ -6,13 +6,14 @@ plugins {
66}
77
88dependencies {
9+ implementation platform(' org.springframework.boot:spring-boot-dependencies:3.0.13' )
910 implementation " com.iexec.commons:iexec-commons-poco:$iexecCommonsPocoVersion "
1011 implementation " com.iexec.common:iexec-common:$iexecCommonVersion "
1112}
1213
1314java {
14- sourceCompatibility = " 11 "
15- targetCompatibility = " 11 "
15+ sourceCompatibility = JavaVersion . VERSION_17
16+ targetCompatibility = JavaVersion . VERSION_17
1617 withJavadocJar()
1718 withSourcesJar()
1819}
@@ -21,9 +22,6 @@ testing {
2122 suites {
2223 test {
2324 useJUnitJupiter()
24- dependencies {
25- implementation ' org.junit.jupiter:junit-jupiter:5.8.2'
26- }
2725 }
2826 }
2927}
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2020-2023 IEXEC BLOCKCHAIN TECH
2+ * Copyright 2020-2025 IEXEC BLOCKCHAIN TECH
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1818
1919import lombok .Value ;
2020import org .springframework .boot .context .properties .ConfigurationProperties ;
21- import org .springframework .boot .context .properties .ConstructorBinding ;
2221
2322import java .time .Duration ;
2423
2524@ Value
26- @ ConstructorBinding
2725@ ConfigurationProperties (prefix = "chain" )
2826//TODO: validate configuration property names and use the same set of names everywhere (blockchain-adapter-api, sms)
2927public class ChainConfig {
Original file line number Diff line number Diff line change 22
33import lombok .Data ;
44import org .springframework .boot .context .properties .ConfigurationProperties ;
5- import org .springframework .boot .context .properties .ConstructorBinding ;
65
76@ Data
8- @ ConstructorBinding
97@ ConfigurationProperties (prefix = "ipfs" )
108public class IpfsConfig {
119 private final String host ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2022 IEXEC BLOCKCHAIN TECH
2+ * Copyright 2022-2025 IEXEC BLOCKCHAIN TECH
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1818
1919import lombok .Data ;
2020import org .springframework .boot .context .properties .ConfigurationProperties ;
21- import org .springframework .boot .context .properties .ConstructorBinding ;
2221
2322@ Data
24- @ ConstructorBinding
2523@ ConfigurationProperties (prefix = "jwt" )
2624public class JwtConfig {
2725 private final String keyPath ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2023-2023 IEXEC BLOCKCHAIN TECH
2+ * Copyright 2023-2025 IEXEC BLOCKCHAIN TECH
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1818
1919import io .micrometer .core .instrument .Gauge ;
2020import io .micrometer .core .instrument .Metrics ;
21+ import jakarta .annotation .PostConstruct ;
2122import org .springframework .boot .info .BuildProperties ;
2223import org .springframework .http .ResponseEntity ;
2324import org .springframework .web .bind .annotation .GetMapping ;
2425import org .springframework .web .bind .annotation .RestController ;
2526
26- import javax .annotation .PostConstruct ;
27-
2827@ RestController
2928public class VersionController {
3029
You can’t perform that action at this time.
0 commit comments