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

Change OpenAPI aggregation to use hardcoded clusters to add flexibility and resolve issue in Azure #603

Closed tjementum closed 3 weeks ago

tjementum commented 1 month ago

Summary & Motivation

Follow-up to the recent change for aggregating OpenAPI specifications. The aggregation was not working correctly in production because URLs for the self-contained systems were not fetched properly from the YARP configuration, leading to empty API contracts.

To resolve this, the list of YARP clusters to include in the aggregated OpenAPI specification is now hardcoded, rather than relying on conventions for clusters with an -api postfix. This adjustment provides more flexibility in configuring the setup.

Checklist

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

sonarcloud[bot] commented 1 month ago

Please retry analysis of this Pull-Request directly on SonarCloud