Skip to content

Commit

Permalink
Merge pull request #368 from anilkumarkammalapalli/dev-4.8.15
Browse files Browse the repository at this point in the history
add kong configurations for wrapper apis
  • Loading branch information
Haritest authored Jul 18, 2024
2 parents 146a970 + 690f4d3 commit 12b2965
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ mentoring_prefix : /mentoring
mentoring_interface_prefix : /interface
designation_prefix: /designation
external_enrollment_prefix: /cios-enroll
comp_theme_prefix: /competencyTheme
comp_sub_theme_prefix: /competencySubTheme


# Service URLs
Expand Down Expand Up @@ -15885,3 +15887,57 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: competencySubThemeTermCreate
uris: "{{ comp_sub_theme_prefix }}/create/term"
upstream_url: "{{ cb_pores_service_url }}/competencySubTheme/term/create"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentAccess'
- 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: competencyThemeTermCreate
uris: "{{ comp_theme_prefix }}/create/term"
upstream_url: "{{ cb_pores_service_url }}/competencyTheme/term/create"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentAccess'
- 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: designationTermCreate
uris: "{{ designation_prefix }}/create/term"
upstream_url: "{{ cb_pores_service_url }}/designation/term/create"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'contentAccess'
- 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 12b2965

Please sign in to comment.