Skip to content

Commit

Permalink
pool: (squash me) change in pool names
Browse files Browse the repository at this point in the history
  • Loading branch information
khys95 committed Aug 19, 2024
1 parent fc227f1 commit c02e8bd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
38 changes: 26 additions & 12 deletions .ci/poolEndpoint.http
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,33 @@ Authorization: Basic {{user_name}} {{passwd}}
});
%}

### Get the list of pools inside the disk-qos
GET {{frontend-door}}{{endpoint}}{{poolmanager}}{{qosDiskGroup}}{{pools}}
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");
# });
#%}

> {%
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}}
Expand Down
3 changes: 0 additions & 3 deletions http-client.private.env.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
"pnfsid" : "\"000044CE270AED9A46B4836AD79FF3335224\",\"0000A054084D4BC248A18911AFFE18338FAA\"",
"owners" : "\"sandro\",\"tigran\"",
"storage" : "\"test:default\"" ,



"pool_name" : "pool_write",
"job_id": "1"
}
Expand Down

0 comments on commit c02e8bd

Please sign in to comment.