Skip to content

Commit

Permalink
ci: update webdaav-door path to run in kubernetes
Browse files Browse the repository at this point in the history
Motivation: Migration tests require us to have a file inside a pool. This change allows us to upload a file into a pool.

Modification: Update webdav path for kubernetes.

Result: We can upload files.

Target: master
Require-book: no
Require-notes: no
Acked-by: Tigran Mkrtchyan
  • Loading branch information
khys95 committed Aug 23, 2024
1 parent 2ad5588 commit d6cb3f1
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
@@ -1,10 +1,12 @@
### POOL endpoint GET request
GET {{frontend-door}}{{endpoint}}{{pools}}
Content-Type: application/json
### Upload frontend file
PUT {{webdav-door}}/data/pool-a/ReadMeFile
Authorization: Basic {{user_name}} {{passwd}}
Content-Type: application/octet-stream

< /README.md

> {%
client.test("Successful response when calling /pool", function() {
client.assert(response.status === 200, "Response was not 200");
client.test("Successful response when uploading a file", function() {
client.assert(response.status === 201, "Response was not 201");
});
%}
2 changes: 1 addition & 1 deletion http-client.private.env.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"user_name": "admin",
"passwd" : "dickerelch",
"incorrect_passwd" : "password",
"webdav-door" : "http://store-door-svc:2881",
"webdav-door" : "https://store-door-svc:8083",
"frontend-door" : "http://store-door-svc:3880",
"endpoint": "/api/v1",
"qos-management": "/qos-management/qos",
Expand Down

0 comments on commit d6cb3f1

Please sign in to comment.