forked from dCache/dcache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update webdaav-door path to run in kubernetes
- Loading branch information
Showing
2 changed files
with
5 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,12 @@ | ||
### POOL endpoint GET request | ||
GET {{frontend-door}}{{endpoint}}{{pools}} | ||
Content-Type: application/json | ||
Authorization: Basic {{user_name}} {{passwd}} | ||
|
||
> {% | ||
client.test("Successful response when calling /pool", function() { | ||
client.assert(response.status === 200, "Response was not 200"); | ||
}); | ||
%} | ||
|
||
### Get information about non existent group | ||
GET {{frontend-door}}{{endpoint}}{{poolmanager}}{{nonExistentGroup}}{{pools}} | ||
Content-Type: application/json | ||
Authorization: Basic {{user_name}} {{passwd}} | ||
|
||
> {% | ||
client.test("Successful response when calling /pool", function() { | ||
client.assert(response.status === 500, "Response was not 500"); | ||
}); | ||
%} | ||
|
||
### Upload frontend file | ||
PUT {{webdav-door}}/frontendReadMeFile | ||
PUT {{webdav-door}}/ReadMeFile | ||
Authorization: Basic {{user_name}} {{passwd}} | ||
Content-Type: application/octet-stream | ||
|
||
< README.md | ||
|
||
|
||
### Migrate frontend file from one pool to another pool | ||
POST {{frontend-door}}{{endpoint}}{{migrations}}/copy | ||
Content-Type: application/json | ||
Authorization: Basic {{user_name}} {{passwd}} | ||
|
||
{ | ||
"sourcePool": {{sourcePool}}, | ||
"targetPools": [{{targetPools}}] | ||
} | ||
< /README.md | ||
|
||
> {% | ||
client.test("Frontend file migration successful", function() { | ||
client.assert(response.status === 201, "Migration not successful"); | ||
client.test("Successful response when calling /pool", function() { | ||
client.assert(response.status === 201, "Response was not 201"); | ||
}); | ||
%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters