Skip to content

Develop#3

Merged
raulidavid merged 6 commits intomainfrom
develop
Oct 18, 2025
Merged

Develop#3
raulidavid merged 6 commits intomainfrom
develop

Conversation

@raulidavid
Copy link
Copy Markdown
Owner

No description provided.

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`.
@raulidavid raulidavid merged commit d338a09 into main Oct 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant