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

A function for resolving pending profiles #140

Open
lakshayman opened this issue Mar 27, 2023 · 2 comments
Open

A function for resolving pending profiles #140

lakshayman opened this issue Mar 27, 2023 · 2 comments

Comments

@lakshayman
Copy link
Collaborator

lakshayman commented Mar 27, 2023

In identity service, we have a function verify that as it says, verifies the user profile. So the way identity service works is, you have to put your profile service Url in mysite and generate a chaincode from there and put it in identity service then you press verify button, mysite call the nodeJS backend where we set the profileStatus to PENDING, and that backend calls the identity service verify to verify the profile service without waiting for its response. But sometimes that verification call doesn't happen or the identity service is in the deployment phase, and the status stays PENDING.

For that, we want to make a function that is scheduled every week which checks for pending profiles and makes a verification call for them.

@Maheima
Copy link
Contributor

Maheima commented Apr 6, 2023

Are we supposed to add a function to cron jobs?
If yes, which cron job library do you recommend ?

@prakashchoudhary07
Copy link
Contributor

Cron jobs are already handled by AWS itself

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

No branches or pull requests

3 participants