Add NAT-tier resources and testcontainers integration tests #4
Reference in New Issue
Block a user
Delete Branch "benvin/longtail-resources"
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?
Why
The control plane stored zones/groups/rules but not the NAT tier you called out (masquerade, netmap, 1:1 nat). This adds those as terraformable resources, and adds real integration coverage against Postgres (previously the store/server were only unit-tested).
Changes
snat/masquerade,netmap, and 1:1natresources: migration 0003 (verified against Postgres 17), model types, id-keyed store CRUD that bumps the config generation, and REST handlers.go test -short(the CI path), so a container runtime is only needed for the full run.Follow-ups