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

Handle situations where case registration fails #69

Open
perolavsvendsen opened this issue Mar 2, 2022 · 0 comments
Open

Handle situations where case registration fails #69

perolavsvendsen opened this issue Mar 2, 2022 · 0 comments

Comments

@perolavsvendsen
Copy link
Member

HOOK workflow "create_case_metadata" creates case metadata AND registers the case on Sumo (if enabled).
In the cases where Sumo is down, or connection for other reasons fail, case metadata will still be made, but case will not be registered on Sumo. FMU workflow will continue nevertheless.

  • Case registration should not wait for a 504 timeout. In the cases where Sumo does not respond, it should make a few attempts, but not wait for a long time. Fail faster.
  • In the situations where case has failed to be registered, the SUMO_UPLOAD jobs should immediately quit. (e.g. if case is not found on Sumo, then move on immediately.) (e.g. replace current OSError with a userwarning, and move this check to the top of the script so that it runs before adding all the files.)
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

1 participant