Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
6cdc1473
Commit
6cdc1473
authored
1 year ago
by
ThanKarab
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade to Java 17.
parent
53dfb165
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
pom.xml
+2
-2
2 additions, 2 deletions
pom.xml
src/main/java/eu/hbp/mip/configurations/SecurityConfiguration.java
+0
-1
0 additions, 1 deletion
...java/eu/hbp/mip/configurations/SecurityConfiguration.java
with
5 additions
and
6 deletions
Dockerfile
+
3
−
3
View file @
6cdc1473
#######################################################
#######################################################
# Build the spring boot maven project
# Build the spring boot maven project
#######################################################
#######################################################
FROM
maven:3.8.5-openjdk-11
as
mvn-build-env
FROM
maven:3.9.3-amazoncorretto-17
as
mvn-build-env
MAINTAINER
Thanasis Karampatsis <tkarabatsis@athenarc.gr>
ENV
CODE_PATH="/opt/code"
ENV
CODE_PATH="/opt/code"
WORKDIR
$CODE_PATH
WORKDIR
$CODE_PATH
...
@@ -17,8 +18,7 @@ RUN mvn clean package
...
@@ -17,8 +18,7 @@ RUN mvn clean package
#######################################################
#######################################################
# Setup the running container
# Setup the running container
#######################################################
#######################################################
FROM
openjdk:11.0.15-jdk
FROM
amazoncorretto:17.0.8-alpine3.18
MAINTAINER
Thanasis Karampatsis <tkarabatsis@athenarc.gr>
#######################################################
#######################################################
# Setting up timezone
# Setting up timezone
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
2
−
2
View file @
6cdc1473
...
@@ -18,12 +18,12 @@
...
@@ -18,12 +18,12 @@
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<java.version>
1
.8
</java.version>
<java.version>
1
7
</java.version>
<spring-context.version>
5.3.29
</spring-context.version>
<spring-context.version>
5.3.29
</spring-context.version>
<postgresql.version>
42.6.0
</postgresql.version>
<postgresql.version>
42.6.0
</postgresql.version>
<hibernate.version>
5.6.15.Final
</hibernate.version>
<hibernate.version>
5.6.15.Final
</hibernate.version>
<flyway-core.version>
4.2.0
</flyway-core.version>
<flyway-core.version>
4.2.0
</flyway-core.version>
<keycloak-spring.version>
1
1
.0.
2
</keycloak-spring.version>
<keycloak-spring.version>
1
3
.0.
1
</keycloak-spring.version>
<gson.version>
2.10.1
</gson.version>
<gson.version>
2.10.1
</gson.version>
<commons-dbcp.version>
2.9.0
</commons-dbcp.version>
<commons-dbcp.version>
2.9.0
</commons-dbcp.version>
<lombok.version>
1.18.28
</lombok.version>
<lombok.version>
1.18.28
</lombok.version>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/eu/hbp/mip/configurations/SecurityConfiguration.java
+
0
−
1
View file @
6cdc1473
...
@@ -112,5 +112,4 @@ public class SecurityConfiguration extends KeycloakWebSecurityConfigurerAdapter
...
@@ -112,5 +112,4 @@ public class SecurityConfiguration extends KeycloakWebSecurityConfigurerAdapter
keycloakAuthenticationProvider
.
setGrantedAuthoritiesMapper
(
grantedAuthorityMapper
);
keycloakAuthenticationProvider
.
setGrantedAuthoritiesMapper
(
grantedAuthorityMapper
);
auth
.
authenticationProvider
(
keycloakAuthenticationProvider
);
auth
.
authenticationProvider
(
keycloakAuthenticationProvider
);
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment