Public bug reported: I was investigating removing Software Properties calls to pro 'security- status --format=json' because it is deprecated and has at least a known fail point.
But the API doesn't seem to provide an end-point to query the availability of a service, which is required at [1]. Assuming I didn't miss anything, I'd like to request the addition of such an end-point. Please note that the program is currently using /var/lib/ubuntu- advantage/status.json as its first source of information and only has --format=json as a fallback, so this is no pressing matter, but it is a pre-requisite for moving away from those two approaches. [1] https://git.launchpad.net/ubuntu/+source/software- properties/tree/softwareproperties/gtk/utils.py#n145 ** Affects: ubuntu-advantage-tools (Ubuntu) Importance: Undecided Status: New ** Description changed: I was investigating removing Software Properties calls to pro 'security- status --format=json' because it is deprecated and has at least a known fail point. But the API doesn't seem to provide an end-point to query the availability of a service, which is required at [1]. Assuming I didn't miss anything, I'd like to request the addition of such an end-point. + Please note that the program is currently using /var/lib/ubuntu- + advantage/status.json as its first source of information and only has + --format=json as a fallback, so this is no pressing matter, but it is a + pre-requisite for moving away from those two approaches. + [1] https://git.launchpad.net/ubuntu/+source/software- properties/tree/softwareproperties/gtk/utils.py#n145 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060051 Title: Pro API missing end-point to query service availability To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2060051/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs