From 6af1558b995b2f860d1181c125a9970c3e7fbcd7 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Tue, 4 Apr 2023 02:37:40 +0200 Subject: [PATCH] Clean up; use the most recent version of labyrinth generator. --- pom.xml | 59 +++++++++++++++++-- .../server/handler/CreateHandler.java | 10 +++- 2 files changed, 60 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index bf06567..39521da 100644 --- a/pom.xml +++ b/pom.xml @@ -12,20 +12,41 @@ ch.fritteli.labyrinth labyrinth-server 0.0.2-SNAPSHOT + The Labyrinth server, offering a ReST endpoint to access the Labyrinth Generator. + https://manuel.friedli.info/labyrinth.html - 1.4.6 - 1.18.26 - 2.0.5 17 17 + 24.0.1 + 5.9.2 + 1.4.6 + 1.18.26 + 2.0.7 + 0.10.4 + + + Manuel Friedli + manuel + https://www.fritteli.ch/ + manuel@fritteli.ch + Europe/Zurich + + Project Lead + Software Architect + Software Engineer + Operations Manager + + + + ch.fritteli.labyrinth labyrinth-generator - 0.0.2 + 0.0.3 io.vavr @@ -65,7 +86,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.4 + 3.4.1 ch.fritteli.labyrinth.server.Main + + + ch.fritteli.labyrinth:labyrinth-generator + + logback.xml + + + @@ -83,10 +112,28 @@ + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-site-plugin + 4.0.0-M6 + - scm:git:git://gittr.ch/java/labyrinth-server.git + scm:git:https://gittr.ch/java/labyrinth-server.git scm:git:ssh://git@gittr.ch/java/labyrinth-server.git https://gittr.ch/java/labyrinth-server HEAD diff --git a/src/main/java/ch/fritteli/labyrinth/server/handler/CreateHandler.java b/src/main/java/ch/fritteli/labyrinth/server/handler/CreateHandler.java index 47da5f5..46cdfd4 100644 --- a/src/main/java/ch/fritteli/labyrinth/server/handler/CreateHandler.java +++ b/src/main/java/ch/fritteli/labyrinth/server/handler/CreateHandler.java @@ -8,13 +8,18 @@ import io.undertow.util.HttpString; import io.undertow.util.StatusCodes; import io.vavr.Tuple; import io.vavr.Tuple2; -import io.vavr.collection.*; +import io.vavr.collection.HashMap; +import io.vavr.collection.HashMultimap; +import io.vavr.collection.HashSet; +import io.vavr.collection.List; +import io.vavr.collection.Multimap; +import io.vavr.collection.Set; +import io.vavr.collection.Stream; import io.vavr.control.Option; import io.vavr.control.Try; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.jetbrains.annotations.Nullable; -import org.slf4j.MDC; import java.nio.ByteBuffer; import java.time.Instant; @@ -22,7 +27,6 @@ import java.time.temporal.ChronoUnit; import java.util.Deque; import java.util.Map; import java.util.Random; -import java.util.UUID; @Slf4j public class CreateHandler extends AbstractHttpHandler {