Skip to content

Commit

Permalink
Merge pull request sunbird-cb#158 from KB-iGOT/dev-4.8.18
Browse files Browse the repository at this point in the history
Dev 4.8.18
  • Loading branch information
Haritest authored Oct 7, 2024
2 parents 303a977 + 5f3bf51 commit 335284c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
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 @@ -18055,6 +18055,24 @@ kong_apis:
- 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: OperationalReportDownloadV2
uris: "/operationalreports/v2/download"
upstream_url: "{{ sb_cb_ext_service_url }}/operational/reports/v2/download"
Expand All @@ -18072,3 +18090,21 @@ kong_apis:
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 }}"
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ strategy:

environmentjs: |-
window["env"] = {
baseUrl: 'https://{{domain_name}}/apis/proxies/v8/',
baseUrl: 'https://spv.{{nginx_proxy_server_name}}/apis/proxies/v8/',
customAuth: true,
};

Expand Down

0 comments on commit 335284c

Please sign in to comment.