From 319417449ce1efb58f65c3960ccae19a82e587a7 Mon Sep 17 00:00:00 2001 From: Mohammad Moattar Date: Mon, 2 Jan 2023 23:19:59 +0000 Subject: [PATCH] Prepare the migration for the first release (#1) * Initial port from Easify * Prepare solution for an initial release * Update the build * Change the codeql analysis --- .github/workflows/ci.yml | 14 +++--- .github/workflows/codeql-analysis.yml | 40 +++++++++------- .github/workflows/release.yml | 11 +++-- GitVersion.yml | 9 ++++ README.md | 22 ++++----- .../Easify.Exports.Agent.UnitTests.csproj | 31 ------------ .../Easify.Exports.Agent.csproj | 26 ---------- .../Easify.Exports.Autofac.csproj | 25 ---------- .../Easify.Exports.Client.UnitTests.csproj | 29 ------------ .../Easify.Exports.Client.csproj | 26 ---------- .../Easify.Exports.Common.csproj | 21 --------- .../CsvStorageExporterTests.cs | 16 +++---- .../CsvStorageGroupExporterTests.cs | 16 +++---- .../CsvStorageGroupItemExporterTests.cs | 12 ++--- .../CsvStorageGroupViewExporterTests.cs | 12 ++--- .../ExporterRegistryTests.cs | 18 +++---- ...ittleBlocks.Exports.Agent.UnitTests.csproj | 34 ++++++++++++++ .../Notifications/FailResultTests.cs | 8 ++-- .../Notifications/SuccessResultTests.cs | 8 ++-- .../WebHookNotifierBuilderTests.cs | 12 ++--- .../ServiceCollectionExtensionsTests.cs | 17 +++---- .../CsvStorageExporter.cs | 16 +++---- .../CsvStorageGroupExporter.cs | 16 +++---- .../CsvStorageGroupItemExporter.cs | 12 ++--- .../CsvStorageGroupViewExporter.cs | 12 ++--- .../ExporterBase.cs | 16 +++---- .../ExporterRegistry.cs | 10 ++-- .../IExporter.cs | 10 ++-- .../IExporterBuilder.cs | 6 +-- .../IExporterRegistry.cs | 8 ++-- .../IGroupItemExporter.cs | 10 ++-- .../LittleBlocks.Exports.Agent.csproj | 19 ++++++++ .../Notifications/IReportNotifier.cs | 6 +-- .../Notifications/IReportNotifierBuilder.cs | 8 ++-- .../Notifications/WebHookNotifierBuilder.cs | 8 ++-- .../Notifications/WebHookReportNotifier.cs | 8 ++-- .../ServiceCollectionExtensions.cs | 8 ++-- .../ViewExportResult.cs | 6 +-- .../ContainerBuilderExtensions.cs | 14 +++--- .../LittleBlocks.Exports.Autofac.csproj | 21 +++++++++ .../ExporterClientBuilderTests.cs | 12 ++--- ...ttleBlocks.Exports.Client.UnitTests.csproj | 32 +++++++++++++ .../ServiceCollectionExtensionsTests.cs | 13 ++--- .../Exceptions/DuplicateExporterException.cs | 6 +-- .../Exceptions/ExporterNotFoundException.cs | 6 +-- .../Exceptions/InvalidUrlFormatException.cs | 6 +-- .../ExporterClientBuilder.cs | 8 ++-- .../IExporterClient.cs | 10 ++-- .../IExporterClientBuilder.cs | 6 +-- .../IExporterClientRegistry.cs | 6 +-- .../LittleBlocks.Exports.Client.csproj | 22 +++++++++ .../ServiceCollectionExtensions.cs | 6 +-- .../ExportExecutionContext.cs | 6 +-- .../ExportExecutionResult.cs | 6 +-- .../ExportMetadata.cs | 6 +-- .../FailNotification.cs | 6 +-- .../IExportNotification.cs | 6 +-- .../IExporterController.cs | 6 +-- .../LittleBlocks.Exports.Common.csproj | 17 +++++++ .../SuccessNotification.cs | 6 +-- ...ileGenerationWithServiceCollectionTests.cs | 14 +++--- ...tleBlocks.Exports.IntegrationTests.csproj} | 29 +++++++----- .../Setup/AutofacResolver.cs | 8 ++-- .../Setup/IResolver.cs | 6 +-- .../Setup/SampleEntity.cs | 6 +-- .../Setup/SampleEntityMap.cs | 6 +-- .../Setup/ServiceProviderResolver.cs | 6 +-- .../appsettings.json | 0 .../Csv/CsvContextMapRegistryTests.cs | 10 ++-- .../Csv/CsvExportConfigurationBuilderTests.cs | 14 +++--- .../Csv/CsvExportPathBuilderTests.cs | 10 ++-- .../Csv/CsvFileExporterTests.cs | 14 +++--- .../Csv/CsvFileWriterTests.cs | 20 ++++---- .../Csv/ExportResultTests.cs | 8 ++-- .../LittleBlocks.Exports.UnitTests.csproj} | 25 +++++----- .../ServiceCollectionExtensionsTests.cs | 10 ++-- .../Setup/SampleEntity.cs | 6 +-- .../Setup/SampleEntityMap.cs | 6 +-- .../Storage/BucketOptionsTests.cs | 8 ++-- .../Storage/CsvStorageTargetResolverTests.cs | 10 ++-- .../Storage/CsvStorageTargetTests.cs | 10 ++-- ...y.Exports.sln => LittleBlocks.Exports.sln} | 47 ++++++++++--------- .../Csv/CsvContextMapRegistry.cs | 6 +-- .../Csv/CsvExportConfiguration.cs | 8 ++-- .../Csv/CsvExportConfigurationBuilder.cs | 6 +-- .../Csv/CsvFileExporter.cs | 8 ++-- .../Csv/CsvFileWriter.cs | 10 ++-- .../Csv/CvsContextExtensions.cs | 6 +-- .../Csv/DateBasedExportFileNameBuilder.cs | 6 +-- .../Csv/ExportResult.cs | 6 +-- .../Csv/ICsvContextMapRegistry.cs | 6 +-- .../Csv/ICsvContextMapResolver.cs | 6 +-- .../Csv/ICsvExportConfigurationBuilder.cs | 6 +-- .../Csv/ICsvFileWriter.cs | 6 +-- .../Csv/IExportFileNameBuilder.cs | 6 +-- .../Csv/StorageTargetException.cs | 6 +-- .../ExporterDefaults.cs | 6 +-- .../ExporterMetadata.cs | 8 ++-- .../ExporterOptions.cs | 10 ++-- .../Extensions/ObjectExtensions.cs | 6 +-- .../IFileExporter.cs | 8 ++-- .../LittleBlocks.Exports.csproj} | 26 +++++----- .../ServiceCollectionExtensions.cs | 16 +++---- .../Storage/CsvStorageTargetResolver.cs | 6 +-- .../Fluent/AzureBlobs/BlobAzureAdOptions.cs | 6 +-- .../Fluent/AzureBlobs/BlobSharedKeyOptions.cs | 6 +-- .../Storage/Fluent/AzureBlobs/IAmInTenant.cs | 6 +-- .../AzureBlobs/IAuthenticateWithAzureAd.cs | 6 +-- .../AzureBlobs/IAuthenticateWithSharedKey.cs | 6 +-- .../Fluent/AzureBlobs/IHaveAzureAdAccount.cs | 6 +-- .../AzureBlobs/IHaveSharedKeyAccount.cs | 6 +-- .../Storage/Fluent/S3/BucketOptions.cs | 8 ++-- .../Fluent/S3/BucketOptionsExtensions.cs | 6 +-- .../Storage/Fluent/S3/Fluent/IAmInRegion.cs | 6 +-- .../Storage/Fluent/S3/Fluent/IHaveProfile.cs | 6 +-- .../Storage/Fluent/S3/Fluent/INeedBucket.cs | 6 +-- .../Fluent/S3/InvalidAwsProfileException.cs | 6 +-- .../Storage/GenericCsvStorageTarget.cs | 6 +-- .../Storage/ICsvStorageTarget.cs | 6 +-- .../Storage/ICsvStorageTargetResolver.cs | 6 +-- .../Storage/LocalDiskCsvStorageTarget.cs | 6 +-- .../Storage/StorageTarget.cs | 6 +-- .../Storage/StorageTargetNotFoundException.cs | 6 +-- .../Storage/StorageTargetType.cs | 6 +-- 124 files changed, 699 insertions(+), 687 deletions(-) create mode 100644 GitVersion.yml delete mode 100644 src/Easify.Exports.Agent.UnitTests/Easify.Exports.Agent.UnitTests.csproj delete mode 100644 src/Easify.Exports.Agent/Easify.Exports.Agent.csproj delete mode 100644 src/Easify.Exports.Autofac/Easify.Exports.Autofac.csproj delete mode 100644 src/Easify.Exports.Client.UnitTests/Easify.Exports.Client.UnitTests.csproj delete mode 100644 src/Easify.Exports.Client/Easify.Exports.Client.csproj delete mode 100644 src/Easify.Exports.Common/Easify.Exports.Common.csproj rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/CsvStorageExporterTests.cs (95%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/CsvStorageGroupExporterTests.cs (96%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/CsvStorageGroupItemExporterTests.cs (95%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/CsvStorageGroupViewExporterTests.cs (96%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/ExporterRegistryTests.cs (92%) create mode 100644 src/LittleBlocks.Exports.Agent.UnitTests/LittleBlocks.Exports.Agent.UnitTests.csproj rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/Notifications/FailResultTests.cs (87%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/Notifications/SuccessResultTests.cs (87%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/Notifications/WebHookNotifierBuilderTests.cs (82%) rename src/{Easify.Exports.Agent.UnitTests => LittleBlocks.Exports.Agent.UnitTests}/ServiceCollectionExtensionsTests.cs (91%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/CsvStorageExporter.cs (90%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/CsvStorageGroupExporter.cs (93%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/CsvStorageGroupItemExporter.cs (91%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/CsvStorageGroupViewExporter.cs (93%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/ExporterBase.cs (91%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/ExporterRegistry.cs (90%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/IExporter.cs (80%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/IExporterBuilder.cs (85%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/IExporterRegistry.cs (84%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/IGroupItemExporter.cs (81%) create mode 100644 src/LittleBlocks.Exports.Agent/LittleBlocks.Exports.Agent.csproj rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/Notifications/IReportNotifier.cs (84%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/Notifications/IReportNotifierBuilder.cs (81%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/Notifications/WebHookNotifierBuilder.cs (83%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/Notifications/WebHookReportNotifier.cs (89%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/ServiceCollectionExtensions.cs (89%) rename src/{Easify.Exports.Agent => LittleBlocks.Exports.Agent}/ViewExportResult.cs (86%) rename src/{Easify.Exports.Autofac => LittleBlocks.Exports.Autofac}/ContainerBuilderExtensions.cs (94%) create mode 100644 src/LittleBlocks.Exports.Autofac/LittleBlocks.Exports.Autofac.csproj rename src/{Easify.Exports.Client.UnitTests => LittleBlocks.Exports.Client.UnitTests}/ExporterClientBuilderTests.cs (94%) create mode 100644 src/LittleBlocks.Exports.Client.UnitTests/LittleBlocks.Exports.Client.UnitTests.csproj rename src/{Easify.Exports.Client.UnitTests => LittleBlocks.Exports.Client.UnitTests}/ServiceCollectionExtensionsTests.cs (88%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/Exceptions/DuplicateExporterException.cs (85%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/Exceptions/ExporterNotFoundException.cs (85%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/Exceptions/InvalidUrlFormatException.cs (85%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/ExporterClientBuilder.cs (92%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/IExporterClient.cs (84%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/IExporterClientBuilder.cs (85%) rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/IExporterClientRegistry.cs (85%) create mode 100644 src/LittleBlocks.Exports.Client/LittleBlocks.Exports.Client.csproj rename src/{Easify.Exports.Client => LittleBlocks.Exports.Client}/ServiceCollectionExtensions.cs (92%) rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/ExportExecutionContext.cs (91%) rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/ExportExecutionResult.cs (88%) rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/ExportMetadata.cs (91%) rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/FailNotification.cs (90%) rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/IExportNotification.cs (84%) rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/IExporterController.cs (87%) create mode 100644 src/LittleBlocks.Exports.Common/LittleBlocks.Exports.Common.csproj rename src/{Easify.Exports.Common => LittleBlocks.Exports.Common}/SuccessNotification.cs (91%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/CsvFileGenerationWithServiceCollectionTests.cs (97%) rename src/{Easify.Exports.IntegrationTests/Easify.Exports.IntegrationTests.csproj => LittleBlocks.Exports.IntegrationTests/LittleBlocks.Exports.IntegrationTests.csproj} (60%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/Setup/AutofacResolver.cs (88%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/Setup/IResolver.cs (83%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/Setup/SampleEntity.cs (85%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/Setup/SampleEntityMap.cs (85%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/Setup/ServiceProviderResolver.cs (89%) rename src/{Easify.Exports.IntegrationTests => LittleBlocks.Exports.IntegrationTests}/appsettings.json (100%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Csv/CsvContextMapRegistryTests.cs (89%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Csv/CsvExportConfigurationBuilderTests.cs (90%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Csv/CsvExportPathBuilderTests.cs (89%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Csv/CsvFileExporterTests.cs (94%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Csv/CsvFileWriterTests.cs (93%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Csv/ExportResultTests.cs (89%) rename src/{Easify.Exports.UnitTests/Easify.Exports.UnitTests.csproj => LittleBlocks.Exports.UnitTests/LittleBlocks.Exports.UnitTests.csproj} (55%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/ServiceCollectionExtensionsTests.cs (93%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Setup/SampleEntity.cs (84%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Setup/SampleEntityMap.cs (86%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Storage/BucketOptionsTests.cs (86%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Storage/CsvStorageTargetResolverTests.cs (89%) rename src/{Easify.Exports.UnitTests => LittleBlocks.Exports.UnitTests}/Storage/CsvStorageTargetTests.cs (87%) rename src/{Easify.Exports.sln => LittleBlocks.Exports.sln} (75%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/CsvContextMapRegistry.cs (90%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/CsvExportConfiguration.cs (86%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/CsvExportConfigurationBuilder.cs (95%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/CsvFileExporter.cs (95%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/CsvFileWriter.cs (96%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/CvsContextExtensions.cs (92%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/DateBasedExportFileNameBuilder.cs (89%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/ExportResult.cs (93%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/ICsvContextMapRegistry.cs (86%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/ICsvContextMapResolver.cs (85%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/ICsvExportConfigurationBuilder.cs (85%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/ICsvFileWriter.cs (87%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/IExportFileNameBuilder.cs (85%) rename src/{Easify.Exports => LittleBlocks.Exports}/Csv/StorageTargetException.cs (91%) rename src/{Easify.Exports => LittleBlocks.Exports}/ExporterDefaults.cs (87%) rename src/{Easify.Exports => LittleBlocks.Exports}/ExporterMetadata.cs (85%) rename src/{Easify.Exports => LittleBlocks.Exports}/ExporterOptions.cs (88%) rename src/{Easify.Exports => LittleBlocks.Exports}/Extensions/ObjectExtensions.cs (88%) rename src/{Easify.Exports => LittleBlocks.Exports}/IFileExporter.cs (85%) rename src/{Easify.Exports/Easify.Exports.csproj => LittleBlocks.Exports/LittleBlocks.Exports.csproj} (51%) rename src/{Easify.Exports => LittleBlocks.Exports}/ServiceCollectionExtensions.cs (95%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/CsvStorageTargetResolver.cs (90%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs (91%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs (88%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/IAmInTenant.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs (84%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/S3/BucketOptions.cs (88%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/S3/BucketOptionsExtensions.cs (94%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/S3/Fluent/IAmInRegion.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/S3/Fluent/IHaveProfile.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/S3/Fluent/INeedBucket.cs (83%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/Fluent/S3/InvalidAwsProfileException.cs (85%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/GenericCsvStorageTarget.cs (94%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/ICsvStorageTarget.cs (87%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/ICsvStorageTargetResolver.cs (85%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/LocalDiskCsvStorageTarget.cs (93%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/StorageTarget.cs (86%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/StorageTargetNotFoundException.cs (86%) rename src/{Easify.Exports => LittleBlocks.Exports}/Storage/StorageTargetType.cs (85%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ee8131..eac2160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,15 +2,15 @@ name: CI on Branches and PRs on: workflow_dispatch: - branches-ignore: [ master ] + branches-ignore: [master] paths: "src/**" push: - branches-ignore: [ master ] + branches-ignore: [master] paths: "src/**" pull_request: - branches: [ master ] + branches: [master] paths: "src/**" jobs: @@ -24,11 +24,11 @@ jobs: - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.7 with: - versionSpec: "5.5.x" + versionSpec: "5.8.x" - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v2 with: - dotnet-version: "3.1.x" + dotnet-version: "6.0.x" - name: Install dependencies run: dotnet restore src - name: Use GitVersion @@ -49,6 +49,6 @@ jobs: name: nuget-packages path: "**/*.nupkg" - name: Configure github as Package Repository - run: dotnet nuget add source https://nuget.pkg.github.com/icgam/index.json -n "github" + run: dotnet nuget add source https://nuget.pkg.github.com/LittleBlocks/index.json -n "github" - name: Publish the package to GitHub Packages run: dotnet nuget push "**/*.nupkg" -s "github" -k ${{ secrets.GITHUB_TOKEN }} --skip-duplicate diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c3f12b8..e853779 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -3,43 +3,47 @@ # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# name: "CodeQL" on: push: - branches: [ master ] + branches: [master] + paths: + - "src/**" pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [master] + paths: + - "src/**" schedule: - - cron: '32 4 * * 3' + - cron: '0 13 * * 0' jobs: analyze: name: Analyze runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write strategy: fail-fast: false matrix: - language: [ ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + # Override automatic language detection by changing the below list + # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] + language: ['csharp'] + # Learn more... + # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection steps: - name: Checkout repository uses: actions/checkout@v2 + with: + # We must fetch at least the immediate parents so that if this is + # a pull request then we can checkout the head. + fetch-depth: 2 + + # If this run was triggered by a pull request event, then checkout + # the head of the pull request instead of the merge commit. + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'pull_request' }} # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -47,7 +51,7 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1308177..e6229f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,11 @@ name: Release build on master/main on: + workflow_dispatch: + branches: [master] + paths: "src/**" push: - branches: [ master ] + branches: [master] paths: "src/**" jobs: @@ -16,11 +19,11 @@ jobs: - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.7 with: - versionSpec: "5.5.x" + versionSpec: "5.8.x" - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v2 with: - dotnet-version: "3.1.x" + dotnet-version: "6.0.x" - name: Install dependencies run: dotnet restore src - name: Use GitVersion diff --git a/GitVersion.yml b/GitVersion.yml new file mode 100644 index 0000000..5cb6811 --- /dev/null +++ b/GitVersion.yml @@ -0,0 +1,9 @@ +next-version: 1.0.0 +mode: Mainline +major-version-bump-message: '\+semver:\s?(breaking|major)' +minor-version-bump-message: '\+semver:\s?(feature|minor)' +patch-version-bump-message: '\+semver:\s?(fix|patch)' +no-bump-message: '\+semver:\s?(none|skip)' +ignore: + commits-before: 2023-01-01T00:00:00 + diff --git a/README.md b/README.md index 26ee109..3306d0e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Easify Exports +# LittleBlocks Exports -The repo contains a series of Easify componenets which are providing the export functionality of any data source to CsV files targeted to +The repo contains a series of LittleBlocks componenets which are providing the export functionality of any data source to CsV files targeted to - S3, - Azure Blob - File Share @@ -20,13 +20,13 @@ The client library provides the common structure which is shared between Domain The client library contains all the registration and client access library for the scheduler to talk to Exporters in different domain API. ```cmd -dotnet add package Easify.Exports.Client +dotnet add package LittleBlocks.Exports.Client ``` or ```cmd -Install-Package Easify.Exports.Client +Install-Package LittleBlocks.Exports.Client ``` The **AddExporterBuilder** extension method will help with registering the required exporters @@ -56,13 +56,13 @@ builder.Build("name of the client") The Agent library contains all the registration and base services to provides Export functionality to each domains. ```cmd -dotnet add package Easify.Exports.Agent +dotnet add package LittleBlocks.Exports.Agent ``` or ```cmd -Install-Package Easify.Exports.Agent +Install-Package LittleBlocks.Exports.Agent ``` Adding exporters metadata to the configuration will help to define multiple target source for the exporter so the exporter can export the files in multiple location. @@ -201,9 +201,9 @@ The library provides a BlobStorage interface to underlying store such as S3 Buck It can be setup with installing the following package: ```cmd -dotnet add package Easify.Exports +dotnet add package LittleBlocks.Exports or -Install-Package Easify.Exports +Install-Package LittleBlocks.Exports ``` The following setup, register the related classes and configuration for S3 bucket store @@ -233,7 +233,7 @@ Then by injecting **IBlobStorage**, you can work with the underlying store for c > **NOTE #1:** There are other extensions such as _AddLocalDiskStorage_ or _AddInMemoryStorage_ available for local file storage or even in memory which is suitable for unit and integration testing. -> **NOTE #2:** The same extensions have been provided for Autofac which is provided in _Easify.Exports.Autofac_ package. +> **NOTE #2:** The same extensions have been provided for Autofac which is provided in _LittleBlocks.Exports.Autofac_ package. ### Csv Export @@ -242,9 +242,9 @@ The csv facilities, enable the users to export a list of objects to a CSv repres To enable this for an application, install the package ```cmd -dotnet add package Easify.Exports +dotnet add package LittleBlocks.Exports or -Install-Package Easify.Exports +Install-Package LittleBlocks.Exports ``` Now by setting up the Csv related set of classes in the container, It can be used by calling applications: diff --git a/src/Easify.Exports.Agent.UnitTests/Easify.Exports.Agent.UnitTests.csproj b/src/Easify.Exports.Agent.UnitTests/Easify.Exports.Agent.UnitTests.csproj deleted file mode 100644 index acf925a..0000000 --- a/src/Easify.Exports.Agent.UnitTests/Easify.Exports.Agent.UnitTests.csproj +++ /dev/null @@ -1,31 +0,0 @@ - - - - netcoreapp3.1 - - false - - 9 - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - diff --git a/src/Easify.Exports.Agent/Easify.Exports.Agent.csproj b/src/Easify.Exports.Agent/Easify.Exports.Agent.csproj deleted file mode 100644 index aca7850..0000000 --- a/src/Easify.Exports.Agent/Easify.Exports.Agent.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - netstandard2.0 - Easify.Exports.Agent - Mohammad Moattar, Lewis Percival - true - 9 - https://github.com/icgam/Easify.Exports - https://github.com/icgam/Easify.Exports - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - diff --git a/src/Easify.Exports.Autofac/Easify.Exports.Autofac.csproj b/src/Easify.Exports.Autofac/Easify.Exports.Autofac.csproj deleted file mode 100644 index 68b8e91..0000000 --- a/src/Easify.Exports.Autofac/Easify.Exports.Autofac.csproj +++ /dev/null @@ -1,25 +0,0 @@ - - - - netstandard2.0 - true - Easify.Exports.Autofac - Mohammad Moattar - 9 - https://github.com/icgam/Easify.Exports - https://github.com/icgam/Easify.Exports - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - diff --git a/src/Easify.Exports.Client.UnitTests/Easify.Exports.Client.UnitTests.csproj b/src/Easify.Exports.Client.UnitTests/Easify.Exports.Client.UnitTests.csproj deleted file mode 100644 index b1c62b2..0000000 --- a/src/Easify.Exports.Client.UnitTests/Easify.Exports.Client.UnitTests.csproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - netcoreapp3.1 - - false - - 9 - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - diff --git a/src/Easify.Exports.Client/Easify.Exports.Client.csproj b/src/Easify.Exports.Client/Easify.Exports.Client.csproj deleted file mode 100644 index 8d4c261..0000000 --- a/src/Easify.Exports.Client/Easify.Exports.Client.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - netstandard2.0 - true - Easify.Exports.Client - Mohammad Moattar, Lewis Percival - 9 - https://github.com/icgam/Easify.Exports - https://github.com/icgam/Easify.Exports - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - diff --git a/src/Easify.Exports.Common/Easify.Exports.Common.csproj b/src/Easify.Exports.Common/Easify.Exports.Common.csproj deleted file mode 100644 index d523c7a..0000000 --- a/src/Easify.Exports.Common/Easify.Exports.Common.csproj +++ /dev/null @@ -1,21 +0,0 @@ - - - - netstandard2.0 - true - Easify.Exports.Common - Mohammad Moattar, Lewis Percival - 9 - https://github.com/icgam/Easify.Exports - https://github.com/icgam/Easify.Exports - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - diff --git a/src/Easify.Exports.Agent.UnitTests/CsvStorageExporterTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageExporterTests.cs similarity index 95% rename from src/Easify.Exports.Agent.UnitTests/CsvStorageExporterTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageExporterTests.cs index aa55423..6e11c58 100644 --- a/src/Easify.Exports.Agent.UnitTests/CsvStorageExporterTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageExporterTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,16 +18,16 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Common; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; -namespace Easify.Exports.Agent.UnitTests +namespace LittleBlocks.Exports.Agent.UnitTests { public class CsvStorageExporterTests : IClassFixture { diff --git a/src/Easify.Exports.Agent.UnitTests/CsvStorageGroupExporterTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupExporterTests.cs similarity index 96% rename from src/Easify.Exports.Agent.UnitTests/CsvStorageGroupExporterTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupExporterTests.cs index 72dc7fe..e76d6e5 100644 --- a/src/Easify.Exports.Agent.UnitTests/CsvStorageGroupExporterTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupExporterTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,17 +18,17 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Common; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using Microsoft.Extensions.Logging; using NSubstitute; using NSubstitute.ExceptionExtensions; using Xunit; -namespace Easify.Exports.Agent.UnitTests +namespace LittleBlocks.Exports.Agent.UnitTests { public class CsvStorageGroupExporterTests : IClassFixture { diff --git a/src/Easify.Exports.Agent.UnitTests/CsvStorageGroupItemExporterTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupItemExporterTests.cs similarity index 95% rename from src/Easify.Exports.Agent.UnitTests/CsvStorageGroupItemExporterTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupItemExporterTests.cs index 0bb3196..827f814 100644 --- a/src/Easify.Exports.Agent.UnitTests/CsvStorageGroupItemExporterTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupItemExporterTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,15 +18,15 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using FluentAssertions; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; -namespace Easify.Exports.Agent.UnitTests +namespace LittleBlocks.Exports.Agent.UnitTests { public class CsvStorageGroupItemExporterTests : IClassFixture { diff --git a/src/Easify.Exports.Agent.UnitTests/CsvStorageGroupViewExporterTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupViewExporterTests.cs similarity index 96% rename from src/Easify.Exports.Agent.UnitTests/CsvStorageGroupViewExporterTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupViewExporterTests.cs index 4dff7a7..b3ed72f 100644 --- a/src/Easify.Exports.Agent.UnitTests/CsvStorageGroupViewExporterTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/CsvStorageGroupViewExporterTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,15 +18,15 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using FluentAssertions; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; -namespace Easify.Exports.Agent.UnitTests +namespace LittleBlocks.Exports.Agent.UnitTests { public class CsvStorageGroupViewExporterTests : IClassFixture { diff --git a/src/Easify.Exports.Agent.UnitTests/ExporterRegistryTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/ExporterRegistryTests.cs similarity index 92% rename from src/Easify.Exports.Agent.UnitTests/ExporterRegistryTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/ExporterRegistryTests.cs index baf24a2..8643597 100644 --- a/src/Easify.Exports.Agent.UnitTests/ExporterRegistryTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/ExporterRegistryTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,18 +19,18 @@ using System.Linq; using System.Threading.Tasks; using AutoFixture.Xunit2; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Client.Exceptions; -using Easify.Exports.Common; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Client.Exceptions; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using FluentAssertions; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; -namespace Easify.Exports.Agent.UnitTests +namespace LittleBlocks.Exports.Agent.UnitTests { public class ExporterRegistryTests { diff --git a/src/LittleBlocks.Exports.Agent.UnitTests/LittleBlocks.Exports.Agent.UnitTests.csproj b/src/LittleBlocks.Exports.Agent.UnitTests/LittleBlocks.Exports.Agent.UnitTests.csproj new file mode 100644 index 0000000..da99c60 --- /dev/null +++ b/src/LittleBlocks.Exports.Agent.UnitTests/LittleBlocks.Exports.Agent.UnitTests.csproj @@ -0,0 +1,34 @@ + + + + net6.0 + + false + + default + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + diff --git a/src/Easify.Exports.Agent.UnitTests/Notifications/FailResultTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/Notifications/FailResultTests.cs similarity index 87% rename from src/Easify.Exports.Agent.UnitTests/Notifications/FailResultTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/Notifications/FailResultTests.cs index 56af014..6b8ada6 100644 --- a/src/Easify.Exports.Agent.UnitTests/Notifications/FailResultTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/Notifications/FailResultTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,11 +16,11 @@ // using System; -using Easify.Exports.Common; +using LittleBlocks.Exports.Common; using FluentAssertions; using Xunit; -namespace Easify.Exports.Agent.UnitTests.Notifications +namespace LittleBlocks.Exports.Agent.UnitTests.Notifications { public class FailResultTests { diff --git a/src/Easify.Exports.Agent.UnitTests/Notifications/SuccessResultTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/Notifications/SuccessResultTests.cs similarity index 87% rename from src/Easify.Exports.Agent.UnitTests/Notifications/SuccessResultTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/Notifications/SuccessResultTests.cs index 33823bc..7c428d3 100644 --- a/src/Easify.Exports.Agent.UnitTests/Notifications/SuccessResultTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/Notifications/SuccessResultTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,11 +16,11 @@ // using System; -using Easify.Exports.Common; +using LittleBlocks.Exports.Common; using FluentAssertions; using Xunit; -namespace Easify.Exports.Agent.UnitTests.Notifications +namespace LittleBlocks.Exports.Agent.UnitTests.Notifications { public class SuccessResultTests { diff --git a/src/Easify.Exports.Agent.UnitTests/Notifications/WebHookNotifierBuilderTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/Notifications/WebHookNotifierBuilderTests.cs similarity index 82% rename from src/Easify.Exports.Agent.UnitTests/Notifications/WebHookNotifierBuilderTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/Notifications/WebHookNotifierBuilderTests.cs index 2a21041..1260f53 100644 --- a/src/Easify.Exports.Agent.UnitTests/Notifications/WebHookNotifierBuilderTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/Notifications/WebHookNotifierBuilderTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,13 +16,13 @@ // using System; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Common; -using Easify.Testing; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Common; +using LittleBlocks.Testing; using FluentAssertions; using Xunit; -namespace Easify.Exports.Agent.UnitTests.Notifications +namespace LittleBlocks.Exports.Agent.UnitTests.Notifications { public class WebHookNotifierBuilderTests { diff --git a/src/Easify.Exports.Agent.UnitTests/ServiceCollectionExtensionsTests.cs b/src/LittleBlocks.Exports.Agent.UnitTests/ServiceCollectionExtensionsTests.cs similarity index 91% rename from src/Easify.Exports.Agent.UnitTests/ServiceCollectionExtensionsTests.cs rename to src/LittleBlocks.Exports.Agent.UnitTests/ServiceCollectionExtensionsTests.cs index a9c87de..2530274 100644 --- a/src/Easify.Exports.Agent.UnitTests/ServiceCollectionExtensionsTests.cs +++ b/src/LittleBlocks.Exports.Agent.UnitTests/ServiceCollectionExtensionsTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,17 +19,17 @@ using System.Collections.Generic; using System.Security.Principal; using System.Threading.Tasks; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Client; -using Easify.Exports.Common; -using Easify.Http; -using Easify.RestEase; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Client; +using LittleBlocks.Exports.Common; +using LittleBlocks.Http; +using LittleBlocks.RestEase; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Xunit; -namespace Easify.Exports.Agent.UnitTests +namespace LittleBlocks.Exports.Agent.UnitTests { public class ServiceCollectionExtensionsTests { @@ -98,6 +98,7 @@ public class FakeRequestContext : IRequestContext { public IPrincipal User { get; } public string CorrelationId { get; } + public string AuthorizationHeader { get; } } public class Sample diff --git a/src/Easify.Exports.Agent/CsvStorageExporter.cs b/src/LittleBlocks.Exports.Agent/CsvStorageExporter.cs similarity index 90% rename from src/Easify.Exports.Agent/CsvStorageExporter.cs rename to src/LittleBlocks.Exports.Agent/CsvStorageExporter.cs index 22be4d1..a75fe19 100644 --- a/src/Easify.Exports.Agent/CsvStorageExporter.cs +++ b/src/LittleBlocks.Exports.Agent/CsvStorageExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,14 +19,14 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Common; -using Easify.Exports.Csv; -using Easify.Exports.Extensions; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.Storage; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public abstract class CsvStorageExporter : ExporterBase where T : class { diff --git a/src/Easify.Exports.Agent/CsvStorageGroupExporter.cs b/src/LittleBlocks.Exports.Agent/CsvStorageGroupExporter.cs similarity index 93% rename from src/Easify.Exports.Agent/CsvStorageGroupExporter.cs rename to src/LittleBlocks.Exports.Agent/CsvStorageGroupExporter.cs index eb6f909..847495a 100644 --- a/src/Easify.Exports.Agent/CsvStorageGroupExporter.cs +++ b/src/LittleBlocks.Exports.Agent/CsvStorageGroupExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,14 +19,14 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Common; -using Easify.Exports.Csv; -using Easify.Exports.Extensions; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.Storage; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public abstract class CsvStorageGroupExporter : ExporterBase { diff --git a/src/Easify.Exports.Agent/CsvStorageGroupItemExporter.cs b/src/LittleBlocks.Exports.Agent/CsvStorageGroupItemExporter.cs similarity index 91% rename from src/Easify.Exports.Agent/CsvStorageGroupItemExporter.cs rename to src/LittleBlocks.Exports.Agent/CsvStorageGroupItemExporter.cs index 59f8fd3..f1d25e1 100644 --- a/src/Easify.Exports.Agent/CsvStorageGroupItemExporter.cs +++ b/src/LittleBlocks.Exports.Agent/CsvStorageGroupItemExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,12 +19,12 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Easify.Exports.Csv; -using Easify.Exports.Extensions; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.Storage; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public abstract class CsvStorageGroupItemExporter : IGroupItemExporter where T : class { diff --git a/src/Easify.Exports.Agent/CsvStorageGroupViewExporter.cs b/src/LittleBlocks.Exports.Agent/CsvStorageGroupViewExporter.cs similarity index 93% rename from src/Easify.Exports.Agent/CsvStorageGroupViewExporter.cs rename to src/LittleBlocks.Exports.Agent/CsvStorageGroupViewExporter.cs index 2e9f3c0..ec6f645 100644 --- a/src/Easify.Exports.Agent/CsvStorageGroupViewExporter.cs +++ b/src/LittleBlocks.Exports.Agent/CsvStorageGroupViewExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,12 +19,12 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Easify.Exports.Csv; -using Easify.Exports.Extensions; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.Storage; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public abstract class CsvStorageGroupViewExporter : IGroupItemExporter where T : class { diff --git a/src/Easify.Exports.Agent/ExporterBase.cs b/src/LittleBlocks.Exports.Agent/ExporterBase.cs similarity index 91% rename from src/Easify.Exports.Agent/ExporterBase.cs rename to src/LittleBlocks.Exports.Agent/ExporterBase.cs index fcd379b..642dc54 100644 --- a/src/Easify.Exports.Agent/ExporterBase.cs +++ b/src/LittleBlocks.Exports.Agent/ExporterBase.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,14 +18,14 @@ using System; using System.Diagnostics; using System.Threading.Tasks; -using Easify.Exports.Agent.Notifications; -using Easify.Exports.Common; -using Easify.Exports.Csv; -using Easify.Exports.Extensions; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Agent.Notifications; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.Storage; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public abstract class ExporterBase : IExporter { diff --git a/src/Easify.Exports.Agent/ExporterRegistry.cs b/src/LittleBlocks.Exports.Agent/ExporterRegistry.cs similarity index 90% rename from src/Easify.Exports.Agent/ExporterRegistry.cs rename to src/LittleBlocks.Exports.Agent/ExporterRegistry.cs index 692de0d..6de6f8b 100644 --- a/src/Easify.Exports.Agent/ExporterRegistry.cs +++ b/src/LittleBlocks.Exports.Agent/ExporterRegistry.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,10 +19,10 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using Easify.Exports.Client.Exceptions; -using Easify.Exports.Common; +using LittleBlocks.Exports.Client.Exceptions; +using LittleBlocks.Exports.Common; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public class ExporterRegistry : IExporterRegistry, IExporterBuilder { diff --git a/src/Easify.Exports.Agent/IExporter.cs b/src/LittleBlocks.Exports.Agent/IExporter.cs similarity index 80% rename from src/Easify.Exports.Agent/IExporter.cs rename to src/LittleBlocks.Exports.Agent/IExporter.cs index d0ec828..cd10425 100644 --- a/src/Easify.Exports.Agent/IExporter.cs +++ b/src/LittleBlocks.Exports.Agent/IExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,10 +16,10 @@ // using System.Threading.Tasks; -using Easify.Exports.Common; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Common; +using LittleBlocks.Exports.Storage; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public interface IExporter { diff --git a/src/Easify.Exports.Agent/IExporterBuilder.cs b/src/LittleBlocks.Exports.Agent/IExporterBuilder.cs similarity index 85% rename from src/Easify.Exports.Agent/IExporterBuilder.cs rename to src/LittleBlocks.Exports.Agent/IExporterBuilder.cs index bd3e0e4..eac72fe 100644 --- a/src/Easify.Exports.Agent/IExporterBuilder.cs +++ b/src/LittleBlocks.Exports.Agent/IExporterBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public interface IExporterBuilder { diff --git a/src/Easify.Exports.Agent/IExporterRegistry.cs b/src/LittleBlocks.Exports.Agent/IExporterRegistry.cs similarity index 84% rename from src/Easify.Exports.Agent/IExporterRegistry.cs rename to src/LittleBlocks.Exports.Agent/IExporterRegistry.cs index c2eeba7..135fecc 100644 --- a/src/Easify.Exports.Agent/IExporterRegistry.cs +++ b/src/LittleBlocks.Exports.Agent/IExporterRegistry.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,9 +16,9 @@ // using System.Collections.Generic; -using Easify.Exports.Common; +using LittleBlocks.Exports.Common; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public interface IExporterRegistry { diff --git a/src/Easify.Exports.Agent/IGroupItemExporter.cs b/src/LittleBlocks.Exports.Agent/IGroupItemExporter.cs similarity index 81% rename from src/Easify.Exports.Agent/IGroupItemExporter.cs rename to src/LittleBlocks.Exports.Agent/IGroupItemExporter.cs index 2388445..df99bb4 100644 --- a/src/Easify.Exports.Agent/IGroupItemExporter.cs +++ b/src/LittleBlocks.Exports.Agent/IGroupItemExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,10 +17,10 @@ using System; using System.Threading.Tasks; -using Easify.Exports.Csv; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public interface IGroupItemExporter { diff --git a/src/LittleBlocks.Exports.Agent/LittleBlocks.Exports.Agent.csproj b/src/LittleBlocks.Exports.Agent/LittleBlocks.Exports.Agent.csproj new file mode 100644 index 0000000..679bd82 --- /dev/null +++ b/src/LittleBlocks.Exports.Agent/LittleBlocks.Exports.Agent.csproj @@ -0,0 +1,19 @@ + + + + netstandard2.0 + LittleBlocks.Exports.Agent + Mohammad Moattar, Lewis Percival + true + default + https://github.com/LittleBlocks/LittleBlocks.Exports + https://github.com/LittleBlocks/LittleBlocks.Exports + + + + + + + + + diff --git a/src/Easify.Exports.Agent/Notifications/IReportNotifier.cs b/src/LittleBlocks.Exports.Agent/Notifications/IReportNotifier.cs similarity index 84% rename from src/Easify.Exports.Agent/Notifications/IReportNotifier.cs rename to src/LittleBlocks.Exports.Agent/Notifications/IReportNotifier.cs index c572e59..81280fd 100644 --- a/src/Easify.Exports.Agent/Notifications/IReportNotifier.cs +++ b/src/LittleBlocks.Exports.Agent/Notifications/IReportNotifier.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System.Threading.Tasks; -namespace Easify.Exports.Agent.Notifications +namespace LittleBlocks.Exports.Agent.Notifications { public interface IReportNotifier { diff --git a/src/Easify.Exports.Agent/Notifications/IReportNotifierBuilder.cs b/src/LittleBlocks.Exports.Agent/Notifications/IReportNotifierBuilder.cs similarity index 81% rename from src/Easify.Exports.Agent/Notifications/IReportNotifierBuilder.cs rename to src/LittleBlocks.Exports.Agent/Notifications/IReportNotifierBuilder.cs index b9041fe..ee36178 100644 --- a/src/Easify.Exports.Agent/Notifications/IReportNotifierBuilder.cs +++ b/src/LittleBlocks.Exports.Agent/Notifications/IReportNotifierBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,9 +15,9 @@ // along with this program. If not, see . // -using Easify.Exports.Common; +using LittleBlocks.Exports.Common; -namespace Easify.Exports.Agent.Notifications +namespace LittleBlocks.Exports.Agent.Notifications { public interface IReportNotifierBuilder { diff --git a/src/Easify.Exports.Agent/Notifications/WebHookNotifierBuilder.cs b/src/LittleBlocks.Exports.Agent/Notifications/WebHookNotifierBuilder.cs similarity index 83% rename from src/Easify.Exports.Agent/Notifications/WebHookNotifierBuilder.cs rename to src/LittleBlocks.Exports.Agent/Notifications/WebHookNotifierBuilder.cs index 001f312..da02226 100644 --- a/src/Easify.Exports.Agent/Notifications/WebHookNotifierBuilder.cs +++ b/src/LittleBlocks.Exports.Agent/Notifications/WebHookNotifierBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,9 +15,9 @@ // along with this program. If not, see . // -using Easify.Exports.Common; +using LittleBlocks.Exports.Common; -namespace Easify.Exports.Agent.Notifications +namespace LittleBlocks.Exports.Agent.Notifications { public class WebHookNotifierBuilder : IReportNotifierBuilder { diff --git a/src/Easify.Exports.Agent/Notifications/WebHookReportNotifier.cs b/src/LittleBlocks.Exports.Agent/Notifications/WebHookReportNotifier.cs similarity index 89% rename from src/Easify.Exports.Agent/Notifications/WebHookReportNotifier.cs rename to src/LittleBlocks.Exports.Agent/Notifications/WebHookReportNotifier.cs index da3e45c..e6521c2 100644 --- a/src/Easify.Exports.Agent/Notifications/WebHookReportNotifier.cs +++ b/src/LittleBlocks.Exports.Agent/Notifications/WebHookReportNotifier.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,10 +19,10 @@ using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Easify.Exports.Common; +using LittleBlocks.Exports.Common; using Newtonsoft.Json; -namespace Easify.Exports.Agent.Notifications +namespace LittleBlocks.Exports.Agent.Notifications { [ExcludeFromCodeCoverage] public class WebHookReportNotifier : IReportNotifier diff --git a/src/Easify.Exports.Agent/ServiceCollectionExtensions.cs b/src/LittleBlocks.Exports.Agent/ServiceCollectionExtensions.cs similarity index 89% rename from src/Easify.Exports.Agent/ServiceCollectionExtensions.cs rename to src/LittleBlocks.Exports.Agent/ServiceCollectionExtensions.cs index d86cc6b..e6efd7b 100644 --- a/src/Easify.Exports.Agent/ServiceCollectionExtensions.cs +++ b/src/LittleBlocks.Exports.Agent/ServiceCollectionExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,10 +16,10 @@ // using System; -using Easify.Exports.Agent.Notifications; +using LittleBlocks.Exports.Agent.Notifications; using Microsoft.Extensions.DependencyInjection; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public static class ServiceCollectionExtensions { diff --git a/src/Easify.Exports.Agent/ViewExportResult.cs b/src/LittleBlocks.Exports.Agent/ViewExportResult.cs similarity index 86% rename from src/Easify.Exports.Agent/ViewExportResult.cs rename to src/LittleBlocks.Exports.Agent/ViewExportResult.cs index 489609a..c121ada 100644 --- a/src/Easify.Exports.Agent/ViewExportResult.cs +++ b/src/LittleBlocks.Exports.Agent/ViewExportResult.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System.Collections.Generic; -namespace Easify.Exports.Agent +namespace LittleBlocks.Exports.Agent { public class ViewExportResult { diff --git a/src/Easify.Exports.Autofac/ContainerBuilderExtensions.cs b/src/LittleBlocks.Exports.Autofac/ContainerBuilderExtensions.cs similarity index 94% rename from src/Easify.Exports.Autofac/ContainerBuilderExtensions.cs rename to src/LittleBlocks.Exports.Autofac/ContainerBuilderExtensions.cs index e64864e..abbd0fa 100644 --- a/src/Easify.Exports.Autofac/ContainerBuilderExtensions.cs +++ b/src/LittleBlocks.Exports.Autofac/ContainerBuilderExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,14 +17,14 @@ using System; using Autofac; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Exports.Storage.Fluent.S3; -using Easify.Exports.Storage.Fluent.S3.Fluent; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Exports.Storage.Fluent.S3; +using LittleBlocks.Exports.Storage.Fluent.S3.Fluent; using Microsoft.Extensions.Configuration; using Storage.Net; -namespace Easify.Exports.Autofac +namespace LittleBlocks.Exports.Autofac { public static class ContainerBuilderExtensions { diff --git a/src/LittleBlocks.Exports.Autofac/LittleBlocks.Exports.Autofac.csproj b/src/LittleBlocks.Exports.Autofac/LittleBlocks.Exports.Autofac.csproj new file mode 100644 index 0000000..dbc4d20 --- /dev/null +++ b/src/LittleBlocks.Exports.Autofac/LittleBlocks.Exports.Autofac.csproj @@ -0,0 +1,21 @@ + + + + netstandard2.0 + true + LittleBlocks.Exports.Autofac + Mohammad Moattar + default + https://github.com/LittleBlocks/LittleBlocks.Exports + https://github.com/LittleBlocks/LittleBlocks.Exports + + + + + + + + + + + diff --git a/src/Easify.Exports.Client.UnitTests/ExporterClientBuilderTests.cs b/src/LittleBlocks.Exports.Client.UnitTests/ExporterClientBuilderTests.cs similarity index 94% rename from src/Easify.Exports.Client.UnitTests/ExporterClientBuilderTests.cs rename to src/LittleBlocks.Exports.Client.UnitTests/ExporterClientBuilderTests.cs index afe9f79..9153b91 100644 --- a/src/Easify.Exports.Client.UnitTests/ExporterClientBuilderTests.cs +++ b/src/LittleBlocks.Exports.Client.UnitTests/ExporterClientBuilderTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,14 +17,14 @@ using System; using AutoFixture.Xunit2; -using Easify.Exports.Client.Exceptions; -using Easify.RestEase; -using Easify.Testing; +using LittleBlocks.Exports.Client.Exceptions; +using LittleBlocks.RestEase; +using LittleBlocks.Testing; using FluentAssertions; using NSubstitute; using Xunit; -namespace Easify.Exports.Client.UnitTests +namespace LittleBlocks.Exports.Client.UnitTests { public class ExporterClientBuilderTests { diff --git a/src/LittleBlocks.Exports.Client.UnitTests/LittleBlocks.Exports.Client.UnitTests.csproj b/src/LittleBlocks.Exports.Client.UnitTests/LittleBlocks.Exports.Client.UnitTests.csproj new file mode 100644 index 0000000..4c080db --- /dev/null +++ b/src/LittleBlocks.Exports.Client.UnitTests/LittleBlocks.Exports.Client.UnitTests.csproj @@ -0,0 +1,32 @@ + + + + net6.0 + + false + + default + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + diff --git a/src/Easify.Exports.Client.UnitTests/ServiceCollectionExtensionsTests.cs b/src/LittleBlocks.Exports.Client.UnitTests/ServiceCollectionExtensionsTests.cs similarity index 88% rename from src/Easify.Exports.Client.UnitTests/ServiceCollectionExtensionsTests.cs rename to src/LittleBlocks.Exports.Client.UnitTests/ServiceCollectionExtensionsTests.cs index 20e7ef1..b3def50 100644 --- a/src/Easify.Exports.Client.UnitTests/ServiceCollectionExtensionsTests.cs +++ b/src/LittleBlocks.Exports.Client.UnitTests/ServiceCollectionExtensionsTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,13 +16,13 @@ // using System.Security.Principal; -using Easify.Http; -using Easify.RestEase; +using LittleBlocks.Http; +using LittleBlocks.RestEase; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Xunit; -namespace Easify.Exports.Client.UnitTests +namespace LittleBlocks.Exports.Client.UnitTests { public class ServiceCollectionExtensionsTests { @@ -53,7 +53,7 @@ public void Should_AddExporterBuilder_AddTheBuilderCorrectlyToTheContainer() exporter.Should().NotBeNull(); } - public class Exporters + private class Exporters { public string ExporterUrl1 { get; set; } = "http://localhost/export1"; public string ExporterUrl2 { get; set; } = "http://localhost/export2"; @@ -63,6 +63,7 @@ public class FakeRequestContext : IRequestContext { public IPrincipal User { get; } public string CorrelationId { get; } + public string AuthorizationHeader { get; } } } } \ No newline at end of file diff --git a/src/Easify.Exports.Client/Exceptions/DuplicateExporterException.cs b/src/LittleBlocks.Exports.Client/Exceptions/DuplicateExporterException.cs similarity index 85% rename from src/Easify.Exports.Client/Exceptions/DuplicateExporterException.cs rename to src/LittleBlocks.Exports.Client/Exceptions/DuplicateExporterException.cs index e38b213..fcb1e9e 100644 --- a/src/Easify.Exports.Client/Exceptions/DuplicateExporterException.cs +++ b/src/LittleBlocks.Exports.Client/Exceptions/DuplicateExporterException.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Client.Exceptions +namespace LittleBlocks.Exports.Client.Exceptions { public class DuplicateExporterException : Exception { diff --git a/src/Easify.Exports.Client/Exceptions/ExporterNotFoundException.cs b/src/LittleBlocks.Exports.Client/Exceptions/ExporterNotFoundException.cs similarity index 85% rename from src/Easify.Exports.Client/Exceptions/ExporterNotFoundException.cs rename to src/LittleBlocks.Exports.Client/Exceptions/ExporterNotFoundException.cs index d274841..3251cda 100644 --- a/src/Easify.Exports.Client/Exceptions/ExporterNotFoundException.cs +++ b/src/LittleBlocks.Exports.Client/Exceptions/ExporterNotFoundException.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Client.Exceptions +namespace LittleBlocks.Exports.Client.Exceptions { public class ExporterNotFoundException : Exception { diff --git a/src/Easify.Exports.Client/Exceptions/InvalidUrlFormatException.cs b/src/LittleBlocks.Exports.Client/Exceptions/InvalidUrlFormatException.cs similarity index 85% rename from src/Easify.Exports.Client/Exceptions/InvalidUrlFormatException.cs rename to src/LittleBlocks.Exports.Client/Exceptions/InvalidUrlFormatException.cs index 6539df2..e6f61ce 100644 --- a/src/Easify.Exports.Client/Exceptions/InvalidUrlFormatException.cs +++ b/src/LittleBlocks.Exports.Client/Exceptions/InvalidUrlFormatException.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Client.Exceptions +namespace LittleBlocks.Exports.Client.Exceptions { public class InvalidUrlFormatException : Exception { diff --git a/src/Easify.Exports.Client/ExporterClientBuilder.cs b/src/LittleBlocks.Exports.Client/ExporterClientBuilder.cs similarity index 92% rename from src/Easify.Exports.Client/ExporterClientBuilder.cs rename to src/LittleBlocks.Exports.Client/ExporterClientBuilder.cs index 3548255..2a78efb 100644 --- a/src/Easify.Exports.Client/ExporterClientBuilder.cs +++ b/src/LittleBlocks.Exports.Client/ExporterClientBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,10 +17,10 @@ using System; using System.Collections.Generic; -using Easify.Exports.Client.Exceptions; +using LittleBlocks.Exports.Client.Exceptions; using RestEase; -namespace Easify.Exports.Client +namespace LittleBlocks.Exports.Client { public sealed class ExporterClientBuilder : IExporterClientBuilder, IExporterClientRegistry { diff --git a/src/Easify.Exports.Client/IExporterClient.cs b/src/LittleBlocks.Exports.Client/IExporterClient.cs similarity index 84% rename from src/Easify.Exports.Client/IExporterClient.cs rename to src/LittleBlocks.Exports.Client/IExporterClient.cs index 89dc289..6ca5a79 100644 --- a/src/Easify.Exports.Client/IExporterClient.cs +++ b/src/LittleBlocks.Exports.Client/IExporterClient.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,11 +17,11 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Easify.Exports.Common; -using Easify.RestEase.Client; +using LittleBlocks.Exports.Common; +using LittleBlocks.RestEase.Client; using RestEase; -namespace Easify.Exports.Client +namespace LittleBlocks.Exports.Client { public interface IExporterClient : IRestClient { diff --git a/src/Easify.Exports.Client/IExporterClientBuilder.cs b/src/LittleBlocks.Exports.Client/IExporterClientBuilder.cs similarity index 85% rename from src/Easify.Exports.Client/IExporterClientBuilder.cs rename to src/LittleBlocks.Exports.Client/IExporterClientBuilder.cs index 2745cbb..60af499 100644 --- a/src/Easify.Exports.Client/IExporterClientBuilder.cs +++ b/src/LittleBlocks.Exports.Client/IExporterClientBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Client +namespace LittleBlocks.Exports.Client { public interface IExporterClientBuilder { diff --git a/src/Easify.Exports.Client/IExporterClientRegistry.cs b/src/LittleBlocks.Exports.Client/IExporterClientRegistry.cs similarity index 85% rename from src/Easify.Exports.Client/IExporterClientRegistry.cs rename to src/LittleBlocks.Exports.Client/IExporterClientRegistry.cs index df09217..0215d44 100644 --- a/src/Easify.Exports.Client/IExporterClientRegistry.cs +++ b/src/LittleBlocks.Exports.Client/IExporterClientRegistry.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Client +namespace LittleBlocks.Exports.Client { public interface IExporterClientRegistry { diff --git a/src/LittleBlocks.Exports.Client/LittleBlocks.Exports.Client.csproj b/src/LittleBlocks.Exports.Client/LittleBlocks.Exports.Client.csproj new file mode 100644 index 0000000..b45ea23 --- /dev/null +++ b/src/LittleBlocks.Exports.Client/LittleBlocks.Exports.Client.csproj @@ -0,0 +1,22 @@ + + + + netstandard2.0 + true + LittleBlocks.Exports.Client + Mohammad Moattar, Lewis Percival + default + https://github.com/LittleBlocks/LittleBlocks.Exports + https://github.com/LittleBlocks/LittleBlocks.Exports + + + + + + + + + + + + diff --git a/src/Easify.Exports.Client/ServiceCollectionExtensions.cs b/src/LittleBlocks.Exports.Client/ServiceCollectionExtensions.cs similarity index 92% rename from src/Easify.Exports.Client/ServiceCollectionExtensions.cs rename to src/LittleBlocks.Exports.Client/ServiceCollectionExtensions.cs index 9b889d7..a7a4394 100644 --- a/src/Easify.Exports.Client/ServiceCollectionExtensions.cs +++ b/src/LittleBlocks.Exports.Client/ServiceCollectionExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,7 +19,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Easify.Exports.Client +namespace LittleBlocks.Exports.Client { public static class ServiceCollectionExtensions { diff --git a/src/Easify.Exports.Common/ExportExecutionContext.cs b/src/LittleBlocks.Exports.Common/ExportExecutionContext.cs similarity index 91% rename from src/Easify.Exports.Common/ExportExecutionContext.cs rename to src/LittleBlocks.Exports.Common/ExportExecutionContext.cs index 82d7b94..571d6f4 100644 --- a/src/Easify.Exports.Common/ExportExecutionContext.cs +++ b/src/LittleBlocks.Exports.Common/ExportExecutionContext.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public sealed class ExportExecutionContext { diff --git a/src/Easify.Exports.Common/ExportExecutionResult.cs b/src/LittleBlocks.Exports.Common/ExportExecutionResult.cs similarity index 88% rename from src/Easify.Exports.Common/ExportExecutionResult.cs rename to src/LittleBlocks.Exports.Common/ExportExecutionResult.cs index da5e61e..cf3232e 100644 --- a/src/Easify.Exports.Common/ExportExecutionResult.cs +++ b/src/LittleBlocks.Exports.Common/ExportExecutionResult.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public sealed class ExportExecutionResult { diff --git a/src/Easify.Exports.Common/ExportMetadata.cs b/src/LittleBlocks.Exports.Common/ExportMetadata.cs similarity index 91% rename from src/Easify.Exports.Common/ExportMetadata.cs rename to src/LittleBlocks.Exports.Common/ExportMetadata.cs index 3e46eb9..5805126 100644 --- a/src/Easify.Exports.Common/ExportMetadata.cs +++ b/src/LittleBlocks.Exports.Common/ExportMetadata.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public sealed class ExportMetadata { diff --git a/src/Easify.Exports.Common/FailNotification.cs b/src/LittleBlocks.Exports.Common/FailNotification.cs similarity index 90% rename from src/Easify.Exports.Common/FailNotification.cs rename to src/LittleBlocks.Exports.Common/FailNotification.cs index b6acb3e..f719f11 100644 --- a/src/Easify.Exports.Common/FailNotification.cs +++ b/src/LittleBlocks.Exports.Common/FailNotification.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public class FailNotification : IExportNotification { diff --git a/src/Easify.Exports.Common/IExportNotification.cs b/src/LittleBlocks.Exports.Common/IExportNotification.cs similarity index 84% rename from src/Easify.Exports.Common/IExportNotification.cs rename to src/LittleBlocks.Exports.Common/IExportNotification.cs index 4b7c834..78ad262 100644 --- a/src/Easify.Exports.Common/IExportNotification.cs +++ b/src/LittleBlocks.Exports.Common/IExportNotification.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public interface IExportNotification { diff --git a/src/Easify.Exports.Common/IExporterController.cs b/src/LittleBlocks.Exports.Common/IExporterController.cs similarity index 87% rename from src/Easify.Exports.Common/IExporterController.cs rename to src/LittleBlocks.Exports.Common/IExporterController.cs index 9ba137b..865baea 100644 --- a/src/Easify.Exports.Common/IExporterController.cs +++ b/src/LittleBlocks.Exports.Common/IExporterController.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,7 +18,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public interface IExporterController { diff --git a/src/LittleBlocks.Exports.Common/LittleBlocks.Exports.Common.csproj b/src/LittleBlocks.Exports.Common/LittleBlocks.Exports.Common.csproj new file mode 100644 index 0000000..1194ebc --- /dev/null +++ b/src/LittleBlocks.Exports.Common/LittleBlocks.Exports.Common.csproj @@ -0,0 +1,17 @@ + + + + netstandard2.0 + true + LittleBlocks.Exports.Common + Mohammad Moattar, Lewis Percival + default + https://github.com/LittleBlocks/LittleBlocks.Exports + https://github.com/LittleBlocks/LittleBlocks.Exports + + + + + + + diff --git a/src/Easify.Exports.Common/SuccessNotification.cs b/src/LittleBlocks.Exports.Common/SuccessNotification.cs similarity index 91% rename from src/Easify.Exports.Common/SuccessNotification.cs rename to src/LittleBlocks.Exports.Common/SuccessNotification.cs index 1c9efaf..0a6c069 100644 --- a/src/Easify.Exports.Common/SuccessNotification.cs +++ b/src/LittleBlocks.Exports.Common/SuccessNotification.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Common +namespace LittleBlocks.Exports.Common { public class SuccessNotification : IExportNotification { diff --git a/src/Easify.Exports.IntegrationTests/CsvFileGenerationWithServiceCollectionTests.cs b/src/LittleBlocks.Exports.IntegrationTests/CsvFileGenerationWithServiceCollectionTests.cs similarity index 97% rename from src/Easify.Exports.IntegrationTests/CsvFileGenerationWithServiceCollectionTests.cs rename to src/LittleBlocks.Exports.IntegrationTests/CsvFileGenerationWithServiceCollectionTests.cs index 637e3ac..635dc4c 100644 --- a/src/Easify.Exports.IntegrationTests/CsvFileGenerationWithServiceCollectionTests.cs +++ b/src/LittleBlocks.Exports.IntegrationTests/CsvFileGenerationWithServiceCollectionTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,16 +19,16 @@ using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using Easify.Exports.Csv; -using Easify.Exports.IntegrationTests.Setup; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.IntegrationTests.Setup; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using FluentAssertions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Xunit; -namespace Easify.Exports.IntegrationTests +namespace LittleBlocks.Exports.IntegrationTests { public class CsvFileGenerationWithServiceCollectionTests : IClassFixture { diff --git a/src/Easify.Exports.IntegrationTests/Easify.Exports.IntegrationTests.csproj b/src/LittleBlocks.Exports.IntegrationTests/LittleBlocks.Exports.IntegrationTests.csproj similarity index 60% rename from src/Easify.Exports.IntegrationTests/Easify.Exports.IntegrationTests.csproj rename to src/LittleBlocks.Exports.IntegrationTests/LittleBlocks.Exports.IntegrationTests.csproj index a0410c6..b88449f 100644 --- a/src/Easify.Exports.IntegrationTests/Easify.Exports.IntegrationTests.csproj +++ b/src/LittleBlocks.Exports.IntegrationTests/LittleBlocks.Exports.IntegrationTests.csproj @@ -1,33 +1,36 @@ - netcoreapp3.1 + net6.0 false - 9 + default - - - - - - - - + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + diff --git a/src/Easify.Exports.IntegrationTests/Setup/AutofacResolver.cs b/src/LittleBlocks.Exports.IntegrationTests/Setup/AutofacResolver.cs similarity index 88% rename from src/Easify.Exports.IntegrationTests/Setup/AutofacResolver.cs rename to src/LittleBlocks.Exports.IntegrationTests/Setup/AutofacResolver.cs index 0fcce58..9e20e6c 100644 --- a/src/Easify.Exports.IntegrationTests/Setup/AutofacResolver.cs +++ b/src/LittleBlocks.Exports.IntegrationTests/Setup/AutofacResolver.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,10 +17,10 @@ using Autofac; using Autofac.Extensions.DependencyInjection; -using Easify.Exports.Autofac; +using LittleBlocks.Exports.Autofac; using Microsoft.Extensions.DependencyInjection; -namespace Easify.Exports.IntegrationTests.Setup +namespace LittleBlocks.Exports.IntegrationTests.Setup { public class AutofacResolver : IResolver { diff --git a/src/Easify.Exports.IntegrationTests/Setup/IResolver.cs b/src/LittleBlocks.Exports.IntegrationTests/Setup/IResolver.cs similarity index 83% rename from src/Easify.Exports.IntegrationTests/Setup/IResolver.cs rename to src/LittleBlocks.Exports.IntegrationTests/Setup/IResolver.cs index aca3615..b6de969 100644 --- a/src/Easify.Exports.IntegrationTests/Setup/IResolver.cs +++ b/src/LittleBlocks.Exports.IntegrationTests/Setup/IResolver.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.IntegrationTests.Setup +namespace LittleBlocks.Exports.IntegrationTests.Setup { public interface IResolver { diff --git a/src/Easify.Exports.IntegrationTests/Setup/SampleEntity.cs b/src/LittleBlocks.Exports.IntegrationTests/Setup/SampleEntity.cs similarity index 85% rename from src/Easify.Exports.IntegrationTests/Setup/SampleEntity.cs rename to src/LittleBlocks.Exports.IntegrationTests/Setup/SampleEntity.cs index 8dd57c0..2af10bc 100644 --- a/src/Easify.Exports.IntegrationTests/Setup/SampleEntity.cs +++ b/src/LittleBlocks.Exports.IntegrationTests/Setup/SampleEntity.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.IntegrationTests.Setup +namespace LittleBlocks.Exports.IntegrationTests.Setup { public class SampleEntity { diff --git a/src/Easify.Exports.IntegrationTests/Setup/SampleEntityMap.cs b/src/LittleBlocks.Exports.IntegrationTests/Setup/SampleEntityMap.cs similarity index 85% rename from src/Easify.Exports.IntegrationTests/Setup/SampleEntityMap.cs rename to src/LittleBlocks.Exports.IntegrationTests/Setup/SampleEntityMap.cs index a67aaaa..a61bb51 100644 --- a/src/Easify.Exports.IntegrationTests/Setup/SampleEntityMap.cs +++ b/src/LittleBlocks.Exports.IntegrationTests/Setup/SampleEntityMap.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using CsvHelper.Configuration; -namespace Easify.Exports.IntegrationTests.Setup +namespace LittleBlocks.Exports.IntegrationTests.Setup { public sealed class SampleEntityMap : ClassMap { diff --git a/src/Easify.Exports.IntegrationTests/Setup/ServiceProviderResolver.cs b/src/LittleBlocks.Exports.IntegrationTests/Setup/ServiceProviderResolver.cs similarity index 89% rename from src/Easify.Exports.IntegrationTests/Setup/ServiceProviderResolver.cs rename to src/LittleBlocks.Exports.IntegrationTests/Setup/ServiceProviderResolver.cs index 65c9ca0..0e15a2a 100644 --- a/src/Easify.Exports.IntegrationTests/Setup/ServiceProviderResolver.cs +++ b/src/LittleBlocks.Exports.IntegrationTests/Setup/ServiceProviderResolver.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using Microsoft.Extensions.DependencyInjection; -namespace Easify.Exports.IntegrationTests.Setup +namespace LittleBlocks.Exports.IntegrationTests.Setup { public class ServiceProviderResolver : IResolver { diff --git a/src/Easify.Exports.IntegrationTests/appsettings.json b/src/LittleBlocks.Exports.IntegrationTests/appsettings.json similarity index 100% rename from src/Easify.Exports.IntegrationTests/appsettings.json rename to src/LittleBlocks.Exports.IntegrationTests/appsettings.json diff --git a/src/Easify.Exports.UnitTests/Csv/CsvContextMapRegistryTests.cs b/src/LittleBlocks.Exports.UnitTests/Csv/CsvContextMapRegistryTests.cs similarity index 89% rename from src/Easify.Exports.UnitTests/Csv/CsvContextMapRegistryTests.cs rename to src/LittleBlocks.Exports.UnitTests/Csv/CsvContextMapRegistryTests.cs index 50f66f8..f612a77 100644 --- a/src/Easify.Exports.UnitTests/Csv/CsvContextMapRegistryTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Csv/CsvContextMapRegistryTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,12 +15,12 @@ // along with this program. If not, see . // -using Easify.Exports.Csv; -using Easify.Exports.UnitTests.Setup; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.UnitTests.Setup; using FluentAssertions; using Xunit; -namespace Easify.Exports.UnitTests.Csv +namespace LittleBlocks.Exports.UnitTests.Csv { public class CsvContextMapRegistryTests { diff --git a/src/Easify.Exports.UnitTests/Csv/CsvExportConfigurationBuilderTests.cs b/src/LittleBlocks.Exports.UnitTests/Csv/CsvExportConfigurationBuilderTests.cs similarity index 90% rename from src/Easify.Exports.UnitTests/Csv/CsvExportConfigurationBuilderTests.cs rename to src/LittleBlocks.Exports.UnitTests/Csv/CsvExportConfigurationBuilderTests.cs index f9b7e06..4deddb4 100644 --- a/src/Easify.Exports.UnitTests/Csv/CsvExportConfigurationBuilderTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Csv/CsvExportConfigurationBuilderTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,15 +18,15 @@ using System; using AutoFixture.Xunit2; using CsvHelper.Configuration; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Exports.UnitTests.Setup; -using Easify.Testing; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Exports.UnitTests.Setup; +using LittleBlocks.Testing; using FluentAssertions; using NSubstitute; using Xunit; -namespace Easify.Exports.UnitTests.Csv +namespace LittleBlocks.Exports.UnitTests.Csv { public class CsvExportConfigurationBuilderTests { diff --git a/src/Easify.Exports.UnitTests/Csv/CsvExportPathBuilderTests.cs b/src/LittleBlocks.Exports.UnitTests/Csv/CsvExportPathBuilderTests.cs similarity index 89% rename from src/Easify.Exports.UnitTests/Csv/CsvExportPathBuilderTests.cs rename to src/LittleBlocks.Exports.UnitTests/Csv/CsvExportPathBuilderTests.cs index e56ba2f..1d0127a 100644 --- a/src/Easify.Exports.UnitTests/Csv/CsvExportPathBuilderTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Csv/CsvExportPathBuilderTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,12 +16,12 @@ // using System; -using Easify.Exports.Csv; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; using FluentAssertions; using Xunit; -namespace Easify.Exports.UnitTests.Csv +namespace LittleBlocks.Exports.UnitTests.Csv { public class CsvExportPathBuilderTests { diff --git a/src/Easify.Exports.UnitTests/Csv/CsvFileExporterTests.cs b/src/LittleBlocks.Exports.UnitTests/Csv/CsvFileExporterTests.cs similarity index 94% rename from src/Easify.Exports.UnitTests/Csv/CsvFileExporterTests.cs rename to src/LittleBlocks.Exports.UnitTests/Csv/CsvFileExporterTests.cs index fa14dbe..05d25f3 100644 --- a/src/Easify.Exports.UnitTests/Csv/CsvFileExporterTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Csv/CsvFileExporterTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,16 +18,16 @@ using System; using System.Threading.Tasks; using AutoFixture.Xunit2; -using Easify.Exports.Csv; -using Easify.Exports.Extensions; -using Easify.Exports.UnitTests.Setup; -using Easify.Testing; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.UnitTests.Setup; +using LittleBlocks.Testing; using FluentAssertions; using NSubstitute; using NSubstitute.ExceptionExtensions; using Xunit; -namespace Easify.Exports.UnitTests.Csv +namespace LittleBlocks.Exports.UnitTests.Csv { public class CsvFileExporterTests { diff --git a/src/Easify.Exports.UnitTests/Csv/CsvFileWriterTests.cs b/src/LittleBlocks.Exports.UnitTests/Csv/CsvFileWriterTests.cs similarity index 93% rename from src/Easify.Exports.UnitTests/Csv/CsvFileWriterTests.cs rename to src/LittleBlocks.Exports.UnitTests/Csv/CsvFileWriterTests.cs index 902c29b..f9ecab5 100644 --- a/src/Easify.Exports.UnitTests/Csv/CsvFileWriterTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Csv/CsvFileWriterTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -22,17 +22,17 @@ using System.Threading.Tasks; using AutoFixture.Xunit2; using CsvHelper.Configuration; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Exports.UnitTests.Setup; -using Easify.Testing; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Exports.UnitTests.Setup; +using LittleBlocks.Testing; using FluentAssertions; using Microsoft.Extensions.Logging; using NSubstitute; using NSubstitute.ExceptionExtensions; using Xunit; -namespace Easify.Exports.UnitTests.Csv +namespace LittleBlocks.Exports.UnitTests.Csv { public class CsvFileWriterTests { @@ -76,7 +76,7 @@ public async Task Should_CsvFileWriter_Fail_WhenTheConfigurationIsCorrectButTheT // Act Func func = async () => await sut.WriteFileAsync(entities, config); - func.Should().Throw() + await func.Should().ThrowAsync() .Where(m => m.Message.StartsWith("Error in writing the file to multiple storage.")) .Where(m => m.Exceptions.Count() == 1 && @@ -108,7 +108,7 @@ public async Task Should_CsvFileWriter_Fail_WhenTheConfigurationIsCorrectButTheT // Act Func func = async () => await sut.WriteFileAsync(entities, config); - func.Should().Throw() + await func.Should().ThrowAsync() .Where(m => m.Message.StartsWith("Error in writing the file to multiple storage. Error")) .Where(m => m.Exceptions.Count() == 1 && @@ -161,7 +161,7 @@ public async Task Should_WriteFileAsync_RetiresFourTimes_WhenTheExceptionIsHappe Func func = async () => await sut.WriteFileAsync(entities, config); // Assert - func.Should().Throw() + await func.Should().ThrowAsync() .Where(m => m.Message.StartsWith("Error in writing the file to multiple storage")); logger.Received(3); await storageTargetBucket.Received(4).WriteAsync("Target", config.FileName, Arg.Any()); diff --git a/src/Easify.Exports.UnitTests/Csv/ExportResultTests.cs b/src/LittleBlocks.Exports.UnitTests/Csv/ExportResultTests.cs similarity index 89% rename from src/Easify.Exports.UnitTests/Csv/ExportResultTests.cs rename to src/LittleBlocks.Exports.UnitTests/Csv/ExportResultTests.cs index 595417f..d17866d 100644 --- a/src/Easify.Exports.UnitTests/Csv/ExportResultTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Csv/ExportResultTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,11 +15,11 @@ // along with this program. If not, see . // -using Easify.Exports.Csv; +using LittleBlocks.Exports.Csv; using FluentAssertions; using Xunit; -namespace Easify.Exports.UnitTests.Csv +namespace LittleBlocks.Exports.UnitTests.Csv { public class ExportResultTests { diff --git a/src/Easify.Exports.UnitTests/Easify.Exports.UnitTests.csproj b/src/LittleBlocks.Exports.UnitTests/LittleBlocks.Exports.UnitTests.csproj similarity index 55% rename from src/Easify.Exports.UnitTests/Easify.Exports.UnitTests.csproj rename to src/LittleBlocks.Exports.UnitTests/LittleBlocks.Exports.UnitTests.csproj index d4615ae..dc931e8 100644 --- a/src/Easify.Exports.UnitTests/Easify.Exports.UnitTests.csproj +++ b/src/LittleBlocks.Exports.UnitTests/LittleBlocks.Exports.UnitTests.csproj @@ -1,29 +1,32 @@ - netcoreapp3.1 + net6.0 false - 9 + default - - - - - - - + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + diff --git a/src/Easify.Exports.UnitTests/ServiceCollectionExtensionsTests.cs b/src/LittleBlocks.Exports.UnitTests/ServiceCollectionExtensionsTests.cs similarity index 93% rename from src/Easify.Exports.UnitTests/ServiceCollectionExtensionsTests.cs rename to src/LittleBlocks.Exports.UnitTests/ServiceCollectionExtensionsTests.cs index f049824..ad99dd0 100644 --- a/src/Easify.Exports.UnitTests/ServiceCollectionExtensionsTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/ServiceCollectionExtensionsTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,15 +15,15 @@ // along with this program. If not, see . // -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using FluentAssertions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using NSubstitute; using Xunit; -namespace Easify.Exports.UnitTests +namespace LittleBlocks.Exports.UnitTests { public class ServiceCollectionExtensionsTests : IClassFixture { diff --git a/src/Easify.Exports.UnitTests/Setup/SampleEntity.cs b/src/LittleBlocks.Exports.UnitTests/Setup/SampleEntity.cs similarity index 84% rename from src/Easify.Exports.UnitTests/Setup/SampleEntity.cs rename to src/LittleBlocks.Exports.UnitTests/Setup/SampleEntity.cs index f83ac64..3522bea 100644 --- a/src/Easify.Exports.UnitTests/Setup/SampleEntity.cs +++ b/src/LittleBlocks.Exports.UnitTests/Setup/SampleEntity.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.UnitTests.Setup +namespace LittleBlocks.Exports.UnitTests.Setup { public class SampleEntity { diff --git a/src/Easify.Exports.UnitTests/Setup/SampleEntityMap.cs b/src/LittleBlocks.Exports.UnitTests/Setup/SampleEntityMap.cs similarity index 86% rename from src/Easify.Exports.UnitTests/Setup/SampleEntityMap.cs rename to src/LittleBlocks.Exports.UnitTests/Setup/SampleEntityMap.cs index 8aa89c9..27e1235 100644 --- a/src/Easify.Exports.UnitTests/Setup/SampleEntityMap.cs +++ b/src/LittleBlocks.Exports.UnitTests/Setup/SampleEntityMap.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using CsvHelper.Configuration; -namespace Easify.Exports.UnitTests.Setup +namespace LittleBlocks.Exports.UnitTests.Setup { public sealed class SampleEntityMap : ClassMap { diff --git a/src/Easify.Exports.UnitTests/Storage/BucketOptionsTests.cs b/src/LittleBlocks.Exports.UnitTests/Storage/BucketOptionsTests.cs similarity index 86% rename from src/Easify.Exports.UnitTests/Storage/BucketOptionsTests.cs rename to src/LittleBlocks.Exports.UnitTests/Storage/BucketOptionsTests.cs index bf0cc94..1c3fe6c 100644 --- a/src/Easify.Exports.UnitTests/Storage/BucketOptionsTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Storage/BucketOptionsTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,11 +15,11 @@ // along with this program. If not, see . // -using Easify.Exports.Storage.Fluent.S3; +using LittleBlocks.Exports.Storage.Fluent.S3; using FluentAssertions; using Xunit; -namespace Easify.Exports.UnitTests.Storage +namespace LittleBlocks.Exports.UnitTests.Storage { public class BucketOptionsTests { diff --git a/src/Easify.Exports.UnitTests/Storage/CsvStorageTargetResolverTests.cs b/src/LittleBlocks.Exports.UnitTests/Storage/CsvStorageTargetResolverTests.cs similarity index 89% rename from src/Easify.Exports.UnitTests/Storage/CsvStorageTargetResolverTests.cs rename to src/LittleBlocks.Exports.UnitTests/Storage/CsvStorageTargetResolverTests.cs index 050fe6d..bc6dcb4 100644 --- a/src/Easify.Exports.UnitTests/Storage/CsvStorageTargetResolverTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Storage/CsvStorageTargetResolverTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,13 +15,13 @@ // along with this program. If not, see . // -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using FluentAssertions; using Storage.Net.Blobs; using Xunit; -namespace Easify.Exports.UnitTests.Storage +namespace LittleBlocks.Exports.UnitTests.Storage { public class CsvStorageTargetResolverTests { diff --git a/src/Easify.Exports.UnitTests/Storage/CsvStorageTargetTests.cs b/src/LittleBlocks.Exports.UnitTests/Storage/CsvStorageTargetTests.cs similarity index 87% rename from src/Easify.Exports.UnitTests/Storage/CsvStorageTargetTests.cs rename to src/LittleBlocks.Exports.UnitTests/Storage/CsvStorageTargetTests.cs index 27c7cbf..424a4d4 100644 --- a/src/Easify.Exports.UnitTests/Storage/CsvStorageTargetTests.cs +++ b/src/LittleBlocks.Exports.UnitTests/Storage/CsvStorageTargetTests.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,13 +18,13 @@ using System.IO; using System.Threading; using System.Threading.Tasks; -using Easify.Exports.Storage; -using Easify.Testing; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Testing; using NSubstitute; using Storage.Net.Blobs; using Xunit; -namespace Easify.Exports.UnitTests.Storage +namespace LittleBlocks.Exports.UnitTests.Storage { public class CsvStorageTargetTests { diff --git a/src/Easify.Exports.sln b/src/LittleBlocks.Exports.sln similarity index 75% rename from src/Easify.Exports.sln rename to src/LittleBlocks.Exports.sln index e0ee239..24dce2a 100644 --- a/src/Easify.Exports.sln +++ b/src/LittleBlocks.Exports.sln @@ -3,23 +3,28 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26124.0 MinimumVisualStudioVersion = 15.0.26124.0 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.Common", "Easify.Exports.Common\Easify.Exports.Common.csproj", "{2B895F35-BA24-4BA3-BD17-BCBB4FF2A271}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.Common", "LittleBlocks.Exports.Common\LittleBlocks.Exports.Common.csproj", "{2B895F35-BA24-4BA3-BD17-BCBB4FF2A271}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports", "Easify.Exports\Easify.Exports.csproj", "{C8E40DD6-945C-433B-9F67-8BFC434F6C18}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.Autofac", "LittleBlocks.Exports.Autofac\LittleBlocks.Exports.Autofac.csproj", "{76E591A5-AD6D-44DA-9DD7-7BB21FCDB0B9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.Autofac", "Easify.Exports.Autofac\Easify.Exports.Autofac.csproj", "{76E591A5-AD6D-44DA-9DD7-7BB21FCDB0B9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.Client", "LittleBlocks.Exports.Client\LittleBlocks.Exports.Client.csproj", "{637F8A35-71E6-4323-83D7-B6F5A4519453}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.Client", "Easify.Exports.Client\Easify.Exports.Client.csproj", "{637F8A35-71E6-4323-83D7-B6F5A4519453}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.Client.UnitTests", "LittleBlocks.Exports.Client.UnitTests\LittleBlocks.Exports.Client.UnitTests.csproj", "{D6B19C5F-2F46-49F7-9F19-4902ABB51DB4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.Client.UnitTests", "Easify.Exports.Client.UnitTests\Easify.Exports.Client.UnitTests.csproj", "{D6B19C5F-2F46-49F7-9F19-4902ABB51DB4}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.UnitTests", "LittleBlocks.Exports.UnitTests\LittleBlocks.Exports.UnitTests.csproj", "{BCCFDA00-54AA-4F77-B074-9E7BCE9407BD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.UnitTests", "Easify.Exports.UnitTests\Easify.Exports.UnitTests.csproj", "{BCCFDA00-54AA-4F77-B074-9E7BCE9407BD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.IntegrationTests", "LittleBlocks.Exports.IntegrationTests\LittleBlocks.Exports.IntegrationTests.csproj", "{44E07FF6-FE50-46E3-B970-250E6DA53F59}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.IntegrationTests", "Easify.Exports.IntegrationTests\Easify.Exports.IntegrationTests.csproj", "{44E07FF6-FE50-46E3-B970-250E6DA53F59}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.Agent", "LittleBlocks.Exports.Agent\LittleBlocks.Exports.Agent.csproj", "{B6A4736D-0570-4C31-B602-3A0C2DDC59AD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.Agent", "Easify.Exports.Agent\Easify.Exports.Agent.csproj", "{B6A4736D-0570-4C31-B602-3A0C2DDC59AD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports.Agent.UnitTests", "LittleBlocks.Exports.Agent.UnitTests\LittleBlocks.Exports.Agent.UnitTests.csproj", "{F576919C-F647-4F46-BBDD-37DF86A0E998}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Easify.Exports.Agent.UnitTests", "Easify.Exports.Agent.UnitTests\Easify.Exports.Agent.UnitTests.csproj", "{F576919C-F647-4F46-BBDD-37DF86A0E998}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LittleBlocks.Exports", "LittleBlocks.Exports\LittleBlocks.Exports.csproj", "{48DE9732-8250-41F4-921B-F2CD658D2AB6}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Extras", "Extras", "{094BBE37-9A8F-4BB3-8689-09851C379967}" + ProjectSection(SolutionItems) = preProject + ..\GitVersion.yml = ..\GitVersion.yml + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -46,18 +51,6 @@ Global {2B895F35-BA24-4BA3-BD17-BCBB4FF2A271}.Release|x64.Build.0 = Release|Any CPU {2B895F35-BA24-4BA3-BD17-BCBB4FF2A271}.Release|x86.ActiveCfg = Release|Any CPU {2B895F35-BA24-4BA3-BD17-BCBB4FF2A271}.Release|x86.Build.0 = Release|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Debug|x64.ActiveCfg = Debug|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Debug|x64.Build.0 = Debug|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Debug|x86.ActiveCfg = Debug|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Debug|x86.Build.0 = Debug|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Release|Any CPU.Build.0 = Release|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Release|x64.ActiveCfg = Release|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Release|x64.Build.0 = Release|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Release|x86.ActiveCfg = Release|Any CPU - {C8E40DD6-945C-433B-9F67-8BFC434F6C18}.Release|x86.Build.0 = Release|Any CPU {76E591A5-AD6D-44DA-9DD7-7BB21FCDB0B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {76E591A5-AD6D-44DA-9DD7-7BB21FCDB0B9}.Debug|Any CPU.Build.0 = Debug|Any CPU {76E591A5-AD6D-44DA-9DD7-7BB21FCDB0B9}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -142,5 +135,17 @@ Global {F576919C-F647-4F46-BBDD-37DF86A0E998}.Release|x64.Build.0 = Release|Any CPU {F576919C-F647-4F46-BBDD-37DF86A0E998}.Release|x86.ActiveCfg = Release|Any CPU {F576919C-F647-4F46-BBDD-37DF86A0E998}.Release|x86.Build.0 = Release|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Debug|x64.ActiveCfg = Debug|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Debug|x64.Build.0 = Debug|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Debug|x86.ActiveCfg = Debug|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Debug|x86.Build.0 = Debug|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Release|Any CPU.Build.0 = Release|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Release|x64.ActiveCfg = Release|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Release|x64.Build.0 = Release|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Release|x86.ActiveCfg = Release|Any CPU + {48DE9732-8250-41F4-921B-F2CD658D2AB6}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/Easify.Exports/Csv/CsvContextMapRegistry.cs b/src/LittleBlocks.Exports/Csv/CsvContextMapRegistry.cs similarity index 90% rename from src/Easify.Exports/Csv/CsvContextMapRegistry.cs rename to src/LittleBlocks.Exports/Csv/CsvContextMapRegistry.cs index 7166342..166ef34 100644 --- a/src/Easify.Exports/Csv/CsvContextMapRegistry.cs +++ b/src/LittleBlocks.Exports/Csv/CsvContextMapRegistry.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,7 +19,7 @@ using System.Collections.Concurrent; using CsvHelper.Configuration; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public class CsvContextMapRegistry : ICsvContextMapRegistry, ICsvContextMapResolver { diff --git a/src/Easify.Exports/Csv/CsvExportConfiguration.cs b/src/LittleBlocks.Exports/Csv/CsvExportConfiguration.cs similarity index 86% rename from src/Easify.Exports/Csv/CsvExportConfiguration.cs rename to src/LittleBlocks.Exports/Csv/CsvExportConfiguration.cs index 7d25b6e..a2cca93 100644 --- a/src/Easify.Exports/Csv/CsvExportConfiguration.cs +++ b/src/LittleBlocks.Exports/Csv/CsvExportConfiguration.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,9 +17,9 @@ using System; using CsvHelper.Configuration; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Storage; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public class CsvExportConfiguration { diff --git a/src/Easify.Exports/Csv/CsvExportConfigurationBuilder.cs b/src/LittleBlocks.Exports/Csv/CsvExportConfigurationBuilder.cs similarity index 95% rename from src/Easify.Exports/Csv/CsvExportConfigurationBuilder.cs rename to src/LittleBlocks.Exports/Csv/CsvExportConfigurationBuilder.cs index a4e8ece..ee121a6 100644 --- a/src/Easify.Exports/Csv/CsvExportConfigurationBuilder.cs +++ b/src/LittleBlocks.Exports/Csv/CsvExportConfigurationBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -20,7 +20,7 @@ using CsvHelper.Configuration; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public class CsvExportConfigurationBuilder : ICsvExportConfigurationBuilder { diff --git a/src/Easify.Exports/Csv/CsvFileExporter.cs b/src/LittleBlocks.Exports/Csv/CsvFileExporter.cs similarity index 95% rename from src/Easify.Exports/Csv/CsvFileExporter.cs rename to src/LittleBlocks.Exports/Csv/CsvFileExporter.cs index 9b51017..fa50841 100644 --- a/src/Easify.Exports/Csv/CsvFileExporter.cs +++ b/src/LittleBlocks.Exports/Csv/CsvFileExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,10 +19,10 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Easify.Exports.Extensions; +using LittleBlocks.Exports.Extensions; using Microsoft.Extensions.Logging; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public sealed class CsvFileExporter : IFileExporter { diff --git a/src/Easify.Exports/Csv/CsvFileWriter.cs b/src/LittleBlocks.Exports/Csv/CsvFileWriter.cs similarity index 96% rename from src/Easify.Exports/Csv/CsvFileWriter.cs rename to src/LittleBlocks.Exports/Csv/CsvFileWriter.cs index e1de84c..bafbd8b 100644 --- a/src/Easify.Exports/Csv/CsvFileWriter.cs +++ b/src/LittleBlocks.Exports/Csv/CsvFileWriter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -21,13 +21,13 @@ using System.Linq; using System.Threading.Tasks; using CsvHelper; -using Easify.Exports.Extensions; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Extensions; +using LittleBlocks.Exports.Storage; using Microsoft.Extensions.Logging; using NetBox.Extensions; using Polly; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public class CsvFileWriter : ICsvFileWriter { diff --git a/src/Easify.Exports/Csv/CvsContextExtensions.cs b/src/LittleBlocks.Exports/Csv/CvsContextExtensions.cs similarity index 92% rename from src/Easify.Exports/Csv/CvsContextExtensions.cs rename to src/LittleBlocks.Exports/Csv/CvsContextExtensions.cs index 1b1b9d9..20fce89 100644 --- a/src/Easify.Exports/Csv/CvsContextExtensions.cs +++ b/src/LittleBlocks.Exports/Csv/CvsContextExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -20,7 +20,7 @@ using CsvHelper; using CsvHelper.TypeConversion; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public static class CvsContextExtensions { diff --git a/src/Easify.Exports/Csv/DateBasedExportFileNameBuilder.cs b/src/LittleBlocks.Exports/Csv/DateBasedExportFileNameBuilder.cs similarity index 89% rename from src/Easify.Exports/Csv/DateBasedExportFileNameBuilder.cs rename to src/LittleBlocks.Exports/Csv/DateBasedExportFileNameBuilder.cs index 9b5547e..8435a01 100644 --- a/src/Easify.Exports/Csv/DateBasedExportFileNameBuilder.cs +++ b/src/LittleBlocks.Exports/Csv/DateBasedExportFileNameBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public class DateBasedExportFileNameBuilder : IExportFileNameBuilder { diff --git a/src/Easify.Exports/Csv/ExportResult.cs b/src/LittleBlocks.Exports/Csv/ExportResult.cs similarity index 93% rename from src/Easify.Exports/Csv/ExportResult.cs rename to src/LittleBlocks.Exports/Csv/ExportResult.cs index f078ea1..df8d56f 100644 --- a/src/Easify.Exports/Csv/ExportResult.cs +++ b/src/LittleBlocks.Exports/Csv/ExportResult.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public sealed class ExportResult { diff --git a/src/Easify.Exports/Csv/ICsvContextMapRegistry.cs b/src/LittleBlocks.Exports/Csv/ICsvContextMapRegistry.cs similarity index 86% rename from src/Easify.Exports/Csv/ICsvContextMapRegistry.cs rename to src/LittleBlocks.Exports/Csv/ICsvContextMapRegistry.cs index f98736a..8f691f6 100644 --- a/src/Easify.Exports/Csv/ICsvContextMapRegistry.cs +++ b/src/LittleBlocks.Exports/Csv/ICsvContextMapRegistry.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using CsvHelper.Configuration; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public interface ICsvContextMapRegistry { diff --git a/src/Easify.Exports/Csv/ICsvContextMapResolver.cs b/src/LittleBlocks.Exports/Csv/ICsvContextMapResolver.cs similarity index 85% rename from src/Easify.Exports/Csv/ICsvContextMapResolver.cs rename to src/LittleBlocks.Exports/Csv/ICsvContextMapResolver.cs index 39e2ef7..6f15a83 100644 --- a/src/Easify.Exports/Csv/ICsvContextMapResolver.cs +++ b/src/LittleBlocks.Exports/Csv/ICsvContextMapResolver.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public interface ICsvContextMapResolver { diff --git a/src/Easify.Exports/Csv/ICsvExportConfigurationBuilder.cs b/src/LittleBlocks.Exports/Csv/ICsvExportConfigurationBuilder.cs similarity index 85% rename from src/Easify.Exports/Csv/ICsvExportConfigurationBuilder.cs rename to src/LittleBlocks.Exports/Csv/ICsvExportConfigurationBuilder.cs index c90a389..b1f4b6e 100644 --- a/src/Easify.Exports/Csv/ICsvExportConfigurationBuilder.cs +++ b/src/LittleBlocks.Exports/Csv/ICsvExportConfigurationBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public interface ICsvExportConfigurationBuilder { diff --git a/src/Easify.Exports/Csv/ICsvFileWriter.cs b/src/LittleBlocks.Exports/Csv/ICsvFileWriter.cs similarity index 87% rename from src/Easify.Exports/Csv/ICsvFileWriter.cs rename to src/LittleBlocks.Exports/Csv/ICsvFileWriter.cs index b0eba57..3475984 100644 --- a/src/Easify.Exports/Csv/ICsvFileWriter.cs +++ b/src/LittleBlocks.Exports/Csv/ICsvFileWriter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,7 +18,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public interface ICsvFileWriter { diff --git a/src/Easify.Exports/Csv/IExportFileNameBuilder.cs b/src/LittleBlocks.Exports/Csv/IExportFileNameBuilder.cs similarity index 85% rename from src/Easify.Exports/Csv/IExportFileNameBuilder.cs rename to src/LittleBlocks.Exports/Csv/IExportFileNameBuilder.cs index cb45187..8394874 100644 --- a/src/Easify.Exports/Csv/IExportFileNameBuilder.cs +++ b/src/LittleBlocks.Exports/Csv/IExportFileNameBuilder.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public interface IExportFileNameBuilder { diff --git a/src/Easify.Exports/Csv/StorageTargetException.cs b/src/LittleBlocks.Exports/Csv/StorageTargetException.cs similarity index 91% rename from src/Easify.Exports/Csv/StorageTargetException.cs rename to src/LittleBlocks.Exports/Csv/StorageTargetException.cs index 5557208..415eb47 100644 --- a/src/Easify.Exports/Csv/StorageTargetException.cs +++ b/src/LittleBlocks.Exports/Csv/StorageTargetException.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -20,7 +20,7 @@ using System.Linq; using System.Text; -namespace Easify.Exports.Csv +namespace LittleBlocks.Exports.Csv { public class StorageTargetException : Exception { diff --git a/src/Easify.Exports/ExporterDefaults.cs b/src/LittleBlocks.Exports/ExporterDefaults.cs similarity index 87% rename from src/Easify.Exports/ExporterDefaults.cs rename to src/LittleBlocks.Exports/ExporterDefaults.cs index ecc35ba..8b25e58 100644 --- a/src/Easify.Exports/ExporterDefaults.cs +++ b/src/LittleBlocks.Exports/ExporterDefaults.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports +namespace LittleBlocks.Exports { public class ExporterDefaults { diff --git a/src/Easify.Exports/ExporterMetadata.cs b/src/LittleBlocks.Exports/ExporterMetadata.cs similarity index 85% rename from src/Easify.Exports/ExporterMetadata.cs rename to src/LittleBlocks.Exports/ExporterMetadata.cs index a5abe68..3b3ead9 100644 --- a/src/Easify.Exports/ExporterMetadata.cs +++ b/src/LittleBlocks.Exports/ExporterMetadata.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,9 +15,9 @@ // along with this program. If not, see . // -using Easify.Exports.Storage; +using LittleBlocks.Exports.Storage; -namespace Easify.Exports +namespace LittleBlocks.Exports { public class ExporterMetadata { diff --git a/src/Easify.Exports/ExporterOptions.cs b/src/LittleBlocks.Exports/ExporterOptions.cs similarity index 88% rename from src/Easify.Exports/ExporterOptions.cs rename to src/LittleBlocks.Exports/ExporterOptions.cs index f03979b..e67cce8 100644 --- a/src/Easify.Exports/ExporterOptions.cs +++ b/src/LittleBlocks.Exports/ExporterOptions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,10 +16,10 @@ // using System; -using Easify.Exports.Csv; -using Easify.Exports.Storage; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; -namespace Easify.Exports +namespace LittleBlocks.Exports { public sealed class ExporterOptions { diff --git a/src/Easify.Exports/Extensions/ObjectExtensions.cs b/src/LittleBlocks.Exports/Extensions/ObjectExtensions.cs similarity index 88% rename from src/Easify.Exports/Extensions/ObjectExtensions.cs rename to src/LittleBlocks.Exports/Extensions/ObjectExtensions.cs index 8344009..4db9dd6 100644 --- a/src/Easify.Exports/Extensions/ObjectExtensions.cs +++ b/src/LittleBlocks.Exports/Extensions/ObjectExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,7 +18,7 @@ using System; using Newtonsoft.Json; -namespace Easify.Exports.Extensions +namespace LittleBlocks.Exports.Extensions { public static class ObjectExtensions { diff --git a/src/Easify.Exports/IFileExporter.cs b/src/LittleBlocks.Exports/IFileExporter.cs similarity index 85% rename from src/Easify.Exports/IFileExporter.cs rename to src/LittleBlocks.Exports/IFileExporter.cs index 96bc21b..a5a3daa 100644 --- a/src/Easify.Exports/IFileExporter.cs +++ b/src/LittleBlocks.Exports/IFileExporter.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,9 +17,9 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Easify.Exports.Csv; +using LittleBlocks.Exports.Csv; -namespace Easify.Exports +namespace LittleBlocks.Exports { public interface IFileExporter { diff --git a/src/Easify.Exports/Easify.Exports.csproj b/src/LittleBlocks.Exports/LittleBlocks.Exports.csproj similarity index 51% rename from src/Easify.Exports/Easify.Exports.csproj rename to src/LittleBlocks.Exports/LittleBlocks.Exports.csproj index 53887fd..6fa221f 100644 --- a/src/Easify.Exports/Easify.Exports.csproj +++ b/src/LittleBlocks.Exports/LittleBlocks.Exports.csproj @@ -3,25 +3,21 @@ netstandard2.0 true - Easify.Exports + LittleBlocks.Exports Mohammad Moattar, Lewis Percival - 9 - https://github.com/icgam/Easify.Exports - https://github.com/icgam/Easify.Exports + default + https://github.com/LittleBlocks/LittleBlocks.Exports + https://github.com/LittleBlocks/LittleBlocks.Exports - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - + + + + + + + diff --git a/src/Easify.Exports/ServiceCollectionExtensions.cs b/src/LittleBlocks.Exports/ServiceCollectionExtensions.cs similarity index 95% rename from src/Easify.Exports/ServiceCollectionExtensions.cs rename to src/LittleBlocks.Exports/ServiceCollectionExtensions.cs index 5d43c2f..1a0668f 100644 --- a/src/Easify.Exports/ServiceCollectionExtensions.cs +++ b/src/LittleBlocks.Exports/ServiceCollectionExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,17 +16,17 @@ // using System; -using Easify.Exports.Csv; -using Easify.Exports.Storage; -using Easify.Exports.Storage.Fluent.AzureBlobs; -using Easify.Exports.Storage.Fluent.S3; -using Easify.Exports.Storage.Fluent.S3.Fluent; +using LittleBlocks.Exports.Csv; +using LittleBlocks.Exports.Storage; +using LittleBlocks.Exports.Storage.Fluent.AzureBlobs; +using LittleBlocks.Exports.Storage.Fluent.S3; +using LittleBlocks.Exports.Storage.Fluent.S3.Fluent; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Storage.Net; -namespace Easify.Exports +namespace LittleBlocks.Exports { public static class ServiceCollectionExtensions { diff --git a/src/Easify.Exports/Storage/CsvStorageTargetResolver.cs b/src/LittleBlocks.Exports/Storage/CsvStorageTargetResolver.cs similarity index 90% rename from src/Easify.Exports/Storage/CsvStorageTargetResolver.cs rename to src/LittleBlocks.Exports/Storage/CsvStorageTargetResolver.cs index aa064cf..5ef0771 100644 --- a/src/Easify.Exports/Storage/CsvStorageTargetResolver.cs +++ b/src/LittleBlocks.Exports/Storage/CsvStorageTargetResolver.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,7 +19,7 @@ using System.Collections.Generic; using System.Linq; -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public sealed class CsvStorageTargetResolver : ICsvStorageTargetResolver { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs similarity index 91% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs index b9e8431..afe17e3 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/BlobAzureAdOptions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public class BlobAzureAdOptions : IHaveAzureAdAccount, IAuthenticateWithAzureAd, IAmInTenant { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs similarity index 88% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs index 98c449c..1ade158 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/BlobSharedKeyOptions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public class BlobSharedKeyOptions : IHaveSharedKeyAccount, IAuthenticateWithSharedKey { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IAmInTenant.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAmInTenant.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/IAmInTenant.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAmInTenant.cs index 81f97a4..b7917de 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IAmInTenant.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAmInTenant.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public interface IAmInTenant { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs similarity index 84% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs index 1f19494..f5d6cd3 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithAzureAd.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public interface IAuthenticateWithAzureAd : IAmInTenant { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs index dcbc7c1..d035548 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IAuthenticateWithSharedKey.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public interface IAuthenticateWithSharedKey { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs index 6f26696..34cc720 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IHaveAzureAdAccount.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public interface IHaveAzureAdAccount { diff --git a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs rename to src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs index aea2473..466f9e1 100644 --- a/src/Easify.Exports/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/AzureBlobs/IHaveSharedKeyAccount.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.AzureBlobs +namespace LittleBlocks.Exports.Storage.Fluent.AzureBlobs { public interface IHaveSharedKeyAccount { diff --git a/src/Easify.Exports/Storage/Fluent/S3/BucketOptions.cs b/src/LittleBlocks.Exports/Storage/Fluent/S3/BucketOptions.cs similarity index 88% rename from src/Easify.Exports/Storage/Fluent/S3/BucketOptions.cs rename to src/LittleBlocks.Exports/Storage/Fluent/S3/BucketOptions.cs index 1358bd0..89f9e8a 100644 --- a/src/Easify.Exports/Storage/Fluent/S3/BucketOptions.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/S3/BucketOptions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -16,9 +16,9 @@ // using System; -using Easify.Exports.Storage.Fluent.S3.Fluent; +using LittleBlocks.Exports.Storage.Fluent.S3.Fluent; -namespace Easify.Exports.Storage.Fluent.S3 +namespace LittleBlocks.Exports.Storage.Fluent.S3 { public sealed class BucketOptions : IHaveProfile, IAmInRegion { diff --git a/src/Easify.Exports/Storage/Fluent/S3/BucketOptionsExtensions.cs b/src/LittleBlocks.Exports/Storage/Fluent/S3/BucketOptionsExtensions.cs similarity index 94% rename from src/Easify.Exports/Storage/Fluent/S3/BucketOptionsExtensions.cs rename to src/LittleBlocks.Exports/Storage/Fluent/S3/BucketOptionsExtensions.cs index af66e23..8345d4d 100644 --- a/src/Easify.Exports/Storage/Fluent/S3/BucketOptionsExtensions.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/S3/BucketOptionsExtensions.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -19,7 +19,7 @@ using Amazon.Runtime; using Amazon.Runtime.CredentialManagement; -namespace Easify.Exports.Storage.Fluent.S3 +namespace LittleBlocks.Exports.Storage.Fluent.S3 { public static class BucketOptionsExtensions { diff --git a/src/Easify.Exports/Storage/Fluent/S3/Fluent/IAmInRegion.cs b/src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/IAmInRegion.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/S3/Fluent/IAmInRegion.cs rename to src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/IAmInRegion.cs index 1f7fb02..1969f4e 100644 --- a/src/Easify.Exports/Storage/Fluent/S3/Fluent/IAmInRegion.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/IAmInRegion.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.S3.Fluent +namespace LittleBlocks.Exports.Storage.Fluent.S3.Fluent { public interface IAmInRegion : INeedBucket { diff --git a/src/Easify.Exports/Storage/Fluent/S3/Fluent/IHaveProfile.cs b/src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/IHaveProfile.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/S3/Fluent/IHaveProfile.cs rename to src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/IHaveProfile.cs index 6e75004..10016da 100644 --- a/src/Easify.Exports/Storage/Fluent/S3/Fluent/IHaveProfile.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/IHaveProfile.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.S3.Fluent +namespace LittleBlocks.Exports.Storage.Fluent.S3.Fluent { public interface IHaveProfile { diff --git a/src/Easify.Exports/Storage/Fluent/S3/Fluent/INeedBucket.cs b/src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/INeedBucket.cs similarity index 83% rename from src/Easify.Exports/Storage/Fluent/S3/Fluent/INeedBucket.cs rename to src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/INeedBucket.cs index dac6768..6a0e70c 100644 --- a/src/Easify.Exports/Storage/Fluent/S3/Fluent/INeedBucket.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/S3/Fluent/INeedBucket.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage.Fluent.S3.Fluent +namespace LittleBlocks.Exports.Storage.Fluent.S3.Fluent { public interface INeedBucket { diff --git a/src/Easify.Exports/Storage/Fluent/S3/InvalidAwsProfileException.cs b/src/LittleBlocks.Exports/Storage/Fluent/S3/InvalidAwsProfileException.cs similarity index 85% rename from src/Easify.Exports/Storage/Fluent/S3/InvalidAwsProfileException.cs rename to src/LittleBlocks.Exports/Storage/Fluent/S3/InvalidAwsProfileException.cs index 0b563d7..29ef4de 100644 --- a/src/Easify.Exports/Storage/Fluent/S3/InvalidAwsProfileException.cs +++ b/src/LittleBlocks.Exports/Storage/Fluent/S3/InvalidAwsProfileException.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Storage.Fluent.S3 +namespace LittleBlocks.Exports.Storage.Fluent.S3 { public class InvalidAwsProfileException : Exception { diff --git a/src/Easify.Exports/Storage/GenericCsvStorageTarget.cs b/src/LittleBlocks.Exports/Storage/GenericCsvStorageTarget.cs similarity index 94% rename from src/Easify.Exports/Storage/GenericCsvStorageTarget.cs rename to src/LittleBlocks.Exports/Storage/GenericCsvStorageTarget.cs index 1e2afb6..fdb3816 100644 --- a/src/Easify.Exports/Storage/GenericCsvStorageTarget.cs +++ b/src/LittleBlocks.Exports/Storage/GenericCsvStorageTarget.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -21,7 +21,7 @@ using System.Threading.Tasks; using Storage.Net.Blobs; -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public sealed class GenericCsvStorageTarget : ICsvStorageTarget { diff --git a/src/Easify.Exports/Storage/ICsvStorageTarget.cs b/src/LittleBlocks.Exports/Storage/ICsvStorageTarget.cs similarity index 87% rename from src/Easify.Exports/Storage/ICsvStorageTarget.cs rename to src/LittleBlocks.Exports/Storage/ICsvStorageTarget.cs index a185eb9..049768c 100644 --- a/src/Easify.Exports/Storage/ICsvStorageTarget.cs +++ b/src/LittleBlocks.Exports/Storage/ICsvStorageTarget.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System.Threading.Tasks; -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public interface ICsvStorageTarget { diff --git a/src/Easify.Exports/Storage/ICsvStorageTargetResolver.cs b/src/LittleBlocks.Exports/Storage/ICsvStorageTargetResolver.cs similarity index 85% rename from src/Easify.Exports/Storage/ICsvStorageTargetResolver.cs rename to src/LittleBlocks.Exports/Storage/ICsvStorageTargetResolver.cs index 3dbb2a9..24707ee 100644 --- a/src/Easify.Exports/Storage/ICsvStorageTargetResolver.cs +++ b/src/LittleBlocks.Exports/Storage/ICsvStorageTargetResolver.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public interface ICsvStorageTargetResolver { diff --git a/src/Easify.Exports/Storage/LocalDiskCsvStorageTarget.cs b/src/LittleBlocks.Exports/Storage/LocalDiskCsvStorageTarget.cs similarity index 93% rename from src/Easify.Exports/Storage/LocalDiskCsvStorageTarget.cs rename to src/LittleBlocks.Exports/Storage/LocalDiskCsvStorageTarget.cs index ec39d93..5e25bff 100644 --- a/src/Easify.Exports/Storage/LocalDiskCsvStorageTarget.cs +++ b/src/LittleBlocks.Exports/Storage/LocalDiskCsvStorageTarget.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -22,7 +22,7 @@ using Storage.Net; using Storage.Net.Blobs; -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { [ExcludeFromCodeCoverage] public sealed class LocalDiskCsvStorageTarget : ICsvStorageTarget diff --git a/src/Easify.Exports/Storage/StorageTarget.cs b/src/LittleBlocks.Exports/Storage/StorageTarget.cs similarity index 86% rename from src/Easify.Exports/Storage/StorageTarget.cs rename to src/LittleBlocks.Exports/Storage/StorageTarget.cs index 1844378..70c6585 100644 --- a/src/Easify.Exports/Storage/StorageTarget.cs +++ b/src/LittleBlocks.Exports/Storage/StorageTarget.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public sealed class StorageTarget { diff --git a/src/Easify.Exports/Storage/StorageTargetNotFoundException.cs b/src/LittleBlocks.Exports/Storage/StorageTargetNotFoundException.cs similarity index 86% rename from src/Easify.Exports/Storage/StorageTargetNotFoundException.cs rename to src/LittleBlocks.Exports/Storage/StorageTargetNotFoundException.cs index 2feb240..de26add 100644 --- a/src/Easify.Exports/Storage/StorageTargetNotFoundException.cs +++ b/src/LittleBlocks.Exports/Storage/StorageTargetNotFoundException.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ using System; -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public sealed class StorageTargetNotFoundException : Exception { diff --git a/src/Easify.Exports/Storage/StorageTargetType.cs b/src/LittleBlocks.Exports/Storage/StorageTargetType.cs similarity index 85% rename from src/Easify.Exports/Storage/StorageTargetType.cs rename to src/LittleBlocks.Exports/Storage/StorageTargetType.cs index df41164..bfcca02 100644 --- a/src/Easify.Exports/Storage/StorageTargetType.cs +++ b/src/LittleBlocks.Exports/Storage/StorageTargetType.cs @@ -1,5 +1,5 @@ -// This software is part of the Easify.Exports Library -// Copyright (C) 2021 Intermediate Capital Group +// This software is part of the LittleBlocks.Exports Library +// Copyright (C) 2021 LittleBlocks // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -15,7 +15,7 @@ // along with this program. If not, see . // -namespace Easify.Exports.Storage +namespace LittleBlocks.Exports.Storage { public enum StorageTargetType {