From 57cd1deb9b343e2ea4ad12ecc18da61074fc94f6 Mon Sep 17 00:00:00 2001 From: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:23:12 +0530 Subject: [PATCH] Adding API for competencies --- ansible/roles/kong-api/defaults/main.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index ed19da8926..0323f4af65 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -15371,4 +15371,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 }}" \ No newline at end of file + config.allowed_payload_size: "{{ medium_request_size_limit }}" + + - name: getBrowseByChannelCompetency + uris: "/v1/search/competenciesByOrg" + upstream_url: "{{ sb_cb_ext_service_url }}/v1/competenciesByOrg" + 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: "{{ small_request_size_limit }}"