Skip to content

Commit

Permalink
#768: code fixed in different places
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanStrehlerCGI committed Nov 7, 2023
1 parent 3d244a9 commit 997b60f
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions digiwf-integrations/digiwf-address-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</parent>

<properties>
<!-- <spring.cloud.version>2021.0.3</spring.cloud.version>-->
<!--todo: remove after the successfully spring boot version upgrade of all migrations-->
<spring-boot.version>3.1.5</spring-boot.version>
<spring.cloud.version>2022.0.4</spring.cloud.version>
<digiwf.spring.cloudstream.utils.version>1.0.0</digiwf.spring.cloudstream.utils.version>
Expand All @@ -34,7 +34,7 @@
</modules>

<dependencies>
<!-- TODO could be removed after migrate all migrations to spring 3-->
<!-- TODO could be removed after migrate all migrations to spring 3-->
<dependency>
<groupId>de.muenchen.oss.digiwf</groupId>
<artifactId>digiwf-message-starter</artifactId>
Expand Down
1 change: 1 addition & 0 deletions digiwf-integrations/digiwf-integration-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-boot.version>2.7.17</spring-boot.version>
<spring.cloud.version>2021.0.8</spring.cloud.version>
<!-- TODO after migrate all integrations, we can set the spring boot version here: -->
<!-- <spring-boot.version>3.1.5</spring-boot.version>-->
<!-- <spring.cloud.version>2022.0.4</spring.cloud.version>-->
<okhttp.version>4.12.0</okhttp.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public final class DefaultPropertiesEnvironmentPostProcessor implements EnvironmentPostProcessor {

private static final String DEFAULT_PROPERTY_SOURCE_NAME = "defaultProperties";
private static final String DEFAULT_PROPERTY_SOURCE_LOCATION = "classpath:application-spring-security-starter.yaml";
private static final String DEFAULT_PROPERTY_SOURCE_LOCATION = "application-spring-security-starter.yaml";

@Override
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
de.muenchen.oss.digiwf.spring.security.autoconfiguration.SpringSecurityAutoConfiguration
de.muenchen.oss.digiwf.spring.security.postprocessor.DefaultPropertiesEnvironmentPostProcessor
1 change: 1 addition & 0 deletions digiwf-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<java.version>17</java.version>
<maven.version>3.6.0</maven.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- todo: upgrade version after the successfully spring boot version upgrade-->
<spring-boot.version>2.7.17</spring-boot.version>
<spring.cloud.version>2021.0.8</spring.cloud.version>
<okhttp.version>4.12.0</okhttp.version>
Expand Down
7 changes: 4 additions & 3 deletions digiwf-process/digiwf-process-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@

<dependencies>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>


<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
Expand All @@ -39,7 +40,7 @@
<dependency>
<groupId>de.muenchen.oss.digiwf</groupId>
<artifactId>digiwf-spring-security-starter</artifactId>
<version>${digiwf.version}</version>
<version>${project.version}</version>
</dependency>

<!-- Testing -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package de.muenchen.oss.digiwf.process.api.config.api.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;


@Data
@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotBlank;
import java.util.ArrayList;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;


@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import lombok.*;

import javax.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotBlank;
import java.util.Map;

/**
Expand Down
5 changes: 5 additions & 0 deletions digiwf-process/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
<version>1.2.0-SNAPSHOT</version>
</parent>

<properties>
<spring-boot.version>3.1.5</spring-boot.version>
<spring.cloud.version>2022.0.4</spring.cloud.version>
</properties>

<modules>
<module>digiwf-process-api</module>
<module>digiwf-process-starter</module>
Expand Down

0 comments on commit 997b60f

Please sign in to comment.