Skip to content

Commit

Permalink
Merge pull request sunbird-cb#188 from ruksana2808/patch-5
Browse files Browse the repository at this point in the history
Added the kong for comment list API
  • Loading branch information
sureshece16 authored Oct 16, 2024
2 parents 6f35315 + 39b09fc commit d8aafb9
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 @@ -18317,3 +18317,21 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: listOfComments
uris: "{{ comment_prefix }}/list"
upstream_url: "{{ cb_comment_service_url }}/comment/list"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentCreate'
- 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 d8aafb9

Please sign in to comment.