Skip to content

Commit

Permalink
ci: (squash me)
Browse files Browse the repository at this point in the history
  • Loading branch information
khys95 committed Aug 29, 2024
1 parent d16782c commit da39a04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .ci/poolEndpoint.http
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ Content-Type: application/octet-stream
GET {{frontend-door}}{{endpoint}}{{namespace}}/%2Fdata%2Fpool-a%2FReadMeFile?children=false&locality=false&locations=true&qos=false&optional=false

> {%
client.test("Successful response when checking on file", function() {
client.test("Successful response when verifying location of file", function() {
client.assert(response.status === 200, "Response was not 200");
client.assert(response.body["locations"][0] == "pool-a", "Response");
});%}
client.assert(response.body["locations"][0] == "pool-a", "Locations not found");
});
%}


### Migrate ReadMeFile from pool_a to pool_b
Expand All @@ -33,6 +34,7 @@ Authorization: Basic {{user_name}} {{passwd}}
}

> {%
client.test("Frontend file migration successful", function() {
client.test("ReadMe file migration successful", function() {
client.assert(response.status === 201, "Migration not successful");
});%}
});
%}
2 changes: 1 addition & 1 deletion http-client.private.env.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"passwd" : "dickerelch",
"incorrect_passwd" : "password",
"webdav-door" : "https://store-door-svc:8083",
"frontend-door" : "http://store-door-svc:3880",
"frontend-door" : "https://store-door-svc:3881",
"endpoint": "/api/v1",
"qos-management": "/qos-management/qos",
"migrations": "/migrations",
Expand Down

0 comments on commit da39a04

Please sign in to comment.