Skip to content

Commit

Permalink
Merge pull request #273 from SaipradeepR/patch-17
Browse files Browse the repository at this point in the history
V3 for Enrol API testing in PROD
  • Loading branch information
Haritest authored Apr 23, 2024
2 parents 5ca47c0 + 0a35b63 commit 5125397
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,23 @@ kong_apis:
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: listCourseEnrollmentsV3
uris: "{{ course_service_prefix }}/v3/user/enrollment/list"
upstream_url: "{{ lms_service_url }}/v2/user/courses/list"
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 }}"

- name: listDialcodes
uris: "{{ dialcode_service_prefix }}/v1/list"
Expand Down

0 comments on commit 5125397

Please sign in to comment.