6.4 <semanticMashupInstance> Operations
6.4.1 Introduction
<semanticMashupInstance> models and represents a Semantic Mashup Instance (SMI) resource. <semanticMashupInstance> resource type is specified in the clause 9.6.54 in oneM2M TS-0001 [1].
A CSE/AE as a Mashup Requestor can request to create <semanticMashupInstance> resources at another oneM2M CSE which implements the semantic mashup function. Each created <semanticMashupInstance> resource corresponds to a semantic mashup job profile (i.e. a <semanticMashupJobProfile> resource); in other words, how the <semanticMashupInstance> resource should execute the mashup operation to calculate the mashup result is specified in the corresponding <semanticMashupJobProfile> resource. Note that the <semanticMashupInstance> and its corresponding <semanticMashupJobProfile> resources may be placed at the same CSE or at different CSEs, and the smjpID attribute of the <semanticMashupInstance> allows locating the corresponding <semanticMashupJobProfile> resource. If the <semanticMashupInstance> resource has a <semanticMashupResult> as its child resource, the Mashup Requestor may use it to retrieve the mashup result.
Figure 6.4.1-1 illustrates the procedural flow to operate a <semanticMashupInstance> resource (e.g. Create/Retrieve/Update/Delete a <semanticMashupInstance> resource).

Figure 6.4.1-1: Procedures for Operating a <semanticMashupInstance> Resource
6.4.2 Create <semanticMashupInstance>
This procedure shall be used for creating a <semanticMashupInstance> resource as described in Table 6.4.21.
Table 6.4.2-1: <semanticMashupInstance> CREATE
|
<semanticMashupInstance> CREATE |
|
|---|---|
|
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: |
|
Processing at Originator before sending Request |
According to clause 10.1.1.1 in oneM2M TS-0001 [1]:
|
|
Processing at Receiver |
According to clause 10.1.1.1 in oneM2M TS-0001 [1]:
|
|
Information in Response message |
All parameters defined in Table 8.1.3-1 in oneM2M TS-0001 [1] apply with the specific details for: |
|
Processing at Originator after receiving Response |
According to clause 10.1.1.1 in oneM2M TS-0001 [1]. |
|
Exceptions |
According to clause 10.1.1.1 in oneM2M TS-0001 [1]. |
6.4.3 Retrieve <semanticMashupInstance>
This procedure shall be used for retrieving the attributes of a <semanticMashupInstance> resource as described in Table 6.4.31.
Table 6.4.3-1: <semanticMashupInstance> RETRIEVE
|
<semanticMashupInstance> 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: |
|
Processing at Originator before sending Request |
According to clause 10.1.2 in oneM2M TS-0001 [1]. |
|
Processing at Receiver |
The Receiver shall verify the existence (including Filter Criteria checking, if it is given) of the target resource or the attribute and check if the Originator has appropriate privileges to retrieve information stored in the resource/attribute. Otherwise clause 10.1.2 in oneM2M TS-0001 [1] applies. |
|
Information in Response message |
All parameters defined in Table 8.1.3-1 in oneM2M TS-0001 [1] apply with the specific details for: |
|
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]. |
6.4.4 Update <semanticMashupInstance>
This procedure as described in Table 6.4.4-1 shall be used to update an existing <semanticMashupInstance>, e.g. an update to its memberStoreType attribute.
Table 6.4.4-1: <semanticMashupInstance> UPDATE
|
<semanticMashupInstance> UPDATE |
|
|---|---|
|
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: |
|
Processing at Originator before sending Request |
According to clause 10.1.3 in oneM2M TS-0001 [1]. |
|
Processing at Receiver |
According to clause 10.1.3 in oneM2M TS-0001 [1]:
|
|
Information in Response message |
According to clause 10.1.3 in oneM2M TS-0001 [1]. |
|
Processing at Originator after receiving Response |
According to clause 10.1.3 in oneM2M TS-0001 [1]. |
|
Exceptions |
According to clause 10.1.3 in oneM2M TS-0001 [1]. |
6.4.5 Delete <semanticMashupInstance>
This procedure as described in Table 6.4.5-1 shall be used to delete an existing <semanticMashupInstance>.
Table 6.4.5-1: <semanticMashupInstance> DELETE
|
<semanticMashupInstance> DELETE |
|
|---|---|
|
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. |
|
Processing at Originator before sending Request |
According to clause 10.1.4.1 in oneM2M TS-0001 [1]. |
|
Processing at Receiver |
According to clause 10.1.4.1 in oneM2M TS-0001 [1].
|
|
Information in Response message |
According to clause 10.1.4.1 in oneM2M TS-0001 [1]. |
|
Processing at Originator after receiving Response |
According to clause 10.1.4.1 in oneM2M TS-0001 [1]. |
|
Exceptions |
According to clause 10.1.4.1 in oneM2M TS-0001 [1]. |