Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #LR-676 feat: User Delete - ownership transfer api addition #3969

21 changes: 21 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9244,6 +9244,27 @@ kong_apis:
config.required: true
config.enabled: true

- name: ownershipTransfer
uris: "{{ user_service_prefix }}/v1/ownership/transfer"
upstream_url: "{{ userorg_service_url }}/v1/user/ownership/transfer"
strip_uri: true
plugins:
- name: jwt
- name: cors
- "{{ statsd_pulgin }}"
- name: acl
config.whitelist:
- userUpdate
- 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: true
config.enabled: true

- name: createContentV2
uris: "{{ content_prefix }}/v2/create"
upstream_url: "{{ content_service_url }}/content/v4/create"
Expand Down
3 changes: 2 additions & 1 deletion ansible/roles/stack-sunbird/templates/userorg-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,5 @@ sunbird_userorg_keyspace=sunbird
# Release-7.0.0
user-deletion-roles=public
user-deletion-broadcast-topic={{env_name}}.delete.user
sunbird_support_email={{ sunbird_mail_server_from_email }}
sunbird_support_email={{ sunbird_mail_server_from_email }}
user-ownership-transfer-topic={{env_name}}.user.ownership.transfer