Skip to content

Refactor runtime API contracts and ownership evidence modules - #25

Merged
kodevza merged 8 commits into
mainfrom
chore/code_quality
Jun 22, 2026
Merged

Refactor runtime API contracts and ownership evidence modules#25
kodevza merged 8 commits into
mainfrom
chore/code_quality

Conversation

@kodevza

@kodevza kodevza commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

Refactors the local OwnerLens runtime around explicit API contracts, cleaner runtime boundaries, and a more modular Azure UI/runtime structure.

This PR moves the runtime server to Hono, adds generated OpenAPI documentation for runtime endpoints, validates runtime REST payloads through schemas, and splits larger Azure/Entra ownership, remediation, resource, and identity logic into narrower modules.

Changes

  • Add Hono-based runtime app and route registration.
  • Generate contracts/runtime.openapi.json from runtime endpoint definitions.
  • Add runtime REST query/response schemas and validation.
  • Add CI check to verify generated contracts stay committed.
  • Split Azure UI modules into identity, resource, and remediation areas.
  • Extract Azure view navigation into useAzureViewNavigation.
  • Move ownership evidence rendering and status logic into dedicated modules.
  • Add Azure RBAC toggle for ownership evidence.
  • Support application as an owner candidate type.
  • Extract ownership evidence, remediation, and Entra read-model logic from larger runtime classes.
  • Update PowerShell runtime health checks to use the new /api/data endpoint.
  • Update Windows runtime packaging to include Hono runtime dependencies.
  • Remove obsolete manual precheck / legacy evidence components.

@kodevza kodevza changed the title Improve code readability Refactor runtime API contracts and ownership evidence modules Jun 21, 2026
@kodevza
kodevza merged commit 9bcfdc0 into main Jun 22, 2026
2 checks passed
@kodevza
kodevza deleted the chore/code_quality branch June 25, 2026 19:43
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