class RestTemplateEndpointConfiguration {
        @Bean
        public RestTemplate consoleRestTemplate() {<FILL_FUNCTION_BODY>}

        @Bean
        @LoadBalanced
        public RestTemplate loadBalancedRestTemplate() {
            return new RestTemplate();
        }
    }

            RestTemplate consoleRestTemplate = new RestTemplate();
            consoleRestTemplate.setErrorHandler(new DiscoveryResponseErrorHandler());

            return consoleRestTemplate;
        
<no_super_class>