Project

General

Profile

Bug #31730

Cleanup hook names in event_name_for

Added by Lukas Zapletal 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Events created from Ruby namespace often contain slash characters which looks weird: actions/remote_execution/run_hosts_job_stopped.event.foreman.event.foreman

Let's convert them to dots.


Related issues

Related to Foreman - Tracker #30290: Foreman webhooks integration storyNew

Related to Foreman - Feature #31647: Ability to add new arbitrary event via plugin APIResolved

Associated revisions

Revision eb60c400 (diff)
Added by Lukas Zapletal 6 months ago

Fixes #31730 - cleaner event name and documentation

History

#1 Updated by Lukas Zapletal 6 months ago

#2 Updated by Lukas Zapletal 6 months ago

  • Project changed from Webhooks to Foreman

#3 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8284 added

#4 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 2.5.0 added

#5 Updated by Lukas Zapletal 6 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Lukas Zapletal 6 months ago

  • Target version set to 2.4.0

Requesting 2.4 so we can release plugins for this versions with events support.

#7 Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8319 added

#8 Updated by Lukas Zapletal 5 months ago

  • Related to Feature #31647: Ability to add new arbitrary event via plugin API added

#9 Updated by Tomer Brisker 5 months ago

  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)

#10 Updated by Tomer Brisker 4 months ago

  • Category set to Plugin integration

Also available in: Atom PDF