Skip to content
Snippets Groups Projects
Commit ab863de9 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'master' of git.ozg-sh.de:ozgcloud-app/alfa

parents d6841e7a b9ee18c4
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
<parent>
<groupId>de.ozgcloud.alfa</groupId>
<artifactId>alfa</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>de.ozgcloud.alfa</groupId>
<artifactId>alfa</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>alfa-server</artifactId>
......
......@@ -31,7 +31,7 @@
<parent>
<groupId>de.ozgcloud.alfa</groupId>
<artifactId>alfa</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>alfa-service</artifactId>
......
......@@ -79,13 +79,14 @@ class LandesnetzInfoReadService {
}
Set<String> readFile(InputStream fileInputStream) {
var fileScanner = new Scanner(fileInputStream, StandardCharsets.UTF_8);
try(var fileScanner = new Scanner(fileInputStream, StandardCharsets.UTF_8)){
while (fileScanner.hasNextLine()) {
String line = fileScanner.nextLine();
var line = fileScanner.nextLine();
if (isStartOfSection(line)) {
return readSection(fileScanner);
}
}
}
return Collections.emptySet();
}
......@@ -94,9 +95,9 @@ class LandesnetzInfoReadService {
}
Set<String> readSection(Scanner sectionScanner) {
Set<String> result = new HashSet<>();
var result = new HashSet<String>();
while (sectionScanner.hasNextLine()) {
String line = sectionScanner.nextLine();
var line = sectionScanner.nextLine();
if (isEndOfSection(line)) {
return Collections.unmodifiableSet(result);
}
......
......@@ -26,6 +26,7 @@ vhs-servicezentrum.berlin.de esmtp:[mail.berlin.testa-de.net]
#################################################################################
mgm-cp.com esmtp:[mx.landsh.doi-de.net]
mgm-tp.com esmtp:[mx.landsh.doi-de.net]
dataport.de esmtp:[mx.landsh.doi-de.net]
#
############################## Ende Schleswig-Holstein ###########################
#
......
......@@ -187,7 +187,7 @@ class LandesnetzInfoReadServiceTest {
void shouldReadFileIfExist() {
var parsedDomainList = service.readFile(TEXT_INPUT_STREAM);
assertThat(parsedDomainList).hasSize(2);
assertThat(parsedDomainList).hasSize(3);
}
@Test
......
......@@ -32,7 +32,7 @@
<parent>
<groupId>de.ozgcloud.alfa</groupId>
<artifactId>alfa</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>alfa-xdomea</artifactId>
......
......@@ -31,12 +31,12 @@
<parent>
<groupId>de.ozgcloud.common</groupId>
<artifactId>ozgcloud-common-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
</parent>
<groupId>de.ozgcloud.alfa</groupId>
<artifactId>alfa</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<name>Alfa Parent</name>
<packaging>pom</packaging>
......@@ -51,9 +51,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<vorgang-manager.version>2.0.0-SNAPSHOT</vorgang-manager.version>
<ozgcloud-common-pdf.version>3.0.0-SNAPSHOT</ozgcloud-common-pdf.version>
<user-manager.version>2.0.0-SNAPSHOT</user-manager.version>
<vorgang-manager.version>2.0.0</vorgang-manager.version>
<ozgcloud-common-pdf.version>3.0.0</ozgcloud-common-pdf.version>
<user-manager.version>2.0.0</user-manager.version>
<!-- TODO: die Version über ozgcloud-common ziehen -->
<jjwt.version>0.11.5</jjwt.version>
......
#
# Copyright (C) 2022 Das Land Schleswig-Holstein vertreten durch den
# Ministerpräsidenten des Landes Schleswig-Holstein
# Staatskanzlei
# Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
#
# Lizenziert unter der EUPL, Version 1.2 oder - sobald
# diese von der Europäischen Kommission genehmigt wurden -
# Folgeversionen der EUPL ("Lizenz");
# Sie dürfen dieses Werk ausschließlich gemäß
# dieser Lizenz nutzen.
# Eine Kopie der Lizenz finden Sie hier:
#
# https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
#
# Sofern nicht durch anwendbare Rechtsvorschriften
# gefordert oder in schriftlicher Form vereinbart, wird
# die unter der Lizenz verbreitete Software "so wie sie
# ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
# ausdrücklich oder stillschweigend - verbreitet.
# Die sprachspezifischen Genehmigungen und Beschränkungen
# unter der Lizenz sind dem Lizenztext zu entnehmen.
#
questions:
- variable: image.tag
default: latest
type: string
label: The deployed version tag
group: "Container"
- variable: replicaCount
group: "Container"
type: string
default: "2"
label: "Deployment Replica count"
- variable: env.overrideSpringProfiles
type: string
label: "Override Spring boot profile"
group: "Container"
- variable: ozgcloud.bundesland
group: "OZGCLOUD"
label: Bundesland
type: string
required: true
- variable: ozgcloud.bezeichner
group: "OZGCLOUD"
label: "Bezeichner"
type: string
required: true
- variable: ozgcloud.environment
group: "OZGCLOUD"
label: "Environment"
type: string
required: true
- variable: vorgangManagerName
group: "Other"
type: string
default: "vorgang-manager"
label: "Name of the vorgang-manager deployment in the namespace"
- variable: sso.role_einheitlicher_ansprechpartner
group: "Other"
type: boolean
default: false
label: "Add role for EA"
- variable: sso.displayName
group: "Other"
type: string
default: ""
label: "The custom display name to write on top of the login page. Defaults to 'Realm für <app.name>', Works on initial Install only."
- variable: sso.apiPassword
group: "Other"
type: string
default: " "
label: "SSO API User Password"
- variable: useKeycloakNamespace
group: "Other"
type: boolean
default: false
label: "Use keycloak namespace for keycloak templates"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment