Skip to content
Prev Previous commit
Next Next commit
CSTACKEX-29 Change the endpoint method name in feign client
  • Loading branch information
Gupta, Surya Gupta, Surya
Gupta, Surya authored and Gupta, Surya committed Oct 15, 2025
commit 85da60725ebb3d24bd97cc79b75dbe13171b4fd7
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@FeignClient(name="AggregateClient", url="https://{clusterIP}/api/storage/aggregates", configuration = FeignConfiguration.class)
public interface AggregateFeignClient {
@RequestMapping(method=RequestMethod.GET)
AggregateResponse getAllAggregates(URI baseURL,@RequestHeader("Authorization") String header);
AggregateResponse getAggregateResponse(URI baseURL, @RequestHeader("Authorization") String header);

@RequestMapping(method=RequestMethod.GET, value="/{uuid}")
Aggregate getAggregateByUUID(URI baseURL,@RequestHeader("Authorization") String header, @PathVariable(name = "uuid", required = true) String uuid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@FeignClient(name = "SvmClient", url = "https://{clusterIP}/api/svm/svms", configuration = FeignConfiguration.class)
public interface SvmFeignClient {
@RequestMapping(method = RequestMethod.GET)
SvmResponse getAllSvms(URI baseURL, @RequestHeader("Authorization") String header);
SvmResponse getSvmResponse(URI baseURL, @RequestHeader("Authorization") String header);
@RequestMapping(method = RequestMethod.GET, value = "/{uuid}")
Svm getSvmByUUID(URI baseURL, @RequestHeader("Authorization") String header);

Expand Down
Loading