From efdd76aaa3f8d0470f3078783419a8fec1e91c3f Mon Sep 17 00:00:00 2001 From: vikrantsingh Date: Wed, 23 Oct 2024 10:33:12 +0530 Subject: [PATCH] "Added a new API for public user event bulkonboard" --- 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 29d5d9e746..b3ac7ffa99 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -18334,4 +18334,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: eventUserBulkOnboard + uris: "{{ user_service_prefix }}/v1/event/bulkonboard" + upstream_url: "{{ sb_cb_ext_service_url }}/user/event/bulkOnboard" + 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 }}"