Skip to content

refactor: rename idp→serve and applyapi→gateway.api - #244

Merged
iAlexeze merged 3 commits into
mainfrom
refactor/idp-to-serve
Aug 6, 2026
Merged

refactor: rename idp→serve and applyapi→gateway.api#244
iAlexeze merged 3 commits into
mainfrom
refactor/idp-to-serve

Conversation

@iAlexeze

@iAlexeze iAlexeze commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

The applyapi package and idp schema key were named for the initial proof-of-concept. Both have since grown into a full self-service delivery surface — token scoping, target mode, response shaping, label/annotation fields, per-CRD permissions — and the original names no longer reflect what the feature is.

This rename makes the surface legible at a glance:

  • gateway.applyAPIgateway.api — the block that enables the Gateway API
  • pkg/gateway/applyapipkg/gateway/api — the package that implements it
  • idp:serve: on CRD entries — the per-CRD self-service declaration
  • ork idpork serve — the CLI subcommand

No logic changed. Types, field names, and behaviour are identical — only identifiers moved.

What changed

  • All pkg/types/types_idp*types_serve*
  • All pkg/katalog/validate_idp*validate_serve*
  • pkg/gateway/applyapi/pkg/gateway/api/
  • cmd/cli/idp.gocmd/cli/serve.go
  • Fixture testdata, doc file renames, reference schema, CHANGELOG, README, concepts pages updated to match

@iAlexeze
iAlexeze merged commit 8d3fffc into main Aug 6, 2026
9 checks passed
@iAlexeze
iAlexeze deleted the refactor/idp-to-serve branch August 6, 2026 02:55
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