feat(frontend): add opt-in HTTP API toggle with configurable port and…#67
feat(frontend): add opt-in HTTP API toggle with configurable port and…#67HoaMi wants to merge 1 commit into
Conversation
0308123 to
aff9714
Compare
… procedures Signed-off-by: HoaMi <github@hoami.org>
aff9714 to
7130b10
Compare
Code Review ✅ Approved 1 resolved / 1 findingsAdds an opt-in HTTP API toggle with configurable settings and fixes the empty procedures list rendering, ensuring it returns an empty array instead of null. ✅ 1 resolved✅ Edge Case: Empty procedures list renders as null instead of empty array
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
Summary
Adds an opt-in HTTP API on the Cadence frontend, disabled by default, as described in https://cadenceworkflow.io/docs/concepts/http-api.
New values under
frontend.httpApi:enabled(defaultfalse)port(default8800)procedures(default[], list of<proto-pkg>.<Service>::<Method>entries to expose)When enabled, the chart:
http: { port, procedures }block underservices.frontend.rpcin the server config,httpport on the frontendService,containerPorton the frontendDeployment.When disabled (default), no HTTP port or config section is produced, so existing deployments are unchanged.
Docs regenerated with
helm-docs.Test plan
helm lint charts/cadencepasseshelm templatewith defaults: nohttp:block, no8800port anywherehelm templatewithfrontend.httpApi.enabled=trueand aprocedureslist:httpblock rendered underservices.frontend.rpc,httpport on Service and Deploymenthttpport