Skip to content

Commit

Permalink
Update fillBack Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
aboullaite committed Jan 14, 2019
1 parent 3c21df1 commit e5c7d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -18,6 +18,7 @@ public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}

// Not
@Bean
KeyResolver userKeyResolver() {
return exchange -> Mono.just("fero");
Expand Down
Expand Up @@ -13,7 +13,7 @@
public class FallbackController {

@GetMapping("/books")
public ResponseEntity<List> unstableBooksEndpoint(){
public ResponseEntity<List> booksFallback(){
return ResponseEntity.ok(Arrays.asList());
}
}

0 comments on commit e5c7d8a

Please sign in to comment.