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

Investigate one-time load failed user records #1561

Open
3 tasks
MCatherine1994 opened this issue Aug 22, 2024 · 0 comments
Open
3 tasks

Investigate one-time load failed user records #1561

MCatherine1994 opened this issue Aug 22, 2024 · 0 comments

Comments

@MCatherine1994
Copy link
Contributor

MCatherine1994 commented Aug 22, 2024

Describe the task
Investigate the failed user records while doing one-time information load in production. Fix the api, so it can detect if the user is a test user or a prod user, and call the IDIM web service in the correct environment.

Acceptance Criteria

  • Fix the api to check if BCeID user is a test user or prod user, and call the IDIM web service with the correct environment
  • Run the api again and capture the failure list (include user type)
  • Go through the failure user list

Additional context

  • cognito_user_id has the environment in it, but if the user never login to any of the application integrated with FAM, then we won't have the cognito_user_id for that user

Image

  • Please note that, before run the one-time load api, need to adjust the api lambda time out to 29s (api gateway has 29s time out as well). Remember to switch it back when finish.

Image

  • The api kay to run the one-time load api is stored in AWS PROD secret manager

Image

  • Some sample failure in production from the log when we run the api on 2024-08-22 (please note that the failure could because we are not supporting finding test user in the one-time load api yet):

Image

Image

Image

Image

Image

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

1 participant