Skip to content

Commit

Permalink
Update main.yml space issue corrected kong
Browse files Browse the repository at this point in the history
  • Loading branch information
Haritest authored Jun 24, 2024
1 parent 8f5dcc7 commit a8b397f
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 }}"
config.allowed_payload_size: "{{ medium_request_size_limit }}"

0 comments on commit a8b397f

Please sign in to comment.