platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

Minor refactoring focused on self-contained systems #624

Closed tjementum closed 4 days ago

tjementum commented 4 days ago

Summary & Motivation

Refactor self-contained systems to improve clarity and organization. DependencyConfiguration has been renamed to Configuration to align with the Configuration namespace in the Shared Kernel. The TelemetryEvents class has been moved to the Features namespace due to its high cohesion with various features.

Testing structures have been streamlined by merging BaseTest and EndpointBaseTest, as only EndpointBaseTest was actively in use.

The LogoutCommand has been simplified by enforcing authentication for the endpoint, reducing unnecessary complexity.

Lastly, the order of ModelBindingExceptionHandlerMiddleware and TelemetryContextMiddleware has been adjusted to ensure proper tracking of model-bound requests in telemetry data.

Checklist

linear[bot] commented 4 days ago

PP-251 Minor refactors in self-contained systems for consistency and clarity

sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
76.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud