From 6ed104f1e148e826ba109182c83db012bd3d0137 Mon Sep 17 00:00:00 2001 From: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:17:09 +0530 Subject: [PATCH] Entry Learner Leader Board Entry Learner Leader Board --- ansible/roles/kong-api/defaults/main.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 73bafaf5c8..edb7e196c3 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -12553,4 +12553,18 @@ kong_apis: config.hour: "{{ large_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ small_request_size_limit }}" \ No newline at end of file + config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: learnerleaderboard + uris: "/halloffame/learnerleaderboard" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/halloffame/learnerleaderboard" + strip_uri: true + plugins: + - name: cors + - "{{ statsd_pulgin }}" + - 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 }}"