Skip to content

Commit

Permalink
POM angepasst
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenLammers committed Oct 15, 2024
1 parent 2028089 commit 0f8e35f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
10 changes: 8 additions & 2 deletions sonarQuest-backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.5.RELEASE</version>
<version>2.7.18</version>
<!--<version>3.3.4</version>-->
<relativePath /> <!-- lookup parent from repository -->
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>17</java.version>
<spring-cloud.version>Hoxton.SR1</spring-cloud.version>
<spring-cloud.version>2021.0.9</spring-cloud.version>
<!-- SONAR -->
<sonar.organization>viadee</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down Expand Up @@ -124,12 +125,17 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,14 @@ public void handle(final Event event, final Context context) {
flyway.repair();
}
}

@Override
public String getCallbackName() {
String name = this.getClass().getSimpleName();
if (name.contains("__")) {
name = name.split("__")[1];
}

return name;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ========================================
# Verwendeter Algorithmus
security.jwt.algorithm=HS512
# Gütligkeit eines JWTs in Millisekunden
# Guetligkeit eines JWTs in Millisekunden
security.jwt.validity=7200000
# Private Key
security.jwt.privatekey=please_change_this_key_in_production
Expand Down

0 comments on commit 0f8e35f

Please sign in to comment.