From 0212b1aeb33b902e4f5f31a9db6afe0516628050 Mon Sep 17 00:00:00 2001 From: Arpitha Date: Thu, 5 Dec 2024 13:22:22 +0530 Subject: [PATCH] EnrollmentProgressApi added --- ansible/roles/kong-api/defaults/main.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 94195caebc..9ae1fcf7e6 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -18712,4 +18712,24 @@ 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: ciosEnrollProgressUpdate + uris: "{{ external_enrollment_prefix }}/v1/user/progressupdate" + upstream_url: "{{ cb_external_enrollment_service_url }}/cios-enroll/v1/user/progressupdate" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataAccess' + - 'contentPartner' + - 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 }}" +