Open
Conversation
Update all services Add DB migration 1.5 Update DevOps
Fosol
commented
Feb 20, 2026
| // Use hover for the description of the existing attributes | ||
| // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
| "name": "Run Ches Retry Service", | ||
| "name": "Run SMTP Retry Service", |
Collaborator
Author
There was a problem hiding this comment.
Replaced CHES with SMTP
| using Microsoft.EntityFrameworkCore; | ||
| using Microsoft.Extensions.Options; | ||
| using TNO.Ches; | ||
| using MMI.SmtpEmail; |
Collaborator
Author
There was a problem hiding this comment.
Replaced CHES with SMTP
| [ProducesResponseType(typeof(UserAVOverviewInstanceModel), (int)HttpStatusCode.OK)] | ||
| [ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)] | ||
| [SwaggerOperation(Tags = new[] { "Evening Overview" })] | ||
| public IActionResult GetUserAVOverviewInstanceAsync(long id, int userId) |
Collaborator
Author
There was a problem hiding this comment.
New endpoint so that our SMTP Retry Service can update each record.
| [ProducesResponseType(typeof(UserReportInstanceModel), (int)HttpStatusCode.OK)] | ||
| [ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)] | ||
| [SwaggerOperation(Tags = new[] { "Report" })] | ||
| public IActionResult GetUserReportInstancesAsync(long id, int userId) |
Collaborator
Author
There was a problem hiding this comment.
New endpoint so that our SMTP Retry Service can update each instance.
|
|
||
| RUN dotnet restore | ||
| RUN dotnet publish "TNO.API.csproj" -c "$BUILD_CONFIGURATION" -o /app/publish | ||
| RUN dotnet publish "TNO.API.csproj" -c "$BUILD_CONFIGURATION" -r linux-x64 --self-contained false -o /app/publish /p:PublishTrimmed=false |
Collaborator
Author
There was a problem hiding this comment.
I've kept the CHES project for now. But updated it to that it will build.
| builder.Property(m => m.TemplateType).IsRequired(); | ||
| builder.Property(m => m.PublishedOn).IsRequired(); | ||
| builder.Property(m => m.IsPublished).IsRequired(); | ||
| builder.Property(m => m.Status).IsRequired(); |
Collaborator
Author
There was a problem hiding this comment.
New fields are so that the SMTP Retry Service will work. We now capture the outgoing email details.
| builder.Property(m => m.Status).IsRequired(); | ||
| builder.Property(m => m.Subject).IsRequired().HasColumnType("text"); | ||
| builder.Property(m => m.Body).IsRequired().HasColumnType("text"); | ||
| builder.Property(m => m.LinkOnlyBody).IsRequired().HasColumnType("text"); |
Collaborator
Author
There was a problem hiding this comment.
Need this so that the SMTP Retry Service can resend emails that only contain the report link.
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.
The current CHES implementation has been one of the primary challenges to support. This update removes CHES and uses SMTP directly.
There is now a SMTP Retry Service that will replace the CHES Retry Service. It will review failed reports and notifications emails and retry sending them to the SMTP server.
Every service needed to be updated to switch to SMTP.
Summary