From 205d7d141924a4c20b7d8c5e31add8960fc68107 Mon Sep 17 00:00:00 2001 From: martind260 <99957516+martind260@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:44:29 +0100 Subject: [PATCH] Mdas 430 sst management lizenzheader einfuegen2 (#25) --- mobidam-sst-management-backend/checkstyle.xml | 24 ++++++++++++++ mobidam-sst-management-backend/pom.xml | 26 ++++++++++++++-- .../src/main/resources/logback-spring.xml | 24 ++++++++++++++ mobidam-sst-management-frontend/Dockerfile | 23 ++++++++++++++ .../apigateway/checkstyle.xml | 24 ++++++++++++++ .../apigateway/pom.xml | 24 ++++++++++++++ .../apigateway/runLocal.bat | 23 ++++++++++++++ .../apigateway/runLocal.sh | 23 ++++++++++++++ .../apigateway/runLocalNoSecurity.bat | 23 ++++++++++++++ .../apigateway/runLocalNoSecurity.sh | 23 ++++++++++++++ .../mobidam/ApiGatewayApplication.java | 22 +++++++++++-- .../configuration/GuiConfiguration.java | 22 +++++++++++-- .../NoSecurityConfiguration.java | 22 +++++++++++-- .../configuration/SecurityConfiguration.java | 22 +++++++++++-- .../configuration/VueCacheConfiguration.java | 22 +++++++++++-- .../WebSessionConfiguration.java | 22 +++++++++++-- .../ParameterPollutionException.java | 22 +++++++++++-- .../CsrfTokenAppendingHelperFilter.java | 22 +++++++++++-- .../filter/DistributedTracingFilter.java | 22 +++++++++++-- .../GlobalAuthenticationErrorFilter.java | 22 +++++++++++-- .../filter/GlobalBackend5xxTo400Mapper.java | 22 +++++++++++-- ...GlobalRequestParameterPollutionFilter.java | 22 +++++++++++-- .../src/main/resources/logback-spring.xml | 24 ++++++++++++++ .../de/muenchen/mobidam/TestConstants.java | 22 +++++++++++-- .../controller/ActuatorInfoEndpointTest.java | 22 +++++++++++-- .../CsrfTokenAppendingHelperFilterTest.java | 22 +++++++++++-- .../GlobalAuthenticationErrorFilterTest.java | 22 +++++++++++-- .../GlobalBackend5xxTo400MapperTest.java | 22 +++++++++++-- .../filter/GlobalBackendErrorFilterTest.java | 22 +++++++++++-- ...alRequestParameterPollutionFilterTest.java | 22 +++++++++++-- .../mobidam/route/BackendRouteTest.java | 22 +++++++++++-- .../frontend/.eslintrc.js | 22 +++++++++++++ .../frontend/index.html | 24 ++++++++++++++ .../frontend/pom.xml | 24 ++++++++++++++ .../frontend/postcss.config.js | 22 +++++++++++++ .../frontend/tests/unit/example.spec.ts | 23 ++++++++++++++ .../frontend/vite.config.ts | 23 ++++++++++++++ .../frontend/vitest.config.ts | 23 ++++++++++++++ .../frontend/vue.config.js | 22 +++++++++++++ mobidam-sst-management-frontend/pom.xml | 31 +++++++++++++++++-- 40 files changed, 871 insertions(+), 44 deletions(-) diff --git a/mobidam-sst-management-backend/checkstyle.xml b/mobidam-sst-management-backend/checkstyle.xml index 345277a0..b38603d0 100644 --- a/mobidam-sst-management-backend/checkstyle.xml +++ b/mobidam-sst-management-backend/checkstyle.xml @@ -1,4 +1,28 @@ + diff --git a/mobidam-sst-management-backend/pom.xml b/mobidam-sst-management-backend/pom.xml index 221be4a3..ee947be3 100644 --- a/mobidam-sst-management-backend/pom.xml +++ b/mobidam-sst-management-backend/pom.xml @@ -1,4 +1,28 @@ + @@ -470,9 +494,7 @@ true true - **/*.xml **/*.txt - **/*.json **/*.yml diff --git a/mobidam-sst-management-backend/src/main/resources/logback-spring.xml b/mobidam-sst-management-backend/src/main/resources/logback-spring.xml index 44e77a94..18faea84 100644 --- a/mobidam-sst-management-backend/src/main/resources/logback-spring.xml +++ b/mobidam-sst-management-backend/src/main/resources/logback-spring.xml @@ -1,4 +1,28 @@ + diff --git a/mobidam-sst-management-frontend/Dockerfile b/mobidam-sst-management-frontend/Dockerfile index 60946ca6..29e0f7b3 100644 --- a/mobidam-sst-management-frontend/Dockerfile +++ b/mobidam-sst-management-frontend/Dockerfile @@ -1,3 +1,26 @@ +# +# The MIT License +# Copyright © 2023 Landeshauptstadt München | it@M +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +# + FROM registry.access.redhat.com/ubi9/openjdk-17:latest COPY apigateway/target/*.jar /deployments/spring-boot-application.jar \ No newline at end of file diff --git a/mobidam-sst-management-frontend/apigateway/checkstyle.xml b/mobidam-sst-management-frontend/apigateway/checkstyle.xml index 37f7f0e7..9400a980 100644 --- a/mobidam-sst-management-frontend/apigateway/checkstyle.xml +++ b/mobidam-sst-management-frontend/apigateway/checkstyle.xml @@ -1,4 +1,28 @@ + diff --git a/mobidam-sst-management-frontend/apigateway/pom.xml b/mobidam-sst-management-frontend/apigateway/pom.xml index d55af6e9..52b99a89 100644 --- a/mobidam-sst-management-frontend/apigateway/pom.xml +++ b/mobidam-sst-management-frontend/apigateway/pom.xml @@ -1,4 +1,28 @@ + diff --git a/mobidam-sst-management-frontend/apigateway/runLocal.bat b/mobidam-sst-management-frontend/apigateway/runLocal.bat index 39976102..2a02ca39 100644 --- a/mobidam-sst-management-frontend/apigateway/runLocal.bat +++ b/mobidam-sst-management-frontend/apigateway/runLocal.bat @@ -1 +1,24 @@ +@REM +@REM The MIT License +@REM Copyright © 2023 Landeshauptstadt München | it@M +@REM +@REM Permission is hereby granted, free of charge, to any person obtaining a copy +@REM of this software and associated documentation files (the "Software"), to deal +@REM in the Software without restriction, including without limitation the rights +@REM to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +@REM copies of the Software, and to permit persons to whom the Software is +@REM furnished to do so, subject to the following conditions: +@REM +@REM The above copyright notice and this permission notice shall be included in +@REM all copies or substantial portions of the Software. +@REM +@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +@REM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +@REM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +@REM AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +@REM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +@REM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +@REM THE SOFTWARE. +@REM + mvn clean spring-boot:run -Dspring-boot.run.jvmArguments="-Dspring.profiles.active=local" diff --git a/mobidam-sst-management-frontend/apigateway/runLocal.sh b/mobidam-sst-management-frontend/apigateway/runLocal.sh index 4ecb1945..70def553 100644 --- a/mobidam-sst-management-frontend/apigateway/runLocal.sh +++ b/mobidam-sst-management-frontend/apigateway/runLocal.sh @@ -1,2 +1,25 @@ #!/bin/bash +# +# The MIT License +# Copyright © 2023 Landeshauptstadt München | it@M +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +# + mvn clean spring-boot:run -Dspring-boot.run.jvmArguments="-Dspring.profiles.active=local" diff --git a/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.bat b/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.bat index e1571711..2ebfb228 100644 --- a/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.bat +++ b/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.bat @@ -1 +1,24 @@ +@REM +@REM The MIT License +@REM Copyright © 2023 Landeshauptstadt München | it@M +@REM +@REM Permission is hereby granted, free of charge, to any person obtaining a copy +@REM of this software and associated documentation files (the "Software"), to deal +@REM in the Software without restriction, including without limitation the rights +@REM to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +@REM copies of the Software, and to permit persons to whom the Software is +@REM furnished to do so, subject to the following conditions: +@REM +@REM The above copyright notice and this permission notice shall be included in +@REM all copies or substantial portions of the Software. +@REM +@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +@REM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +@REM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +@REM AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +@REM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +@REM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +@REM THE SOFTWARE. +@REM + mvn clean spring-boot:run -Dspring-boot.run.jvmArguments="-Dspring.profiles.active=local,no-security" diff --git a/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.sh b/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.sh index 69535f25..96184a43 100644 --- a/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.sh +++ b/mobidam-sst-management-frontend/apigateway/runLocalNoSecurity.sh @@ -1,2 +1,25 @@ #!/bin/bash +# +# The MIT License +# Copyright © 2023 Landeshauptstadt München | it@M +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +# + mvn clean spring-boot:run -Dspring-boot.run.jvmArguments="-Dspring.profiles.active=local,no-security" diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/ApiGatewayApplication.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/ApiGatewayApplication.java index fccf0896..dce360d0 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/ApiGatewayApplication.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/ApiGatewayApplication.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/GuiConfiguration.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/GuiConfiguration.java index 8ada29fb..fca406b0 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/GuiConfiguration.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/GuiConfiguration.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.configuration; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/NoSecurityConfiguration.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/NoSecurityConfiguration.java index 32312810..779871d3 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/NoSecurityConfiguration.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/NoSecurityConfiguration.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.configuration; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/SecurityConfiguration.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/SecurityConfiguration.java index 4e295108..8f9ac2dc 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/SecurityConfiguration.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/SecurityConfiguration.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.configuration; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/VueCacheConfiguration.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/VueCacheConfiguration.java index c4de59a9..e1ea1ca3 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/VueCacheConfiguration.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/VueCacheConfiguration.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.configuration; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/WebSessionConfiguration.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/WebSessionConfiguration.java index 605c0e5d..1d309cb0 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/WebSessionConfiguration.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/configuration/WebSessionConfiguration.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.configuration; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/exception/ParameterPollutionException.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/exception/ParameterPollutionException.java index e313b633..24617a1b 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/exception/ParameterPollutionException.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/exception/ParameterPollutionException.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.exception; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilter.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilter.java index 8c105d64..80790cfa 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilter.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilter.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/DistributedTracingFilter.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/DistributedTracingFilter.java index 531cb642..749b293b 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/DistributedTracingFilter.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/DistributedTracingFilter.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilter.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilter.java index dfe7a239..ba038766 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilter.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilter.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400Mapper.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400Mapper.java index 05c78280..3f903a57 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400Mapper.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400Mapper.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilter.java b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilter.java index 8ca6c512..9ac00a98 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilter.java +++ b/mobidam-sst-management-frontend/apigateway/src/main/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilter.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/main/resources/logback-spring.xml b/mobidam-sst-management-frontend/apigateway/src/main/resources/logback-spring.xml index 72aea1b2..980daa49 100644 --- a/mobidam-sst-management-frontend/apigateway/src/main/resources/logback-spring.xml +++ b/mobidam-sst-management-frontend/apigateway/src/main/resources/logback-spring.xml @@ -1,4 +1,28 @@ + diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/TestConstants.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/TestConstants.java index 8d014ca6..d3f2fd44 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/TestConstants.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/TestConstants.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/controller/ActuatorInfoEndpointTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/controller/ActuatorInfoEndpointTest.java index 2e947294..4db00101 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/controller/ActuatorInfoEndpointTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/controller/ActuatorInfoEndpointTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.controller; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilterTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilterTest.java index ad024cf3..4a2b9c32 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilterTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/CsrfTokenAppendingHelperFilterTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilterTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilterTest.java index b4d30669..bb3c2926 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilterTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalAuthenticationErrorFilterTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400MapperTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400MapperTest.java index 424540be..b6d8da07 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400MapperTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackend5xxTo400MapperTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackendErrorFilterTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackendErrorFilterTest.java index 67f911e9..a9e6d06c 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackendErrorFilterTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalBackendErrorFilterTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilterTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilterTest.java index ecbd8387..806edc52 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilterTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/filter/GlobalRequestParameterPollutionFilterTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.filter; diff --git a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/route/BackendRouteTest.java b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/route/BackendRouteTest.java index c764e1cc..8d2e60b7 100644 --- a/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/route/BackendRouteTest.java +++ b/mobidam-sst-management-frontend/apigateway/src/test/java/de/muenchen/mobidam/route/BackendRouteTest.java @@ -1,6 +1,24 @@ /* - * Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik - * der Landeshauptstadt München, 2023 + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. */ package de.muenchen.mobidam.route; diff --git a/mobidam-sst-management-frontend/frontend/.eslintrc.js b/mobidam-sst-management-frontend/frontend/.eslintrc.js index 477984fe..5485ff47 100644 --- a/mobidam-sst-management-frontend/frontend/.eslintrc.js +++ b/mobidam-sst-management-frontend/frontend/.eslintrc.js @@ -1,3 +1,25 @@ +/* + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ module.exports = { root: true, env: { diff --git a/mobidam-sst-management-frontend/frontend/index.html b/mobidam-sst-management-frontend/frontend/index.html index 89c7b095..b6a7c879 100644 --- a/mobidam-sst-management-frontend/frontend/index.html +++ b/mobidam-sst-management-frontend/frontend/index.html @@ -1,3 +1,27 @@ + diff --git a/mobidam-sst-management-frontend/frontend/pom.xml b/mobidam-sst-management-frontend/frontend/pom.xml index ac6e6a70..78fed144 100644 --- a/mobidam-sst-management-frontend/frontend/pom.xml +++ b/mobidam-sst-management-frontend/frontend/pom.xml @@ -1,4 +1,28 @@ + 4.0.0 diff --git a/mobidam-sst-management-frontend/frontend/postcss.config.js b/mobidam-sst-management-frontend/frontend/postcss.config.js index 5bfb8f62..ecede0ce 100644 --- a/mobidam-sst-management-frontend/frontend/postcss.config.js +++ b/mobidam-sst-management-frontend/frontend/postcss.config.js @@ -1,3 +1,25 @@ +/* + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ module.exports = { plugins: { autoprefixer: {} diff --git a/mobidam-sst-management-frontend/frontend/tests/unit/example.spec.ts b/mobidam-sst-management-frontend/frontend/tests/unit/example.spec.ts index 41e3e1ce..c5d6eab5 100644 --- a/mobidam-sst-management-frontend/frontend/tests/unit/example.spec.ts +++ b/mobidam-sst-management-frontend/frontend/tests/unit/example.spec.ts @@ -1,3 +1,26 @@ +/// +/// The MIT License +/// Copyright © 2023 Landeshauptstadt München | it@M +/// +/// Permission is hereby granted, free of charge, to any person obtaining a copy +/// of this software and associated documentation files (the "Software"), to deal +/// in the Software without restriction, including without limitation the rights +/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +/// copies of the Software, and to permit persons to whom the Software is +/// furnished to do so, subject to the following conditions: +/// +/// The above copyright notice and this permission notice shall be included in +/// all copies or substantial portions of the Software. +/// +/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +/// THE SOFTWARE. +/// + import { shallowMount, createLocalVue } from '@vue/test-utils'; import Vuetify from 'vuetify'; import Vue from 'vue'; diff --git a/mobidam-sst-management-frontend/frontend/vite.config.ts b/mobidam-sst-management-frontend/frontend/vite.config.ts index 15cd0500..9e5e309c 100644 --- a/mobidam-sst-management-frontend/frontend/vite.config.ts +++ b/mobidam-sst-management-frontend/frontend/vite.config.ts @@ -1,3 +1,26 @@ +/// +/// The MIT License +/// Copyright © 2023 Landeshauptstadt München | it@M +/// +/// Permission is hereby granted, free of charge, to any person obtaining a copy +/// of this software and associated documentation files (the "Software"), to deal +/// in the Software without restriction, including without limitation the rights +/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +/// copies of the Software, and to permit persons to whom the Software is +/// furnished to do so, subject to the following conditions: +/// +/// The above copyright notice and this permission notice shall be included in +/// all copies or substantial portions of the Software. +/// +/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +/// THE SOFTWARE. +/// + import { defineConfig } from "vite"; import vue from "@vitejs/plugin-vue2"; import legacy from "@vitejs/plugin-legacy"; diff --git a/mobidam-sst-management-frontend/frontend/vitest.config.ts b/mobidam-sst-management-frontend/frontend/vitest.config.ts index 90490aaa..32ec3039 100644 --- a/mobidam-sst-management-frontend/frontend/vitest.config.ts +++ b/mobidam-sst-management-frontend/frontend/vitest.config.ts @@ -1,3 +1,26 @@ +/// +/// The MIT License +/// Copyright © 2023 Landeshauptstadt München | it@M +/// +/// Permission is hereby granted, free of charge, to any person obtaining a copy +/// of this software and associated documentation files (the "Software"), to deal +/// in the Software without restriction, including without limitation the rights +/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +/// copies of the Software, and to permit persons to whom the Software is +/// furnished to do so, subject to the following conditions: +/// +/// The above copyright notice and this permission notice shall be included in +/// all copies or substantial portions of the Software. +/// +/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +/// THE SOFTWARE. +/// + import { defineConfig } from 'vitest/config' import vue from "@vitejs/plugin-vue2"; import { fileURLToPath, URL } from "url" diff --git a/mobidam-sst-management-frontend/frontend/vue.config.js b/mobidam-sst-management-frontend/frontend/vue.config.js index 586f5be3..ba7968bc 100644 --- a/mobidam-sst-management-frontend/frontend/vue.config.js +++ b/mobidam-sst-management-frontend/frontend/vue.config.js @@ -1,3 +1,25 @@ +/* + * The MIT License + * Copyright © 2023 Landeshauptstadt München | it@M + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ module.exports = { transpileDependencies: ['vuetify'] }; \ No newline at end of file diff --git a/mobidam-sst-management-frontend/pom.xml b/mobidam-sst-management-frontend/pom.xml index cd6401bf..45ce27ea 100644 --- a/mobidam-sst-management-frontend/pom.xml +++ b/mobidam-sst-management-frontend/pom.xml @@ -1,4 +1,28 @@ + @@ -56,13 +80,16 @@ true true - **/*.xml **/*.txt - **/*.json **/*.yml + **/*.d.ts + frontend/*.* frontend/src/**/* + frontend/tests/**/* + apigateway/**/* + Dockerfile XML_STYLE