Skip to content

Commit 85da607

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
CSTACKEX-29 Change the endpoint method name in feign client
1 parent 951d8ea commit 85da607

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/client/AggregateFeignClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@FeignClient(name="AggregateClient", url="https://{clusterIP}/api/storage/aggregates", configuration = FeignConfiguration.class)
1717
public interface AggregateFeignClient {
1818
@RequestMapping(method=RequestMethod.GET)
19-
AggregateResponse getAllAggregates(URI baseURL,@RequestHeader("Authorization") String header);
19+
AggregateResponse getAggregateResponse(URI baseURL, @RequestHeader("Authorization") String header);
2020

2121
@RequestMapping(method=RequestMethod.GET, value="/{uuid}")
2222
Aggregate getAggregateByUUID(URI baseURL,@RequestHeader("Authorization") String header, @PathVariable(name = "uuid", required = true) String uuid);

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/client/SvmFeignClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@FeignClient(name = "SvmClient", url = "https://{clusterIP}/api/svm/svms", configuration = FeignConfiguration.class)
1414
public interface SvmFeignClient {
1515
@RequestMapping(method = RequestMethod.GET)
16-
SvmResponse getAllSvms(URI baseURL, @RequestHeader("Authorization") String header);
16+
SvmResponse getSvmResponse(URI baseURL, @RequestHeader("Authorization") String header);
1717
@RequestMapping(method = RequestMethod.GET, value = "/{uuid}")
1818
Svm getSvmByUUID(URI baseURL, @RequestHeader("Authorization") String header);
1919

0 commit comments

Comments
 (0)