Skip to content

Commit

Permalink
Merge pull request sunbird-cb#281 from pathiktarento1089/dev-4.8.20
Browse files Browse the repository at this point in the history
kong config for recommendation Course by designation
  • Loading branch information
Haritest authored Dec 13, 2024
2 parents 78b70a5 + 11e36a3 commit e2a5cba
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18851,3 +18851,21 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: recommendationCourseByDesignation
uris: "/v1/recommendations/courses"
upstream_url: "{{ sb_cb_ext_service_url }}/v1/recommendations/courses"
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 }}"

0 comments on commit e2a5cba

Please sign in to comment.