Skip to content

Commit

Permalink
Merge pull request #188 from shankaragoudab/4.8.11-dev
Browse files Browse the repository at this point in the history
kong changes for admin bulk enroll api
  • Loading branch information
Haritest authored Feb 5, 2024
2 parents 67c38a9 + 7777106 commit 3f59cf0
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11065,4 +11065,22 @@ 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 }}"

- name: programAdminBulkEnrolment
uris: "{{ program_prefix }}/v2/admin/bulkEnroll"
upstream_url: "{{ lms_service_url }}/v2/program/admin/bulkEnroll"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'courseAccess'
- 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 3f59cf0

Please sign in to comment.