feat(catalog): seed Mokosh product catalog + one-call admin create + token audit (BUNYIP-33) #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/bunyip-33-catalog-entitlements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Seeds the Mokosh product distribution catalog and completes the catalog/entitlement surface (BUNYIP-33, subtask of the BUNYIP-28 story).
Changes
mokosh-server,mokosh-api,mokosh-www(OCI images @ v0.2.0) andvervain-agent(generic-package binaries @ its current published version).CreateApplication+ the repository INSERT now carry the full distribution config (Forgejo download coordinates, artifact source, OCI image coordinates). Previously creating a usable product required create-then-update.DistributionConfig::validate()holds the rules (artifact_source values, source-aware Forgejo all-or-nothing, OCI all-or-nothing); both the create and update handlers call it, so they cannot drift. Full unit-test coverage of every rule.oci_login_succeededrows now carry the target application as a resource (resource_type + resource_id) alongside user and scope.Live verification (dev stack, all acceptance criteria)
Notes