Skip to content

Commit

Permalink
ED-4434:userOverview API config added (#4011)
Browse files Browse the repository at this point in the history
* userOverview API config added

* registryAccess to solutionAccess

---------

Co-authored-by: saish.borkar <[email protected]>
  • Loading branch information
borkarsaish65 and saish.borkar authored Jun 25, 2024
1 parent 35aca63 commit a8d1e80
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7195,6 +7195,28 @@ kong_apis:
config.required: false
config.enabled: false

- name: userOverview
uris: "{{ users_service_prefix }}/mlcore/v1/overview"
upstream_url: "{{ ml_core_service_url }}/v1/users/overview"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- solutionAccess
- 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


- name: getProjectDetails
uris: "{{ userProjects_service_prefix }}/mlprojects/v1/details"
upstream_url: "{{ ml_project_service_url }}/v1/userProjects/details"
Expand Down

0 comments on commit a8d1e80

Please sign in to comment.