From a8b397ff97ccb85a01705d507cbbcb5244e4ef1b Mon Sep 17 00:00:00 2001 From: Haritest Date: Mon, 24 Jun 2024 19:59:17 +0530 Subject: [PATCH] Update main.yml space issue corrected kong --- ansible/roles/kong-api/defaults/main.yml | 42 ++++++++++++------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index ed19da8926..f0a4e48011 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -15250,36 +15250,36 @@ kong_apis: upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/create" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl config.whitelist: - 'mentorServiceSysAdmin' - - 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 }}" + - 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 }}" - name: questionUpdate uris: "{{ mentoring_prefix }}/v1/questionsSet/update" upstream_url: "{{ mentoring_service_url }}/mentoring/v1/questions/update" strip_uri: true plugins: - - name: jwt - - name: cors - - "{{ statsd_pulgin }}" - - name: acl + - name: jwt + - name: cors + - "{{ statsd_pulgin }}" + - name: acl config.whitelist: - 'mentorServiceSysAdmin' - - 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 }}" + - 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 }}" - name: exploreCourseCreate uris: "{{ course_service_prefix }}/v1/explore/upsert" @@ -15371,4 +15371,4 @@ 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 }}"