Skip to content

Commit

Permalink
Merge pull request #1879 from venkateshwarans/onboard-configuration-api
Browse files Browse the repository at this point in the history
Issue #DP-950 chore: project feed api onboarding
  • Loading branch information
SMYALTAMASH authored Sep 9, 2020
2 parents ea70e02 + 3d5bcdc commit 2d0acc4
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 2d0acc4

Please sign in to comment.