Fixes #208
In CloseIncidentRequestHandler use UpdateRequest instead of SetStateRequest
Fixes #93
In UpdateRequestHandler check if the target entity is an Incident whose state is Resolved. If yes, throw a FaultException.
Introduce custom parameter CloseIncidentRequestHandler to detect if the call was made from that particular handler. If yes, then ignore the check and update the incident as resolved.
Fixes #208 In
CloseIncidentRequestHandler
useUpdateRequest
instead ofSetStateRequest
Fixes #93 In
UpdateRequestHandler
check if the target entity is an Incident whose state is Resolved. If yes, throw a FaultException. Introduce custom parameterCloseIncidentRequestHandler
to detect if the call was made from that particular handler. If yes, then ignore the check and update the incident as resolved.