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

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

/**
 * xml parser feign client.
 */
@FeignClient(
        name = "xmlparserApiClient",
        url = "${integrations.xmlparser.url}",
        configuration = XmlparserClientConfig.class)
@Profile("!disable-feign-client")
public interface XmlparserApiClient extends DefaultApi {
}
