package ru.ibs.socrates.confexporter.external.chanker.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Profile;
import ru.ibs.socrates.confexporter.external.chanker.api.DefaultApi;
import ru.ibs.socrates.confexporter.external.chanker.config.ChankerClientConfig;


/**
 * feign client.
 */
@FeignClient(
    name = "chankerApiClient",
    url = "${integrations.chanker.url}",
    configuration = ChankerClientConfig.class)
@Profile("!disable-feign-client")
public interface ChankerApiClient extends DefaultApi {
}
