Skip to content

Commit

Permalink
Merge pull request #33 from edu-pi/feature/issue32
Browse files Browse the repository at this point in the history
[32]rename: Syntax -> assist
  • Loading branch information
SongGwanSeok authored Oct 21, 2024
2 parents 499f490 + d4dea2d commit 6e40f75
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/soma/edupigateway/config/RoutingConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
@Configuration
public class RoutingConfig {

@Value("${server-url.syntax.url}")
private String SYNTAX_URL;
@Value("${server-url.syntax.default-path}")
private String SYNTAX_PATH;
@Value("${server-url.assist.url}")
private String ASSIST_URL;
@Value("${server-url.assist.default-path}")
private String ASSIST_PATH;

@Value("${server-url.visualize.url}")
private String VISUALIZE_URL;
Expand Down Expand Up @@ -46,9 +46,9 @@ public RouteLocator gatewayRoutes(RouteLocatorBuilder builder, AuthenticationFil
) // health check

.route(predicate -> predicate
.path(SYNTAX_PATH)
.uri(SYNTAX_URL)
) // edupi-syntax
.path(ASSIST_PATH)
.uri(ASSIST_URL)
) // edupi-assist

.route(predicate -> predicate
.path(VISUALIZE_PATH)
Expand All @@ -71,7 +71,7 @@ public RouteLocator gatewayRoutes(RouteLocatorBuilder builder, AuthenticationFil
.route(predicate -> predicate
.path(META_PATH)
.uri(META_URL)
) // edupi-db
) // edupi-meta

.build();
}
Expand Down

0 comments on commit 6e40f75

Please sign in to comment.