Descriptionget charm and service now uses promises
Three new primary methods were added to retrieve charm and
service data. ServiceList adds getFullService(), CharmList
adds getFullCharm, and Database gets a populateService()
method. These methods return promises for their respecive
data and populateService returns a fully populated service
and charm.
Endpoint code which used the old methods have been converted
over with the rest to be converted as time goes on.
Unit tests will be added in a follow-up branch.
https://code.launchpad.net/~hatch/juju-gui/load-srv-db/+merge/161243
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 3
MessagesTotal messages: 6
|