package com.devjob.application.config;

import com.devjob.application.client.JobHttpClient;
import com.devjob.application.client.NotificationHttpClient;
import com.devjob.application.client.UserHttpClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.resilience.annotation.EnableResilientMethods;
import org.springframework.web.service.registry.ImportHttpServices;

@Configuration
@EnableResilientMethods
@ImportHttpServices(group = "devjob-job", types = JobHttpClient.class)
@ImportHttpServices(group = "devjob-notification", types = NotificationHttpClient.class)
@ImportHttpServices(group = "devjob-user", types = UserHttpClient.class)
public class HttpClientConfig {
}
