Skip to content

Commit

Permalink
Issue #SB-22937 feat: Onboard user list API (#2305)
Browse files Browse the repository at this point in the history
* Issue #SB-22937 feat: Onboard user list API

* Issue #SB-22937 feat: Contributor search API
  • Loading branch information
ahghatol authored Mar 19, 2021
1 parent 0998da5 commit 7e3c996
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4716,7 +4716,7 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: listGroup
request_path: "{{ group_service_prefix }}/v1/list"
Expand All @@ -4734,7 +4734,7 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: readGroup
request_path: "{{ group_service_prefix }}/v1/read"
Expand Down Expand Up @@ -4932,7 +4932,7 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: createTenantPreferences
request_path: "{{ org_service_prefix }}/v2/preferences/create"
Expand Down Expand Up @@ -4968,7 +4968,7 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: readTenantPreferencess
request_path: "{{ org_service_prefix }}/v2/preferences/read"
Expand All @@ -4986,7 +4986,7 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: generateCertificateV2
request_path: "{{ cert_service_prefix }}/v2/certs/generate"
Expand All @@ -5004,7 +5004,7 @@ 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: addRegCertificateV2
request_path: "{{ cert_registry_service_prefix }}/v2/certs/add"
Expand Down Expand Up @@ -5041,7 +5041,7 @@ kong_apis:
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: contentImportAPI
request_path: "{{ content_prefix }}/v1/import"
upstream_url: "{{ content_service_url }}/content/v3/import"
Expand Down Expand Up @@ -5946,6 +5946,24 @@ kong_apis:
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: contributorSearch
request_path: "{{ program_service_prefix }}/v1/contributor/search"
upstream_url: "{{ program_service_url }}/program/v1/contributor/search"
strip_request_path: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- 'userTempAdmin'
- 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: questionCreate
request_path: "{{ question_prefix }}/v1/create"
upstream_url: "{{ assessment_service_url }}/question/v4/create"
Expand Down

0 comments on commit 7e3c996

Please sign in to comment.