/pps/services/appinst-mgr/status

Status object for reporting the results of commands sent to the appinst-mgr service

Publishers
appinst-mgr
Subscribers
Any app
Note: The appinst-mgr service is provided as a reference design for your convenience.

Overview

The appinst-mgr service uses this status object to publish the results of commands sent to the /pps/services/appinst-mgr/control object.

Attributes

Attribute Values
msg Error or information message.
progress Number (percent) indicating the progress of the install/uninstall operation.
state install|uninstall
status OK|ERROR

Sample status objects

Successful installation:
@status
msg::HelloWorld.testRel_HelloWorld_1a2fa200
progress:n:100
state::install
status::OK
Successful uninstallation:
@status
msg::successfully removed
progress:n:100
state::uninstall
status::OK
Attempt to install a .bar file that doesn't exist:
 
@status
msg::unzip: cannot find zipfile directory in /tmp/temp.bar
progress:n:100
state::install
status::ERROR
Attempt to uninstall an invalid app (e.g., the app named "my_test" doesn't exist):
@status
msg::Error: Unable to determine installed application: [my_test]
progress:n:100
state::uninstall
status::ERROR