robinrodricks / FluentStorage

A polycloud .NET cloud storage abstraction layer. Provides Blob storage (AWS S3, GCP, FTP, SFTP, Azure Blob/File/Event Hub/Data Lake) and Messaging (AWS SQS, Azure Queue/ServiceBus). Supports .NET 5+ and .NET Standard 2.0+. Pure C#.
MIT License
263 stars 33 forks source link

Fix for issue #21 - serviceURl in connection string #63

Closed NickHarmer closed 3 months ago

NickHarmer commented 5 months ago

Fixes

Issue #21 - what about MinIO?

Description

Adds support for specifying a serviceUrl parameter in the Aws.S3 connection string. Sanity check included to ensure region and serviceUrl are not specified together. New KnownParameter enum created for serviceUrl

Additional check added in AwsS3BlobStorage.cs to prevent an intermittent exception when querying S3 metadata

robinrodricks commented 3 months ago

Released

https://www.nuget.org/packages/FluentStorage.AWS/5.3.0

andsala commented 3 months ago

This feature cannot be used until a new version of https://www.nuget.org/packages/FluentStorage is released because the KnownParameter.ServiceUrl property resides in the FluentStorage main assembly.

At the moment it throws this Exception System.MissingFieldException: Field not found: 'FluentStorage.KnownParameter.ServiceUrl'.

robinrodricks commented 3 months ago

Can you check it now @andsala ?

https://www.nuget.org/packages/FluentStorage/5.4.3

andsala commented 3 months ago

Thank you fore the super fast fix, it works now!

robinrodricks commented 3 months ago

Great!