Skip to content

Commit

Permalink
refactor(OtpMiddlewareMain): Reorder controllers.
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Dec 17, 2024
1 parent 57460de commit d811757
Show file tree
Hide file tree
Showing 2 changed files with 679 additions and 680 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,18 @@ private static void initializeHttpEndpoints() throws IOException {
.endpoints(() -> List.of(
new AdminUserController(API_PREFIX),
new ApiUserController(API_PREFIX),
new CDPFilesController(API_PREFIX),
new CDPUserController(API_PREFIX),
new ErrorEventsController(API_PREFIX),
new LogController(API_PREFIX),
new MonitoredComponentController(API_PREFIX),
new MonitoredTripController(API_PREFIX),
new OtpRequestProcessor("/otp", OtpVersion.OTP2),
new OtpRequestProcessor("/otp2", OtpVersion.OTP2),
new OtpUserController(API_PREFIX),
new TrackedTripController(API_PREFIX),
new TripHistoryController(API_PREFIX),
new MonitoredComponentController(API_PREFIX),
new OtpUserController(API_PREFIX),
new LogController(API_PREFIX),
new ErrorEventsController(API_PREFIX),
new CDPFilesController(API_PREFIX),
new TripSurveyController(API_PREFIX),
new OtpRequestProcessor("/otp", OtpVersion.OTP2),
new OtpRequestProcessor("/otp2", OtpVersion.OTP2)
// Add other endpoints as needed.
new TripSurveyController(API_PREFIX)
))
// Spark-swagger auto-generates a swagger document at localhost:4567/doc.yaml.
// (That path is not configurable.)
Expand Down
Loading

0 comments on commit d811757

Please sign in to comment.