Skip to content

Commit

Permalink
Merge pull request sunbird-cb#207 from vikrantbipin/cbrelease-4.8.18
Browse files Browse the repository at this point in the history
Added two new API for fetch the status and download processed file of offline user event bulkonboard
  • Loading branch information
Haritest authored Oct 26, 2024
2 parents 92604f0 + d3cc0e7 commit 23fb07f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18353,3 +18353,40 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: eventUserBulkOnboardStatus
uris: "{{ user_service_prefix }}/v1/event/bulkonboard/status"
upstream_url: "{{ sb_cb_ext_service_url }}/user/event/bulkonboard/status/"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentCreate'
- 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: eventUserBulkOnboardDownloadFile
uris: "{{ user_service_prefix }}/v1/event/bulkonboard/download"
upstream_url: "{{ sb_cb_ext_service_url }}/user/event/bulkonboard/download/"
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 23fb07f

Please sign in to comment.