OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#53996] added tests for one drive create folder
Eric Schubert34d10881f545
diff --git a/modules/storages/app/services/storages/nextcloud_group_folder_properties_sync_service.rb b/modules/storages/app/services/storages/nextcloud_group_folder_properties_sync_service.rbindex 9b59079297a..e2147e38855 100644--- a/modules/storages/app/services/storages/nextcloud_group_folder_properties_sync_service.rb+++ b/modules/storages/app/services/storages/nextcloud_group_folder_properties_sync_service.rb@@ -209,12 +209,14 @@ module Storagesenddef create_folder(project_storage)- folder_path = project_storage.managed_project_folder_path+ folder_name = project_storage.managed_project_folder_path+ parent_location = Storages::Peripherals::ParentFolder.new("/")+Peripherals::Registry.resolve("nextcloud.commands.create_folder")- .call(storage: @storage, folder_path:)+ .call(storage: @storage, auth_strategy:, folder_name:, parent_location:).result_or do |error|- format_and_log_error(error, folder: folder_path)+ format_and_log_error(error, folder: folder_name)return ServiceResult.failure(errors: error)end@@ -295,6 +297,10 @@ module StoragesOAuthClientToken.where(oauth_client: @storage.oauth_client)end+ def auth_strategy+ Storages::Peripherals::StorageInteraction::AuthenticationStrategies::BasicAuth.strategy+ end+def admin_client_tokens_scopeOAuthClientToken.where(oauth_client: @storage.oauth_client, user: User.admin.active)enddiff --git a/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rb b/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rbindex f459e5c056b..1c4683ecd55 100644--- a/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rb+++ b/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rb@@ -115,9 +115,12 @@ module Storagesenddef create_folder(project_storage)+ folder_name = project_storage.managed_project_folder_path+ parent_location = Peripherals::ParentFolder.new('/')+Peripherals::Registry.resolve("one_drive.commands.create_folder")- .call(storage: @storage, folder_path: project_storage.managed_project_folder_path)+ .call(storage: @storage, auth_strategy:, folder_name:, parent_location:).match(on_failure: ->(error) { format_and_log_error(error, folder_path: project_storage.managed_project_folder_path) },on_success: ->(folder_info) dolast_project_folder = ::Storages::LastProjectFolder@@ -183,6 +186,10 @@ module StoragesOAuthClientToken.where(oauth_client: @storage.oauth_client)end+ def auth_strategy+ Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthClientCredentials.strategy+ end+def admin_client_tokens_scopeOAuthClientToken.where(oauth_client: @storage.oauth_client, user: User.admin.active)enddiff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rbindex bb90f3e2060..bae7eb1ce99 100644--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rb+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rb@@ -47,6 +47,8 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFoldeenddescribe "#call" do+ let(:folder_name) { "New Folder" }+it "responds with correct parameters" doexpect(described_class).to respond_to(:call)@@ -58,7 +60,6 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFoldeendit "creates a folder in root", vcr: "nextcloud/create_folder_root" do- folder_name = "New Folder"parent_location = Storages::Peripherals::ParentFolder.new("/")result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)@@ -69,7 +70,6 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFoldeendit "creates a folder in another folder", vcr: "nextcloud/create_folder_parent" do- folder_name = "New Folder"parent_location = Storages::Peripherals::ParentFolder.new("/Folder")result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)@@ -81,7 +81,6 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFoldecontext "if parent location does not exist" doit "returns a failure", vcr: "nextcloud/create_folder_parent_not_found" do- folder_name = "New Folder"parent_location = Storages::Peripherals::ParentFolder.new("/DeathStar3")result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)@@ -99,8 +98,9 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFoldeendcontext "if folder already exists" do- fit "returns a success", vcr: "nextcloud/create_folder_already_exists" do- folder_name = "Folder"+ let(:folder_name) { "Folder" }++ it "returns a success", vcr: "nextcloud/create_folder_already_exists" doparent_location = Storages::Peripherals::ParentFolder.new("/")result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rbindex 3fd3486cbdb..b966cf5a507 100644--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb@@ -31,97 +31,94 @@require "spec_helper"require_module_spec_helper-RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderCommand, :vcr, :webmock,- skip: "TODO: disabled because it's flaky on dev currently. Needs to be reenabled before merging" do- shared_let(:storage) { create(:sharepoint_dev_drive_storage) }-- let(:delete_command) { Storages::Peripherals::Registry.resolve("one_drive.commands.delete_folder") }- let(:folder_path) { "Földer CreatedBy Çommand" }-- shared_let(:original_ids) do- WebMock.enable! && VCR.turn_on!- VCR.use_cassette("one_drive/create_folder_setup") { original_files }- ensure- VCR.turn_off! && WebMock.disable!- end-- it "responds to .call with correct parameters" do- expect(described_class).to respond_to(:call)+RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderCommand, :vcr, :webmock do+ using Storages::Peripherals::ServiceResultRefinements- method = described_class.method(:call)- expect(method.parameters).to contain_exactly(%i[keyreq storage], %i[keyreq folder_path])+ let(:storage) { create(:sharepoint_dev_drive_storage) }+ let(:auth_strategy) do+ Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthClientCredentials.strategyend- it "is registered as create_folder" do+ it "is registered as commands.one_drive.create_folder" doexpect(Storages::Peripherals::Registry.resolve("one_drive.commands.create_folder")).to eq(described_class)end- it "creates a folder and responds with a success", vcr: "one_drive/create_folder_base" do- result = described_class.call(storage:, folder_path:)- expect(result).to be_success- expect(result.message).to eq("Folder was successfully created.")-- expect(result.result.name).to eq(folder_path)- ensure- delete_created_files- end+ describe "#call" do+ let(:folder_name) { "Földer CreatedBy Çommand" }- it "creates a sub folder", vcr: "one_drive/create_folder_sub_folder" do- folder = described_class.call(storage:, folder_path:).result- sub_folder = described_class.new(storage).call(folder_path: "Another Folder", parent_location: folder.id).result+ it "responds with correct parameters" do+ expect(described_class).to respond_to(:call)- expect(sub_folder.name).to eq("Another Folder")- expect(sub_folder.location).to eq("/#{folder_path}/Another Folder")- ensure- delete_created_files- end+ method = described_class.method(:call)+ expect(method.parameters).to contain_exactly(%i[keyreq storage],+ %i[keyreq auth_strategy],+ %i[keyreq folder_name],+ %i[keyreq parent_location])+ end- context "when the folder already exists", vcr: "one_drive/create_folder_already_exists" do- it "returns a failure" do- described_class.call(storage:, folder_path:)+ it "creates a folder in root", vcr: "one_drive/create_folder_root" do+ parent_location = Storages::Peripherals::ParentFolder.new("/")- result = described_class.call(storage:, folder_path:)- expect(result).to be_failure- expect(result.errors.code).to eq(:conflict)+ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)- error_data = result.errors.data- expect(error_data.payload.status).to eq(409)- expect(error_data.payload.json.dig("error", "code")).to match /nameAlreadyExists/+ expect(result).to be_successensure- delete_created_files+ delete_created_folder(result.result.id)end- end- private+ it "creates a folder in another folder", vcr: "one_drive/create_folder_parent" do+ parent_location = Storages::Peripherals::ParentFolder.new("01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU")- def find_folder(folder_name, parent = nil)- Storages::Peripherals::StorageInteraction::OneDrive::Util.using_admin_token(storage) do |http|- uri = if parent.nil?- "/v1.0/drives/#{storage.drive_id}/root/children"- else- "/v1.0/drives/#{storage.drive_id}/items/#{parent[:id]}/children"- end+ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)- response = http.get(uri)+ expect(result).to be_success+ ensure+ delete_created_folder(result.result.id)+ end- response.json(symbolize_keys: true).fetch(:value, []).find { |item| item[:name] == folder_name }+ context "if parent location does not exist" do+ it "returns a failure", vcr: "one_drive/create_folder_parent_not_found" do+ parent_location = Storages::Peripherals::ParentFolder.new("01AZJL5PKU2WV3U3RKKFF4A7ZCWVBXRTEU")++ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)++ expect(result).to be_failure+ result.match(+ on_failure: ->(error) do+ expect(error.code).to eq(:not_found)+ expect(error.data.source).to be(described_class)+ end,+ on_success: ->(response) { fail "Expected failure, got #{response}" }+ )+ endend- end- def original_files- Storages::Peripherals::StorageInteraction::OneDrive::Util.using_admin_token(storage) do |http|- response = http.get("/v1.0/drives/#{storage.drive_id}/root/children")+ context "if folder already exists" do+ let(:folder_name) { "Folder" }++ it "returns a success", vcr: "one_drive/create_folder_already_exists" do+ parent_location = Storages::Peripherals::ParentFolder.new("/")- response.json(symbolize_keys: true).fetch(:value, []).pluck(:id)+ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)++ expect(result).to be_failure+ expect(result.result).to eq(:already_exists)+ result.match(+ on_failure: ->(error) do+ expect(error.code).to eq(:conflict)+ expect(error.data.source).to be(described_class)+ end,+ on_success: ->(response) { fail "Expected failure, got #{response}" }+ )+ endendend- def delete_created_files- Storages::Peripherals::StorageInteraction::OneDrive::Util.using_admin_token(storage) do |http|- response = http.get("/v1.0/drives/#{storage.drive_id}/root/children")- files = response.json(symbolize_keys: true).fetch(:value, []).pluck(:id)+ private- (files - original_ids).each { |location| delete_command.call(storage:, location:) }- end+ def delete_created_folder(location)+ Storages::Peripherals::Registry+ .resolve("one_drive.commands.delete_folder")+ .call(storage:, auth_strategy:, location:)endenddiff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_already_exists.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_already_exists.ymlindex b8a3a921c3f..b9feba8fd03 100644--- a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_already_exists.yml+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_already_exists.yml@@ -4,19 +4,19 @@ http_interactions:method: posturi: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/tokenbody:- encoding: UTF-8- string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+ encoding: ASCII-8BIT+ string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+offline_access&client_id=4262df2b-77bb-49c2-a5df-28355da676d2&client_secret=Vwk8Q%7EJTuPh.pAjvPiWBQBdTFMDK%7EAIwxbj9_axBheaders:User-Agent:- - Rack::OAuth2 (2.2.1)- Authorization:- - Basic <BASIC_AUTH>- Content-Type:- - application/x-www-form-urlencoded- Accept-Encoding:- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3+ - httpx.rb/1.2.4Accept:- "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Type:+ - application/x-www-form-urlencoded+ Content-Length:+ - '201'response:status:code: 200@@ -37,101 +37,45 @@ http_interactions:P3p:- CP="DSP CUR OTPi IND OTRi ONL FIN"X-Ms-Request-Id:- - ed20da22-6350-412e-ad34-945574bf1500+ - 7b9c2a3b-6b35-4d14-beb2-af5c0bff2c00X-Ms-Ests-Server:- - 2.1.17184.4 - NEULR1 ProdSlices+ - 2.1.17846.6 - NEULR1 ProdSlices+ X-Ms-Srs:+ - 1.PX-Xss-Protection:- '0'Set-Cookie:- - fpc=As0kw9XbXS5NjTjc3dW7QNKkbDoXAQAAAPzBTt0OAAAA; expires=Sun, 03-Mar-2024- 10:59:08 GMT; path=/; secure; HttpOnly; SameSite=None- - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly- - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly+ - fpc=Aoe3j1UDTmlElQnMOPlZuEOkbDoXAQAAABtVuN0OAAAA; expires=Wed, 22-May-2024+ 12:54:52 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;+ secure; samesite=none; httponlyDate:- - Fri, 02 Feb 2024 10:59:07 GMT+ - Mon, 22 Apr 2024 12:54:51 GMTContent-Length:- - '1708'+ - '1735'body:encoding: UTF-8string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Fri, 02 Feb 2024 10:59:08 GMT+ recorded_at: Mon, 22 Apr 2024 12:54:52 GMT- request:method: posturi: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/childrenbody:encoding: UTF-8- string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'+ string: '{"name":"Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/jsonContent-Type:- application/jsonUser-Agent:- - httpx.rb/1.2.1+ - httpx.rb/1.2.4+ Accept:+ - "*/*"Accept-Encoding:- gzip, deflateContent-Length:- - '92'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{49246452-9BFC-4755-8658-100F0FC80E83},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUD')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - fa8c95d8-e264-480d-8867-a2f3d762d85d- Client-Request-Id:- - fa8c95d8-e264-480d-8867-a2f3d762d85d- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D8"}}'- Odata-Version:- - '4.0'- Date:- - Fri, 02 Feb 2024 10:59:08 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{49246452-9BFC-4755-8658-100F0FC80E83},1\"","createdDateTime":"2024-02-02T10:59:09Z","eTag":"\"{49246452-9BFC-4755-8658-100F0FC80E83},1\"","id":"01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUD","lastModifiedDateTime":"2024-02-02T10:59:09Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{49246452-9BFC-4755-8658-100F0FC80E83},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"049e81d0-52fb-4624-af6d-96611c29a9cc","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:09Z","lastModifiedDateTime":"2024-02-02T10:59:09Z"},"folder":{"childCount":0}}'- recorded_at: Fri, 02 Feb 2024 10:59:08 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: UTF-8- string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:+ - '72'Authorization:- Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '92'response:status:code: 409@@ -139,8 +83,6 @@ http_interactions:headers:Cache-Control:- no-store, no-cache- Transfer-Encoding:- - chunkedContent-Type:- application/jsonContent-Encoding:@@ -150,165 +92,15 @@ http_interactions:Strict-Transport-Security:- max-age=31536000Request-Id:- - 9efc2e03-a4c0-4254-b52d-ceb2e54a6dfc- Client-Request-Id:- - 9efc2e03-a4c0-4254-b52d-ceb2e54a6dfc- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003B4"}}'- Date:- - Fri, 02 Feb 2024 10:59:08 GMT- body:- encoding: UTF-8- string: '{"error":{"code":"nameAlreadyExists","message":"Name already exists","innerError":{"date":"2024-02-02T10:59:08","request-id":"9efc2e03-a4c0-4254-b52d-ceb2e54a6dfc","client-request-id":"9efc2e03-a4c0-4254-b52d-ceb2e54a6dfc"}}}'- recorded_at: Fri, 02 Feb 2024 10:59:08 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - abfa6de3-9088-4bd1-8c5f-6d4489bbe69a- Client-Request-Id:- - abfa6de3-9088-4bd1-8c5f-6d4489bbe69a- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D4"}}'- Date:- - Fri, 02 Feb 2024 10:59:08 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:09Z","eTag":"\"{49246452-9BFC-4755-8658-100F0FC80E83},1\"","id":"01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUD","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:09Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{49246452-9BFC-4755-8658-100F0FC80E83},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:09Z","lastModifiedDateTime":"2024-02-02T10:59:09Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:09 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - d3eea186-0f90-46c4-a64f-0bc8094090f3- Client-Request-Id:- - d3eea186-0f90-46c4-a64f-0bc8094090f3- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003B3"}}'- Date:- - Fri, 02 Feb 2024 10:59:08 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:09Z","eTag":"\"{49246452-9BFC-4755-8658-100F0FC80E83},1\"","id":"01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUD","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:09Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{49246452-9BFC-4755-8658-100F0FC80E83},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:09Z","lastModifiedDateTime":"2024-02-02T10:59:09Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:09 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUD- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - d73b6fc6-e03d-4ae1-a6d3-830e3b366d37+ - 80784f71-6a84-4b33-96a5-7e972867f8caClient-Request-Id:- - d73b6fc6-e03d-4ae1-a6d3-830e3b366d37+ - 80784f71-6a84-4b33-96a5-7e972867f8caX-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DA"}}'+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"FR2PEPF00000406"}}'Date:- - Fri, 02 Feb 2024 10:59:09 GMT+ - Mon, 22 Apr 2024 12:54:51 GMTbody:encoding: UTF-8- string: ''- recorded_at: Fri, 02 Feb 2024 10:59:09 GMT+ string: '{"error":{"code":"nameAlreadyExists","message":"Name already exists","innerError":{"date":"2024-04-22T12:54:52","request-id":"80784f71-6a84-4b33-96a5-7e972867f8ca","client-request-id":"80784f71-6a84-4b33-96a5-7e972867f8ca"}}}'+ recorded_at: Mon, 22 Apr 2024 12:54:52 GMTrecorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_base.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_base.ymldeleted file mode 100644index 4e56d25de04..00000000000--- a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_base.yml+++ /dev/null@@ -1,210 +0,0 @@-----http_interactions:-- request:- method: post- uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token- body:- encoding: UTF-8- string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default- headers:- User-Agent:- - Rack::OAuth2 (2.2.1)- Authorization:- - Basic <BASIC_AUTH>- Content-Type:- - application/x-www-form-urlencoded- Accept-Encoding:- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3- Accept:- - "*/*"- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Pragma:- - no-cache- Content-Type:- - application/json; charset=utf-8- Expires:- - "-1"- Strict-Transport-Security:- - max-age=31536000; includeSubDomains- X-Content-Type-Options:- - nosniff- P3p:- - CP="DSP CUR OTPi IND OTRi ONL FIN"- X-Ms-Request-Id:- - b43fae89-83df-409f-99d1-7685b5404300- X-Ms-Ests-Server:- - 2.1.17184.4 - WEULR1 ProdSlices- X-Xss-Protection:- - '0'- Set-Cookie:- - fpc=Am-p91TYPo9CoreU9I1CbVqkbDoXAQAAAPrBTt0OAAAA; expires=Sun, 03-Mar-2024- 10:59:07 GMT; path=/; secure; HttpOnly; SameSite=None- - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly- - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly- Date:- - Fri, 02 Feb 2024 10:59:07 GMT- Content-Length:- - '1708'- body:- encoding: UTF-8- string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Fri, 02 Feb 2024 10:59:07 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: UTF-8- string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '92'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{8899BFFC-367B-4722-A32C-86E2195F4B00},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PP4X6MYQ6ZWEJD2GLEG4IMV6SYA')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 9b6642df-9015-4dd8-a433-043f941e26a5- Client-Request-Id:- - 9b6642df-9015-4dd8-a433-043f941e26a5- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DF"}}'- Odata-Version:- - '4.0'- Date:- - Fri, 02 Feb 2024 10:59:06 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{8899BFFC-367B-4722-A32C-86E2195F4B00},1\"","createdDateTime":"2024-02-02T10:59:08Z","eTag":"\"{8899BFFC-367B-4722-A32C-86E2195F4B00},1\"","id":"01AZJL5PP4X6MYQ6ZWEJD2GLEG4IMV6SYA","lastModifiedDateTime":"2024-02-02T10:59:08Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{8899BFFC-367B-4722-A32C-86E2195F4B00},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"049e81d0-52fb-4624-af6d-96611c29a9cc","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:08Z","lastModifiedDateTime":"2024-02-02T10:59:08Z"},"folder":{"childCount":0}}'- recorded_at: Fri, 02 Feb 2024 10:59:07 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - ac77f13c-f89b-497c-880e-f8ead115caca- Client-Request-Id:- - ac77f13c-f89b-497c-880e-f8ead115caca- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D3"}}'- Date:- - Fri, 02 Feb 2024 10:59:07 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:08Z","eTag":"\"{8899BFFC-367B-4722-A32C-86E2195F4B00},1\"","id":"01AZJL5PP4X6MYQ6ZWEJD2GLEG4IMV6SYA","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:08Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{8899BFFC-367B-4722-A32C-86E2195F4B00},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:08Z","lastModifiedDateTime":"2024-02-02T10:59:08Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:08 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PP4X6MYQ6ZWEJD2GLEG4IMV6SYA- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - ea39e491-6f3c-4314-92b6-924979269ad8- Client-Request-Id:- - ea39e491-6f3c-4314-92b6-924979269ad8- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D5"}}'- Date:- - Fri, 02 Feb 2024 10:59:07 GMT- body:- encoding: UTF-8- string: ''- recorded_at: Fri, 02 Feb 2024 10:59:08 GMT-recorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_parent.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_parent.ymlnew file mode 100644index 00000000000..fac8809f705--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_parent.yml@@ -0,0 +1,155 @@+---+http_interactions:+- request:+ method: post+ uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token+ body:+ encoding: ASCII-8BIT+ string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+offline_access&client_id=4262df2b-77bb-49c2-a5df-28355da676d2&client_secret=Vwk8Q%7EJTuPh.pAjvPiWBQBdTFMDK%7EAIwxbj9_axB+ headers:+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Type:+ - application/x-www-form-urlencoded+ Content-Length:+ - '201'+ response:+ status:+ code: 200+ message: OK+ headers:+ Cache-Control:+ - no-store, no-cache+ Pragma:+ - no-cache+ Content-Type:+ - application/json; charset=utf-8+ Expires:+ - "-1"+ Strict-Transport-Security:+ - max-age=31536000; includeSubDomains+ X-Content-Type-Options:+ - nosniff+ P3p:+ - CP="DSP CUR OTPi IND OTRi ONL FIN"+ X-Ms-Request-Id:+ - 94de5a92-c596-4315-9f6e-3f9ddfbc4c00+ X-Ms-Ests-Server:+ - 2.1.17846.6 - SEC ProdSlices+ X-Ms-Srs:+ - 1.P+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=AoGOQl9ZqHpApn7RhTfNREykbDoXAQAAADpUuN0OAAAA; expires=Wed, 22-May-2024+ 12:51:07 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;+ secure; samesite=none; httponly+ Date:+ - Mon, 22 Apr 2024 12:51:06 GMT+ Connection:+ - close+ Content-Length:+ - '1735'+ body:+ encoding: UTF-8+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'+ recorded_at: Mon, 22 Apr 2024 12:51:07 GMT+- request:+ method: post+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU/children+ body:+ encoding: UTF-8+ string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'+ headers:+ Content-Type:+ - application/json+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Length:+ - '92'+ Authorization:+ - Bearer <BEARER TOKEN>+ response:+ status:+ code: 201+ message: Created+ headers:+ Cache-Control:+ - no-store, no-cache+ Content-Type:+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8+ Content-Encoding:+ - gzip+ Etag:+ - '"{AB87832F-9D09-4995-844D-7295E2A8F9AB},1"'+ Location:+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU')/children('01AZJL5PJPQOD2WCM5SVEYITLSSXRKR6NL')+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 0f951b35-2720-403e-bd1a-a78d360f44b0+ Client-Request-Id:+ - 0f951b35-2720-403e-bd1a-a78d360f44b0+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"002","RoleInstance":"FR3PEPF0000052E"}}'+ Odata-Version:+ - '4.0'+ Date:+ - Mon, 22 Apr 2024 12:51:07 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/items(''01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU'')/children/$entity","@odata.etag":"\"{AB87832F-9D09-4995-844D-7295E2A8F9AB},1\"","createdDateTime":"2024-04-22T12:51:07Z","eTag":"\"{AB87832F-9D09-4995-844D-7295E2A8F9AB},1\"","id":"01AZJL5PJPQOD2WCM5SVEYITLSSXRKR6NL","lastModifiedDateTime":"2024-04-22T12:51:07Z","name":"F\u00f6lder+ CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{AB87832F-9D09-4995-844D-7295E2A8F9AB},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject+ Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint+ App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint+ App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:/Folder+ with spaces","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"baabd554-2a6e-4b51-a07f-22b54378cc94","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-04-22T12:51:07Z","lastModifiedDateTime":"2024-04-22T12:51:07Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'+ recorded_at: Mon, 22 Apr 2024 12:51:07 GMT+- request:+ method: delete+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PJPQOD2WCM5SVEYITLSSXRKR6NL+ body:+ encoding: US-ASCII+ string: ''+ headers:+ Authorization:+ - Bearer <BEARER TOKEN>+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ response:+ status:+ code: 204+ message: No Content+ headers:+ Cache-Control:+ - no-store, no-cache+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 6108b97c-6820-45af-a4f3-814d0553d45a+ Client-Request-Id:+ - 6108b97c-6820-45af-a4f3-814d0553d45a+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"002","RoleInstance":"FR3PEPF00000166"}}'+ Date:+ - Mon, 22 Apr 2024 12:51:07 GMT+ body:+ encoding: UTF-8+ string: ''+ recorded_at: Mon, 22 Apr 2024 12:51:08 GMT+recorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_parent_not_found.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_parent_not_found.ymlnew file mode 100644index 00000000000..723a1011b25--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_parent_not_found.yml@@ -0,0 +1,106 @@+---+http_interactions:+- request:+ method: post+ uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token+ body:+ encoding: ASCII-8BIT+ string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+offline_access&client_id=4262df2b-77bb-49c2-a5df-28355da676d2&client_secret=Vwk8Q%7EJTuPh.pAjvPiWBQBdTFMDK%7EAIwxbj9_axB+ headers:+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Type:+ - application/x-www-form-urlencoded+ Content-Length:+ - '201'+ response:+ status:+ code: 200+ message: OK+ headers:+ Cache-Control:+ - no-store, no-cache+ Pragma:+ - no-cache+ Content-Type:+ - application/json; charset=utf-8+ Expires:+ - "-1"+ Strict-Transport-Security:+ - max-age=31536000; includeSubDomains+ X-Content-Type-Options:+ - nosniff+ P3p:+ - CP="DSP CUR OTPi IND OTRi ONL FIN"+ X-Ms-Request-Id:+ - 5682c1d0-e7f1-4dcc-92f1-d019aa214b00+ X-Ms-Ests-Server:+ - 2.1.17846.6 - SEC ProdSlices+ X-Ms-Srs:+ - 1.P+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=AnGVFUYx26BDsrEb73HC3oakbDoXAQAAAItVuN0OAAAA; expires=Wed, 22-May-2024+ 12:56:44 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;+ secure; samesite=none; httponly+ Date:+ - Mon, 22 Apr 2024 12:56:43 GMT+ Content-Length:+ - '1735'+ body:+ encoding: UTF-8+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'+ recorded_at: Mon, 22 Apr 2024 12:56:44 GMT+- request:+ method: post+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PKU2WV3U3RKKFF4A7ZCWVBXRTEU/children+ body:+ encoding: UTF-8+ string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'+ headers:+ Content-Type:+ - application/json+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Length:+ - '92'+ Authorization:+ - Bearer <BEARER TOKEN>+ response:+ status:+ code: 404+ message: Not Found+ headers:+ Cache-Control:+ - no-store, no-cache+ Content-Type:+ - application/json+ Content-Encoding:+ - gzip+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 2b8549e9-ff0e-44b5-bf97-bbe67bd1b976+ Client-Request-Id:+ - 2b8549e9-ff0e-44b5-bf97-bbe67bd1b976+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF000002D9"}}'+ Date:+ - Mon, 22 Apr 2024 12:56:43 GMT+ body:+ encoding: UTF-8+ string: '{"error":{"code":"itemNotFound","message":"Item not found","innerError":{"date":"2024-04-22T12:56:44","request-id":"2b8549e9-ff0e-44b5-bf97-bbe67bd1b976","client-request-id":"2b8549e9-ff0e-44b5-bf97-bbe67bd1b976"}}}'+ recorded_at: Mon, 22 Apr 2024 12:56:44 GMT+recorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_root.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_root.ymlnew file mode 100644index 00000000000..947f67fba34--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_root.yml@@ -0,0 +1,154 @@+---+http_interactions:+- request:+ method: post+ uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token+ body:+ encoding: ASCII-8BIT+ string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+offline_access&client_id=4262df2b-77bb-49c2-a5df-28355da676d2&client_secret=Vwk8Q%7EJTuPh.pAjvPiWBQBdTFMDK%7EAIwxbj9_axB+ headers:+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Type:+ - application/x-www-form-urlencoded+ Content-Length:+ - '201'+ response:+ status:+ code: 200+ message: OK+ headers:+ Cache-Control:+ - no-store, no-cache+ Pragma:+ - no-cache+ Content-Type:+ - application/json; charset=utf-8+ Expires:+ - "-1"+ Strict-Transport-Security:+ - max-age=31536000; includeSubDomains+ X-Content-Type-Options:+ - nosniff+ P3p:+ - CP="DSP CUR OTPi IND OTRi ONL FIN"+ X-Ms-Request-Id:+ - 5cafb002-3ad9-4094-9a1b-e1bf261e4b00+ X-Ms-Ests-Server:+ - 2.1.17846.6 - WEULR1 ProdSlices+ X-Ms-Srs:+ - 1.P+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=Atu5By_0zAZJi7-guoZRzr6kbDoXAQAAAHtUuN0OAAAA; expires=Wed, 22-May-2024+ 12:52:12 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;+ path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;+ secure; samesite=none; httponly+ Date:+ - Mon, 22 Apr 2024 12:52:12 GMT+ Connection:+ - close+ Content-Length:+ - '1735'+ body:+ encoding: UTF-8+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'+ recorded_at: Mon, 22 Apr 2024 12:52:12 GMT+- request:+ method: post+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children+ body:+ encoding: UTF-8+ string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'+ headers:+ Content-Type:+ - application/json+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ Content-Length:+ - '92'+ Authorization:+ - Bearer <BEARER TOKEN>+ response:+ status:+ code: 201+ message: Created+ headers:+ Cache-Control:+ - no-store, no-cache+ Content-Type:+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8+ Content-Encoding:+ - gzip+ Etag:+ - '"{AA5D82C3-06D0-42BC-B800-BAF1E1575CB3},1"'+ Location:+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PODQJO2VUAGXRBLQAF26HQVOXFT')+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 55b98114-3897-4aca-9ecb-cbfbdf995d72+ Client-Request-Id:+ - 55b98114-3897-4aca-9ecb-cbfbdf995d72+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001027"}}'+ Odata-Version:+ - '4.0'+ Date:+ - Mon, 22 Apr 2024 12:52:12 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{AA5D82C3-06D0-42BC-B800-BAF1E1575CB3},1\"","createdDateTime":"2024-04-22T12:52:12Z","eTag":"\"{AA5D82C3-06D0-42BC-B800-BAF1E1575CB3},1\"","id":"01AZJL5PODQJO2VUAGXRBLQAF26HQVOXFT","lastModifiedDateTime":"2024-04-22T12:52:12Z","name":"F\u00f6lder+ CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{AA5D82C3-06D0-42BC-B800-BAF1E1575CB3},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject+ Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint+ App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint+ App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"049e81d0-52fb-4624-af6d-96611c29a9cc","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-04-22T12:52:12Z","lastModifiedDateTime":"2024-04-22T12:52:12Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'+ recorded_at: Mon, 22 Apr 2024 12:52:12 GMT+- request:+ method: delete+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PODQJO2VUAGXRBLQAF26HQVOXFT+ body:+ encoding: US-ASCII+ string: ''+ headers:+ Authorization:+ - Bearer <BEARER TOKEN>+ User-Agent:+ - httpx.rb/1.2.4+ Accept:+ - "*/*"+ Accept-Encoding:+ - gzip, deflate+ response:+ status:+ code: 204+ message: No Content+ headers:+ Cache-Control:+ - no-store, no-cache+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 98132ce2-8267-464c-ae96-24ce725adea8+ Client-Request-Id:+ - 98132ce2-8267-464c-ae96-24ce725adea8+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000D36"}}'+ Date:+ - Mon, 22 Apr 2024 12:52:12 GMT+ body:+ encoding: UTF-8+ string: ''+ recorded_at: Mon, 22 Apr 2024 12:52:13 GMT+recorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_setup.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_setup.ymldeleted file mode 100644index de92a448e4e..00000000000--- a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_setup.yml+++ /dev/null@@ -1,111 +0,0 @@-----http_interactions:-- request:- method: post- uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token- body:- encoding: UTF-8- string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default- headers:- User-Agent:- - Rack::OAuth2 (2.2.1)- Authorization:- - Basic <BASIC_AUTH>- Content-Type:- - application/x-www-form-urlencoded- Accept-Encoding:- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3- Accept:- - "*/*"- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Pragma:- - no-cache- Content-Type:- - application/json; charset=utf-8- Expires:- - "-1"- Strict-Transport-Security:- - max-age=31536000; includeSubDomains- X-Content-Type-Options:- - nosniff- P3p:- - CP="DSP CUR OTPi IND OTRi ONL FIN"- X-Ms-Request-Id:- - 80ed89aa-e0fd-46b2-8a8a-3c61a2bf1600- X-Ms-Ests-Server:- - 2.1.17184.4 - FRC ProdSlices- X-Xss-Protection:- - '0'- Set-Cookie:- - fpc=AgkUqOdYlQRNpz7MWHdKp26kbDoXAQAAAPbBTt0OAAAA; expires=Sun, 03-Mar-2024- 10:59:03 GMT; path=/; secure; HttpOnly; SameSite=None- - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly- - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly- Date:- - Fri, 02 Feb 2024 10:59:02 GMT- Content-Length:- - '1708'- body:- encoding: UTF-8- string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Fri, 02 Feb 2024 10:59:03 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - a6f8548d-2c01-487a-9c8b-bad988ef1677- Client-Request-Id:- - a6f8548d-2c01-487a-9c8b-bad988ef1677- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF00000403"}}'- Date:- - Fri, 02 Feb 2024 10:59:02 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:03 GMT-recorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder.ymldeleted file mode 100644index 6c2d0f46441..00000000000--- a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder.yml+++ /dev/null@@ -1,269 +0,0 @@-----http_interactions:-- request:- method: post- uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token- body:- encoding: UTF-8- string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default- headers:- User-Agent:- - Rack::OAuth2 (2.2.1)- Authorization:- - Basic <BASIC_AUTH>- Content-Type:- - application/x-www-form-urlencoded- Accept-Encoding:- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3- Accept:- - "*/*"- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Pragma:- - no-cache- Content-Type:- - application/json; charset=utf-8- Expires:- - "-1"- Strict-Transport-Security:- - max-age=31536000; includeSubDomains- X-Content-Type-Options:- - nosniff- P3p:- - CP="DSP CUR OTPi IND OTRi ONL FIN"- X-Ms-Request-Id:- - ab316a52-bfc7-4d54-a07e-77b113361900- X-Ms-Ests-Server:- - 2.1.17184.4 - FRC ProdSlices- X-Xss-Protection:- - '0'- Set-Cookie:- - fpc=Am2jW5DsrN1KgVVT4ldTHIOkbDoXAQAAAPnBTt0OAAAA; expires=Sun, 03-Mar-2024- 10:59:06 GMT; path=/; secure; HttpOnly; SameSite=None- - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly- - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly- Date:- - Fri, 02 Feb 2024 10:59:05 GMT- Content-Length:- - '1708'- body:- encoding: UTF-8- string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Fri, 02 Feb 2024 10:59:06 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: UTF-8- string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '92'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{A5F7B6A8-37D5-49C2-A8E0-D8D35EDFC154},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 35fc8cc2-0976-45a9-84fe-0008905c8a26- Client-Request-Id:- - 35fc8cc2-0976-45a9-84fe-0008905c8a26- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D4"}}'- Odata-Version:- - '4.0'- Date:- - Fri, 02 Feb 2024 10:59:05 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{A5F7B6A8-37D5-49C2-A8E0-D8D35EDFC154},1\"","createdDateTime":"2024-02-02T10:59:06Z","eTag":"\"{A5F7B6A8-37D5-49C2-A8E0-D8D35EDFC154},1\"","id":"01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU","lastModifiedDateTime":"2024-02-02T10:59:06Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{A5F7B6A8-37D5-49C2-A8E0-D8D35EDFC154},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"049e81d0-52fb-4624-af6d-96611c29a9cc","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:06Z","lastModifiedDateTime":"2024-02-02T10:59:06Z"},"folder":{"childCount":0}}'- recorded_at: Fri, 02 Feb 2024 10:59:06 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU/children- body:- encoding: UTF-8- string: '{"name":"Another Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '80'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{BFEF1805-9ACA-43D3-BCC7-C7F27A30CB70},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU')/children('01AZJL5PIFDDX37SU22NB3ZR6H6J5DBS3Q')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 9661a03f-5d69-4f03-9c25-e33aa679fc21- Client-Request-Id:- - 9661a03f-5d69-4f03-9c25-e33aa679fc21- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D4"}}'- Odata-Version:- - '4.0'- Date:- - Fri, 02 Feb 2024 10:59:05 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/items(''01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU'')/children/$entity","@odata.etag":"\"{BFEF1805-9ACA-43D3-BCC7-C7F27A30CB70},1\"","createdDateTime":"2024-02-02T10:59:06Z","eTag":"\"{BFEF1805-9ACA-43D3-BCC7-C7F27A30CB70},1\"","id":"01AZJL5PIFDDX37SU22NB3ZR6H6J5DBS3Q","lastModifiedDateTime":"2024-02-02T10:59:06Z","name":"Another- Folder","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand/Another%20Folder","cTag":"\"c:{BFEF1805-9ACA-43D3-BCC7-C7F27A30CB70},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:/F\u00f6lder- CreatedBy \u00c7ommand","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"a5f7b6a8-37d5-49c2-a8e0-d8d35edfc154","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:06Z","lastModifiedDateTime":"2024-02-02T10:59:06Z"},"folder":{"childCount":0}}'- recorded_at: Fri, 02 Feb 2024 10:59:06 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 7adfdc6d-741a-48ac-82f0-b9e59142cafc- Client-Request-Id:- - 7adfdc6d-741a-48ac-82f0-b9e59142cafc- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001E5"}}'- Date:- - Fri, 02 Feb 2024 10:59:05 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:06Z","eTag":"\"{A5F7B6A8-37D5-49C2-A8E0-D8D35EDFC154},1\"","id":"01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:06Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{A5F7B6A8-37D5-49C2-A8E0-D8D35EDFC154},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:06Z","lastModifiedDateTime":"2024-02-02T10:59:06Z"},"folder":{"childCount":1},"shared":{"scope":"users"},"size":0},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:06 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PNIW332LVJXYJE2RYGY2NPN7QKU- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 97d61145-adc3-4a0a-8580-5f4a06568e7f- Client-Request-Id:- - 97d61145-adc3-4a0a-8580-5f4a06568e7f- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF00000403"}}'- Date:- - Fri, 02 Feb 2024 10:59:06 GMT- body:- encoding: UTF-8- string: ''- recorded_at: Fri, 02 Feb 2024 10:59:07 GMT-recorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder_with_existing_parent.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder_with_existing_parent.ymldeleted file mode 100644index b570aec518f..00000000000--- a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder_with_existing_parent.yml+++ /dev/null@@ -1,373 +0,0 @@-----http_interactions:-- request:- method: post- uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token- body:- encoding: UTF-8- string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default- headers:- User-Agent:- - Rack::OAuth2 (2.2.1)- Authorization:- - Basic <BASIC_AUTH>- Content-Type:- - application/x-www-form-urlencoded- Accept-Encoding:- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3- Accept:- - "*/*"- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Pragma:- - no-cache- Content-Type:- - application/json; charset=utf-8- Expires:- - "-1"- Strict-Transport-Security:- - max-age=31536000; includeSubDomains- X-Content-Type-Options:- - nosniff- P3p:- - CP="DSP CUR OTPi IND OTRi ONL FIN"- X-Ms-Request-Id:- - 3028d9b7-2ffa-43b6-9265-7e84c4031a00- X-Ms-Ests-Server:- - 2.1.17184.4 - SEC ProdSlices- X-Xss-Protection:- - '0'- Set-Cookie:- - fpc=AjHwl5KxklxIoZ1ls9egfAykbDoXAQAAAP3BTt0OAAAA; expires=Sun, 03-Mar-2024- 10:59:10 GMT; path=/; secure; HttpOnly; SameSite=None- - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly- - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly- Date:- - Fri, 02 Feb 2024 10:59:09 GMT- Content-Length:- - '1708'- body:- encoding: UTF-8- string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Fri, 02 Feb 2024 10:59:10 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: UTF-8- string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '92'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - '03843b2f-a98d-4356-8ffb-7340c51a8dff'- Client-Request-Id:- - '03843b2f-a98d-4356-8ffb-7340c51a8dff'- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003EB"}}'- Odata-Version:- - '4.0'- Date:- - Fri, 02 Feb 2024 10:59:09 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},1\"","createdDateTime":"2024-02-02T10:59:10Z","eTag":"\"{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},1\"","id":"01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII","lastModifiedDateTime":"2024-02-02T10:59:10Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"049e81d0-52fb-4624-af6d-96611c29a9cc","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:10Z","lastModifiedDateTime":"2024-02-02T10:59:10Z"},"folder":{"childCount":0}}'- recorded_at: Fri, 02 Feb 2024 10:59:10 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: UTF-8- string: '{"name":"Földer CreatedBy Çommand","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '92'- response:- status:- code: 409- message: Conflict- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json- Content-Encoding:- - gzip- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - aba20552-db14-4a4c-91e7-08cf8447b86c- Client-Request-Id:- - aba20552-db14-4a4c-91e7-08cf8447b86c- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001EE"}}'- Date:- - Fri, 02 Feb 2024 10:59:09 GMT- body:- encoding: UTF-8- string: '{"error":{"code":"nameAlreadyExists","message":"Name already exists","innerError":{"date":"2024-02-02T10:59:10","request-id":"aba20552-db14-4a4c-91e7-08cf8447b86c","client-request-id":"aba20552-db14-4a4c-91e7-08cf8447b86c"}}}'- recorded_at: Fri, 02 Feb 2024 10:59:10 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 852672b4-2447-4d6c-baf1-a2b8f0fa21a1- Client-Request-Id:- - 852672b4-2447-4d6c-baf1-a2b8f0fa21a1- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D3"}}'- Date:- - Fri, 02 Feb 2024 10:59:09 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:10Z","eTag":"\"{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},1\"","id":"01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:10Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:10Z","lastModifiedDateTime":"2024-02-02T10:59:10Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:10 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII/children- body:- encoding: UTF-8- string: '{"name":"With Existing Folder","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- Content-Length:- - '86'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{619762FC-ECDC-4089-86C0-D11F8A1D0418},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII')/children('01AZJL5PP4MKLWDXHMRFAINQGRD6FB2BAY')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 2ec88a14-aee8-4510-96e7-27d60dd3f697- Client-Request-Id:- - 2ec88a14-aee8-4510-96e7-27d60dd3f697- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001EE"}}'- Odata-Version:- - '4.0'- Date:- - Fri, 02 Feb 2024 10:59:10 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/items(''01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII'')/children/$entity","@odata.etag":"\"{619762FC-ECDC-4089-86C0-D11F8A1D0418},1\"","createdDateTime":"2024-02-02T10:59:11Z","eTag":"\"{619762FC-ECDC-4089-86C0-D11F8A1D0418},1\"","id":"01AZJL5PP4MKLWDXHMRFAINQGRD6FB2BAY","lastModifiedDateTime":"2024-02-02T10:59:11Z","name":"With- Existing Folder","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand/With%20Existing%20Folder","cTag":"\"c:{619762FC-ECDC-4089-86C0-D11F8A1D0418},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","driveType":"documentLibrary","id":"01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:/F\u00f6lder- CreatedBy \u00c7ommand","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"9f9cda46-da4f-4402-ab19-0fb8d4f5c508","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:11Z","lastModifiedDateTime":"2024-02-02T10:59:11Z"},"folder":{"childCount":0}}'- recorded_at: Fri, 02 Feb 2024 10:59:10 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Transfer-Encoding:- - chunked- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - c0c9a6a7-74a3-4015-a28d-c0d60f78038e- Client-Request-Id:- - c0c9a6a7-74a3-4015-a28d-c0d60f78038e- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003B3"}}'- Date:- - Fri, 02 Feb 2024 10:59:10 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:50Z","eTag":"\"{6087B980-4C01-4020-BBF2-1E349BD0C831},1\"","id":"01AZJL5PMAXGDWAAKMEBALX4Q6GSN5BSBR","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:50Z","name":"Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder","cTag":"\"c:{6087B980-4C01-4020-BBF2-1E349BD0C831},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:50Z","lastModifiedDateTime":"2023-09-26T14:38:50Z"},"folder":{"childCount":5},"shared":{"scope":"users"},"size":260500},{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:10Z","eTag":"\"{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},1\"","id":"01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:10Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{9F9CDA46-DA4F-4402-AB19-0FB8D4F5C508},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:10Z","lastModifiedDateTime":"2024-02-02T10:59:10Z"},"folder":{"childCount":1},"shared":{"scope":"users"},"size":0},{"createdBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"createdDateTime":"2023-09-26T14:38:57Z","eTag":"\"{BAABD554-2A6E-4B51-A07F-22B54378CC94},1\"","id":"01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU","lastModifiedBy":{"user":{"email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a","displayName":"Eric- Schubert"}},"lastModifiedDateTime":"2023-09-26T14:38:57Z","name":"Folder with- spaces","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Folder%20with%20spaces","cTag":"\"c:{BAABD554-2A6E-4B51-A07F-22B54378CC94},0\"","fileSystemInfo":{"createdDateTime":"2023-09-26T14:38:57Z","lastModifiedDateTime":"2023-09-26T14:38:57Z"},"folder":{"childCount":4},"shared":{"scope":"users"},"size":35141},{"createdBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"createdDateTime":"2024-01-12T09:05:10Z","eTag":"\"{73565DBB-32EA-46CE-9F64-A01EDD691B01},3\"","id":"01AZJL5PN3LVLHH2RSZZDJ6ZFAD3OWSGYB","lastModifiedBy":{"user":{"email":"[email protected]","id":"d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce","displayName":"Marcello- Rocha"}},"lastModifiedDateTime":"2024-01-12T09:05:24Z","name":"Permissions- Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"VCR","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/Permissions%20Folder","cTag":"\"c:{73565DBB-32EA-46CE-9F64-A01EDD691B01},0\"","decorator":{"iconColor":"darkRed"},"fileSystemInfo":{"createdDateTime":"2024-01-12T09:05:10Z","lastModifiedDateTime":"2024-01-12T09:05:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}]}'- recorded_at: Fri, 02 Feb 2024 10:59:11 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PKG3KOJ6T62AJCKWGIPXDKPLRII- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- Accept:- - application/json- Content-Type:- - application/json- User-Agent:- - httpx.rb/1.2.1- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 9c3df77e-7a1d-41d9-86d7-ae5728eac22f- Client-Request-Id:- - 9c3df77e-7a1d-41d9-86d7-ae5728eac22f- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001E6"}}'- Date:- - Fri, 02 Feb 2024 10:59:10 GMT- body:- encoding: UTF-8- string: ''- recorded_at: Fri, 02 Feb 2024 10:59:11 GMT-recorded_with: VCR 6.2.0