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
Add support for creating folders on a subfolder and full hierarchy of folders
Marcello Rochaaccc948c3545
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rbindex d06e1375bf5..23462477e65 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb@@ -33,6 +33,8 @@ module Storagesmodule StorageInteractionmodule OneDriveclass CreateFolderCommand+ using ServiceResultRefinements+def self.call(storage:, folder_path:)new(storage).call(folder_path:)end@@ -42,12 +44,39 @@ module Storages@uri = storage.uriend- # NOTE: This is currently creating a folder only on the root folderdef call(folder_path:)+ folder_paths = folder_path.split('/')++ Util.using_admin_token(@storage) do |http|+ folder_paths.each_with_index.with_object([]) do |(folder_name, index), results|+ response = http.post(uri_for(index, results), body: payload(folder_name))+ result = handle_response(response)++ results[index] = result.success? ? result : get_folder_info(folder_name, index, results)+ end.last+ end+ end++ def uri_for(index, previous_results)+ return "#{base_uri}/root/children" if index.zero?++ previous_result = previous_results[index - 1]+ item_id = previous_result.match(on_success: ->(result) { result.id },+ on_failure: ->(errors) { errors.data.id })++ "#{base_uri}/items/#{item_id}/children"+ end++ def get_folder_info(folder_name, index, results)Util.using_admin_token(@storage) do |http|- response = http.post("/v1.0/drives/#{@storage.drive_id}/root/children", body: payload(folder_path))+ uri = uri_for(index, results)- handle_response(response)+ response = http.get(uri).raise_for_status+ item = response.json(symbolize_keys: true)[:value].find { |drive_item| drive_item[:name] == folder_name }++ ServiceResult.failure(result: :already_exists,+ errors: ::Storages::StorageError+ .new(code: :conflict, data: file_info_for(item)))endend@@ -97,6 +126,8 @@ module Storages'@microsoft.graph.conflictBehavior' => "fail"}.to_jsonend++ def base_uri = "/v1.0/drives/#{@storage.drive_id}"endendenddiff --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 213eecd4252..36adb6db500 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@@ -32,11 +32,18 @@ require 'spec_helper'require_module_spec_helperRSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderCommand, :vcr, :webmock do- let(:storage) { create(:sharepoint_dev_drive_storage) }- let(:project) { create(:project) }+ shared_let(:storage) { create(:sharepoint_dev_drive_storage) }+ let(:delete_command) { Storages::Peripherals::Registry.resolve('commands.one_drive.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' doexpect(described_class).to respond_to(:call)@@ -55,30 +62,95 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderexpect(result.result.name).to eq(folder_path)ensure- if result.success?- Storages::Peripherals::Registry- .resolve('commands.one_drive.delete_folder')- .call(storage:, location: result.result.id)+ delete_created_files+ end++ it 'creates a sub folder', vcr: 'one_drive/create_folder_sub_folder' do+ sub_folder = described_class.call(storage:, folder_path: "#{folder_path}/Another Folder").result++ expect(sub_folder.name).to eq("Another Folder")+ expect(sub_folder.location).to eq("/#{folder_path}/Another Folder")+ ensure+ delete_created_files+ end++ it 'creates all the needed parent folders', vcr: 'one_drive/create_folder_deep_structure' do+ sub_folder = described_class.call(storage:, folder_path: "#{folder_path}/Another Folder/Can I have another one")++ expect(sub_folder).to be_success+ expect(sub_folder.result.name).to eq("Can I have another one")+ expect(sub_folder.result.location).to eq("/#{folder_path}/Another Folder/Can I have another one")++ parent = find_folder(folder_path)+ expect(parent).not_to be_nil+ expect(parent[:name]).to eq(folder_path)++ mid_folder = find_folder('Another Folder', parent)+ expect(mid_folder).not_to be_nil+ expect(parent[:name]).to eq(folder_path)+ ensure+ delete_created_files+ end++ context 'when the parent folder exists' do+ it 'still creates the sub folder', vcr: 'one_drive/create_folder_sub_folder_with_existing_parent' do+ described_class.call(storage:, folder_path:).on_failure { fail "Could not create the parent folder" }+ sub_folder = described_class.call(storage:, folder_path: "#{folder_path}/With Existing Folder")++ expect(sub_folder).to be_success+ expect(sub_folder.result.name).to eq("With Existing Folder")+ expect(sub_folder.result.location).to eq("/#{folder_path}/With Existing Folder")+ ensure+ delete_created_filesendendcontext 'when the folder already exists', vcr: 'one_drive/create_folder_already_exists' doit 'returns a failure' do- original_folder = described_class.call(storage:, folder_path:)+ described_class.call(storage:, folder_path:)result = described_class.call(storage:, folder_path:)expect(result).to be_failure-- expect(result.result).to eq(:already_exists)expect(result.errors.code).to eq(:conflict)error_data = result.errors.data- error_payload = MultiJson.load(error_data.payload, symbolize_keys: true)- expect(error_payload.dig(:error, :code)).to eq('nameAlreadyExists')+ expect(error_data.name).to eq(folder_path)+ expect(error_data.id).not_to be_nilensure- Storages::Peripherals::Registry- .resolve('commands.one_drive.delete_folder')- .call(storage:, location: original_folder.result.id)+ delete_created_files+ end+ end++ private++ 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++ response = http.get(uri)++ response.json(symbolize_keys: true).fetch(:value, []).find { |item| item[:name] == folder_name }+ end+ 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")++ response.json(symbolize_keys: true).fetch(:value, []).pluck(:id)+ end+ end++ 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)++ (files - original_ids).each { |location| delete_command.call(storage:, location:) }endendenddiff --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 090a1c0f371..b8a3a921c3f 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@@ -37,24 +37,24 @@ http_interactions:P3p:- CP="DSP CUR OTPi IND OTRi ONL FIN"X-Ms-Request-Id:- - 7a1cb3f1-4f5d-4c69-ba3f-eb4e1b067e00+ - ed20da22-6350-412e-ad34-945574bf1500X-Ms-Ests-Server:- - 2.1.17122.3 - FRC ProdSlices+ - 2.1.17184.4 - NEULR1 ProdSlicesX-Xss-Protection:- '0'Set-Cookie:- - fpc=AoFOY2TLdrRMslOCNslu3yikbDoXAQAAAMzaSt0OAAAA; expires=Thu, 29-Feb-2024- 11:55:57 GMT; path=/; secure; HttpOnly; SameSite=None+ - 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; httponlyDate:- - Tue, 30 Jan 2024 11:55:57 GMT+ - Fri, 02 Feb 2024 10:59:07 GMTContent-Length:- '1708'body:encoding: UTF-8string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Tue, 30 Jan 2024 11:55:57 GMT+ recorded_at: Fri, 02 Feb 2024 10:59:08 GMT- request:method: posturi: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children@@ -88,31 +88,31 @@ http_interactions:Content-Encoding:- gzipEtag:- - '"{1DE12AE8-38C4-4668-B83B-25A73381CBEB},1"'+ - '"{49246452-9BFC-4755-8658-100F0FC80E83},1"'Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PPIFLQR3RBYNBDLQOZFU4ZYDS7L')+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUD')Vary:- Accept-EncodingStrict-Transport-Security:- max-age=31536000Request-Id:- - 3a26d83e-692f-43e9-96ef-fbeb5fb8d9f9+ - fa8c95d8-e264-480d-8867-a2f3d762d85dClient-Request-Id:- - 3a26d83e-692f-43e9-96ef-fbeb5fb8d9f9+ - fa8c95d8-e264-480d-8867-a2f3d762d85dX-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"FR3PEPF00000449"}}'+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D8"}}'Odata-Version:- '4.0'Date:- - Tue, 30 Jan 2024 11:55:57 GMT+ - Fri, 02 Feb 2024 10:59:08 GMTbody:encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{1DE12AE8-38C4-4668-B83B-25A73381CBEB},1\"","createdDateTime":"2024-01-30T11:55:58Z","eTag":"\"{1DE12AE8-38C4-4668-B83B-25A73381CBEB},1\"","id":"01AZJL5PPIFLQR3RBYNBDLQOZFU4ZYDS7L","lastModifiedDateTime":"2024-01-30T11:55:58Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{1DE12AE8-38C4-4668-B83B-25A73381CBEB},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject+ 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":"OpenProjectDev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePointApp"}},"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-01-30T11:55:58Z","lastModifiedDateTime":"2024-01-30T11:55:58Z"},"folder":{"childCount":0}}'- recorded_at: Tue, 30 Jan 2024 11:55:57 GMT+ 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: posturi: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children@@ -150,20 +150,132 @@ http_interactions:Strict-Transport-Security:- max-age=31536000Request-Id:- - da735664-6ad3-485f-a498-05f66398a82f+ - 9efc2e03-a4c0-4254-b52d-ceb2e54a6dfcClient-Request-Id:- - da735664-6ad3-485f-a498-05f66398a82f+ - 9efc2e03-a4c0-4254-b52d-ceb2e54a6dfcX-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"FR3PEPF000002D9"}}'+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003B4"}}'Date:- - Tue, 30 Jan 2024 11:55:57 GMT+ - Fri, 02 Feb 2024 10:59:08 GMTbody:encoding: UTF-8- string: '{"error":{"code":"nameAlreadyExists","message":"Name already exists","innerError":{"date":"2024-01-30T11:55:58","request-id":"da735664-6ad3-485f-a498-05f66398a82f","client-request-id":"da735664-6ad3-485f-a498-05f66398a82f"}}}'- recorded_at: Tue, 30 Jan 2024 11:55:58 GMT+ 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/01AZJL5PPIFLQR3RBYNBDLQOZFU4ZYDS7L+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PKSMQSET7E3KVDYMWAQB4H4QDUDbody:encoding: US-ASCIIstring: ''@@ -188,15 +300,15 @@ http_interactions:Strict-Transport-Security:- max-age=31536000Request-Id:- - faaceacd-8ff4-4960-a6e5-4f1f70ab69d0+ - d73b6fc6-e03d-4ae1-a6d3-830e3b366d37Client-Request-Id:- - faaceacd-8ff4-4960-a6e5-4f1f70ab69d0+ - d73b6fc6-e03d-4ae1-a6d3-830e3b366d37X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"FR3PEPF000002C3"}}'+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DA"}}'Date:- - Tue, 30 Jan 2024 11:55:57 GMT+ - Fri, 02 Feb 2024 10:59:09 GMTbody:encoding: UTF-8string: ''- recorded_at: Tue, 30 Jan 2024 11:55:58 GMT+ recorded_at: Fri, 02 Feb 2024 10:59:09 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.ymlindex 1e731f90d2b..4e56d25de04 100644--- 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.yml@@ -37,24 +37,24 @@ http_interactions:P3p:- CP="DSP CUR OTPi IND OTRi ONL FIN"X-Ms-Request-Id:- - 49d51bc0-8de9-4317-b2b2-fe85f24a8700+ - b43fae89-83df-409f-99d1-7685b5404300X-Ms-Ests-Server:- - 2.1.17122.3 - FRC ProdSlices+ - 2.1.17184.4 - WEULR1 ProdSlicesX-Xss-Protection:- '0'Set-Cookie:- - fpc=AquOmHim_cdKsq_7iQAnJj6kbDoXAQAAAMzaSt0OAAAA; expires=Thu, 29-Feb-2024- 11:55:56 GMT; path=/; secure; HttpOnly; SameSite=None+ - 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; httponlyDate:- - Tue, 30 Jan 2024 11:55:56 GMT+ - Fri, 02 Feb 2024 10:59:07 GMTContent-Length:- '1708'body:encoding: UTF-8string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Tue, 30 Jan 2024 11:55:56 GMT+ recorded_at: Fri, 02 Feb 2024 10:59:07 GMT- request:method: posturi: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root/children@@ -88,34 +88,90 @@ http_interactions:Content-Encoding:- gzipEtag:- - '"{3FB7CA8B-36C1-44A4-8510-CBF10F92FC70},1"'+ - '"{8899BFFC-367B-4722-A32C-86E2195F4B00},1"'Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PMLZK3T7QJWURCIKEGL6EHZF7DQ')+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PP4X6MYQ6ZWEJD2GLEG4IMV6SYA')Vary:- Accept-EncodingStrict-Transport-Security:- max-age=31536000Request-Id:- - c4aaf3df-dccd-44e0-88f2-ddb0ec969010+ - 9b6642df-9015-4dd8-a433-043f941e26a5Client-Request-Id:- - c4aaf3df-dccd-44e0-88f2-ddb0ec969010+ - 9b6642df-9015-4dd8-a433-043f941e26a5X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"FR3PEPF00000355"}}'+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DF"}}'Odata-Version:- '4.0'Date:- - Tue, 30 Jan 2024 11:55:56 GMT+ - Fri, 02 Feb 2024 10:59:06 GMTbody:encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{3FB7CA8B-36C1-44A4-8510-CBF10F92FC70},1\"","createdDateTime":"2024-01-30T11:55:57Z","eTag":"\"{3FB7CA8B-36C1-44A4-8510-CBF10F92FC70},1\"","id":"01AZJL5PMLZK3T7QJWURCIKEGL6EHZF7DQ","lastModifiedDateTime":"2024-01-30T11:55:57Z","name":"F\u00f6lder- CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{3FB7CA8B-36C1-44A4-8510-CBF10F92FC70},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject+ 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":"OpenProjectDev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePointApp"}},"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-01-30T11:55:57Z","lastModifiedDateTime":"2024-01-30T11:55:57Z"},"folder":{"childCount":0}}'- recorded_at: Tue, 30 Jan 2024 11:55:57 GMT+ 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/01AZJL5PMLZK3T7QJWURCIKEGL6EHZF7DQ+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PP4X6MYQ6ZWEJD2GLEG4IMV6SYAbody:encoding: US-ASCIIstring: ''@@ -140,15 +196,15 @@ http_interactions:Strict-Transport-Security:- max-age=31536000Request-Id:- - efae2ad2-185e-44fa-841f-b43a0f86bd8f+ - ea39e491-6f3c-4314-92b6-924979269ad8Client-Request-Id:- - efae2ad2-185e-44fa-841f-b43a0f86bd8f+ - ea39e491-6f3c-4314-92b6-924979269ad8X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"FR3PEPF00000316"}}'+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D5"}}'Date:- - Tue, 30 Jan 2024 11:55:57 GMT+ - Fri, 02 Feb 2024 10:59:07 GMTbody:encoding: UTF-8string: ''- recorded_at: Tue, 30 Jan 2024 11:55:57 GMT+ recorded_at: Fri, 02 Feb 2024 10:59:08 GMTrecorded_with: VCR 6.2.0diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_deep_structure.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_deep_structure.ymlnew file mode 100644index 00000000000..fb65d474d3d--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_deep_structure.yml@@ -0,0 +1,434 @@+---+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:+ - 728f2061-12ce-4627-acee-370550481400+ X-Ms-Ests-Server:+ - 2.1.17184.4 - NEULR1 ProdSlices+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=AmghvfSEQcNFhe2j0a_LxBmkbDoXAQAAAPfBTt0OAAAA; expires=Sun, 03-Mar-2024+ 10:59:04 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:03 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:04 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:+ - '"{C90BD624-744D-4408-805D-8A3A05AFB1E1},1"'+ Location:+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB')+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 147305f9-9516-41e7-9631-31486e7829a8+ Client-Request-Id:+ - 147305f9-9516-41e7-9631-31486e7829a8+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DA"}}'+ Odata-Version:+ - '4.0'+ Date:+ - Fri, 02 Feb 2024 10:59:04 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{C90BD624-744D-4408-805D-8A3A05AFB1E1},1\"","createdDateTime":"2024-02-02T10:59:04Z","eTag":"\"{C90BD624-744D-4408-805D-8A3A05AFB1E1},1\"","id":"01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB","lastModifiedDateTime":"2024-02-02T10:59:04Z","name":"F\u00f6lder+ CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{C90BD624-744D-4408-805D-8A3A05AFB1E1},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:04Z","lastModifiedDateTime":"2024-02-02T10:59:04Z"},"folder":{"childCount":0}}'+ recorded_at: Fri, 02 Feb 2024 10:59:04 GMT+- request:+ method: post+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB/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:+ - '"{FD06BFC4-78F3-4BF4-89DA-8C9A2F2646A3},1"'+ Location:+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB')/children('01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD')+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 584d2831-5e40-4905-b7ef-8ef56bac2f53+ Client-Request-Id:+ - 584d2831-5e40-4905-b7ef-8ef56bac2f53+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DA"}}'+ Odata-Version:+ - '4.0'+ Date:+ - Fri, 02 Feb 2024 10:59:04 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/items(''01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB'')/children/$entity","@odata.etag":"\"{FD06BFC4-78F3-4BF4-89DA-8C9A2F2646A3},1\"","createdDateTime":"2024-02-02T10:59:04Z","eTag":"\"{FD06BFC4-78F3-4BF4-89DA-8C9A2F2646A3},1\"","id":"01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD","lastModifiedDateTime":"2024-02-02T10:59:04Z","name":"Another+ Folder","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand/Another%20Folder","cTag":"\"c:{FD06BFC4-78F3-4BF4-89DA-8C9A2F2646A3},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":"01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:/F\u00f6lder+ CreatedBy \u00c7ommand","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"c90bd624-744d-4408-805d-8a3a05afb1e1","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:04Z","lastModifiedDateTime":"2024-02-02T10:59:04Z"},"folder":{"childCount":0}}'+ recorded_at: Fri, 02 Feb 2024 10:59:04 GMT+- request:+ method: post+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD/children+ body:+ encoding: UTF-8+ string: '{"name":"Can I have another one","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:+ - '88'+ 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:+ - '"{B49C0B92-BA87-482B-BC40-0ED6DA7BDE39},1"'+ Location:+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD')/children('01AZJL5PMSBOOLJB52FNELYQAO23NHXXRZ')+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 5b1be141-8047-4053-8c13-7c5333dbb7cd+ Client-Request-Id:+ - 5b1be141-8047-4053-8c13-7c5333dbb7cd+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DA"}}'+ Odata-Version:+ - '4.0'+ Date:+ - Fri, 02 Feb 2024 10:59:04 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/items(''01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD'')/children/$entity","@odata.etag":"\"{B49C0B92-BA87-482B-BC40-0ED6DA7BDE39},1\"","createdDateTime":"2024-02-02T10:59:05Z","eTag":"\"{B49C0B92-BA87-482B-BC40-0ED6DA7BDE39},1\"","id":"01AZJL5PMSBOOLJB52FNELYQAO23NHXXRZ","lastModifiedDateTime":"2024-02-02T10:59:05Z","name":"Can+ I have another one","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand/Another%20Folder/Can%20I%20have%20another%20one","cTag":"\"c:{B49C0B92-BA87-482B-BC40-0ED6DA7BDE39},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":"01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:/F\u00f6lder+ CreatedBy \u00c7ommand/Another Folder","sharepointIds":{"listId":"f3baf95b-362b-4740-80d8-4f593d28f5ec","listItemUniqueId":"fd06bfc4-78f3-4bf4-89da-8c9a2f2646a3","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:05Z","lastModifiedDateTime":"2024-02-02T10:59:05Z"},"folder":{"childCount":0}}'+ recorded_at: Fri, 02 Feb 2024 10:59:04 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:+ - 3b7048ce-6af6-4377-9f48-40980b6337f2+ Client-Request-Id:+ - 3b7048ce-6af6-4377-9f48-40980b6337f2+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000004D8"}}'+ Date:+ - Fri, 02 Feb 2024 10:59:04 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:04Z","eTag":"\"{C90BD624-744D-4408-805D-8A3A05AFB1E1},1\"","id":"01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject+ Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:04Z","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:{C90BD624-744D-4408-805D-8A3A05AFB1E1},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:04Z","lastModifiedDateTime":"2024-02-02T10:59:04Z"},"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:05 GMT+- request:+ method: get+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB/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:+ - abc958fc-d193-4591-a0be-5e132c686308+ Client-Request-Id:+ - abc958fc-d193-4591-a0be-5e132c686308+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003EB"}}'+ Date:+ - Fri, 02 Feb 2024 10:59:04 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[{"createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject+ Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-02-02T10:59:04Z","eTag":"\"{FD06BFC4-78F3-4BF4-89DA-8C9A2F2646A3},1\"","id":"01AZJL5POEX4DP343Y6RFYTWUMTIXSMRVD","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject+ Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:04Z","name":"Another+ Folder","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs","id":"01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB","name":"F\u00f6lder+ CreatedBy \u00c7ommand","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/root:/F\u00f6lder+ CreatedBy \u00c7ommand","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand/Another%20Folder","cTag":"\"c:{FD06BFC4-78F3-4BF4-89DA-8C9A2F2646A3},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:04Z","lastModifiedDateTime":"2024-02-02T10:59:04Z"},"folder":{"childCount":1},"shared":{"scope":"users"},"size":0}]}'+ recorded_at: Fri, 02 Feb 2024 10:59:05 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:+ - f050bb05-1d7a-48f8-ad33-b5f8dfe7ad49+ Client-Request-Id:+ - f050bb05-1d7a-48f8-ad33-b5f8dfe7ad49+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000003B4"}}'+ Date:+ - Fri, 02 Feb 2024 10:59:04 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:04Z","eTag":"\"{C90BD624-744D-4408-805D-8A3A05AFB1E1},1\"","id":"01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject+ Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-02-02T10:59:04Z","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:{C90BD624-744D-4408-805D-8A3A05AFB1E1},0\"","fileSystemInfo":{"createdDateTime":"2024-02-02T10:59:04Z","lastModifiedDateTime":"2024-02-02T10:59:04Z"},"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:05 GMT+- request:+ method: delete+ uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs/items/01AZJL5PJE2YF4STLUBBCIAXMKHIC27MPB+ 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:+ - 2b890f44-de76-48d6-a1c8-8d4fde993748+ Client-Request-Id:+ - 2b890f44-de76-48d6-a1c8-8d4fde993748+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"FR2PEPF000001DF"}}'+ Date:+ - Fri, 02 Feb 2024 10:59:04 GMT+ body:+ encoding: UTF-8+ string: ''+ recorded_at: Fri, 02 Feb 2024 10:59:05 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.ymlnew file mode 100644index 00000000000..de92a448e4e--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_setup.yml@@ -0,0 +1,111 @@+---+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.ymlnew file mode 100644index 00000000000..6c2d0f46441--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder.yml@@ -0,0 +1,269 @@+---+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.ymlnew file mode 100644index 00000000000..b570aec518f--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_sub_folder_with_existing_parent.yml@@ -0,0 +1,373 @@+---+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