-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
author Simon Demaziere <[email protected]> 1705593850 +0100 committer Simon Demaziere <[email protected]> 1719218708 +0200 chore: move from javax.persistence to jakarta.persistence package wip: for CVE evaluation chore: remove cyclic dependencies, migrate tests to mockMvc chore: external services props handling remove unused files remove basic auth mode fix: clean/update jar dependencies feat: log4j -> logback - going from log4j to logback - add log interceptor to log all requests to endpoints ci: upgrade dependencies - upgrade github actions dependencies - build with JAVA 21 - Upgrade docker container refactor: 🔧 reduce boilerplate with Lombok and remove dead code fix: 🐛 WIP endpoint role mapping add security constraint on endpoints refactor: 🔧 Lombok > boilerplate use Lombok annotations for getters/setters/constructors refactor: 🔧 lombok et minor refactor lombok annotations, dead code removal, minor syntax readability feat: add security infrastructure (#157) - remove public urls - add security to infrastructure package, api package is not coupled with spring security anymore - refactor authentication properties - add a default authenticated user when oidc is disabled - remove useless check on user id - gitignore application profile configurations refactor: 🔥 removen unused Validation annotation refactor: ♻️ & 🧪
- Loading branch information
Showing
173 changed files
with
5,707 additions
and
11,447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip | ||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
wrapperVersion=3.3.1 | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
FROM tomcat:8.5-jdk11-slim | ||
FROM eclipse-temurin:21.0.3_9-jre-alpine | ||
|
||
RUN rm -rf $CATALINA_HOME/webapps/* | ||
COPY pearljambo.properties log4j2.xml $CATALINA_HOME/webapps/ | ||
ADD /target/*.war $CATALINA_HOME/webapps/ROOT.war | ||
WORKDIR /opt/app/ | ||
COPY ./target/*.jar /opt/app/app.jar | ||
|
||
# Setup a non-root user context (security) | ||
RUN addgroup -g 1000 tomcatgroup | ||
RUN adduser -D -s / -u 1000 tomcatuser -G tomcatgroup | ||
RUN chown -R 1000:1000 /opt/app | ||
|
||
USER 1000 | ||
|
||
ENTRYPOINT ["java", "-jar", "/opt/app/app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.