Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-3176

Project status and Health

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Not yet super defined, got in this raw material

       

      # Project Status/ Health System ## Example Scenario```
      Project: nginx-multisite
      ├── cache module (init phase, running since 5 min ago)
      ├── nginx module (published, completed 1 day ago)
      └── ssl module (analyze phase, stuck for 2 hours)
      ```### Sample response```
      GET /projects/{projectId}{
        "id": 
        "name": 
        "description": 
        "status": {
          "state": "in_progress",
          "health": "warning",
          "modules": {
            "total": 3,
            "completed": 1,
            "inProgress": 1,
            "stuck": 1,
            "failed": 0
          },
        },
      }
      ```---### `status.state`- `not_started`:  Project created, no work begun 
      - `initializied`:  Init phase run 
      - `in_progress`: Active module phases work happening
      - `completed`: All modules successfully published
      - `failed`:  Project has module failures
      - `stalled`: No activity in extended period(3days?)### `status.health`- 🟢 `healthy`: Everything progressing normally 
      - 🔵 `info`: Module phase needs something to continue the next phase (Waiting human > 2Hours)
      - 🟡 `warning`: Some modules are in publish, another ones are still on init? 
      - 🔴 `error`: Module failed
      ## Module statusnginx       analyze      2daysgo
      nginx       migrate      2daysgo
      nginx       publish      1daysgocache       analyze      2daysgo
      cache       migrate      2daysgo 
      cache       analyze      1daysgostatejob > ModuleJobs[-1]  --> ERROR/OK|PENING|RUNNING
      

              mlibra@redhat.com Marek Libra
              eloycoto Eloy Coto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: