-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
AS A Service-Module admin
I WANT all API Registry endpoints to be automatically re-verified via a cron job on weekdays at 07:00
SO THAT verification status and stored schemas stay up-to-date without manual testing
Description
Implement a scheduled backend cron job that automatically executes the existing Test URL verification logic for all non-deleted endpoints in the endpoints table.
The cron job must:
- Run on weekdays (Mon–Fri) at 07:00 server time
- Reuse the existing backend Test URL execution logic
- Use stored endpoint definitions + stored test inputs
- Update verification metadata exactly as defined in API Endpoint Verification & Schema Capture
- Respect safety bounds (
timeoutMs,maxResponseBytes)
This is automatic re-verification, not a new execution path.
Acceptance Criteria
Scheduling
- Cron runs at
0 7 * * 1-5 - Runs in backend (not UI-triggered)
- Timezone explicitly defined (server or configured TZ)
Scope
- Includes all endpoints
- Includes both public and private endpoints
Execution Logic
- Reuses same verification service as manual "Test URL"
- No duplicate verification implementation
- Concurrent-safe (last write wins)
Persistence Rules
Follows API Endpoint Verification & Schema Capture contract:
- 2xx →
verificationStatus=verified, overwrite schema - non-2xx →
verificationStatus=failed, preserve last good schema - Timeout/network →
verificationStatus=failed -
lastTestAtupdated -
lastStatusCodestored
Safety
- Bounded concurrency (no burst execution)
- Rate limiting respected
- Does not block service runtime execution
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready