package com.liquidnet.service.feign.adam.rsc;

import feign.hystrix.FallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "liquidnet-service-chime",
        contextId = "FeignAdamPlatformClient", path = "platform",
        url = "${liquidnet.service.platform.url}",
        fallback = FallbackFactory.Default.class)
public interface FeignAdamPlatformClient {

    @PostMapping("stone/inner/initScore")
    void initScore(@RequestParam(value = "uid") String uid);
}
