Rename "Processor" entity to "Webhook" and "Webhook" to "Entrypoint" throughout codebase #12

Zamknięty
otworzone 2026-03-01 19:08:13 +01:00 przez clawbot · 0 komentarzy
Collaborator

Per the discussion on issue #3, the current naming of the main entity as "Processor" is confusing. The proposed naming scheme:

  • ProcessorWebhook: The top-level configuration entity that groups entrypoints and targets together. Users create "webhooks" to manage event routing.
  • Webhook (current) → Entrypoint: The receiver URL (/hooks/<uuid>) where external services POST events. Each webhook can have multiple entrypoints.
  • Target: Remains unchanged — a delivery destination for events.

This rename affects:

  • internal/database/model_processor.gomodel_webhook.go (the struct, not just the file)
  • internal/database/model_webhook.gomodel_entrypoint.go
  • All references in handlers, routes, templates, and database migrations
  • The URL structure: /sources/*/webhooks/* for management, /webhook/{uuid}/hooks/{uuid} for receiving

The new README (issue #3) documents this naming scheme as the target architecture. This issue tracks the actual code rename.

Per the discussion on [issue #3](https://git.eeqj.de/sneak/webhooker/issues/3), the current naming of the main entity as "Processor" is confusing. The proposed naming scheme: - **Processor** → **Webhook**: The top-level configuration entity that groups entrypoints and targets together. Users create "webhooks" to manage event routing. - **Webhook** (current) → **Entrypoint**: The receiver URL (`/hooks/<uuid>`) where external services POST events. Each webhook can have multiple entrypoints. - **Target**: Remains unchanged — a delivery destination for events. This rename affects: - `internal/database/model_processor.go` → `model_webhook.go` (the struct, not just the file) - `internal/database/model_webhook.go` → `model_entrypoint.go` - All references in handlers, routes, templates, and database migrations - The URL structure: `/sources/*` → `/webhooks/*` for management, `/webhook/{uuid}` → `/hooks/{uuid}` for receiving The new README (issue #3) documents this naming scheme as the target architecture. This issue tracks the actual code rename.
sneak zamknął(-ęła) to zgłoszenie 2026-03-04 01:19:43 +01:00
Zaloguj się, aby dołączyć do tej rozmowy.
Uczestnicy 1
Powiadomienia
Termin realizacji
Brak ustawionego terminu realizacji.
Zależności

No dependencies set.

Reference: sneak/webhooker#12