Skip to content

Commit

Permalink
Rename event_hook.md to event-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Dec 19, 2024
1 parent 97636e7 commit d34d54f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Event Hooks
content_type: reference
entities:
- event_hook
- event-hook
tier: enterprise
description: Event Hooks allow {{site.base_gateway}} monitor to communicate with target services or resources, notifying the target resource that an event was triggered.
related_resources:
Expand Down
2 changes: 1 addition & 1 deletion app/_how-tos/create-a-custom-webhook-slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ works_on:
products:
- gateway
entities:
- event_hook
- event-hook
tier: enterprise
tags:
- eventhooks
Expand Down
2 changes: 1 addition & 1 deletion app/_how-tos/create-a-lambda-event-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Create an Event Hook that can run custom code
content_type: how_to

entities:
- event_hook
- event-hook
works_on:
- on-prem
products:
Expand Down
2 changes: 1 addition & 1 deletion app/_how-tos/create-a-log-event-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Configure an Event Hook to log events
content_type: how_to

entities:
- event_hook
- event-hook
works_on:
- on-prem
products:
Expand Down
2 changes: 1 addition & 1 deletion app/_how-tos/create-a-webhook-with-kong-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ content_type: how_to
products:
- gateway
entities:
- event_hook
- event-hook
tier: enterprise
works_on:
- on-prem
Expand Down
2 changes: 1 addition & 1 deletion app/_landing_pages/gateway/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ rows:
- blocks:
- type: entity_card
config:
entity: event_hook
entity: event-hook
2 changes: 1 addition & 1 deletion app/_plugins/blocks/entity_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def render(context) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize

def formats(page)
return page['tools'] unless page['layout'] == 'gateway_entity'
return page['tools'] unless page['slug'] != 'event_hook'
return page['tools'] unless page['slug'] != 'event-hook'

page['tools'].dup << 'ui'
end
Expand Down

0 comments on commit d34d54f

Please sign in to comment.