Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections;
using Microsoft.Extensions.FileProviders;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureBlobDirectoryContents : IDirectoryContents, IEnumerable<AzureBlobFileInfo>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Azure.Storage.Blobs.Models;
using Microsoft.Extensions.FileProviders;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureBlobFileInfo : IFileInfo
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;
public class AzureBlobFileProvider : IFileProvider, IFileSaver
{
private readonly BlobContainerClient _blobContainerClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureBlobOptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Paillave.Etl.Core;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureStorageAccountProviderProcessorAdapter : ProviderProcessorAdapterBase<AzureBlobOptions,
AzureStorageAccountAdapterProviderParameters,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Paillave.Etl.Core;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureStorageAccountFileValue(AzureBlobFileInfo fileInfo)
: FileValueBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Paillave.Etl.Core;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureStorageAccountAdapterProcessorParameters
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.Extensions.FileSystemGlobbing;
using Paillave.Etl.Core;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public class AzureStorageAccountAdapterProviderParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

internal static class BlobExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Extensions.FileProviders;

namespace Paillave.Etl.AzureStorageAccountFileProvider;
namespace Paillave.Etl.AzureStorageAccount;

public interface IFileSaver
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>Paillave.EtlNet.AzureStorageAccountFileProvider</PackageId>
<PackageId>Paillave.EtlNet.AzureStorageAccount</PackageId>
<PackageTags>ETL .net core azure storage account</PackageTags>
<Product>Azure Storage Account extensions</Product>
<Description>Extensions for Etl.Net to get of write files to Azure Storage Account</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Paillave.Etl.sln
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Paillave.Etl.Http", "Pailla
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Paillave.Etl.XmlFileTests", "Paillave.Etl.XmlFileTests\Paillave.Etl.XmlFileTests.csproj", "{D3F4F6F9-F964-436D-8C16-4FEFD97F2EEE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Paillave.Etl.AzureStorageAccountFileProvider", "Paillave.Etl.AzureStorageAccountFileProvider\Paillave.Etl.AzureStorageAccountFileProvider.csproj", "{01C62EAC-96DF-488A-83AF-6CCA87A8F3CE}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Paillave.Etl.AzureStorageAccount", "Paillave.Etl.AzureStorageAccount\Paillave.Etl.AzureStorageAccount.csproj", "{01C62EAC-96DF-488A-83AF-6CCA87A8F3CE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Paillave.Etl.Pgp", "Paillave.Etl.Pgp\Paillave.Etl.Pgp.csproj", "{98FCFFD8-5809-49B6-AEB6-1C1325A68584}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected override IStream<TOut> CreateOutputStream(WithPreviousArgs<TIn, TOut>
.Scan<TIn, (FixedQueue<TIn> Queue, TIn[] Items)>((new FixedQueue<TIn>(args.Count), new TIn[] { }), (a, v) =>
{
a.Queue.Enqueue(v);
return (a.Queue, a.Queue.ToArray().Reverse().ToArray());
return (a.Queue, Enumerable.Reverse(a.Queue.ToArray()).ToArray());
})
.Map(i => args.GetResult(i.Items));
return base.CreateUnsortedStream(obs);
Expand All @@ -47,7 +47,7 @@ protected override IStream<Correlated<TOut>> CreateOutputStream(WithPreviousCorr
a.Queue.Enqueue(v);
return (
a.Queue,
a.Queue.ToArray().Reverse().Select(i => i.Row).ToArray(),
Enumerable.Reverse(a.Queue.ToArray()).Select(i => i.Row).ToArray(),
a.Queue.ToArray().SelectMany(i => i.CorrelationKeys).ToHashSet());
})
.Map(i => new Correlated<TOut>
Expand Down
2 changes: 1 addition & 1 deletion src/SharedSettings.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<Version>2.3.15-beta.0</Version>
<Version>2.3.16-beta.0</Version>
<PackageIcon>NugetIcon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>Stéphane Royer</Authors>
Expand Down
Loading