Skip to content

Commit

Permalink
Merge pull request #149 from Sahil-tarento/4.8.9-retireAPI
Browse files Browse the repository at this point in the history
Event Retire API
  • Loading branch information
Haritest authored Nov 6, 2023
2 parents 030a829 + e0daf31 commit 33a866f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10473,3 +10473,21 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: retireEvent
uris: "{{ event_prefix }}/v4/retire"
upstream_url: "{{ content_service_url }}/private/event/v4/retire"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentUpdate'
- name: rate-limiting
config.policy: local
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

0 comments on commit 33a866f

Please sign in to comment.