Skip to content
Snippets Groups Projects
Commit bfe1cac9 authored by Martin Weise's avatar Martin Weise
Browse files

routes

parent 4518f50b
Branches
Tags
5 merge requests!23Sprint results,!20Pull Request,!19Pull Request,!18Merge Conflicts,!11WIP: Resolve "Database: Create (+ temporal tables)"
...@@ -11,21 +11,21 @@ public class GatewayConfig { ...@@ -11,21 +11,21 @@ public class GatewayConfig {
@Bean @Bean
public RouteLocator routes(RouteLocatorBuilder builder) { public RouteLocator routes(RouteLocatorBuilder builder) {
return builder.routes() return builder.routes()
.route("database-managing-service", r -> r.path("/database/**") .route("fda-container-service", r -> r.path("/api/container/**")
.and() .and()
.method("POST","GET") .method("POST","GET","PUT","DELETE")
.and() .and()
.uri("lb://FDA-Database-Managing")) .uri("lb://fda-container-service"))
.route("table-service", r -> r.path("/table/**") .route("fda-database-service", r -> r.path("/api/database/**")
.and() .and()
.method("POST","GET") .method("POST","GET","PUT","DELETE")
.and() .and()
.uri("lb://FDA-Table-Service")) .uri("lb://fda-database-service"))
.route("query-service", r -> r.path("/query/executeQuery") .route("fda-table-service", r -> r.path("/api/database/**/table/**")
.and() .and()
.method("POST") .method("POST","GET","PUT","DELETE")
.and() .and()
.uri("lb://FDA-Query-Service")) .uri("lb://fda-table-service"))
.build(); .build();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment