Skip to content

feat/controlplane api projector#397

Draft
ron96g wants to merge 6 commits into
mainfrom
feat/controlplane-api-projector
Draft

feat/controlplane api projector#397
ron96g wants to merge 6 commits into
mainfrom
feat/controlplane-api-projector

Conversation

@ron96g
Copy link
Copy Markdown
Member

@ron96g ron96g commented May 12, 2026

  • feat(schema): add zone issuer_url and rename rover_token_ref to team_token
  • feat(schema): add secret rotation fields and secrets resolver
  • feat(schema): add event exposure and subscription entities
  • feat(api): add GraphQL schema and resolvers for events
  • feat(api): add error presenter and mutation logging middleware
  • refactor(api): update viewer, services, and team interceptor

ron96g added 6 commits May 12, 2026 15:42
…token

Add issuer_url field to Zone entity for per-zone identity provider
configuration. Rename Team.rover_token_ref to Team.team_token to
reflect the generalized token concept.

Includes generated ent code and projector domain updates for both
entities.
Add client secret rotation support to Application entity with fields
for rotated_client_secret, rotation phase tracking, and expiration
timestamps. Remove issuer_url from Application (moved to Zone).

Add secrets resolver package for external secret manager integration
with deployment patches for SA token projection and trust bundle.

Includes projector domain updates for the new application fields.
Introduce EventExposure and EventSubscription ent schemas with
visibility, delivery type, approval config, and cascade delete
support. Wire new edges from Application, Approval, and
ApprovalRequest. Add cascade delete for ApiSubscription approval
requests.

Includes all generated ent code, projector domains for event
exposure/subscription, updated approval/approvalrequest projectors,
and shared infrastructure (id resolver, cache keys).
Add event exposure and subscription types, queries, and mutations to
the GraphQL schema. Implement resolvers for creating, updating, and
deleting event exposures and subscriptions with approval workflow
support. Add mutation helper utilities and info type models.

Includes updated gqlgen config and all generated resolver code.
Add RFC 9457-aware GraphQL error presenter that maps Problem types to
appropriate error extensions. Add mutation logging middleware for
structured audit logging of all GraphQL mutations.

Wire both into the GraphQL controller setup.
Refactor viewer middleware to support team-scoped authentication and
updated token extraction. Extend services layer with event exposure
and subscription CRUD operations. Update team interceptor filtering
logic and add build decision test coverage.

Remove deprecated helpers.go in favor of inline implementations.
Update test utilities and seed data for new entity types.
Copilot AI review requested due to automatic review settings May 12, 2026 13:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@ron96g ron96g self-assigned this May 12, 2026
@ron96g ron96g marked this pull request as draft May 12, 2026 14:31
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.

2 participants