Skip to content

Commit

Permalink
Merge pull request sunbird-cb#275 from KB-iGOT/dev-4.8.20
Browse files Browse the repository at this point in the history
Dev 4.8.20
  • Loading branch information
Haritest authored Dec 11, 2024
2 parents 9a554cf + 8a65873 commit 19248ec
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18641,8 +18641,8 @@ kong_apis:
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: voteDiscussion
uris: "{{ discussionfeed_prefix }}/upvote"
upstream_url: "{{ cb_discussion_service_url }}/discussion/upvote"
uris: "{{ discussionfeed_prefix }}/vote"
upstream_url: "{{ cb_discussion_service_url }}/discussion/vote"
strip_uri: true
plugins:
- name: jwt
Expand Down Expand Up @@ -18815,3 +18815,21 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: discussionUpdate
uris: "{{ discussionfeed_prefix }}/answerPosts"
upstream_url: "{{ cb_discussion_service_url }}/discussion/answerPosts"
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 19248ec

Please sign in to comment.