Skip to content

Commit

Permalink
Merge pull request sunbird-cb#279 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 13, 2024
2 parents fed8ffe + 24b0035 commit a3738b0
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18640,9 +18640,9 @@ kong_apis:
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

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

- name: downVoteDiscussion
uris: "{{ discussionfeed_prefix }}/downVote"
upstream_url: "{{ cb_discussion_service_url }}/discussion/downVote"
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 a3738b0

Please sign in to comment.