Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LISA API should be extended with three additional methods: lock, unlock, getLockInfo. Those methods are used by entity which manages application state (AWC) to block any operations (uninstall) on application during it's active state (started, suspended). Lock is performed with id, version of the application, lock owner and lock reason, we are only blocking specific version of application.

...

When LISA's client (DAC Manager, UI) will request to uninstall application which is currently used (locked) by AWC following error will be returned:

Code Block
languagejsonyml
{
  "code": 1009,
  "message": "ERROR_APP_ACTIVE"
}

...

If AWC will try to activate (lock) application during ongoing uninstallation procedure, following error will be returned

Code Block
languagejsonyml
{
  "code": 1010,
  "message": "ERROR_APP_UNINSTALLING"
}

...