From d37e05cbfadc2df88e191eef632d571a2f8c49f9 Mon Sep 17 00:00:00 2001 From: khys95 Date: Thu, 22 Aug 2024 11:51:01 +0200 Subject: [PATCH] ci: update webdaav-door path to run in kubernetes --- .ci/poolEndpoint.http | 41 ++++-------------------------------- http-client.private.env.json | 2 +- 2 files changed, 5 insertions(+), 38 deletions(-) diff --git a/.ci/poolEndpoint.http b/.ci/poolEndpoint.http index d2e7a6cc30f..56e96cd0076 100644 --- a/.ci/poolEndpoint.http +++ b/.ci/poolEndpoint.http @@ -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"); }); %} \ No newline at end of file diff --git a/http-client.private.env.json b/http-client.private.env.json index 34bb35c1bf0..f10976f6349 100644 --- a/http-client.private.env.json +++ b/http-client.private.env.json @@ -3,7 +3,7 @@ "user_name": "admin", "passwd" : "dickerelch", "incorrect_passwd" : "password", - "webdav-door" : "http://store-door-svc:8080", + "webdav-door" : "https://store-door-svc:8083/data/pool-a", "frontend-door" : "http://store-door-svc:3880", "endpoint": "/api/v1", "qos-management": "/qos-management/qos",