6.5 _<mashup>_ Operations
6.5.1 Introduction
<mashup> is a virtual resource because it does not have a representation. It is the child resource of a <semanticMashupInstance> resource. When a RETRIEVE operation is sent to the <mashup> resource, it triggers a calculation and generation of the mashup result based on its parent resource <semanticMashupInstance> .
The <mashup> resource type is specified in oneM2M TS-0001 [1], clause 9.6.55.
Only Retrieve operation shall be allowed on a <mashup> virtual resource. A Create, an Update, or a Delete operation on a <mashup> virtual resource shall not be supported.
6.5.2 Retrieve <mashup>
This procedure shall be used for triggering the CSE which hosts the <semanticMashupInstance> to recalculate mashup results and returning the mashup result back to the requestor (e.g. an AE) of this retrieve request as described in Table 6.5.2-1.
Table 6.5.2-1: <mashup> RETRIEVE
<mashup> RETRIEVE | <mashup> RETRIEVE |
---|---|
Associated Reference Point | Mca, Mcc and Mcc'. |
Information in Request message | All parameters defined in Table 8.1.2-3 in oneM2M TS-0001 [1] apply with the specific details for: To: <semanticMashupInstance>/<mashup> Content : void. |
Processing at Originator before sending Request | According to clause 10.1.2 in oneM2M TS-0001 [1]. |
Processing at Receiver | The Receiver shall check if the Originator has appropriate privileges. Otherwise clause 10.1.2 in oneM2M TS-0001 [1] applies: The Hosting CSE triggers the recalculation of semantic mashup result for <mashup> 's parent resource <semanticMashupInstance>. The recalculated mashup result shall be stored in the <semanticMashupInstance>'s child resource <semanticMashupResult>. |
Information in Response message | All parameters defined in Table 8.1.3-1 in oneM2M TS-0001 [1] apply with the specific details for: Content : the mashup result, if indicated in the request. |
Processing at Originator after receiving Response | According to clause 10.1.2 in oneM2M TS-0001 [1]. |
Exceptions | According to clause 10.1.2 in oneM2M TS-0001 [1]. In addition: a timer has expired. The Receiver responds with an error. |