Skip to content

Commit 1fcea5b

Browse files
authored
Merge pull request #185 from kit-data-manager/development
PR for v1.5.2
2 parents 90adf56 + 85d820e commit 1fcea5b

File tree

5 files changed

+24
-9
lines changed

5 files changed

+24
-9
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ Fixed
1212

1313
Security
1414

15+
## [1.5.2] - 2023-12-15
16+
Fixed
17+
* Fixed Docker build
18+
19+
Security
20+
* Bump spring-boot to 3.2.0
21+
* Bump spring-cloud-starter-config to 4.1.0
22+
* Bump spring-cloud-starter-netflix-eureka-client to 4.1.0
23+
* Bump spring-cloud-gateway-mvc to 4.1.0
24+
1525
## [1.5.1] - 2023-12-11
1626
Fixed
1727
* Added ElasticConfiguration again to support indexing and search
@@ -196,7 +206,8 @@ Added
196206

197207
- First public version
198208

199-
[Unreleased]: https://github.com/kit-data-manager/base-repo/compare/v1.5.1...HEAD
209+
[Unreleased]: https://github.com/kit-data-manager/base-repo/compare/v1.5.2...HEAD
210+
[1.5.2]: https://github.com/kit-data-manager/base-repo/compare/v1.5.1...v1.5.2
200211
[1.5.1]: https://github.com/kit-data-manager/base-repo/compare/v1.5.0...v1.5.1
201212
[1.5.0]: https://github.com/kit-data-manager/base-repo/compare/v1.4.0...v1.5.0
202213
[1.4.0]: https://github.com/kit-data-manager/base-repo/compare/v1.3.0...v1.4.0

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG SERVICE_ROOT_DIRECTORY_DEFAULT=/spring
1111
####################################################
1212
# Building environment (java & git)
1313
####################################################
14-
FROM openjdk:16-bullseye AS build-env-java
14+
FROM eclipse-temurin:17.0.9_9-jdk AS build-env-java
1515
LABEL maintainer=webmaster@datamanager.kit.edu
1616
LABEL stage=build-env
1717

@@ -49,7 +49,7 @@ RUN bash ./build.sh $SERVICE_DIRECTORY
4949
####################################################
5050
# Runtime environment 4 base-repo
5151
####################################################
52-
FROM openjdk:16-bullseye AS run-service-base-repo
52+
FROM eclipse-temurin:17.0.9_9-jdk AS run-service-base-repo
5353
LABEL maintainer=webmaster@datamanager.kit.edu
5454
LABEL stage=run
5555

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'org.springframework.boot' version '3.1.5'
2+
id 'org.springframework.boot' version '3.2.0'
33
id 'io.spring.dependency-management' version '1.1.4'
44
id 'io.freefair.lombok' version '8.4'
55
id 'io.freefair.maven-publish-java' version '8.4'
@@ -29,7 +29,7 @@ repositories {
2929

3030
ext {
3131
set('javersVersion', "7.0.0")
32-
set('springBootVersion', "3.1.0")
32+
set('springBootVersion', "3.2.0")
3333
set('springDocVersion', "2.1.0")
3434
set('keycloakVersion', "19.0.0")
3535

@@ -66,9 +66,9 @@ dependencies {
6666
implementation "org.springframework.security:spring-security-config:6.2.0"
6767

6868
// cloud support
69-
implementation "org.springframework.cloud:spring-cloud-starter-config:4.0.4"
70-
implementation "org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:4.0.3"
71-
implementation "org.springframework.cloud:spring-cloud-gateway-mvc:4.0.8"
69+
implementation "org.springframework.cloud:spring-cloud-starter-config:4.1.0"
70+
implementation "org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:4.1.0"
71+
implementation "org.springframework.cloud:spring-cloud-gateway-mvc:4.1.0"
7272
implementation 'de.codecentric:spring-boot-admin-starter-client:3.1.8'
7373

7474

@@ -141,7 +141,7 @@ bootJar {
141141
archiveFileName = "${archiveBaseName.get()}.${archiveExtension.get()}"
142142
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
143143
manifest {
144-
attributes 'Main-Class': 'org.springframework.boot.loader.PropertiesLauncher'
144+
attributes 'Main-Class': 'org.springframework.boot.loader.launch.PropertiesLauncher'
145145
}
146146
launchScript()
147147
}

config/application-default.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ repo.search.enabled: false
105105
management.health.elasticsearch.enabled:false
106106
repo.search.url:http://localhost:9200
107107
repo.search.index:baserepo
108+
# Workaround for a potential issue with spring cloud 4.1.0 that broke the elastic search proxy
109+
spring.cloud.gateway.proxy.sensitive=content-length
108110

109111
###############################################################################
110112
# Logging settings

config/application-docker.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ repo.search.enabled: false
4848
management.health.elasticsearch.enabled:false
4949
repo.search.url:http://localhost:9200
5050
repo.search.index:baserepo
51+
# Workaround for a potential issue with spring cloud 4.1.0 that broke the elastic search proxy
52+
spring.cloud.gateway.proxy.sensitive=content-length
5153

5254
repo.basepath: file:///var/repository/
5355
repo.plugin.storage.date.pathPattern: @{year}/@{month}/@{day}

0 commit comments

Comments
 (0)