Skip to content

Commit

Permalink
add migration tests set
Browse files Browse the repository at this point in the history
  • Loading branch information
khys95 committed Aug 12, 2024
1 parent cb97293 commit fbdf267
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .ci/poolEndpoint.http
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,28 @@ Authorization: Basic {{user_name}} {{passwd}}
client.test("Successful response when calling /pool", function() {
client.assert(response.status === 200, "Response was not 200");
});
%}
%}

### Upload frontend file
PUT {{webdav-door}}/frontend
Authorization: Basic admin dickerelch
Content-Type: application/octet-stream

< README.md


### Migrate frontend file from pool_write to pool_res1
POST {{frontend-door}}{{endpoint}}{{migrations}}/copy
Content-Type: application/json
Authorization: Basic {{user_name}} {{passwd}}

{
"sourcePool": {{sourcePool}},
"targetPools": [{{targetPools}}]
}

> {%
client.test("Frontend file migration successful", function() {
client.assert(response.status === 201, "Migration not successful");
});
%}

0 comments on commit fbdf267

Please sign in to comment.