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
Initial implementation and tests for create folder
Marcello Rochaa0d29cb64850
diff --git a/modules/storages/app/common/storages/peripherals/registry.rb b/modules/storages/app/common/storages/peripherals/registry.rbindex 14e9b1ac7cd..ad334778ee2 100644--- a/modules/storages/app/common/storages/peripherals/registry.rb+++ b/modules/storages/app/common/storages/peripherals/registry.rb@@ -55,6 +55,7 @@ module StoragesRegistry.import StorageInteraction::Nextcloud::CommandsRegistry.import StorageInteraction::OneDrive::Queries+ Registry.import StorageInteraction::OneDrive::CommandsRegistry.import Contractsenddiff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive.rbindex b0e9abe24f7..73e271b9ea7 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive.rb@@ -43,6 +43,12 @@ module Storagesregister(:upload_link, UploadLinkQuery)endend++ Commands = Dry::Container::Namespace.new('commands') do+ namespace('one_drive') do+ register(:create_folder, CreateFolderCommand)+ end+ endendendenddiff --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.rbnew file mode 100644index 00000000000..18b61b05f75--- /dev/null+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb@@ -0,0 +1,108 @@+# frozen_string_literal: true++#-- copyright+# OpenProject is an open source project management software.+# Copyright (C) 2012-2023 the OpenProject GmbH+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License version 3.+#+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:+# Copyright (C) 2006-2013 Jean-Philippe Lang+# Copyright (C) 2010-2013 the ChiliProject Team+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License+# as published by the Free Software Foundation; either version 2+# of the License, or (at your option) any later version.+#+# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+#+# See COPYRIGHT and LICENSE files for more details.+#++++module Storages+ module Peripherals+ module StorageInteraction+ module OneDrive+ class CreateFolderCommand+ def self.call(storage:, folder_path:)+ new(storage).call(folder_path:)+ end++ def initialize(storage)+ @storage = storage+ @uri = storage.uri+ end++ # NOTE: This is currently creating a folder only on the root folder+ def call(folder_path:)+ Util.using_admin_token(@storage) do |token|+ response = Net::HTTP.start(@uri.host, @uri.port, use_ssl: true) do |http|+ http.post("/v1.0/drives/#{@storage.drive_id}/root/children",+ payload(folder_path),+ { 'Authorization' => "Bearer #{token.access_token}", 'Content-Type' => 'application/json' })+ end++ handle_response(response)+ end+ end++ private++ def handle_response(response)+ data = ::Storages::StorageErrorData.new(source: self, payload: response.body)++ case response+ when Net::HTTPSuccess+ ServiceResult.success(result: file_info_for(MultiJson.load(response.body, symbolize_keys: true)),+ message: 'Folder was successfully created.')+ when Net::HTTPNotFound+ ServiceResult.failure(result: :not_found,+ errors: ::Storages::StorageError.new(code: :not_found, data:))+ when Net::HTTPUnauthorized+ ServiceResult.failure(result: :unauthorized,+ errors: ::Storages::StorageError.new(code: :unauthorized, data:))+ when Net::HTTPConflict+ ServiceResult.failure(result: :already_exists,+ errors: ::Storages::StorageError.new(code: :conflict, data:))+ else+ ServiceResult.failure(result: :error,+ errors: ::Storages::StorageError.new(code: :error, data:))+ end+ end++ def file_info_for(json_file)+ StorageFile.new(+ id: json_file[:id],+ name: json_file[:name],+ size: json_file[:size],+ mime_type: Util.mime_type(json_file),+ created_at: Time.zone.parse(json_file.dig(:fileSystemInfo, :createdDateTime)),+ last_modified_at: Time.zone.parse(json_file.dig(:fileSystemInfo, :lastModifiedDateTime)),+ created_by_name: json_file.dig(:createdBy, :user, :displayName),+ last_modified_by_name: json_file.dig(:lastModifiedBy, :user, :displayName),+ location: Util.extract_location(json_file[:parentReference], json_file[:name]),+ permissions: %i[readable writeable]+ )+ end++ def payload(folder_path)+ {+ name: folder_path,+ folder: {},+ '@microsoft.graph.conflictBehavior' => "fail"+ }.to_json+ end+ end+ end+ end+ end+enddiff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/internal/drive_item_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/internal/drive_item_query.rbindex 150af97837d..c22e5651334 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/internal/drive_item_query.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/internal/drive_item_query.rb@@ -1,5 +1,33 @@# frozen_string_literal: true+#-- copyright+# OpenProject is an open source project management software.+# Copyright (C) 2012-2023 the OpenProject GmbH+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License version 3.+#+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:+# Copyright (C) 2006-2013 Jean-Philippe Lang+# Copyright (C) 2010-2013 the ChiliProject Team+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License+# as published by the Free Software Foundation; either version 2+# of the License, or (at your option) any later version.+#+# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+#+# See COPYRIGHT and LICENSE files for more details.+#+++module Storagesmodule Peripheralsmodule StorageInteractiondiff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/upload_link_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/upload_link_query.rbindex 6093cb9f888..b0600baf03a 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/upload_link_query.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/upload_link_query.rb@@ -65,16 +65,21 @@ module Storagesenddef handle_response(response)+ error_data = ::Storages::StorageErrorData.new(source: self, payload: response.body)+case response.statuswhen 200..299upload_url = MultiJson.load(response.body, symbolize_keys: true)[:uploadUrl]ServiceResult.success(result: ::Storages::UploadLink.new(URI(upload_url), :put))when 404- ServiceResult.failure(result: :not_found, errors: ::Storages::StorageError.new(code: :not_found))+ ServiceResult.failure(result: :not_found,+ errors: ::Storages::StorageError.new(code: :not_found, data: error_data))when 401- ServiceResult.failure(result: :unauthorized, errors: ::Storages::StorageError.new(code: :unauthorized))+ ServiceResult.failure(result: :unauthorized,+ errors: ::Storages::StorageError.new(code: :unauthorized, data: error_data))else- ServiceResult.failure(result: :error, errors: ::Storages::StorageError.new(code: :error))+ ServiceResult.failure(result: :error,+ errors: ::Storages::StorageError.new(code: :error, data: error_data))endenddiff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/util.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/util.rbindex dfb8a78e479..deee54edf11 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/util.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/util.rb@@ -67,6 +67,14 @@ module Storages::Peripherals::StorageInteraction::OneDrive::UtilFile.join(uri.to_s, *)end+ def using_admin_token(storage)+ oauth_client = storage.oauth_configuration.basic_rack_oauth_client++ token = oauth_client.access_token!(scope: 'https://graph.microsoft.com/.default')++ yield token+ end+def extract_location(parent_reference, file_name = '')location = parent_reference[:path].gsub(/.*root:/, '')diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rbnew file mode 100644index 00000000000..38e946c7cf6--- /dev/null+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb@@ -0,0 +1,63 @@+# frozen_string_literal: true++#-- copyright+# OpenProject is an open source project management software.+# Copyright (C) 2012-2023 the OpenProject GmbH+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License version 3.+#+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:+# Copyright (C) 2006-2013 Jean-Philippe Lang+# Copyright (C) 2010-2013 the ChiliProject Team+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License+# as published by the Free Software Foundation; either version 2+# of the License, or (at your option) any later version.+#+# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+#+# See COPYRIGHT and LICENSE files for more details.+#++++require 'spec_helper'+require_module_spec_helper++RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderCommand, :vcr, :webmock do+ let(:storage) { create(:sharepoint_dev_drive_storage) }+ let(:project) { create(:project) }++ let(:folder_path) { 'Földer CreatedBy Çommand' }++ it 'creates a folder and responds with a success', vcr: 'one_drive/create_folder_base' do+ result = described_class.call(storage:, folder_path:)+ expect(result).to be_success+ expect(result.message).to eq("Folder was successfully created.")++ expect(result.result.name).to eq(folder_path)+ end++ context 'when the folder already exists', vcr: 'one_drive/create_folder_already_exists' do+ before { described_class.call(storage:, folder_path:) }++ it 'returns a failure' do+ 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')+ end+ end+enddiff --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.ymlnew file mode 100644index 00000000000..ddd55e759b3--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_already_exists.yml@@ -0,0 +1,201 @@+---+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.0)+ Authorization:+ - Basic NDI2MmRmMmItNzdiYi00OWMyLWE1ZGYtMjgzNTVkYTY3NmQyOlZ3azhRJTdFSlR1UGgucEFqdlBpV0JRQmRURk1ESyU3RUFJd3hiajlfYXhC+ 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:+ - 8e33aac1-37c1-4017-a9e2-70d8f74ce100+ X-Ms-Ests-Server:+ - 2.1.16942.4 - WEULR1 ProdSlices+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=AtEMJGMJ8w1AnAO_C30VjgmkbDoXAQAAADlEHt0OAAAA; expires=Fri, 26-Jan-2024+ 16:13:45 GMT; path=/; secure; HttpOnly; SameSite=None+ - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly+ - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly+ Date:+ - Wed, 27 Dec 2023 16:13:44 GMT+ Content-Length:+ - '1708'+ body:+ encoding: UTF-8+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"eyJ0eXAiOiJKV1QiLCJub25jZSI6InNyUXA4Z3oweV9aY1ROOUYwMEk3eU84dm5sckcwNGVSYVJ5elE2S0N0OW8iLCJhbGciOiJSUzI1NiIsIng1dCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSIsImtpZCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC80ZDQ0YmYzNi05YjU2LTQ1YzAtODgwNy1iYmYzODZkZDA0N2YvIiwiaWF0IjoxNzAzNjkzMzI1LCJuYmYiOjE3MDM2OTMzMjUsImV4cCI6MTcwMzY5NzIyNSwiYWlvIjoiRTJWZ1lOaDZWT0w3bE1MSUN2ZmZuMmRLZWdYb0FnQT0iLCJhcHBfZGlzcGxheW5hbWUiOiJPcGVuUHJvamVjdCBEZXYgQXBwIiwiYXBwaWQiOiI0MjYyZGYyYi03N2JiLTQ5YzItYTVkZi0yODM1NWRhNjc2ZDIiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC80ZDQ0YmYzNi05YjU2LTQ1YzAtODgwNy1iYmYzODZkZDA0N2YvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI0NGJjNzc5MC1iNjM4LTRlMTYtOWE5Mi04YWJjNDY1MGYyMDYiLCJyaCI6IjAuQVFrQU5yOUVUVmFid0VXSUI3dnpodDBFZndNQUFBQUFBQUFBd0FBQUFBQUFBQUFKQUFBLiIsInJvbGVzIjpbIlNpdGVzLlJlYWQuQWxsIiwiU2l0ZXMuUmVhZFdyaXRlLkFsbCIsIkZpbGVzLlJlYWRXcml0ZS5BbGwiXSwic3ViIjoiNDRiYzc3OTAtYjYzOC00ZTE2LTlhOTItOGFiYzQ2NTBmMjA2IiwidGVuYW50X3JlZ2lvbl9zY29wZSI6IkVVIiwidGlkIjoiNGQ0NGJmMzYtOWI1Ni00NWMwLTg4MDctYmJmMzg2ZGQwNDdmIiwidXRpIjoid2FvempzRTNGMENwNG5EWTkwemhBQSIsInZlciI6IjEuMCIsIndpZHMiOlsiMDk5N2ExZDAtMGQxZC00YWNiLWI0MDgtZDVjYTczMTIxZTkwIl0sInhtc190Y2R0IjoxNDA1NTE0ODYxLCJ4bXNfdGRiciI6IkVVIn0.JvHtQ7Z0lBBqfKFi1uw1Tl2VtLSdoXMUeRum8sdBtM0sbFiSJmXLxx0a3NvGr5ylgv0j6SVjot-Sq8MruLm6z9AyP0tXod2mswDzRIi0y69xoxsvkRYB9fRd93jB0GsL1s1OzjVJxErzXZmFlYeJUwhWA6GHrYJqMNCo_FDlQQPczKa7nUbXXqeow-pwC_wXa7gSjn1eCajqbjprWW33UnwNa456rpofffTUbX2XTpoK6rP2k_j8KG-vnwmPQ27d1fpJSOjRO_hY3zy-mqCePp7BKguJDfqNmAVda2mrBMwztCeIpDWzeWn8CgdogXdFP146WLxaGwrRyGECvDM-IA"}'+ recorded_at: Wed, 27 Dec 2023 16:13:45 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 eyJ0eXAiOiJKV1QiLCJub25jZSI6InNyUXA4Z3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JmMzg2ZGQwNDdmIiwidXRpIjoid2FvempzRTNGMENwNG5EWTkwemhBQSIsInZlciI6IjEuMCIsIndpZHMiOlsiMDk5N2ExZDAtMGQxZC00YWNiLWI0MDgtZDVjYTczMTIxZTkwIl0sInhtc190Y2R0IjoxNDA1NTE0ODYxLCJ4bXNfdGRiciI6IkVVIn0.JvHtQ7Z0lBBqfKFi1uw1Tl2VtLSdoXMUeRum8sdBtM0sbFiSJmXLxx0a3NvGr5ylgv0j6SVjot-Sq8MruLm6z9AyP0tXod2mswDzRIi0y69xoxsvkRYB9fRd93jB0GsL1s1OzjVJxErzXZmFlYeJUwhWA6GHrYJqMNCo_FDlQQPczKa7nUbXXqeow-pwC_wXa7gSjn1eCajqbjprWW33UnwNa456rpofffTUbX2XTpoK6rP2k_j8KG-vnwmPQ27d1fpJSOjRO_hY3zy-mqCePp7BKguJDfqNmAVda2mrBMwztCeIpDWzeWn8CgdogXdFP146WLxaGwrRyGECvDM-IA+ Content-Type:+ - application/json+ Accept-Encoding:+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3+ Accept:+ - "*/*"+ User-Agent:+ - Ruby+ response:+ status:+ code: 409+ message: Conflict+ headers:+ Cache-Control:+ - no-store, no-cache+ Transfer-Encoding:+ - chunked+ Content-Type:+ - application/json+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 4b652d25-8fa5-41ec-a001-c27fd9644d90+ Client-Request-Id:+ - 4b652d25-8fa5-41ec-a001-c27fd9644d90+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"004","RoleInstance":"FR2PEPF000003FC"}}'+ Date:+ - Wed, 27 Dec 2023 16:13:45 GMT+ body:+ encoding: UTF-8+ string: '{"error":{"code":"nameAlreadyExists","message":"Name already exists","innerError":{"date":"2023-12-27T16:13:46","request-id":"4b652d25-8fa5-41ec-a001-c27fd9644d90","client-request-id":"4b652d25-8fa5-41ec-a001-c27fd9644d90"}}}'+ recorded_at: Wed, 27 Dec 2023 16:13:46 GMT+- 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.0)+ Authorization:+ - Basic NDI2MmRmMmItNzdiYi00OWMyLWE1ZGYtMjgzNTVkYTY3NmQyOlZ3azhRJTdFSlR1UGgucEFqdlBpV0JRQmRURk1ESyU3RUFJd3hiajlfYXhC+ 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:+ - 9ff3b2f8-1389-46c4-b579-a7768a940701+ X-Ms-Ests-Server:+ - 2.1.16942.4 - NEULR1 ProdSlices+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=Ajtke6ah5IhJgG1ocwtAHEikbDoXAQAAADpEHt0OAAAA; expires=Fri, 26-Jan-2024+ 16:13:46 GMT; path=/; secure; HttpOnly; SameSite=None+ - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly+ - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly+ Date:+ - Wed, 27 Dec 2023 16:13:46 GMT+ Content-Length:+ - '1708'+ body:+ encoding: UTF-8+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"eyJ0eXAiOiJKV1QiLCJub25jZSI6ImVMMFFkWTYyT2lqN3gzTjVo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iwidXRpIjoiLUxMem40a1R4RWExZWFkMmlwUUhBUSIsInZlciI6IjEuMCIsIndpZHMiOlsiMDk5N2ExZDAtMGQxZC00YWNiLWI0MDgtZDVjYTczMTIxZTkwIl0sInhtc190Y2R0IjoxNDA1NTE0ODYxLCJ4bXNfdGRiciI6IkVVIn0.IinMkUOD6HLjgDei3CSjKexsFsIUt-W2dSf0LZVkT0vGQrMzdDxz5_dqSPtFZj1iL9g26BRvnxXqENNRYV8oTYTXYA33d1Nc7hP8FbSV9fG7-Uv8e3wpgtz6bQVx3BLNwYZMwZ4AARLyjQZeqC8mK4YvutfmgexzdcO2YCgBQ8u5JpeqFn4ytLNSmdcdW6zhsIwOk24k1sGFnSlNVOfMJNRjxm2bPYaN5CxSMHb1iyZImGAcicFPbYsyeiQ4j_s27a02QsucLRriRFVuMfsRHXBtdqlrJHbRBILx4qgh1zzIH40r43nJsM-V8u2jUg4GtLeF4GDuBfzvevdLXoOpXQ"}'+ recorded_at: Wed, 27 Dec 2023 16:13:46 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 eyJ0eXAiOiJKV1QiLCJub25jZSI6ImVMMFFkWTYyT2lqN3gzTjVoa3BtYWVzWXhfY1lxOTZlNERxSmFBU1paNFUiLCJhbGciOiJSUzI1NiIsIng1dCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSIsImtpZCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC80ZDQ0YmYzNi05YjU2LTQ1YzAtODgw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P8FbSV9fG7-Uv8e3wpgtz6bQVx3BLNwYZMwZ4AARLyjQZeqC8mK4YvutfmgexzdcO2YCgBQ8u5JpeqFn4ytLNSmdcdW6zhsIwOk24k1sGFnSlNVOfMJNRjxm2bPYaN5CxSMHb1iyZImGAcicFPbYsyeiQ4j_s27a02QsucLRriRFVuMfsRHXBtdqlrJHbRBILx4qgh1zzIH40r43nJsM-V8u2jUg4GtLeF4GDuBfzvevdLXoOpXQ+ Content-Type:+ - application/json+ Accept-Encoding:+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3+ Accept:+ - "*/*"+ User-Agent:+ - Ruby+ response:+ status:+ code: 409+ message: Conflict+ headers:+ Cache-Control:+ - no-store, no-cache+ Transfer-Encoding:+ - chunked+ Content-Type:+ - application/json+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - 8ce750d0-7450-4767-8471-12889c33a408+ Client-Request-Id:+ - 8ce750d0-7450-4767-8471-12889c33a408+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"FR3PEPF00000160"}}'+ Date:+ - Wed, 27 Dec 2023 16:13:45 GMT+ body:+ encoding: UTF-8+ string: '{"error":{"code":"nameAlreadyExists","message":"Name already exists","innerError":{"date":"2023-12-27T16:13:46","request-id":"8ce750d0-7450-4767-8471-12889c33a408","client-request-id":"8ce750d0-7450-4767-8471-12889c33a408"}}}'+ recorded_at: Wed, 27 Dec 2023 16:13:46 GMT+recorded_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.ymlnew file mode 100644index 00000000000..850c90deedd--- /dev/null+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/create_folder_base.yml@@ -0,0 +1,112 @@+---+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.0)+ Authorization:+ - Basic NDI2MmRmMmItNzdiYi00OWMyLWE1ZGYtMjgzNTVkYTY3NmQyOlZ3azhRJTdFSlR1UGgucEFqdlBpV0JRQmRURk1ESyU3RUFJd3hiajlfYXhC+ 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:+ - 0347be1a-6a20-429e-966c-5cfc7b391e01+ X-Ms-Ests-Server:+ - 2.1.16942.4 - NEULR1 ProdSlices+ X-Xss-Protection:+ - '0'+ Set-Cookie:+ - fpc=AhNy8Oa1jcRBpdgBDHyY49KkbDoXAQAAAIRDHt0OAAAA; expires=Fri, 26-Jan-2024+ 16:10:45 GMT; path=/; secure; HttpOnly; SameSite=None+ - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly+ - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly+ Date:+ - Wed, 27 Dec 2023 16:10:44 GMT+ Content-Length:+ - '1708'+ body:+ encoding: UTF-8+ string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"eyJ0eXAiOiJKV1QiLCJub25jZSI6IjFQdk1DQjBDRXNaeWtTZE9CUVZGU0dMR1dZWlMwM3oyR0dHN2p0YktlR0EiLCJhbGciOiJSUzI1NiIsIng1dCI6IjVCM25SeHRRN2ppOGVOR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MGQxZC00YWNiLWI0MDgtZDVjYTczMTIxZTkwIl0sInhtc190Y2R0IjoxNDA1NTE0ODYxLCJ4bXNfdGRiciI6IkVVIn0.oi9QkQjcZlV0oOoYoGGq8L5rCS3S5GN3blJPcKQtOPfrv2BHvlmLMsjCGBfSV2B3FZm9dSWEeKdIEAQJlpnhUFMiKfbRBF6cQmS0IFaWCVhz9dF3o-YGuAaKN2iUrCpkbZTwNiOMp9sG8xy56QsyauauCjZ8NbBjXnFwBXBfVz0KDAXo29NYSV0injlBKaXq_sPxTx9zGIKfzdT-jBtpeUztKiuq8ST8l3Ok5EnXUFa7QVctFHMl9_GyTGxK6lHRuoDJvc-H73vnp80jn1T-3DAGChPJv2OymYjjSXJYnB0WK9XZzBbn52PH7KXBpMhL3WOb0O1Qe-_gSa1KiGGMbw"}'+ recorded_at: Wed, 27 Dec 2023 16:10:45 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 eyJ0eXAiOiJKV1QiLCJub25jZSI6IjFQdk1DQjBDRXNaeWtTZE9CUVZGU0dMR1dZWlMwM3oyR0dHN2p0YktlR0EiLCJhbGciOiJSUzI1NiIsIng1dCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSIsImtpZCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC80ZDQ0YmYzNi05YjU2LTQ1YzAtODgwNy1iYmYzODZkZDA0N2YvIiwiaWF0IjoxNzAzNjkzMTQ1LCJuYmYiOjE3MDM2OTMxNDUsImV4c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XBfVz0KDAXo29NYSV0injlBKaXq_sPxTx9zGIKfzdT-jBtpeUztKiuq8ST8l3Ok5EnXUFa7QVctFHMl9_GyTGxK6lHRuoDJvc-H73vnp80jn1T-3DAGChPJv2OymYjjSXJYnB0WK9XZzBbn52PH7KXBpMhL3WOb0O1Qe-_gSa1KiGGMbw+ Content-Type:+ - application/json+ Accept-Encoding:+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3+ Accept:+ - "*/*"+ User-Agent:+ - Ruby+ 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+ Etag:+ - '"{12B26273-B344-4411-94EC-30F4648FB4A6},1"'+ Location:+ - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs')/items('root')/children('01AZJL5PLTMKZBERFTCFCJJ3BQ6RSI7NFG')+ Vary:+ - Accept-Encoding+ Strict-Transport-Security:+ - max-age=31536000+ Request-Id:+ - a40b1773-e45b-454e-b050-51fd67463367+ Client-Request-Id:+ - a40b1773-e45b-454e-b050-51fd67463367+ X-Ms-Ags-Diagnostic:+ - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"5","ScaleUnit":"004","RoleInstance":"FR2PEPF000003F0"}}'+ Odata-Version:+ - '4.0'+ Date:+ - Wed, 27 Dec 2023 16:10:44 GMT+ body:+ encoding: UTF-8+ string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2OBb-brzKzZAR4DYT1k9KPXs'')/root/children/$entity","@odata.etag":"\"{12B26273-B344-4411-94EC-30F4648FB4A6},1\"","createdDateTime":"2023-12-27T16:10:45Z","eTag":"\"{12B26273-B344-4411-94EC-30F4648FB4A6},1\"","id":"01AZJL5PLTMKZBERFTCFCJJ3BQ6RSI7NFG","lastModifiedDateTime":"2023-12-27T16:10:45Z","name":"F\u00f6lder+ CreatedBy \u00c7ommand","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/VCR/F%C3%B6lder%20CreatedBy%20%C3%87ommand","cTag":"\"c:{12B26273-B344-4411-94EC-30F4648FB4A6},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":"2023-12-27T16:10:45Z","lastModifiedDateTime":"2023-12-27T16:10:45Z"},"folder":{"childCount":0}}'+ recorded_at: Wed, 27 Dec 2023 16:10:45 GMT+recorded_with: VCR 6.2.0