From 18449e68f7c1dd70276344a484a5a1e35266bf06 Mon Sep 17 00:00:00 2001 From: khys95 Date: Mon, 19 Aug 2024 18:24:20 +0200 Subject: [PATCH] pool: (squash me) fix pipeline --- .ci/poolEndpoint.http | 47 ++----------------------------------------- 1 file changed, 2 insertions(+), 45 deletions(-) diff --git a/.ci/poolEndpoint.http b/.ci/poolEndpoint.http index 213abb345c5..d2e7a6cc30f 100644 --- a/.ci/poolEndpoint.http +++ b/.ci/poolEndpoint.http @@ -9,50 +9,6 @@ Authorization: Basic {{user_name}} {{passwd}} }); %} -#### -#GET {{frontend-door}}{{endpoint}}{{poolmanager}}{{qosDiskGroup}}{{pools}} -#Authorization: Basic {{user_name}} {{passwd}} -# -#> {% -# client.test("Successful response when calling /pool", function() { -# client.assert(response.status === 200, "Response was not 200"); -# client.assert(response.body[0] === "pool_res1", "index 0 is not pool_res1"); -# client.assert(response.body[1] === "pool_res2", "index 1 is not pool_res2"); -# client.assert(response.body[2] === "pool_res3", "index 2 is not pool_res3"); -# client.assert(response.contentType !="application/json", "Content type is json"); -# }); -#%} - -#### Get the list of pools inside the disk-qos -#GET {{frontend-door}}{{endpoint}}{{poolmanager}}{{qosDiskGroup}}{{pools}} -#Authorization: Basic {{user_name}} {{passwd}} -# -#> {% -# client.test("Successful response when calling /pool", function() { -# client.assert(response.status === 200, "Response was not 200"); -# client.assert(response.body[0] === "pool_res1", "index 0 is not pool_res1"); -# client.assert(response.body[1] === "pool_res2", "index 1 is not pool_res2"); -# client.assert(response.body[2] === "pool_res3", "index 2 is not pool_res3"); -# client.assert(response.contentType !="application/json", "Content type is json"); -# }); -#%} - -### Get information about resgroup -GET {{frontend-door}}{{endpoint}}{{poolmanager}}{{resGroup}} -Content-Type: application/json -Authorization: Basic {{user_name}} {{passwd}} - -> {% - client.test("Successful response and information when calling /resGroup", function() { - client.assert(response.status === 200, "Response was not 200"); - client.assert(response.body["name"] === "resgroup", "incorrect group name"); - client.assert(response.body["links"][0] === "resilient-link", "incorrect link"); - client.assert(response.body["pools"][0] === "pool_res1", "index 0 is not pool_res1"); - client.assert(response.body["pools"][1] === "pool_res2", "index 1 is not pool_res2"); - client.assert(response.body["pools"][2] === "pool_res3", "index 2 is not pool_res3"); - }); -%} - ### Get information about non existent group GET {{frontend-door}}{{endpoint}}{{poolmanager}}{{nonExistentGroup}}{{pools}} Content-Type: application/json @@ -71,7 +27,8 @@ Content-Type: application/octet-stream < README.md -### Migrate frontend file from pool_write to pool_res1 + +### Migrate frontend file from one pool to another pool POST {{frontend-door}}{{endpoint}}{{migrations}}/copy Content-Type: application/json Authorization: Basic {{user_name}} {{passwd}}