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

Add started_when and stopped_when date-time fields to Simulation data model #15

Open
Baguage opened this issue Mar 27, 2015 · 0 comments

Comments

@Baguage
Copy link
Member

Baguage commented Mar 27, 2015

Moved from redmine, ticket 6363
These fields are needed by the VecNet CI to know when a simulation started, and how long it took to run. They should be assigned automatically when the simulation's status is updated with a PATCH request:

  • When status becomes STARTED_SCRIPT, set the started_when field to the current time
  • When status becomes SCRIPT_DONE or OUTPUT_ERROR or SCRIPT_ERROR, set the stopped_when to the current time
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