Check for an updated set of artifacts for a gateway.
Flow
Pre-conditions
A target with an OSGi framework and our management agent.
Basic flow
- Target retrieves its own identity.
- Target asks the discovery service for the location of a server.
- Target polls the server for a list of versions.
- If there is a version that is newer than the currently installed version, poll for this update.
- Install the update.
- Report back to the server.
Alternative flows
- If no server can be found, do nothing.
- If there is no newer version, do nothing.
- If the update cannot be installed, roll back to the previous version.