Skip to content

Commit

Permalink
Merge pull request #51 from Onlineberatung/upgrade-to-spring-boot-2.7.X
Browse files Browse the repository at this point in the history
Upgrade to spring boot 2.7.x
  • Loading branch information
tkuzynow authored May 22, 2024
2 parents 7712f84 + 31f1bd4 commit 581f569
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup JVM
uses: actions/setup-java@v1
with:
java-version: 11.0.10
java-version: 11.0.15
java-package: jdk
architecture: x64

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
<spring-boot-starter-web.version>2.7.18</spring-boot-starter-web.version>
<spring-security-core.version>5.7.12</spring-security-core.version>
<spring-beans.version>5.3.35</spring-beans.version>
<spring-beans.version>5.3.31</spring-beans.version>
<spring-webmvc.version>5.3.35</spring-webmvc.version>
<spring-core.version>5.3.35</spring-core.version>
<json-smart.version>2.4.7</json-smart.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.keycloak.representations.idm.RoleRepresentation;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.boot.configurationprocessor.json.JSONObject;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
Expand Down Expand Up @@ -264,7 +263,7 @@ private String getCreateRoleBody(String roleName) {
JSONObject body = new JSONObject();
body.put("name", roleName);
return body.toString();
} catch (JSONException e) {
} catch (Exception e) {
return null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.keycloak.representations.idm.UserRepresentation;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.boot.configurationprocessor.json.JSONObject;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
Expand Down Expand Up @@ -207,7 +206,7 @@ private Object getResetUserCredentialsBody(String password) {
body.put("value", password);
body.put("temporary", false);
return body.toString();
} catch (JSONException e) {
} catch (Exception e) {
return null;
}
}
Expand Down

0 comments on commit 581f569

Please sign in to comment.