From a8218632b13ea0073b5df6ff7fb12355823b1e27 Mon Sep 17 00:00:00 2001 From: Simon Hirtreiter Date: Tue, 8 Oct 2024 13:57:04 +0200 Subject: [PATCH] :fire: gateway rm app switcher --- refarch-gateway/README.md | 1 - .../gateway/controller/ActuatorInfoEndpointTest.java | 6 ++---- refarch-gateway/src/test/resources/application-test.yml | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/refarch-gateway/README.md b/refarch-gateway/README.md index 28657205..33a34701 100644 --- a/refarch-gateway/README.md +++ b/refarch-gateway/README.md @@ -54,4 +54,3 @@ Beside the default behaviour there are some special route prefixes which are han | `ALLOWED_ORIGINS_PUBLIC` (optional) | List of urls allowed as origin for public routes. | `https://*.muenchen.de,http://localhost:*` | | `ALLOWED_ORIGINS_CLIENTS` (optional) | List of urls allowed as origin for clients routes. | `https://*.muenchen.de,http://localhost:*` | | `REFARCH_SECURITY_CSRFWHITELISTED_` (optional) | List of routes to disable csrf protection for. | `/example/**` | -| `INFO_APPSWITCHER_URL` (optional) | App switcher url for usage in refarch frontend. | `https://appswitcher.muenchen.de` | diff --git a/refarch-gateway/src/test/java/de/muenchen/refarch/gateway/controller/ActuatorInfoEndpointTest.java b/refarch-gateway/src/test/java/de/muenchen/refarch/gateway/controller/ActuatorInfoEndpointTest.java index 0f5db0ba..aafd9360 100644 --- a/refarch-gateway/src/test/java/de/muenchen/refarch/gateway/controller/ActuatorInfoEndpointTest.java +++ b/refarch-gateway/src/test/java/de/muenchen/refarch/gateway/controller/ActuatorInfoEndpointTest.java @@ -23,11 +23,9 @@ class ActuatorInfoEndpointTest { private WebTestClient webTestClient; @Test - void actuatorInfoProvidesAppswitcherUrl() { + void actuatorInfo() { webTestClient.get().uri("/actuator/info").exchange() - .expectStatus().isOk() - .expectBody() - .jsonPath("$.appswitcher.url").isEqualTo("https://test-url-appswitcher.muenchen.de"); + .expectStatus().isOk(); } } diff --git a/refarch-gateway/src/test/resources/application-test.yml b/refarch-gateway/src/test/resources/application-test.yml index dae01432..b3483788 100644 --- a/refarch-gateway/src/test/resources/application-test.yml +++ b/refarch-gateway/src/test/resources/application-test.yml @@ -39,5 +39,3 @@ spring: keycloak: client-id: refarch-gateway client-secret: - -info.appswitcher.url: https://test-url-appswitcher.muenchen.de