diff options
| author | Leitwolf11 | 2026-10-15 17:36:58 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-15 17:36:58 +0300 |
| commit | 9d1b19bc01d5d3d08e3528d69924a86e7e2bfc2a (patch) | |
| tree | 2aa84134e872ae1ada5b9ef5f3e29b0041e9d9b7 /.github/pull_request_template.md | |
| parent | c525fa05bbe85f3e7337d4a43c21ee6c864c839a (diff) | |
| download | website-9d1b19bc01d5d3d08e3528d69924a86e7e2bfc2a.tar.gz | |
Serve the site API from ASP.NET Core 10
The language website ran a Spring Boot application on JVM 25 for two
endpoints, and it was the only JVM on the server: a quarter of a
gigabyte of resident memory for /api/v1/site and /health. The server
already runs ASP.NET Core 10 for Progmaweb.
The API is now Progmasoft.Tala.Website.Api, a minimal ASP.NET Core 10
application under the namespace Progmasoft.Tala.Website. It answers as
before: /api/v1/site returns the site's own state as the same JSON,
POST is not allowed there, /health answers with an empty 200, and every
other path is 404. It listens on 127.0.0.1, port 5086 unless PORT says
otherwise, as the Spring process did, so Nginx is unchanged.
- Progmasoft.Tala.Website.slnx, Directory.Build.props and global.json
set up the solution with warnings as errors, documentation comments
required and NuGet lock files.
- Progmasoft.Tala.Website.Api.Tests runs the endpoints in an in-memory
host with xUnit v3 on Microsoft.Testing.Platform.
- ops/systemd/tala-site-api.service runs the published DLL on the shared
runtime from /srv/xsharp/website/current/site-api, with the hardening
of the unit it replaces.
- CI builds, tests, publishes and reports coverage with dotnet; CodeQL
analyzes C# instead of Kotlin; Renovate watches NuGet instead of
Gradle.
Diffstat (limited to '.github/pull_request_template.md')
| -rw-r--r-- | .github/pull_request_template.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 653c9c9..a90aac6 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,9 +10,9 @@ Describe the Tala website behavior or content changed. This repository is not th ## Verification - [ ] Frontend checks, tests, formatting, and build were run where relevant. -- [ ] Kotlin/Spring tests were run where relevant. +- [ ] ASP.NET Core tests were run where relevant. - [ ] en-US/de-DE, light/dark, accessibility, and small-screen behavior were considered for UI changes. -- [ ] Internal links, forum availability messaging, and the legacy ViGet redirect were checked if affected. +- [ ] Internal links, and forum availability messaging were checked if affected. - [ ] No credentials, generated output, or unrelated files are included. Commands and results (including anything not run): |