Inform client if ContentHub service is not available

Bug #1676893 reported by Alberto Mardegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
content-hub (Ubuntu)
In Progress
High
Alberto Mardegan

Bug Description

An app using the Content Hub QML API might have the need to know whether service is actually available, in order to fall back to other means if it isn't.

This is especially relevant for snaps: if the snap uses the content from ubuntu-app-platform, the QML module of the ContentHub will be available, but this doesn't guarantee that the CH service is running. It might not be installed (for example, in another distro), not running or maybe not reachable due to confinement.

I propose adding a "valid" property to the ContentHub singleton which would tell whether the service is available.

Related branches

Alberto Mardegan (mardy)
Changed in content-hub (Ubuntu):
assignee: nobody → Alberto Mardegan (mardy)
Alberto Mardegan (mardy)
Changed in content-hub (Ubuntu):
status: New → In Progress
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.