Skip to content

6.3 _<semanticMashupJobProfile>_ Operations

6.3.1 Introduction

The <semanticMashupJobProfile> resource represents a Semantic Mashup Job Profile (SMJP). The <semanticMashupJobProfile> resource type description is specified in the clause 9.6.53 in oneM2M TS-0001 [1].

A <semanticMashupJobProfile> resource can be provisioned to a Hosting CSE which provides semantic mashup function; alternatively, an AE or CSE can request to create <semanticMashupJobProfile> resource at the Hosting CSE. Once a <semanticMashupJobProfile> resource is provisioned or created at the Hosting CSE, other oneM2M CSEs/AEs, which act as Mashup Requestors, can discover, retrieve, update, or delete it based on the requirements.

Figure 6.3.1-1 illustrates a generic procedure (e.g. Create/Retrieve/Update/Delete) to operate on a <semanticMashupJobProfile> resource.

Figure 6.3.1-1: Procedures for operating a _<semanticMashupJobProfile>_ resource

Figure 6.3.1-1: Procedures for operating a <semanticMashupJobProfile> resource

Editor's Note: Replace with PlantUML Diagram

6.3.2 Create <semanticMashupJobProfile>

This procedure shall be used for creating a <semanticMashupJobProfile> resource as described in Table 6.3.21.

Table 6.3.2-1: <semanticMashupJobProfile> CREATE

<semanticMashupJobProfile> CREATE <semanticMashupJobProfile> 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:
Content : : The resource content shall provide the information about an <semanticMashupJobProfile> resource (e.g. attribute values) as described in the clause 9.6.53 in oneM2M TS-0001 [1].
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:
Content : Address of the created <semanticMashupJobProfile> resource, according to clause 10.1.1.1 in oneM2M TS-0001 [1].
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.3.3 Retrieve <semanticMashupJobProfile>

This procedure shall be used for retrieving the attributes of a <semanticMashupJobProfile> resource as described in Table 6.3.31.

Table 6.3.3-1: <semanticMashupJobProfile> RETRIEVE

<semanticMashupJobProfile> RETRIEVE <semanticMashupJobProfile> 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:
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 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:
Content : attributes of the <semanticMashupJobProfile> resource as defined in the clause 9.6.53 in oneM2M TS-0001 [1].
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.

6.3.4 Update <semanticMashupJobProfile>

This procedure as described in Table 6.3.41 shall be used to update an existing <semanticMashupJobProfile> resource, e.g. an update to its inputDescriptor attribute.

Table 6.3.4-1: <semanticMashupJobProfile> UPDATE

<semanticMashupJobProfile> UPDATE <semanticMashupJobProfile> 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:
Content : attributes of the <semanticMashupJobProfile> resource as defined in the clause 9.6.53 in oneM2M TS-0001 [1] to be updated.
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.3.5 Delete <semanticMashupJobProfile>

This procedure as described in Table 6.3.51 shall be used to delete an existing <semanticMashupJobProfil e> resource.

Table 6.3.5-1: <semanticMashupJobProfile> DELETE

<semanticMashupJobProfile> DELETE <semanticMashupJobProfile> 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]:
If the <semanticMashupJobProfile> to be deleted has smiID attribute and the smiID attribute has a value, the Receiver notifies each <semanticMashupInstance> resource as included in the smiID attribute of the removal of the <semanticMashupJobProfile> since those <semanticMashupInstanc e> resources use this <semanticMashupJobProfile>.
If the <semanticMashupJobProfile> to be deleted has <semanticMashupInstance> child resources, all those <semanticMashupInstanc e> child resources shall be removed accordingly.
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].