Skip to content

Commit

Permalink
Merge pull request #281 from Sahil-tarento/dev-4.8.12-v1
Browse files Browse the repository at this point in the history
Adding the report download API for external Org
  • Loading branch information
Haritest authored May 3, 2024
2 parents 9be5317 + 47ab16a commit 5422537
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 @@ -13038,3 +13038,39 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

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

- name: externalOperationalReportDownload
uris: "/external/operationalreports/download"
upstream_url: "{{ sb_cb_ext_service_url }}/operational/reports/download"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'automatedReportAccess'
- 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 }}"

0 comments on commit 5422537

Please sign in to comment.