Skip to content

Commit

Permalink
Issue #DP-950 chore: project feed api onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
venkateshwarans committed Sep 9, 2020
1 parent ea70e02 commit 3d5bcdc
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5282,4 +5282,22 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: projectFeedSearch
request_path: "{{ program_service_prefix }}/v1/feed/search"
upstream_url: "{{ program_service_url }}/program/v1/feed/search"
strip_request_path: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentAdmin'
- 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: "{{ small_request_size_limit }}"

0 comments on commit 3d5bcdc

Please sign in to comment.