Skip to content

Commit

Permalink
Merge pull request #370 from anilkumarkammalapalli/cbrelease-4.8.15
Browse files Browse the repository at this point in the history
added kong configurations for frameowrk wrappers api
  • Loading branch information
Haritest authored Jul 19, 2024
2 parents 05b0ea2 + bc32c58 commit 92cf6c3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ designation_prefix : /designation
comp_area_prefix : /competencyArea
comp_theme_prefix : /competencyTheme
comp_sub_theme_prefix : /competencySubTheme
org_prefix : /org


# Service URLs
Expand Down Expand Up @@ -16415,6 +16416,24 @@ kong_apis:
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: OrgFrameworkRead
uris: "{{ org_prefix }}/framework/read"
upstream_url: "{{ cb_pores_service_url }}/org/framework/read"
strip_uri: true
plugins:
- name: jwt
- name: cors
Expand Down

0 comments on commit 92cf6c3

Please sign in to comment.