Skip to content

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

@Baguage

Description

@Baguage

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions