Skip to content

Commit cac13c7

Browse files
authored
Merge pull request #131 from Fraunhofer-AISEC/release/7.0.0
Release 7.0.0
2 parents da76ed4 + 83c71e6 commit cac13c7

10 files changed

+231
-221
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ licenseReport {
2525

2626
allprojects {
2727
group = "de.fhg.aisec.ids"
28-
version = "7.0.0-rc2"
28+
version = "7.0.0"
2929

3030
val versionRegex = ".*(rc-?[0-9]*|beta)$".toRegex(RegexOption.IGNORE_CASE)
3131

-31.4 KB
Binary file not shown.
-31.4 KB
Binary file not shown.
-31.5 KB
Binary file not shown.
-31.5 KB
Binary file not shown.
45.7 KB
Binary file not shown.
14.2 KB
Binary file not shown.

gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
idscp2 = "0.16.1"
3-
ktlint = "0.47.1"
3+
ktlint = "0.48.2"
44

55
# Kotlin library/compiler version
66
kotlin = "1.8.0"
@@ -17,13 +17,13 @@ jaxbApi = "2.4.0-b180830.0359"
1717
jaxbImpl = "4.0.1"
1818
jaxActivation = "1.2.0"
1919

20-
camel = "3.18.4"
20+
camel = "3.18.5"
2121
influxDB = "2.23"
2222

2323
guava = "31.1-jre"
2424
junit4 = "4.13.2"
2525
junit5 = "5.9.2"
26-
mockito = "4.11.0"
26+
mockito = "5.0.0"
2727
mapdb = "3.0.9"
2828
jnrunix = "0.38.19"
2929
protobuf = "3.21.12"
@@ -56,11 +56,11 @@ commonsCli = "1.5.0"
5656
javaxValidation = "2.0.1.Final"
5757

5858
# Needed for web console
59-
auth0Jwt = "4.2.1"
59+
auth0Jwt = "4.2.2"
6060
swagger = "1.6.9"
6161
jose4j = "0.9.2"
6262

63-
springBoot = "2.7.7"
63+
springBoot = "2.7.8"
6464
springSecurity = "5.8.1"
6565
bouncyCastle = "1.70"
6666

@@ -157,7 +157,7 @@ swagger = { id = "com.benjaminsproule.swagger", version = "1.0.14" }
157157
protobuf = { id = "com.google.protobuf", version = "0.9.2" }
158158
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
159159
kotlin-plugin-spring = { id = "org.jetbrains.kotlin.plugin.spring", version.ref = "kotlin" }
160-
spotless = { id = "com.diffplug.spotless", version = "6.12.1" }
160+
spotless = { id = "com.diffplug.spotless", version = "6.14.0" }
161161
licenseReport = { id = "com.github.jk1.dependency-license-report", version = "2.1" }
162162
versions = { id = "com.github.ben-manes.versions", version = "0.44.0" }
163163
buildconfig = { id = "com.github.gmazzo.buildconfig", version = "3.1.0" }

ids-webconsole/src/main/angular/yarn.lock

Lines changed: 218 additions & 201 deletions
Large diffs are not rendered by default.

ids-webconsole/src/main/kotlin/de/fhg/aisec/ids/webconsole/api/ConfigApi.kt

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import org.springframework.web.bind.annotation.RequestMapping
4242
import org.springframework.web.server.ResponseStatusException
4343
import java.util.TreeMap
4444
import java.util.regex.Pattern
45-
import java.util.stream.Collectors
4645
import javax.ws.rs.core.MediaType
4746

4847
/**
@@ -193,27 +192,21 @@ class ConfigApi {
193192

194193
// add route id before host identifier for web console view
195194
val retAllSettings = mutableMapOf<String, ConnectionSettings>()
196-
for ((key, value) in allSettings) {
195+
allSettings.forEach { (key, value) ->
197196
if (key == Constants.GENERAL_CONFIG) {
198197
retAllSettings[key] = value
199198
} else {
200-
var endpointIdentifiers = routeInputs
199+
val endpointIdentifiers = routeInputs
201200
.entries
202-
.stream()
203201
.filter { (_, value1) ->
204-
value1.stream().anyMatch { u: String -> u.startsWith("idsserver://$key") }
202+
value1.any { u: String -> u.startsWith("idsserver://$key") }
205203
}
206-
.map { (key1) -> "$key1 - $key" }
207-
.collect(Collectors.toList())
208-
if (endpointIdentifiers.isEmpty()) {
209-
endpointIdentifiers = listOf("<no route found> - $key")
210-
}
204+
.map { "$it - $key" }
205+
.ifEmpty { listOf("<no route found> - $key") }
211206

212207
// add endpoint configurations
213208
endpointIdentifiers.forEach { endpointIdentifier: String ->
214-
if (retAllSettings.keys.stream()
215-
.noneMatch { anObject: String? -> endpointIdentifier == anObject }
216-
) {
209+
if (retAllSettings.keys.none { endpointIdentifier == it }) {
217210
retAllSettings[endpointIdentifier] = value
218211
}
219212
}

0 commit comments

Comments
 (0)