[Oslc-Automation] How to tell if a cancel request succeeded or failed?

Michael F Fiedler fiedler at us.ibm.com
Wed Sep 5 14:32:14 EDT 2012


I received some feedback today on cancelation requests.   How does the
consumer tell if they fail or succeed?

Recap:  To cancel, the consumer PUTs the AutoRequest or AutoResult with an
oslc_auto:desiredState with a value of 'canceled'.

Possible responses from the provider in response to a cancelation request:

* 200 (OK) if successful (maybe 202(Accepted) if long-running)

* 501 (Not implemented) if provider does not support cancel

* 502 (Bad Gateway) if a cancelation attempt has completed but failed
upstream.

* In all cases, consumer should check the oslc_auto:state of the Request or
Result.



Queued for discussion in tomorrow's meeting, but comments welcome here.

Regards,
Mike

Michael Fiedler
IBM Rational Software
fiedler at us.ibm.com
919-254-4170
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-automation_open-services.net/attachments/20120905/0ddc569d/attachment-0003.html>


More information about the Oslc-Automation mailing list