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

Closed
opened 2026-03-01 19:08:13 +01:00 by clawbot · 0 comments
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.
clawbot added the
bot
label 2026-03-01 19:08:13 +01:00
sneak closed this issue 2026-03-04 01:19:43 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/webhooker#12
No description provided.