Skip to content

Commit

Permalink
Merge pull request sunbird-cb#157 from pathiktarento1089/dev-4.8.18
Browse files Browse the repository at this point in the history
commeting for cios logs file kong config
  • Loading branch information
Haritest authored Oct 7, 2024
2 parents 3e4c385 + 9e0e39a commit 78452db
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18054,3 +18054,39 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: uploadCiosLogsFile
uris: "/storage/v1/uploadCiosLogsFile"
upstream_url: "{{ sb_cb_ext_service_url }}/storage/v1/uploadCiosLogsFile"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'dataAccess'
- 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: downloadCiosLogs
uris: "/storage/v1/downloadCiosLogs"
upstream_url: "{{ sb_cb_ext_service_url }}/storage/v1/downloadCiosLogs"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'dataAccess'
- 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 }}"

0 comments on commit 78452db

Please sign in to comment.