Method calls over AMP should transparently handle deferred results

Bug #499225 reported by Free Ekanayaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Low
Free Ekanayaka

Bug Description

The MethodCallProtocol introduced in Bug #499018 can't handle remote
methods returing Deferred objects.

The attached branch makes the protocol return a MethodCall uuid to the
peer, in these cases. A further command referencing such uuid will be
sent to the caller as soon as the Deferred returned by the object's
method callbacks, along with the result of the Deferred itself.

Related branches

description: updated
summary: - Add a decorator to easily create methods that send AMP commands
+ Method calls over AMP should transparently handle deferred results
Changed in landscape-client:
milestone: 1.4.3 → 1.4.4
Changed in landscape-client:
status: In Progress → Fix Committed
tags: added: needs-testing
Changed in landscape-client:
status: Fix Committed → Fix Released
Changed in landscape-client:
status: Fix Released → Fix Committed
Revision history for this message
Jamu Kakar (jkakar) wrote :

This is not easy to test in staging, removing the needs-testing tag.

tags: removed: needs-testing
David Britton (dpb)
Changed in landscape-client:
status: Fix Committed → Fix Released
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.