Skip to content

Commit

Permalink
API onboarding for Review flow
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Oct 30, 2023
1 parent 9d4add5 commit 7ce9a60
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10646,3 +10646,86 @@ kong_apis:
config.required: false
config.enabled: false

- name: questionSetUpdateComment
uris: "{{ questionset_prefix }}/v1/comment/update"
upstream_url: "{{ assessment_service_url }}/questionset/v4/comment/update"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- contentAdmin
- 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: opa-checks
config.required: false
config.enabled: false

- name: questionSetUpdateCommentV2
uris: "{{ questionset_prefix }}/v2/comment/update"
upstream_url: "{{ assessment_service_url }}/questionset/v5/comment/update"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- contentAdmin
- 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: opa-checks
config.required: false
config.enabled: false

- name: questionSetReadComment
uris: "{{ questionset_prefix }}/v1/comment/read"
upstream_url: "{{ assessment_service_url }}/questionset/v4/comment/read"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- contentAdmin
- 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: opa-checks
config.required: false
config.enabled: false

- name: questionSetReadCommentV2
uris: "{{ questionset_prefix }}/v2/comment/read"
upstream_url: "{{ assessment_service_url }}/questionset/v5/comment/read"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- contentAdmin
- 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: opa-checks
config.required: false
config.enabled: false

0 comments on commit 7ce9a60

Please sign in to comment.