Skip to content

Commit

Permalink
api for top 10 learners
Browse files Browse the repository at this point in the history
  • Loading branch information
shankaragoudab authored Jul 18, 2024
1 parent 5ab0302 commit 4fd5309
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 @@ -16337,4 +16337,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: top10learners
uris: "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 4fd5309

Please sign in to comment.