Skip to content

Commit

Permalink
Spring boot 3.4.0 and copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Razumain committed Nov 26, 2024
1 parent 8f35459 commit 2250909
Show file tree
Hide file tree
Showing 38 changed files with 62 additions and 42 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:11-jre
FROM openjdk:21-jdk-slim

ADD target/signservice-ca-1.0.4-SNAPSHOT.jar /app.jar
ADD target/signservice-ca-*.jar /app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

# Main web port
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:17-jdk-slim
FROM openjdk:21-jdk-slim

ADD target/signservice-ca-1.0.4-SNAPSHOT.jar /app.jar
ADD target/signservice-ca-*.jar /app.jar

# This ENTRYPOINT enables attachement of a debugger on port 8000. This port is automtically exposed on the docker container.
ENTRYPOINT ["java","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000","-jar","/app.jar"]
Expand Down
20 changes: 20 additions & 0 deletions Dockerfile-softhsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM openjdk:21-jdk-buster
RUN apt update \
&& apt install -y procps softhsm2 opensc \
&& rm -rf /var/lib/apt/lists/*

ADD target/signservice-ca-*.jar /app.jar

# This ENTRYPOINT enables attachement of a debugger on port 8000. This port is automtically exposed on the docker container.
ENTRYPOINT ["java","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000","-jar","/app.jar"]

# Main web port
EXPOSE 8080
# HTTPS web port
EXPOSE 8443
# AJP port
EXPOSE 8009
# Management port
EXPOSE 8008
# Internal admin UI port
EXPOSE 8006
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.5</version>
<version>3.4.0</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -74,9 +74,9 @@
<version>1.79</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.8.6</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/cfg/banner.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
|____/ |_| \__, | |_| |_| |____/ \___| |_| \_/ |_| \___| \___| \____| /_/ \_\
|___/

Version 1.0.4-SNAPSHOT
Version 1.1.0
Powered by Spring Boot ${spring-boot.version}
2 changes: 1 addition & 1 deletion src/main/resources/static/css/certDisp.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/css/general.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/css/request.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/css/result.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/admin-page.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/ca-common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/request.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023. Agency for Digital Government (DIGG)
* Copyright 2024. Agency for Digital Government (DIGG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 2250909

Please sign in to comment.