-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spring-boot-starter-web to spring-boot-starter-webflux migration
- Loading branch information
musab.bozkurt
committed
Feb 26, 2024
1 parent
d8aad0a
commit e435357
Showing
7 changed files
with
237 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/mb/brokerageprovider/config/PageableWebFluxConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.mb.brokerageprovider.config; | ||
|
||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.data.web.ReactivePageableHandlerMethodArgumentResolver; | ||
import org.springframework.web.reactive.config.WebFluxConfigurer; | ||
import org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer; | ||
|
||
@Configuration | ||
public class PageableWebFluxConfiguration implements WebFluxConfigurer { | ||
|
||
@Override | ||
public void configureArgumentResolvers(ArgumentResolverConfigurer configurer) { | ||
configurer.addCustomResolver(new ReactivePageableHandlerMethodArgumentResolver()); | ||
} | ||
} |
44 changes: 0 additions & 44 deletions
44
src/test/java/com/mb/brokerageprovider/config/RestResponsePage.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.