Skip to content

Commit c4399c1

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
CSTACKEX-46 Testing: Corrected the URL for Create Lun and Igroup
1 parent a10981a commit c4399c1

File tree

1 file changed

+5
-7
lines changed
  • plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/client

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@
3333
public interface SANFeignClient {
3434

3535
// LUN Operation APIs
36-
@RequestLine("POST /api/storage/luns")
37-
@Headers({"Authorization: {authHeader}", "return_records: {returnRecords}"})
38-
OntapResponse<Lun> createLun(@Param("authHeader") String authHeader,
39-
@Param("returnRecords") boolean returnRecords,
40-
Lun lun);
36+
@RequestLine("POST /api/storage/luns?return_records={returnRecords}")
37+
@Headers({"Authorization: {authHeader}"})
38+
OntapResponse<Lun> createLun(@Param("authHeader") String authHeader, @Param("returnRecords") boolean returnRecords, Lun lun);
4139

4240
@RequestLine("GET /api/storage/luns")
4341
@Headers({"Authorization: {authHeader}"})
@@ -56,8 +54,8 @@ OntapResponse<Lun> createLun(@Param("authHeader") String authHeader,
5654
void deleteLun(@Param("authHeader") String authHeader, @Param("uuid") String uuid);
5755

5856
// iGroup Operation APIs
59-
@RequestLine("POST /api/protocols/san/igroups")
60-
@Headers({"Authorization: {authHeader}", "return_records: {returnRecords}"})
57+
@RequestLine("POST /api/protocols/san/igroups?return_records={returnRecords}")
58+
@Headers({"Authorization: {authHeader}"})
6159
OntapResponse<Igroup> createIgroup(@Param("authHeader") String authHeader, @Param("returnRecords") boolean returnRecords, Igroup igroupRequest);
6260

6361
@RequestLine("GET /api/protocols/san/igroups")

0 commit comments

Comments
 (0)