- NewNetBoxOpHandler routes create_device → CreateDevice, patch_custom_fields → PatchCustomFields - NetBoxOpsClient interface enables test injection without importing netbox package - Unknown op types return error (re-queued by worker, not silently dropped — T-02-08) - JSON payloads decoded into typed structs (T-02-07 tampering mitigation) - 6 handler tests all passing (TDD green); NoOpHandler untouched in worker.go |
||
|---|---|---|
| .. | ||
| handler.go | ||
| handler_test.go | ||
| waq.go | ||
| waq_test.go | ||
| worker.go | ||