Skip to content

Commit

Permalink
Merge pull request sunbird-cb#166 from ArpithaSureshappa/patch-11
Browse files Browse the repository at this point in the history
service registry external api read by id API added
  • Loading branch information
Haritest authored Oct 11, 2024
2 parents e0fa7f7 + 66a5b9c commit 31f6de5
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 @@ -18158,3 +18158,21 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: callExternalApiByConfigId
uris: "{{ service_registry_prefix }}/v1/callexternalapibyid"
upstream_url: "{{ cb_service_registry_url }}/serviceregistry/v1/callexternalapibyid"
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 31f6de5

Please sign in to comment.