Repository navigation
server, cli: add Gateway CRUD and ax commands - #569
Conversation
mayawang
left a comment
There was a problem hiding this comment.
Looks good overall! One thing: #567 rejected spec.gateway on purpose, since tasks are immutable and get the rules copied at creation. Removing that check before enforcement means a task created in between binds a gateway but never gets its rules, even after enforcement lands. Could the check stay until the enforcement PR?
Add the Gateway store methods and RPCs. Tasks still cannot bind a gateway, because its rules are not applied yet. Part of google#549.
6701e24 to
4e3a9cd
Compare
@mayawang SGTM, I restored the check, so binding stays rejected until the follow-up PR. |
Store, serve and manage Gateways (part of #549). Their rules are not applied to tasks yet.
CreateTaskrejects a task whosespec.gatewaydoes not exist.ax apply,get,describe, anddeletefor gateways.Follow-up: enforcement through the actor's Substrate
EgressPolicy.