Skip to content

Commit

Permalink
Issue #SB-23401 feat: updated script for question list api (#2520)
Browse files Browse the repository at this point in the history
  • Loading branch information
krgauraw authored May 12, 2021
1 parent 0d94704 commit 88d9f56
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5978,6 +5978,20 @@ kong_apis:
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: questionList
request_path: "{{ question_prefix }}/v1/list"
upstream_url: "{{ assessment_service_url }}/question/v4/list"
strip_request_path: true
plugins:
- name: cors
- "{{ statsd_pulgin }}"
- name: rate-limiting
config.policy: local
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: ip
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: questionUpdate
request_path: "{{ question_prefix }}/v1/update"
upstream_url: "{{ assessment_service_url }}/question/v4/update"
Expand Down

0 comments on commit 88d9f56

Please sign in to comment.