Skip to content

Commit

Permalink
🔥 gateway rm app switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhir committed Oct 8, 2024
1 parent 7143bd1 commit a821863
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion refarch-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_<index>` (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` |
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

}
2 changes: 0 additions & 2 deletions refarch-gateway/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ spring:
keycloak:
client-id: refarch-gateway
client-secret:

info.appswitcher.url: https://test-url-appswitcher.muenchen.de

0 comments on commit a821863

Please sign in to comment.