87
Copyright © 2014 Open Geospatial Consortium
13. RESET Cancellation Requirement Class
This section reports all the requirements a RESET server has to comply with for claiming conformance with respect to the Cancellation class. This class shall implement all
functionalities that cancel a planning or reservation process.
This section is structured by resources: for each RESET resource, a dedicated sub-section describes all related requirements:
‐ Capabilities in §13.1; ‐ Procedures in §13.2;
‐ Tasking in §13.3.
Requirements Class http:www.opengis.netspecRESET1.0reqCancellation
Target type RESET Server
Dependency http:www.opengis.netspecRESET1.0reqCore
http:www.opengis.netspecRESET1.0reqPlanning
13.1 Capabilities Requirement
http:www.opengis.netspecRESET1.0reqCancellationCapabilitiesOperations Metadata
The OperationsMetadata of the Capabilities document shall advertise the following optional operation: cancel, as defined in OperationsMetadata section 8.1.4 of the RESET
Core Requirement Class in section 8.
13.2 Procedures
None.
13.3 Tasking 13.3.1 Task cancellation
Requirement
http:www.opengis.netspecRESET1.0reqCancellationTaskCancellation The RESET Server shall allow cancellation of a Planning or Reservation resource by:
HTTP DELETE request to the Planning or Reservation resource root URL:
http:hostname:portcontext pathRESET1.0.0{taskType}{taskID} where taskID is a path parameter
HTTP query parameters including several {segmentID} elements.
88
Copyright © 2014 Open Geospatial Consortium
Requirement
http:www.opengis.netspecRESET1.0reqCancellationTaskCancellationcontent On successful Planning or Reservation cancellation, a RESET server shall return:
‐ HTTP status code: 200 ok; ‐ HTTP entity body:
o eosps:StatusReport as described in the Task status operation section
8.3.1 above; o
eosps:ProgrammingStatus as described in the Creation section 0 of the RESET Planning Requirement Class in section 10.
Requirement
http:www.opengis.netspecRESET1.0reqCancellationTaskCancellationcontent status
On successful Planning or Reservation cancellation, the StatusReport shall contain the “PLANNING CANCELLED” status identifier.
Requirement
http:www.opengis.netspecRESET1.0reqCancellationTaskCancellationcontent statussegments
On successful Planning or Reservation cancellation, all segments cancelled shall contain the “CANCELLED” status identifier.
where taskType as one of: planning, reservation
89
Copyright © 2014 Open Geospatial Consortium
14. Annex A: Conformance Class Abstract Test Suite Normative