Skip to content

feat(platform-api): Add read-only Platform API v1#1231

Merged
leumor merged 1 commit intodevelopfrom
feature/platform-api-v1
Apr 3, 2026
Merged

feat(platform-api): Add read-only Platform API v1#1231
leumor merged 1 commit intodevelopfrom
feature/platform-api-v1

Conversation

@leumor
Copy link
Copy Markdown
Collaborator

@leumor leumor commented Apr 3, 2026

Summary

  • add the new :platform-api leaf with a transport-neutral router, request/response model, and minimal JSON encoding on top of :runtime-spi
  • mount the read-only /api/v1/... surface through the legacy HTTP admin adapter with a thin PlatformApiToadlet bridge
  • cover the new surface with focused router/toadlet/encoder/boundary tests and update module ownership metadata plus the README module map

Testing

  • ./gradlew verifySelectiveLeafOwnershipMetadata buildJar
  • ./gradlew test --tests '*PlatformApi*'
  • ./gradlew test --tests '*HttpLegacyAdminBoundaryTest'
  • ./gradlew :platform-api:compileJava

Create the new :platform-api leaf and expose a read-only Platform API v1 surface backed by runtime-spi. Wire the API through the legacy HTTP admin adapter, add focused router/bridge/boundary tests, and update module ownership plus README/module-map documentation.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 3, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
75.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@leumor leumor merged commit e12f9f6 into develop Apr 3, 2026
7 of 8 checks passed
@leumor leumor deleted the feature/platform-api-v1 branch April 3, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant