Skip to content

Commit

Permalink
Update main.yml mentoringEntityList added
Browse files Browse the repository at this point in the history
  • Loading branch information
Haritest authored Jul 23, 2024
1 parent 92cf6c3 commit 232d08d
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16446,4 +16446,25 @@ 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: mentoringEntityList
uris: "{{ mentoring_prefix }}/v1/entity/list"
upstream_url: "{{ mentoring_interface_service_url }}/mentoring/v1/entity/list"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'mentorServiceMentee'
- 'mentorServiceMentor'
- 'mentorServiceOrgAdmin'
- 'mentorServiceSysAdmin'
- 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 232d08d

Please sign in to comment.