From b91c62e92741fe8bc8407f72c0401fb2a47e4e71 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 ++---------------------------------- http-client.private.env.json | 4 +-- 2 files changed, 4 insertions(+), 47 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}} diff --git a/http-client.private.env.json b/http-client.private.env.json index 08a877ed5c8..34bb35c1bf0 100644 --- a/http-client.private.env.json +++ b/http-client.private.env.json @@ -16,9 +16,9 @@ "qos-policy": "/qos-policy", "namespace": "/namespace", "labels": "/labels", - "sourcePool" : "\"pool_a\"", + "sourcePool" : "pool_a", "target": "hsm", - "targetPools": "\"pool_b\"", + "targetPools": "pool_b", "osm_targetPools": "\"osm\"", "wrong_src_pool_name" : "wrong_src_pool_name", "wrong_target_pool_name" : "wrong_target_pool_name",