Skip to content

Commit

Permalink
Delete endpoints not called from the fronts (#112)
Browse files Browse the repository at this point in the history
Signed-off-by: achour94 <[email protected]>
  • Loading branch information
achour94 authored Sep 13, 2024
1 parent f47a96c commit d9bb813
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 430 deletions.
11 changes: 0 additions & 11 deletions src/main/java/org/gridsuite/gateway/GatewayConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/
package org.gridsuite.gateway;

import org.gridsuite.gateway.endpoints.CgmesGlServer;
import org.gridsuite.gateway.endpoints.*;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
Expand Down Expand Up @@ -34,34 +33,24 @@ public RouteLocator myRoutes(RouteLocatorBuilder builder, ApplicationContext con
return builder.routes()
.route(p -> context.getBean(StudyServer.class).getRoute(p))
.route(p -> context.getBean(CaseServer.class).getRoute(p))
.route(p -> context.getBean(MergeServer.class).getRoute(p))
.route(p -> context.getBean(StudyNotificationServer.class).getRoute(p))
.route(p -> context.getBean(MergeNotificationServer.class).getRoute(p))
.route(p -> context.getBean(DirectoryNotificationServer.class).getRoute(p))
.route(p -> context.getBean(ContingencyServer.class).getRoute(p))
.route(p -> context.getBean(ConfigServer.class).getRoute(p))
.route(p -> context.getBean(ConfigNotificationServer.class).getRoute(p))
.route(p -> context.getBean(DirectoryServer.class).getRoute(p))
.route(p -> context.getBean(ExploreServer.class).getRoute(p))
.route(p -> context.getBean(CgmesBoundaryServer.class).getRoute(p))
.route(p -> context.getBean(DynamicMappingServer.class).getRoute(p))
.route(p -> context.getBean(FilterServer.class).getRoute(p))
.route(p -> context.getBean(ReportServer.class).getRoute(p))
.route(p -> context.getBean(NetworkModificationServer.class).getRoute(p))
.route(p -> context.getBean(NetworkConversionServer.class).getRoute(p))
.route(p -> context.getBean(OdreServer.class).getRoute(p))
.route(p -> context.getBean(GeoDataServer.class).getRoute(p))
.route(p -> context.getBean(UserAdminServer.class).getRoute(p))
.route(p -> context.getBean(CgmesGlServer.class).getRoute(p))
.route(p -> context.getBean(SensitivityAnalysisServer.class).getRoute(p))
.route(p -> context.getBean(LoadFlowServer.class).getRoute(p))
.route(p -> context.getBean(SecurityAnalysisServer.class).getRoute(p))
.route(p -> context.getBean(DynamicSimulationServer.class).getRoute(p))
.route(p -> context.getBean(CaseImportServer.class).getRoute(p))
.route(p -> context.getBean(VoltageInitServer.class).getRoute(p))
.route(p -> context.getBean(ShortCircuitServer.class).getRoute(p))
.route(p -> context.getBean(StateEstimationServer.class).getRoute(p))
.route(p -> context.getBean(StateEstimationOrchestratorServer.class).getRoute(p))
.build();
}
}

This file was deleted.

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/java/org/gridsuite/gateway/endpoints/CgmesGlServer.java

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/java/org/gridsuite/gateway/endpoints/GeoDataServer.java

This file was deleted.

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/java/org/gridsuite/gateway/endpoints/MergeServer.java

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/java/org/gridsuite/gateway/endpoints/OdreServer.java

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/java/org/gridsuite/gateway/endpoints/ReportServer.java

This file was deleted.

This file was deleted.

Loading

0 comments on commit d9bb813

Please sign in to comment.