Skip to content

Commit

Permalink
Merge pull request #378 from anudeep-ks/dev-4.8.15
Browse files Browse the repository at this point in the history
Solution Upload APIs added in Private Kong
  • Loading branch information
Haritest authored Aug 1, 2024
2 parents ec83ab8 + f33495b commit ab11c02
Showing 1 changed file with 93 additions and 1 deletion.
94 changes: 93 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15961,4 +15961,96 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: surveysampletemplate
uris: "{{ surveys_service_prefix }}/template/api/v1/download/sampleTemplate"
upstream_url: "{{ ml_survey_service_url }}/template/api/v1/download/sampleTemplate"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- surveyAccess
- name: rate-limiting
config.policy: local
config.hour: "{{ x_large_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: uploadsurvey
uris: "{{ surveys_service_prefix }}/template/api/v1/upload"
upstream_url: "{{ ml_survey_service_url }}/template/api/v1/upload"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- surveyAccess
- name: rate-limiting
config.policy: local
config.hour: "{{ x_large_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: validatesurvey
uris: "{{ surveys_service_prefix }}/template/api/v1/validate"
upstream_url: "{{ ml_survey_service_url }}/template/api/v1/validate"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- surveyAccess
- name: rate-limiting
config.policy: local
config.hour: "{{ x_large_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: createsurvey
uris: "{{ surveys_service_prefix }}/template/api/v1/survey/create"
upstream_url: "{{ ml_survey_service_url }}/template/api/v1/survey/create"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- surveyAccess
- name: rate-limiting
config.policy: local
config.hour: "{{ x_large_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: surveygetSolutions
uris: "{{ surveys_service_prefix }}/template/api/v1/survey/getSolutions"
upstream_url: "{{ ml_survey_service_url }}/template/api/v1/survey/getSolutions"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- surveyAccess
- name: rate-limiting
config.policy: local
config.hour: "{{ x_large_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"


0 comments on commit ab11c02

Please sign in to comment.