WebClient.getConfig(ats).getHttpConduit().getClient().setReceiveTimeout(1000000L);
manager.setAccessTokenService(ats);
reserveService.setOAuthClientManager(manager);
SecurityContextFilter filter = new SecurityContextFilter();
filter.setUsers(Collections.singletonMap("barry@restaurant.com", "5678"));
WebClient restaurantService =
WebClient.create("http://localhost:8080/restaurant/reception");
restaurantService.accept(MediaType.TEXT_PLAIN_TYPE).type(MediaType.APPLICATION_FORM_URLENCODED_TYPE);
reserveService.setRestaurantService(restaurantService);