Add policy languages and runtimes doc#1812
Conversation
Introduce a new gateway documentation page that explains policy authoring in Go and Python, the runtime architecture, policy anatomy (definition and implementation), build integration, and guidance for choosing a language. Also update docs/gateway/README.md to link to the new Policy Languages and Runtimes guide. This provides developers with guidance on Go (default) vs Python (beta) policies, execution model, and packaging/build workflows.
Add policy languages and runtimes doc
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughSummaryThis PR adds comprehensive documentation for policy authoring and runtime execution on the API Gateway, introducing a new guide that covers Go and Python policy development. ChangesDocumentation additions:
Content OverviewThe new documentation covers:
ImpactProvides clear guidance for developers on dual-language policy authoring, helping them understand runtime architecture, project structure, build processes, and language-specific considerations. WalkthroughThis pull request adds documentation for policy language support in the Gateway Runtime. It introduces a new page explaining how the Gateway Runtime executes policies written in Go and Python. The documentation covers the shared YAML schema for policy definitions, describes the distinct execution models for each language (Go compiled directly into the Policy Engine versus Python executed via a separate Python Executor over gRPC), provides representative project layouts for both languages, and includes build configuration integration details and a decision matrix comparing language trade-offs. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Purpose
$subject