-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from wultra/issues/merge-upstream
Merge upstream
- Loading branch information
Showing
26 changed files
with
561 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ibm-semeru-runtimes:open-21.0.1_12-jre | ||
FROM ibm-semeru-runtimes:open-21.0.2_13-jre | ||
LABEL maintainer="[email protected]" | ||
|
||
# Prepare environment variables | ||
|
@@ -8,7 +8,7 @@ ENV JAVA_HOME=/opt/java/openjdk \ | |
PKG_RELEASE=1~jammy \ | ||
TOMCAT_HOME=/usr/local/tomcat \ | ||
TOMCAT_MAJOR=10 \ | ||
TOMCAT_VERSION=10.1.17 \ | ||
TOMCAT_VERSION=10.1.19 \ | ||
TZ=UTC | ||
|
||
ENV PATH=$PATH:$LB_HOME:$TOMCAT_HOME/bin | ||
|
@@ -20,7 +20,7 @@ RUN apt-get -y update \ | |
|
||
# Install tomcat | ||
RUN curl -jkSL -o /tmp/apache-tomcat.tar.gz http://archive.apache.org/dist/tomcat/tomcat-${TOMCAT_MAJOR}/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz \ | ||
&& [ "ff9670f9cd49a604e47edfbcfb5855fe59342048c3278ea8736276b51327adf2d076973f3ad1b8aa7870ef26c28cf7111527be810b445c9927f2a457795f5cb6 /tmp/apache-tomcat.tar.gz" = "$(sha512sum /tmp/apache-tomcat.tar.gz)" ] \ | ||
&& [ "7264da6196a510b0bba74469d215d61a464331302239256477f78b6bec067f7f4d90f671b96a440061ae0e20d16b1be8ca1dbd547dab9927383366dbc677f590 /tmp/apache-tomcat.tar.gz" = "$(sha512sum /tmp/apache-tomcat.tar.gz)" ] \ | ||
&& gunzip /tmp/apache-tomcat.tar.gz \ | ||
&& tar -C /opt -xf /tmp/apache-tomcat.tar \ | ||
&& ln -s /opt/apache-tomcat-$TOMCAT_VERSION $TOMCAT_HOME | ||
|
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
41 changes: 41 additions & 0 deletions
41
...a/com/wultra/app/enrollmentserver/api/model/enrollment/response/TemplateListResponse.java
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* PowerAuth Enrollment Server | ||
* Copyright (C) 2024 Wultra s.r.o. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package com.wultra.app.enrollmentserver.api.model.enrollment.response; | ||
|
||
import lombok.Builder; | ||
import lombok.EqualsAndHashCode; | ||
|
||
import java.io.Serial; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
/** | ||
* Template list response. | ||
* | ||
* @author Lubos Racansky, [email protected] | ||
*/ | ||
@EqualsAndHashCode(callSuper = true) | ||
public class TemplateListResponse extends ArrayList<TemplateListResponse.TemplateDetail> { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -5446919236567435144L; | ||
|
||
@Builder | ||
public record TemplateDetail(String name, String title, String message, List<Object> attributes, String language) { | ||
} | ||
} |
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
Oops, something went wrong.