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

One time load to add first name, last name and email for existing users #1386

Closed
2 tasks done
MCatherine1994 opened this issue May 14, 2024 · 3 comments
Closed
2 tasks done

Comments

@MCatherine1994
Copy link
Contributor

MCatherine1994 commented May 14, 2024

Describe the task
Write a script for a one time load to add the first name, last name and email for existing FAM users.

Acceptance Criteria

  • add the first name, last name, email and user_guid for existing FAM users
  • Create a new endpoint in the existing backend (protected by a Bearer token) to update first name, last name and email

Additional context

@MCatherine1994
Copy link
Contributor Author

Note that in our production database, there could have some test business bceid users that were created before we enabled the user validation for bceid. When we run the one time load, we want to track how many of the users in production database that cannot be found by IDIM web service. Later on we might want to do a cleanup for those old test users.

@MCatherine1994
Copy link
Contributor Author

MCatherine1994 commented Jul 29, 2024

One-time load user information response from FAM DEV:

fam-dev-one-time-load-user-info-response.json

@MCatherine1994
Copy link
Contributor Author

Found that API Gateway has a maximum 29s timeout limit.

Image

Lambda also has a time out config, currently is set to be 15s, this can be changed.

Image

In the case that API Gateway has a maximum 29s limit that cannot changed, we could load around 100 users at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants