registry/internal/database
Repository files (latest commit first)
Filename Latest commit message Latest commit date
adam jones 923b2e07b9
feat: implement DNS namespace validation and remote URL uniqueness checks (#306)
## Summary

- Add reverse-DNS namespace format validation for server names
(namespace/name)
- Validate remote URLs match the DNS namespace derived from hostname  
- Prevent duplicate remote URLs across different servers
- Support localhost/development URLs without namespace restrictions
- Add comprehensive test coverage for validation logic
- Update database layer to support remote_url filtering

Fixes #180 by ensuring proper namespace governance and preventing URL
conflicts.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-26 23:03:38 +01:00
..
migrations Allow for vendor extensions on servers (#298) 2025-08-23 09:59:03 +01:00
database.go feat: implement DNS namespace validation and remote URL uniqueness checks (#306) 2025-08-26 23:03:38 +01:00
import.go Allow for vendor extensions on servers (#298) 2025-08-23 09:59:03 +01:00
import_test.go Allow for vendor extensions on servers (#298) 2025-08-23 09:59:03 +01:00
memory.go feat: implement DNS namespace validation and remote URL uniqueness checks (#306) 2025-08-26 23:03:38 +01:00
migrate.go Refactor database implementation to use PostgreSQL instead of MongoDB (#289) 2025-08-22 01:40:28 +01:00
postgres.go feat: implement DNS namespace validation and remote URL uniqueness checks (#306) 2025-08-26 23:03:38 +01:00