Feature/webapi production defaults#46
Merged
Merged
Conversation
Introduces a shared package that wires production-ready defaults into an ASP.NET Core Web API through a single AddTailoredWebApiDefaults / MapTailoredWebApiDefaults pair: - OpenTelemetry metrics, tracing and logging exported over OTLP - Liveness (/alive) and readiness (/health) health checks - Standard resilience handler and service discovery for HTTP clients All features bind from the WebApiDefaults configuration section and are individually toggleable. OTLP is the default exporter (stable); a metrics hook is provided for opting into a Prometheus scrape endpoint. Also: - tests/TailoredApps.Shared.WebApi.Tests: 10 xUnit tests - Register both projects in the solution (test under the Tests folder) - release.yml: add a hand-maintained NuGet push step for the new package - docs/WebApi.md: usage page Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…uction-defaults # Conflicts: # .github/workflows/release.yml # TailoredApps.Shared.sln
Adds the required PL and EN library pages per DOCUMENTATION_RULE.md and wires them into both sites: - docs/Libraries/WebApi/index.md (PL) and docs-en/Libraries/WebApi/index.md (EN): description, install, DI registration, usage, API reference and the AI Agent Prompt section - mkdocs.yml and mkdocs-en.yml nav entries - docs/index.md and docs-en/index.md library tables - remove the stale docs/WebApi.md orphan (superseded by the Libraries page) Both sites pass `mkdocs build --strict`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #46 +/- ##
==========================================
+ Coverage 54.62% 57.43% +2.80%
==========================================
Files 101 112 +11
Lines 3405 3033 -372
Branches 294 324 +30
==========================================
- Hits 1860 1742 -118
+ Misses 1464 1202 -262
- Partials 81 89 +8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.