Skip to content

Commit

Permalink
Merge pull request #364 from tarentomaheshvakkund/4.8.16-top10learner…
Browse files Browse the repository at this point in the history
…sFIx

 KB-5808 | Q5 | Enhancement | MDO Channel | A consolidated level learner leaderboard based on Karma Points.
  • Loading branch information
Haritest authored Jul 18, 2024
2 parents 5ab0302 + 2c5402e commit aed93a3
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16337,4 +16337,23 @@ 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: top10learners
uris: "/halloffame/top/learners"
upstream_url: "{{ sb_cb_ext_service_url }}/v1/top/learners
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'dataAccess'
- 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 aed93a3

Please sign in to comment.