netcore-blueprint 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/create.js +32 -40
- package/package.json +1 -1
- package/Blueprint.API/Blueprint.API.csproj +0 -28
- package/Blueprint.API/Blueprint.API.csproj.user +0 -8
- package/Blueprint.API/Blueprint.API.http +0 -6
- package/Blueprint.API/Controllers/UserController.cs +0 -179
- package/Blueprint.API/Controllers/UserControllerAsync.cs +0 -51
- package/Blueprint.API/Controllers/VersionController.cs +0 -43
- package/Blueprint.API/Controllers/WeatherForecastController.cs +0 -33
- package/Blueprint.API/Mappers/DtoMappingProfile.cs +0 -28
- package/Blueprint.API/Program.cs +0 -176
- package/Blueprint.API/Properties/launchSettings.json +0 -41
- package/Blueprint.API/Services/RabbitMqConsumerService.cs +0 -154
- package/Blueprint.API/WeatherForecast.cs +0 -13
- package/Blueprint.API/appsettings.Development.json +0 -8
- package/Blueprint.API/appsettings.json +0 -22
- package/Blueprint.API/bin/Debug/net8.0/AWSSDK.Core.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/AWSSDK.Extensions.NETCore.Setup.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/AWSSDK.S3.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/AutoMapper.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.deps.json +0 -1702
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.exe +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.pdb +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.API.runtimeconfig.json +0 -20
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.deps.json +0 -1636
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.exe +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.pdb +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Blueprint.Infra.runtimeconfig.json +0 -13
- package/Blueprint.API/bin/Debug/net8.0/DnsClient.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Humanizer.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.AspNetCore.Mvc.Versioning.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Microsoft.OpenApi.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/MongoDB.Driver.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Mono.TextTemplating.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/MySqlConnector.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Pomelo.EntityFrameworkCore.MySql.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/RabbitMQ.Client.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/SharpCompress.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Snappier.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.CodeDom.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.Composition.AttributedModel.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.Composition.Convention.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.Composition.Hosting.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.Composition.Runtime.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.Composition.TypedParts.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ZstdSharp.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/appsettings.Development.json +0 -8
- package/Blueprint.API/bin/Debug/net8.0/appsettings.json +0 -22
- package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.API/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.API/obj/Blueprint.API.csproj.nuget.dgspec.json +0 -283
- package/Blueprint.API/obj/Blueprint.API.csproj.nuget.g.props +0 -28
- package/Blueprint.API/obj/Blueprint.API.csproj.nuget.g.targets +0 -11
- package/Blueprint.API/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
- package/Blueprint.API/obj/Debug/net8.0/Blueprin.4BAE1BA3.Up2Date +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.AssemblyInfo.cs +0 -23
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.AssemblyInfoInputs.cache +0 -1
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GeneratedMSBuildEditorConfig.editorconfig +0 -19
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.GlobalUsings.g.cs +0 -17
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.MvcApplicationPartsAssemblyInfo.cache +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.MvcApplicationPartsAssemblyInfo.cs +0 -18
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.assets.cache +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.AssemblyReference.cache +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.BuildWithSkipAnalyzers +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.CoreCompileInputs.cache +0 -1
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.csproj.FileListAbsolute.txt +0 -142
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.dll +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.genruntimeconfig.cache +0 -1
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.pdb +0 -0
- package/Blueprint.API/obj/Debug/net8.0/Blueprint.API.sourcelink.json +0 -1
- package/Blueprint.API/obj/Debug/net8.0/apphost.exe +0 -0
- package/Blueprint.API/obj/Debug/net8.0/ref/Blueprint.API.dll +0 -0
- package/Blueprint.API/obj/Debug/net8.0/refint/Blueprint.API.dll +0 -0
- package/Blueprint.API/obj/Debug/net8.0/staticwebassets/msbuild.build.Blueprint.API.props +0 -3
- package/Blueprint.API/obj/Debug/net8.0/staticwebassets/msbuild.buildMultiTargeting.Blueprint.API.props +0 -3
- package/Blueprint.API/obj/Debug/net8.0/staticwebassets/msbuild.buildTransitive.Blueprint.API.props +0 -3
- package/Blueprint.API/obj/Debug/net8.0/staticwebassets.build.json +0 -11
- package/Blueprint.API/obj/project.assets.json +0 -5171
- package/Blueprint.API/obj/project.nuget.cache +0 -105
- package/Blueprint.API.sln +0 -43
- package/Blueprint.Core/Blueprint.Core.csproj +0 -15
- package/Blueprint.Core/Dtos/Requests/BaseRequestDto.cs +0 -25
- package/Blueprint.Core/Dtos/Requests/UserRequestDto.cs +0 -12
- package/Blueprint.Core/Dtos/Responses/BaseResponseDto.cs +0 -28
- package/Blueprint.Core/Dtos/Responses/UserResponseDto.cs +0 -11
- package/Blueprint.Core/Entities/BaseEntity.cs +0 -23
- package/Blueprint.Core/Entities/Category.cs +0 -9
- package/Blueprint.Core/Entities/Product.cs +0 -13
- package/Blueprint.Core/Entities/User.cs +0 -16
- package/Blueprint.Core/Enums/ActionType.cs +0 -11
- package/Blueprint.Core/Enums/UserRole.cs +0 -10
- package/Blueprint.Core/Interfaces/API/IItemService.cs +0 -13
- package/Blueprint.Core/Interfaces/API/IUserService.cs +0 -10
- package/Blueprint.Core/Interfaces/SPI/IItemInfra.cs +0 -14
- package/Blueprint.Core/Interfaces/SPI/IRabbitMqService.cs +0 -7
- package/Blueprint.Core/Interfaces/SPI/IRepositoryFactory.cs +0 -10
- package/Blueprint.Core/Interfaces/SPI/IUserInfra.cs +0 -10
- package/Blueprint.Core/Models/Error.cs +0 -69
- package/Blueprint.Core/Models/ErrorDetail.cs +0 -8
- package/Blueprint.Core/Models/PagerData.cs +0 -8
- package/Blueprint.Core/Models/PagingParams.cs +0 -8
- package/Blueprint.Core/Program.cs +0 -7
- package/Blueprint.Core/Properties/launchSettings.json +0 -12
- package/Blueprint.Core/Services/ItemService.cs +0 -47
- package/Blueprint.Core/Services/UserService.cs +0 -108
- package/Blueprint.Core/StaticClasses/Errors.cs +0 -20
- package/Blueprint.Core/Worker.cs +0 -24
- package/Blueprint.Core/appsettings.Development.json +0 -8
- package/Blueprint.Core/appsettings.json +0 -8
- package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
- package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Binder.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Json.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Configuration.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Physical.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Hosting.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Configuration.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Console.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.Debug.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventLog.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventSource.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/System.Diagnostics.EventLog.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/appsettings.Development.json +0 -8
- package/Blueprint.Core/bin/Debug/net8.0/appsettings.json +0 -8
- package/Blueprint.Core/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll +0 -0
- package/Blueprint.Core/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll +0 -0
- package/Blueprint.Core/obj/Blueprint.Core.csproj.nuget.dgspec.json +0 -83
- package/Blueprint.Core/obj/Blueprint.Core.csproj.nuget.g.props +0 -18
- package/Blueprint.Core/obj/Blueprint.Core.csproj.nuget.g.targets +0 -10
- package/Blueprint.Core/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
- package/Blueprint.Core/obj/Debug/net8.0/Blueprin.55786069.Up2Date +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.AssemblyInfo.cs +0 -24
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.AssemblyInfoInputs.cache +0 -1
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.GeneratedMSBuildEditorConfig.editorconfig +0 -13
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.GlobalUsings.g.cs +0 -12
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.assets.cache +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.AssemblyReference.cache +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.BuildWithSkipAnalyzers +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.CoreCompileInputs.cache +0 -1
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.csproj.FileListAbsolute.txt +0 -56
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.dll +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.genruntimeconfig.cache +0 -1
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.pdb +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/Blueprint.Core.sourcelink.json +0 -1
- package/Blueprint.Core/obj/Debug/net8.0/apphost.exe +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/ref/Blueprint.Core.dll +0 -0
- package/Blueprint.Core/obj/Debug/net8.0/refint/Blueprint.Core.dll +0 -0
- package/Blueprint.Core/obj/project.assets.json +0 -2182
- package/Blueprint.Core/obj/project.nuget.cache +0 -49
- package/Blueprint.Infra/Blueprint.Infra.csproj +0 -29
- package/Blueprint.Infra/Database/DbInitializer.cs +0 -188
- package/Blueprint.Infra/Database/MyDbContext.cs +0 -24
- package/Blueprint.Infra/Program.cs +0 -7
- package/Blueprint.Infra/Properties/launchSettings.json +0 -12
- package/Blueprint.Infra/Services/MongoItemInfra.cs +0 -110
- package/Blueprint.Infra/Services/MongoUserInfra.cs +0 -31
- package/Blueprint.Infra/Services/MySQLItemInfra.cs +0 -111
- package/Blueprint.Infra/Services/MySQLUserInfra.cs +0 -30
- package/Blueprint.Infra/Services/RabbitMqService.cs +0 -61
- package/Blueprint.Infra/Services/RepositoryFactory.cs +0 -39
- package/Blueprint.Infra/Worker.cs +0 -24
- package/Blueprint.Infra/appsettings.Development.json +0 -8
- package/Blueprint.Infra/appsettings.json +0 -8
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.deps.json +0 -1636
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.exe +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.pdb +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Blueprint.Infra.runtimeconfig.json +0 -13
- package/Blueprint.Infra/bin/Debug/net8.0/DnsClient.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Humanizer.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Binder.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.Json.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Configuration.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Diagnostics.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.FileProviders.Physical.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Hosting.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Configuration.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Console.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.Debug.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventLog.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.EventSource.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/MongoDB.Driver.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Mono.TextTemplating.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/MySqlConnector.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Pomelo.EntityFrameworkCore.MySql.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/RabbitMQ.Client.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/SharpCompress.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/Snappier.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.CodeDom.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.AttributedModel.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.Convention.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.Hosting.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.Runtime.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Composition.TypedParts.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Diagnostics.EventLog.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.IO.Pipelines.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/System.Threading.RateLimiting.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ZstdSharp.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/appsettings.Development.json +0 -8
- package/Blueprint.Infra/bin/Debug/net8.0/appsettings.json +0 -8
- package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/Blueprint.Infra/bin/Debug/net8.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/Blueprint.Infra/obj/Blueprint.Infra.csproj.nuget.dgspec.json +0 -176
- package/Blueprint.Infra/obj/Blueprint.Infra.csproj.nuget.g.props +0 -24
- package/Blueprint.Infra/obj/Blueprint.Infra.csproj.nuget.g.targets +0 -10
- package/Blueprint.Infra/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprin.DC076348.Up2Date +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.AssemblyInfo.cs +0 -24
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.AssemblyInfoInputs.cache +0 -1
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.GeneratedMSBuildEditorConfig.editorconfig +0 -13
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.GlobalUsings.g.cs +0 -12
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.assets.cache +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.AssemblyReference.cache +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.BuildWithSkipAnalyzers +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.CoreCompileInputs.cache +0 -1
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.csproj.FileListAbsolute.txt +0 -143
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.dll +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.genruntimeconfig.cache +0 -1
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.pdb +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/Blueprint.Infra.sourcelink.json +0 -1
- package/Blueprint.Infra/obj/Debug/net8.0/apphost.exe +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/ref/Blueprint.Infra.dll +0 -0
- package/Blueprint.Infra/obj/Debug/net8.0/refint/Blueprint.Infra.dll +0 -0
- package/Blueprint.Infra/obj/project.assets.json +0 -4442
- package/Blueprint.Infra/obj/project.nuget.cache +0 -92
- package/Blueprint.Test/Blueprint.Test.csproj +0 -29
- package/Blueprint.Test/UnitTest1.cs +0 -11
- package/Blueprint.Test/bin/Debug/net8.0/AWSSDK.Core.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/AWSSDK.Extensions.NETCore.Setup.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/AWSSDK.S3.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/AutoMapper.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.deps.json +0 -1702
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.exe +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.pdb +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.API.runtimeconfig.json +0 -20
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.deps.json +0 -777
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.exe +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.pdb +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Core.runtimeconfig.json +0 -12
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.deps.json +0 -1636
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.exe +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.pdb +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Infra.runtimeconfig.json +0 -13
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.deps.json +0 -2804
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.pdb +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Blueprint.Test.runtimeconfig.json +0 -19
- package/Blueprint.Test/bin/Debug/net8.0/CoverletSourceRootsMapping_Blueprint.Test +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/DnsClient.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.AspNetCore.Mvc.Versioning.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Bcl.Memory.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.Extensions.Options.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.OpenApi.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.CommunicationUtilities.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.CoreUtilities.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.CrossPlatEngine.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.PlatformAbstractions.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.TestPlatform.Utilities.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.VisualStudio.CodeCoverage.Shim.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.Common.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Microsoft.VisualStudio.TestPlatform.ObjectModel.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/MongoDB.Bson.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/MongoDB.Driver.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/MySqlConnector.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Newtonsoft.Json.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/NuGet.Frameworks.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Pomelo.EntityFrameworkCore.MySql.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/RabbitMQ.Client.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/SharpCompress.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Snappier.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ZstdSharp.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/appsettings.Development.json +0 -8
- package/Blueprint.Test/bin/Debug/net8.0/appsettings.json +0 -17
- package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/testhost.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/testhost.exe +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.abstractions.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.assert.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.core.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.execution.dotnet.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.runner.reporters.netcoreapp10.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.runner.utility.netcoreapp10.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/xunit.runner.visualstudio.dotnetcore.testadapter.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.TestPlatform.CommunicationUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.TestPlatform.CrossPlatEngine.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.Common.resources.dll +0 -0
- package/Blueprint.Test/bin/Debug/net8.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll +0 -0
- package/Blueprint.Test/obj/Blueprint.Test.csproj.nuget.dgspec.json +0 -372
- package/Blueprint.Test/obj/Blueprint.Test.csproj.nuget.g.props +0 -30
- package/Blueprint.Test/obj/Blueprint.Test.csproj.nuget.g.targets +0 -14
- package/Blueprint.Test/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +0 -4
- package/Blueprint.Test/obj/Debug/net8.0/Blueprin.BFA8907E.Up2Date +0 -0
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.AssemblyInfo.cs +0 -23
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.AssemblyInfoInputs.cache +0 -1
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.GeneratedMSBuildEditorConfig.editorconfig +0 -13
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.GlobalUsings.g.cs +0 -9
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.assets.cache +0 -0
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.csproj.AssemblyReference.cache +0 -0
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.csproj.CoreCompileInputs.cache +0 -1
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.csproj.FileListAbsolute.txt +0 -154
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.dll +0 -0
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.genruntimeconfig.cache +0 -1
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.pdb +0 -0
- package/Blueprint.Test/obj/Debug/net8.0/Blueprint.Test.sourcelink.json +0 -1
- package/Blueprint.Test/obj/Debug/net8.0/ref/Blueprint.Test.dll +0 -0
- package/Blueprint.Test/obj/Debug/net8.0/refint/Blueprint.Test.dll +0 -0
- package/Blueprint.Test/obj/project.assets.json +0 -9266
- package/Blueprint.Test/obj/project.nuget.cache +0 -170
- package/README.md +0 -0
- package/gitignore +0 -12
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 2,
|
|
3
|
-
"dgSpecHash": "D6m8Geo8sLs=",
|
|
4
|
-
"success": true,
|
|
5
|
-
"projectFilePath": "D:\\@Projects\\@@ Blueprint\\NetWebAPIBlueprint\\Blueprint.API\\Blueprint.Core\\Blueprint.Core.csproj",
|
|
6
|
-
"expectedPackageFiles": [
|
|
7
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.bcl.memory\\9.0.0\\microsoft.bcl.memory.9.0.0.nupkg.sha512",
|
|
8
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration\\8.0.0\\microsoft.extensions.configuration.8.0.0.nupkg.sha512",
|
|
9
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\8.0.0\\microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512",
|
|
10
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.binder\\8.0.0\\microsoft.extensions.configuration.binder.8.0.0.nupkg.sha512",
|
|
11
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\8.0.0\\microsoft.extensions.configuration.commandline.8.0.0.nupkg.sha512",
|
|
12
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\8.0.0\\microsoft.extensions.configuration.environmentvariables.8.0.0.nupkg.sha512",
|
|
13
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\8.0.0\\microsoft.extensions.configuration.fileextensions.8.0.0.nupkg.sha512",
|
|
14
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.json\\8.0.0\\microsoft.extensions.configuration.json.8.0.0.nupkg.sha512",
|
|
15
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\8.0.0\\microsoft.extensions.configuration.usersecrets.8.0.0.nupkg.sha512",
|
|
16
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.0\\microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512",
|
|
17
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512",
|
|
18
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.diagnostics\\8.0.0\\microsoft.extensions.diagnostics.8.0.0.nupkg.sha512",
|
|
19
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\8.0.0\\microsoft.extensions.diagnostics.abstractions.8.0.0.nupkg.sha512",
|
|
20
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\8.0.0\\microsoft.extensions.fileproviders.abstractions.8.0.0.nupkg.sha512",
|
|
21
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\8.0.0\\microsoft.extensions.fileproviders.physical.8.0.0.nupkg.sha512",
|
|
22
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\8.0.0\\microsoft.extensions.filesystemglobbing.8.0.0.nupkg.sha512",
|
|
23
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.hosting\\8.0.0\\microsoft.extensions.hosting.8.0.0.nupkg.sha512",
|
|
24
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\8.0.0\\microsoft.extensions.hosting.abstractions.8.0.0.nupkg.sha512",
|
|
25
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging\\8.0.0\\microsoft.extensions.logging.8.0.0.nupkg.sha512",
|
|
26
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512",
|
|
27
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.configuration\\8.0.0\\microsoft.extensions.logging.configuration.8.0.0.nupkg.sha512",
|
|
28
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.console\\8.0.0\\microsoft.extensions.logging.console.8.0.0.nupkg.sha512",
|
|
29
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.debug\\8.0.0\\microsoft.extensions.logging.debug.8.0.0.nupkg.sha512",
|
|
30
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\8.0.0\\microsoft.extensions.logging.eventlog.8.0.0.nupkg.sha512",
|
|
31
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\8.0.0\\microsoft.extensions.logging.eventsource.8.0.0.nupkg.sha512",
|
|
32
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.options\\8.0.0\\microsoft.extensions.options.8.0.0.nupkg.sha512",
|
|
33
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\8.0.0\\microsoft.extensions.options.configurationextensions.8.0.0.nupkg.sha512",
|
|
34
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.extensions.primitives\\8.0.0\\microsoft.extensions.primitives.8.0.0.nupkg.sha512",
|
|
35
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.3.1\\microsoft.identitymodel.abstractions.8.3.1.nupkg.sha512",
|
|
36
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.3.1\\microsoft.identitymodel.jsonwebtokens.8.3.1.nupkg.sha512",
|
|
37
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.logging\\8.3.1\\microsoft.identitymodel.logging.8.3.1.nupkg.sha512",
|
|
38
|
-
"C:\\Users\\Truong\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.3.1\\microsoft.identitymodel.tokens.8.3.1.nupkg.sha512",
|
|
39
|
-
"C:\\Users\\Truong\\.nuget\\packages\\mongodb.bson\\3.1.0\\mongodb.bson.3.1.0.nupkg.sha512",
|
|
40
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.0\\system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512",
|
|
41
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.diagnostics.eventlog\\8.0.0\\system.diagnostics.eventlog.8.0.0.nupkg.sha512",
|
|
42
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.3.1\\system.identitymodel.tokens.jwt.8.3.1.nupkg.sha512",
|
|
43
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
|
|
44
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
|
|
45
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.text.encodings.web\\8.0.0\\system.text.encodings.web.8.0.0.nupkg.sha512",
|
|
46
|
-
"C:\\Users\\Truong\\.nuget\\packages\\system.text.json\\8.0.0\\system.text.json.8.0.0.nupkg.sha512"
|
|
47
|
-
],
|
|
48
|
-
"logs": []
|
|
49
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<Project Sdk="Microsoft.NET.Sdk.Worker">
|
|
2
|
-
|
|
3
|
-
<PropertyGroup>
|
|
4
|
-
<TargetFramework>net8.0</TargetFramework>
|
|
5
|
-
<Nullable>enable</Nullable>
|
|
6
|
-
<ImplicitUsings>enable</ImplicitUsings>
|
|
7
|
-
<UserSecretsId>dotnet-Blueprint.Infra-8aff4112-afb5-45ca-b7eb-618ff5523ffe</UserSecretsId>
|
|
8
|
-
</PropertyGroup>
|
|
9
|
-
|
|
10
|
-
<ItemGroup>
|
|
11
|
-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
|
|
12
|
-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.10">
|
|
13
|
-
<PrivateAssets>all</PrivateAssets>
|
|
14
|
-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
15
|
-
</PackageReference>
|
|
16
|
-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
|
|
17
|
-
<PackageReference Include="MongoDB.Driver" Version="3.1.0" />
|
|
18
|
-
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.2" />
|
|
19
|
-
<PackageReference Include="RabbitMQ.Client" Version="7.0.0" />
|
|
20
|
-
</ItemGroup>
|
|
21
|
-
|
|
22
|
-
<ItemGroup>
|
|
23
|
-
<ProjectReference Include="..\Blueprint.Core\Blueprint.Core.csproj" />
|
|
24
|
-
</ItemGroup>
|
|
25
|
-
|
|
26
|
-
<ItemGroup>
|
|
27
|
-
<Folder Include="Models\" />
|
|
28
|
-
</ItemGroup>
|
|
29
|
-
</Project>
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
using Microsoft.EntityFrameworkCore;
|
|
2
|
-
using Blueprint.Core.Entities;
|
|
3
|
-
|
|
4
|
-
namespace Blueprint.Infra.Database
|
|
5
|
-
{
|
|
6
|
-
public class DbInitializer
|
|
7
|
-
{
|
|
8
|
-
private readonly ModelBuilder? modelBuilder;
|
|
9
|
-
public DbInitializer(ModelBuilder modelBuilder)
|
|
10
|
-
{
|
|
11
|
-
this.modelBuilder = modelBuilder;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
public void Seed()
|
|
15
|
-
{
|
|
16
|
-
modelBuilder?.Entity<User>().HasData(
|
|
17
|
-
new User()
|
|
18
|
-
{
|
|
19
|
-
Id = 1,
|
|
20
|
-
Name = "Test",
|
|
21
|
-
Email = "",
|
|
22
|
-
Active = true,
|
|
23
|
-
CreatedDate = DateTime.Now,
|
|
24
|
-
LastModifiedDate = DateTime.Now,
|
|
25
|
-
},
|
|
26
|
-
new User()
|
|
27
|
-
{
|
|
28
|
-
Id = 2,
|
|
29
|
-
Name = "Truong Dang",
|
|
30
|
-
Email = "truongdxfx08031@funix.edu.vn",
|
|
31
|
-
Active = true,
|
|
32
|
-
CreatedDate = DateTime.Now,
|
|
33
|
-
LastModifiedDate = DateTime.Now,
|
|
34
|
-
},
|
|
35
|
-
new User()
|
|
36
|
-
{
|
|
37
|
-
Id = 3,
|
|
38
|
-
Name = "Thai Son",
|
|
39
|
-
Email = "truonghusk17aws1@gmail.com",
|
|
40
|
-
Active = true,
|
|
41
|
-
CreatedDate = DateTime.Now,
|
|
42
|
-
LastModifiedDate = DateTime.Now,
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
modelBuilder?.Entity<Category>().HasData(
|
|
46
|
-
new Category()
|
|
47
|
-
{
|
|
48
|
-
Id = 1,
|
|
49
|
-
Name = "Item 1",
|
|
50
|
-
Active = true,
|
|
51
|
-
CreatedDate = DateTime.Now,
|
|
52
|
-
LastModifiedDate = DateTime.Now,
|
|
53
|
-
},
|
|
54
|
-
new Category()
|
|
55
|
-
{
|
|
56
|
-
Id = 2,
|
|
57
|
-
Name = "Item 2",
|
|
58
|
-
Active = true,
|
|
59
|
-
CreatedDate = DateTime.Now,
|
|
60
|
-
LastModifiedDate = DateTime.Now,
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
modelBuilder?.Entity<Product>().HasData
|
|
64
|
-
(
|
|
65
|
-
new Product()
|
|
66
|
-
{
|
|
67
|
-
Id = 1,
|
|
68
|
-
Name = "Item 1",
|
|
69
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Premtilmiue.png",
|
|
70
|
-
Active = true,
|
|
71
|
-
CreatedDate = DateTime.Now,
|
|
72
|
-
LastModifiedDate = DateTime.Now,
|
|
73
|
-
CategoryId = 1,
|
|
74
|
-
},
|
|
75
|
-
new Product()
|
|
76
|
-
{
|
|
77
|
-
Id = 2,
|
|
78
|
-
Name = "Item 2",
|
|
79
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Protile.png",
|
|
80
|
-
Active = true,
|
|
81
|
-
CreatedDate = DateTime.Now,
|
|
82
|
-
LastModifiedDate = DateTime.Now,
|
|
83
|
-
CategoryId = 2,
|
|
84
|
-
},
|
|
85
|
-
new Product()
|
|
86
|
-
{
|
|
87
|
-
Id = 3,
|
|
88
|
-
Name = "Item 3",
|
|
89
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Supertile.png",
|
|
90
|
-
Active = true,
|
|
91
|
-
CreatedDate = DateTime.Now,
|
|
92
|
-
LastModifiedDate = DateTime.Now,
|
|
93
|
-
CategoryId = 2,
|
|
94
|
-
},
|
|
95
|
-
new Product()
|
|
96
|
-
{
|
|
97
|
-
Id = 4,
|
|
98
|
-
Name = "Item 4",
|
|
99
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-Sealant-HP.jpg",
|
|
100
|
-
Active = true,
|
|
101
|
-
CreatedDate = DateTime.Now,
|
|
102
|
-
LastModifiedDate = DateTime.Now,
|
|
103
|
-
CategoryId = 1,
|
|
104
|
-
},
|
|
105
|
-
new Product()
|
|
106
|
-
{
|
|
107
|
-
Id = 5,
|
|
108
|
-
Name = "Item 5",
|
|
109
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-.jpg",
|
|
110
|
-
Active = true,
|
|
111
|
-
CreatedDate = DateTime.Now,
|
|
112
|
-
LastModifiedDate = DateTime.Now,
|
|
113
|
-
CategoryId = 2,
|
|
114
|
-
},
|
|
115
|
-
new Product()
|
|
116
|
-
{
|
|
117
|
-
Id = 6,
|
|
118
|
-
Name = "Item 6",
|
|
119
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-1.jpg",
|
|
120
|
-
Active = true,
|
|
121
|
-
CreatedDate = DateTime.Now,
|
|
122
|
-
LastModifiedDate = DateTime.Now,
|
|
123
|
-
CategoryId = 2,
|
|
124
|
-
},
|
|
125
|
-
new Product()
|
|
126
|
-
{
|
|
127
|
-
Id = 7,
|
|
128
|
-
Name = "Item 7",
|
|
129
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-303.jpg",
|
|
130
|
-
Active = true,
|
|
131
|
-
CreatedDate = DateTime.Now,
|
|
132
|
-
LastModifiedDate = DateTime.Now,
|
|
133
|
-
CategoryId = 1,
|
|
134
|
-
},
|
|
135
|
-
new Product()
|
|
136
|
-
{
|
|
137
|
-
Id = 8,
|
|
138
|
-
Name = "Item 8",
|
|
139
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Premtilmiue.png",
|
|
140
|
-
Active = true,
|
|
141
|
-
CreatedDate = DateTime.Now,
|
|
142
|
-
LastModifiedDate = DateTime.Now,
|
|
143
|
-
CategoryId = 2,
|
|
144
|
-
},
|
|
145
|
-
new Product()
|
|
146
|
-
{
|
|
147
|
-
Id = 9,
|
|
148
|
-
Name = "Item 9",
|
|
149
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Protile.png",
|
|
150
|
-
Active = true,
|
|
151
|
-
CreatedDate = DateTime.Now,
|
|
152
|
-
LastModifiedDate = DateTime.Now,
|
|
153
|
-
CategoryId = 2,
|
|
154
|
-
},
|
|
155
|
-
new Product()
|
|
156
|
-
{
|
|
157
|
-
Id = 10,
|
|
158
|
-
Name = "Item 10",
|
|
159
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/keo-dan-gach-TOA-Supertile.png",
|
|
160
|
-
Active = true,
|
|
161
|
-
CreatedDate = DateTime.Now,
|
|
162
|
-
LastModifiedDate = DateTime.Now,
|
|
163
|
-
CategoryId = 1,
|
|
164
|
-
},
|
|
165
|
-
new Product()
|
|
166
|
-
{
|
|
167
|
-
Id = 11,
|
|
168
|
-
Name = "Item 11",
|
|
169
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-Sealant-HP.jpg",
|
|
170
|
-
Active = true,
|
|
171
|
-
CreatedDate = DateTime.Now,
|
|
172
|
-
LastModifiedDate = DateTime.Now,
|
|
173
|
-
CategoryId = 2,
|
|
174
|
-
},
|
|
175
|
-
new Product()
|
|
176
|
-
{
|
|
177
|
-
Id = 12,
|
|
178
|
-
Name = "Item 12",
|
|
179
|
-
Url = "https://innocons.s3.ap-southeast-1.amazonaws.com/products/Silicone-TOA-.jpg",
|
|
180
|
-
Active = true,
|
|
181
|
-
CreatedDate = DateTime.Now,
|
|
182
|
-
LastModifiedDate = DateTime.Now,
|
|
183
|
-
CategoryId = 2,
|
|
184
|
-
}
|
|
185
|
-
);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
using Microsoft.EntityFrameworkCore;
|
|
2
|
-
using Blueprint.Core.Entities;
|
|
3
|
-
|
|
4
|
-
namespace Blueprint.Infra.Database
|
|
5
|
-
{
|
|
6
|
-
public class MyDbContext: DbContext
|
|
7
|
-
{
|
|
8
|
-
public MyDbContext(DbContextOptions<MyDbContext> options) : base(options)
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
14
|
-
{
|
|
15
|
-
modelBuilder.Entity<User>();
|
|
16
|
-
modelBuilder.Entity<Product>()
|
|
17
|
-
.HasOne<Category>(a => a.Category)
|
|
18
|
-
.WithMany(u => u.Products)
|
|
19
|
-
.HasForeignKey(w => w.CategoryId).OnDelete(DeleteBehavior.Cascade);
|
|
20
|
-
|
|
21
|
-
new DbInitializer(modelBuilder).Seed();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
using Blueprint.Core.Entities;
|
|
2
|
-
using Blueprint.Core.Errors;
|
|
3
|
-
using Blueprint.Core.Interfaces.SPI;
|
|
4
|
-
using Blueprint.Core.Models;
|
|
5
|
-
using MongoDB.Driver;
|
|
6
|
-
|
|
7
|
-
namespace Blueprint.Infra.Services
|
|
8
|
-
{
|
|
9
|
-
public class MongoItemInfra<T> : IItemInfra<T> where T : BaseEntity
|
|
10
|
-
{
|
|
11
|
-
public readonly IMongoCollection<T> _dbSet;
|
|
12
|
-
public readonly ILogger<MongoItemInfra<T>> _logger;
|
|
13
|
-
|
|
14
|
-
public MongoItemInfra(
|
|
15
|
-
IMongoDatabase database,
|
|
16
|
-
ILogger<MongoItemInfra<T>> logger)
|
|
17
|
-
{
|
|
18
|
-
_dbSet = database.GetCollection<T>(typeof(T).Name.ToLower());
|
|
19
|
-
_logger = logger;
|
|
20
|
-
}
|
|
21
|
-
public async Task AddItemAsync(T item)
|
|
22
|
-
{
|
|
23
|
-
try
|
|
24
|
-
{
|
|
25
|
-
await _dbSet.InsertOneAsync(item);
|
|
26
|
-
}
|
|
27
|
-
catch (Exception ex)
|
|
28
|
-
{
|
|
29
|
-
_logger.LogError(ex, "Error while adding an item.");
|
|
30
|
-
throw Errors.CannotQueryError;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
public async Task DeleteItemsAsync(List<int> ids)
|
|
35
|
-
{
|
|
36
|
-
try
|
|
37
|
-
{
|
|
38
|
-
// Build a filter to match all the IDs in the list
|
|
39
|
-
var filter = Builders<T>.Filter.In("Id", ids);
|
|
40
|
-
|
|
41
|
-
// Delete all matching documents
|
|
42
|
-
var result = await _dbSet.DeleteManyAsync(filter);
|
|
43
|
-
_logger.LogInformation($"Deleted {result.DeletedCount} items with the provided IDs.");
|
|
44
|
-
}
|
|
45
|
-
catch (Exception ex)
|
|
46
|
-
{
|
|
47
|
-
_logger.LogError(ex, $"Error while deleting items with IDs: {string.Join(", ", ids)}");
|
|
48
|
-
throw Errors.CannotQueryError;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
public async Task<T> GetItemByIdAsync(int id)
|
|
53
|
-
{
|
|
54
|
-
try
|
|
55
|
-
{
|
|
56
|
-
return await _dbSet.Find(Builders<T>.Filter.Eq("Id", id)).FirstOrDefaultAsync();
|
|
57
|
-
}
|
|
58
|
-
catch (Exception ex)
|
|
59
|
-
{
|
|
60
|
-
_logger.LogError(ex, $"Error while fetching item with Id {id}");
|
|
61
|
-
throw Errors.CannotQueryError;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
public async Task<PagerData<T>> GetItemsAsync(PagingParams pagingParams)
|
|
66
|
-
{
|
|
67
|
-
try
|
|
68
|
-
{
|
|
69
|
-
int skipValues = (pagingParams.Page - 1) * pagingParams.Per_Page;
|
|
70
|
-
var filter = Builders<T>.Filter.Empty;
|
|
71
|
-
|
|
72
|
-
var totalRecords = await _dbSet.CountDocumentsAsync(filter);
|
|
73
|
-
var items = await _dbSet
|
|
74
|
-
.Find(filter)
|
|
75
|
-
.Sort(Builders<T>.Sort.Descending("Id")) // Sort by descending Id, adjust field as needed
|
|
76
|
-
.Skip(skipValues)
|
|
77
|
-
.Limit(pagingParams.Per_Page)
|
|
78
|
-
.ToListAsync();
|
|
79
|
-
|
|
80
|
-
return new PagerData<T>
|
|
81
|
-
{
|
|
82
|
-
Items = items,
|
|
83
|
-
TotalRecords = (int)totalRecords
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
catch (Exception ex)
|
|
87
|
-
{
|
|
88
|
-
// You can add logging here if needed
|
|
89
|
-
throw Errors.CannotQueryError;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
public async Task UpdateItemAsync(T item)
|
|
94
|
-
{
|
|
95
|
-
try
|
|
96
|
-
{
|
|
97
|
-
var id = typeof(T).GetProperty("Id")?.GetValue(item);
|
|
98
|
-
if (id == null)
|
|
99
|
-
throw Errors.CannotFindTheItem;
|
|
100
|
-
|
|
101
|
-
await _dbSet.ReplaceOneAsync(Builders<T>.Filter.Eq("Id", id), item);
|
|
102
|
-
}
|
|
103
|
-
catch (Exception ex)
|
|
104
|
-
{
|
|
105
|
-
_logger.LogError(ex, "Error while updating an item.");
|
|
106
|
-
throw Errors.CannotQueryError;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
using Blueprint.Core.Entities;
|
|
2
|
-
using Blueprint.Core.Errors;
|
|
3
|
-
using Blueprint.Infra.Database;
|
|
4
|
-
using Blueprint.Infra.Services;
|
|
5
|
-
using Microsoft.EntityFrameworkCore;
|
|
6
|
-
using MongoDB.Driver;
|
|
7
|
-
using Template.Core.Interfaces.SPI;
|
|
8
|
-
|
|
9
|
-
namespace Template.Infra.Services
|
|
10
|
-
{
|
|
11
|
-
public class MongoUserInfra : MongoItemInfra<User>, IUserInfra
|
|
12
|
-
{
|
|
13
|
-
public MongoUserInfra(IMongoDatabase dbContext, ILogger<MongoUserInfra> logger)
|
|
14
|
-
: base(dbContext, logger)
|
|
15
|
-
{
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
public async Task<User> GetUserByEmail(string email)
|
|
19
|
-
{
|
|
20
|
-
try
|
|
21
|
-
{
|
|
22
|
-
return await _dbSet.Find(p => p.Email == email).FirstOrDefaultAsync();
|
|
23
|
-
}
|
|
24
|
-
catch (Exception)
|
|
25
|
-
{
|
|
26
|
-
_logger.LogError($"Cannot get a user");
|
|
27
|
-
throw Errors.CannotQueryError;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
using Microsoft.EntityFrameworkCore;
|
|
2
|
-
using Blueprint.Core.Entities;
|
|
3
|
-
using Blueprint.Core.Errors;
|
|
4
|
-
using Blueprint.Core.Interfaces.SPI;
|
|
5
|
-
using Blueprint.Core.Models;
|
|
6
|
-
using Blueprint.Infra.Database;
|
|
7
|
-
|
|
8
|
-
namespace Blueprint.Infra.Services
|
|
9
|
-
{
|
|
10
|
-
public class MySQLItemInfra<TEntity> : IItemInfra<TEntity> where TEntity : BaseEntity
|
|
11
|
-
{
|
|
12
|
-
public readonly DbContext _dbContext;
|
|
13
|
-
public readonly DbSet<TEntity> _dbSet;
|
|
14
|
-
public ILogger _logger;
|
|
15
|
-
public MySQLItemInfra
|
|
16
|
-
(
|
|
17
|
-
MyDbContext dbContext,
|
|
18
|
-
ILogger<MySQLItemInfra<TEntity>> logger
|
|
19
|
-
)
|
|
20
|
-
{
|
|
21
|
-
_dbContext = dbContext;
|
|
22
|
-
_logger = logger;
|
|
23
|
-
_dbSet = _dbContext.Set<TEntity>();
|
|
24
|
-
}
|
|
25
|
-
public async Task AddItemAsync(TEntity item)
|
|
26
|
-
{
|
|
27
|
-
try
|
|
28
|
-
{
|
|
29
|
-
_dbSet.Add(item);
|
|
30
|
-
await _dbContext.SaveChangesAsync();
|
|
31
|
-
}
|
|
32
|
-
catch (Exception)
|
|
33
|
-
{
|
|
34
|
-
_logger.LogError($"Cannot add an item");
|
|
35
|
-
throw Errors.CannotQueryError;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
public async Task DeleteItemsAsync(List<int> ids)
|
|
40
|
-
{
|
|
41
|
-
try
|
|
42
|
-
{
|
|
43
|
-
List<TEntity> items = _dbSet.Where(p => ids.Contains(p.Id)).ToList();
|
|
44
|
-
items.ForEach(i => i.Active = false);
|
|
45
|
-
_dbSet.UpdateRange(items);
|
|
46
|
-
await _dbContext.SaveChangesAsync();
|
|
47
|
-
}
|
|
48
|
-
catch (Exception)
|
|
49
|
-
{
|
|
50
|
-
_logger.LogError($"Cannot delete items");
|
|
51
|
-
throw Errors.CannotQueryError;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
public Task<TEntity?> GetItemByIdAsync(int id)
|
|
56
|
-
{
|
|
57
|
-
try
|
|
58
|
-
{
|
|
59
|
-
return _dbSet.FirstOrDefaultAsync(p => p.Id == id);
|
|
60
|
-
}
|
|
61
|
-
catch (Exception)
|
|
62
|
-
{
|
|
63
|
-
_logger.LogError($"Cannot get a item");
|
|
64
|
-
throw Errors.CannotQueryError;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
public virtual async Task<PagerData<TEntity>> GetItemsAsync(PagingParams pagingParams)
|
|
69
|
-
{
|
|
70
|
-
try
|
|
71
|
-
{
|
|
72
|
-
int skipValues = (pagingParams.Page - 1) * pagingParams.Per_Page;
|
|
73
|
-
var query = _dbSet
|
|
74
|
-
.Where(p => p.Active == true)
|
|
75
|
-
.OrderByDescending(p => p.Id);
|
|
76
|
-
|
|
77
|
-
List<TEntity> items = await query
|
|
78
|
-
.Skip(skipValues)
|
|
79
|
-
.Take(pagingParams.Per_Page)
|
|
80
|
-
.ToListAsync();
|
|
81
|
-
|
|
82
|
-
PagerData<TEntity> pagerData = new PagerData<TEntity>
|
|
83
|
-
{
|
|
84
|
-
Items = items,
|
|
85
|
-
TotalRecords = (await query.ToListAsync()).Count()
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
return pagerData;
|
|
89
|
-
}
|
|
90
|
-
catch (Exception)
|
|
91
|
-
{
|
|
92
|
-
_logger.LogError($"Cannot get items");
|
|
93
|
-
throw Errors.CannotQueryError;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
public async Task UpdateItemAsync(TEntity item)
|
|
98
|
-
{
|
|
99
|
-
try
|
|
100
|
-
{
|
|
101
|
-
_dbSet.Update(item);
|
|
102
|
-
await _dbContext.SaveChangesAsync();
|
|
103
|
-
}
|
|
104
|
-
catch (Exception)
|
|
105
|
-
{
|
|
106
|
-
_logger.LogError($"Cannot update an item");
|
|
107
|
-
throw Errors.CannotQueryError;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
using Blueprint.Core.Entities;
|
|
2
|
-
using Blueprint.Core.Errors;
|
|
3
|
-
using Blueprint.Infra.Database;
|
|
4
|
-
using Blueprint.Infra.Services;
|
|
5
|
-
using Microsoft.EntityFrameworkCore;
|
|
6
|
-
using Template.Core.Interfaces.SPI;
|
|
7
|
-
|
|
8
|
-
namespace Template.Infra.Services
|
|
9
|
-
{
|
|
10
|
-
public class MySQLUserInfra : MySQLItemInfra<User>, IUserInfra
|
|
11
|
-
{
|
|
12
|
-
public MySQLUserInfra(MyDbContext dbContext, ILogger<MySQLUserInfra> logger)
|
|
13
|
-
: base(dbContext, logger)
|
|
14
|
-
{
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
public async Task<User?> GetUserByEmail(string email)
|
|
18
|
-
{
|
|
19
|
-
try
|
|
20
|
-
{
|
|
21
|
-
return await _dbSet.FirstOrDefaultAsync(p => p.Email == email);
|
|
22
|
-
}
|
|
23
|
-
catch (Exception)
|
|
24
|
-
{
|
|
25
|
-
_logger.LogError($"Cannot get a user");
|
|
26
|
-
throw Errors.CannotQueryError;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
using Blueprint.Core.Interfaces.SPI;
|
|
2
|
-
using RabbitMQ.Client;
|
|
3
|
-
using RabbitMQ.Client.Exceptions;
|
|
4
|
-
using System.Text;
|
|
5
|
-
|
|
6
|
-
namespace Blueprint.Infra.Services
|
|
7
|
-
{
|
|
8
|
-
public class RabbitMqService : IRabbitMqService
|
|
9
|
-
{
|
|
10
|
-
private IConnection? _connection;
|
|
11
|
-
private IChannel? _channel;
|
|
12
|
-
public RabbitMqService()
|
|
13
|
-
{
|
|
14
|
-
InitializeAsync().GetAwaiter().GetResult();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
private async Task InitializeAsync()
|
|
18
|
-
{
|
|
19
|
-
try
|
|
20
|
-
{
|
|
21
|
-
var factory = new ConnectionFactory
|
|
22
|
-
{
|
|
23
|
-
HostName = "localhost", // Replace with RabbitMQ hostname
|
|
24
|
-
UserName = "truongdx8", // RabbitMQ username
|
|
25
|
-
Password = "12345678" // RabbitMQ password
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
// Use the asynchronous method to create the connection
|
|
29
|
-
_connection = await factory.CreateConnectionAsync();
|
|
30
|
-
|
|
31
|
-
// Create a channel for communication
|
|
32
|
-
_channel = await _connection.CreateChannelAsync();
|
|
33
|
-
}
|
|
34
|
-
catch (BrokerUnreachableException ex)
|
|
35
|
-
{
|
|
36
|
-
Console.WriteLine($"Error connecting to RabbitMQ: {ex.Message}");
|
|
37
|
-
throw;
|
|
38
|
-
}
|
|
39
|
-
catch (Exception ex)
|
|
40
|
-
{
|
|
41
|
-
Console.WriteLine($"Unexpected error: {ex.Message}");
|
|
42
|
-
throw;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
public void PublishMessage(string queueName, string message)
|
|
47
|
-
{
|
|
48
|
-
_channel?.QueueDeclareAsync(queue: queueName,
|
|
49
|
-
durable: true,
|
|
50
|
-
exclusive: false,
|
|
51
|
-
autoDelete: false,
|
|
52
|
-
arguments: null);
|
|
53
|
-
|
|
54
|
-
var body = Encoding.UTF8.GetBytes(message);
|
|
55
|
-
|
|
56
|
-
_channel?.BasicPublishAsync(exchange: "",
|
|
57
|
-
routingKey: queueName,
|
|
58
|
-
body: body);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|