U4-6816 - ApplicationContext should have a Enum status

Created by Shannon Deminick 09 Jul 2015, 13:19:24 Updated by Stephan 08 Jan 2018, 09:12:54

Relates to: U4-6930

Instead of the confusing flags we currently have like IsConfigured, IsReady, etc... we should have a single property with an Enum:

example:

  • Booting (the default initial state) (edited)
  • Installing (if we install)
  • Upgrading (if we upgrade)
  • Initializing (after booting, and opt. installing or upgrading)
  • Ready (after init)

A normal app would do: Booting -> Initializing -> Ready An upgrading app woul do: Booting -> Upgrading -> Restarting (and then it's normal) An install would do: Booting -> Installing -> Restarting (maybe a couple of times and then it's normal)

Comments

Stephan 23 Sep 2016, 09:08:12

Implemented in my temp v8 branch RuntimeState.Level can be: Boot, Install, Upgrade, Run, Failed Not sure about that Initialize thing


Stephan 08 Jan 2018, 09:12:48

done in 8, closing.


Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 8.0.0

Sprint:

Story Points:

Cycle: