From 6159840aaff7396942902661b4da30366d2259bf Mon Sep 17 00:00:00 2001 From: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com> Date: Tue, 26 Sep 2023 16:46:54 +0530 Subject: [PATCH] Update main.yml New entry for the Enrol Status Count --- ansible/roles/kong-api/defaults/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 1f4ea4c0f5..36b4e9fe44 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -10140,3 +10140,21 @@ kong_apis: config.limit_by: credential - name: request-size-limiting config.allowed_payload_size: "{{ small_request_size_limit }}" + + - name: workflowBlendedProgramEnrolStatusCount + uris: "{{ workflow_handler_service_prefix }}/blendedprogram/enrol/status/count" + upstream_url: "{{ workflow_handler_service_url }}/v1/blendedprogram/workflow/enrol/status/count" + strip_uri: true + plugins: + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'dataCreate' + - 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 }}"