Merged
Conversation
Introduced a new asynchronous `AuthorizeDocument` method in `ElectronicDocHostedService.Authorize.cs` to handle electronic document authorization with detailed XML documentation and placeholders for future implementation. Added `ITokenBuilder` dependency to the constructor and integrated token generation logic in `ElectronicDocHostedService.cs`. Updated the service to set tokens via `_tokenAccessor`. Refactored and enhanced the service with new `using` directives, comments, and placeholders to improve extensibility and prepare for advanced workflows.
Refactored `ElectronicDocService` to use `ISriClient` for sending email documents and updated related hosted services. Introduced JWT token handling, AWS services, and multi-tenant configuration in `Program.cs`. Simplified Swagger setup and removed redundant code. Added new appsettings for token expiration, issuer, audience, and signing key. Upgraded `Jiban.Multitenant` package to version `9.12.870`. Registered `IElectronicDocService` and `ISriClient` in the service collection. Improved logging and replaced placeholder logic with production-ready implementations.
- Added GitHub issue templates for bug reports, documentation, and feature requests to standardize issue reporting. - Introduced `dependabot.yml` for automated daily NuGet dependency updates. - Created `production.yml` and `quality.yml` GitHub Actions workflows for CI/CD, including Docker image builds and email notifications. - Replaced `Dockerfile` with a multi-stage build process optimized for .NET 10.0. - Added `Dockerfile.development` for debugging and testing in development environments. - Updated `Dockerfile.production` for optimized production builds with runtime dependencies and environment variable initialization. - Modified `appsettings.Development.json` to adjust notification settings and use generic queue names. - Refactored `ElectronicDocHostedService.cs` to clean up namespaces, improve token generation logic, and enhance maintainability.
Updated `.dockerignore` to improve file and directory exclusions: - Added rules for Git, Docker, documentation, .NET build output, Node/Frontend build output, and app settings files. - Removed outdated rules for files like `.classpath`, `.project`, and `.settings`. - Adjusted handling of `.gitignore` and `.git` files. Added `.nuget.config` to configure NuGet package sources: - Included GitHub Packages and NuGet.org as sources. - Added credentials for GitHub Packages with a token placeholder. - Included a commented-out offline package source configuration.
Upgraded the base image in both `Dockerfile.development` and `Dockerfile.production` from `mcr.microsoft.com/dotnet/sdk:9.0` to `mcr.microsoft.com/dotnet/sdk:10.0` to leverage the latest features of .NET 10. Added build arguments (`ARG PORTHTTPS`, `ARG JIBANKEYVAULTURL`, `ARG DOCKERFILE_PATH`) in `Dockerfile.development` for improved configurability. Switched the default shell in `Dockerfile.production` to `bash` for enhanced scripting capabilities. Updated comments to reflect the .NET 10 upgrade for clarity and consistency.
Updated the workflow name in `production.yml` to "JIBAN EVENT PRODUCTION". Upgraded the `.NET Core SDK` version from `9.0.x` to `10.0.x` in both the `env` section and the `setup-dotnet` step. Modified the `IMAGE_TAG` generation logic to use the `jiban-event` repository instead of `jiban-backend`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.