Skip to content

Commit

Permalink
external read content api added
Browse files Browse the repository at this point in the history
  • Loading branch information
sivacmdiksha authored Dec 8, 2023
1 parent 362aa1d commit f01c9a3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11369,3 +11369,23 @@ kong_apis:
- name: opa-checks
config.required: false
config.enabled: false
- name: externalReadContent
uris: "{{ content_prefix }}/v1/externalRead"
upstream_url: "{{ knowledge_mw_service_url }}/v1/content/read"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- externalAccess
- 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: "{{ small_request_size_limit }}"
- name: opa-checks
config.required: false
config.enabled: false

0 comments on commit f01c9a3

Please sign in to comment.