We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e725d09 commit 183cdedCopy full SHA for 183cded
1 file changed
apps/dolly-frontend/src/main/java/no/nav/dolly/web/DollyFrontendApplicationStarter.java
@@ -24,6 +24,7 @@
24
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
25
import org.springframework.context.annotation.Bean;
26
import org.springframework.context.annotation.Import;
27
+import org.springframework.context.annotation.Profile;
28
import org.springframework.http.HttpHeaders;
29
import org.springframework.web.server.ServerWebExchange;
30
import reactor.core.publisher.Mono;
@@ -52,6 +53,7 @@ public class DollyFrontendApplicationStarter {
52
53
};
54
55
@Bean("dollyFrontendRouteLocator")
56
+ @Profile("!test")
57
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.REACTIVE)
58
public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
59
0 commit comments