Introduce new DMF message THING_REMOVED (#891)
* Introduce new DMF message THING_REMOVED Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch-si.com> * rename test to its original name Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch-si.com> * API documentation adapted; constant defined for duplicated string Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch-si.com> * Resolve review comments; Replace try/catch blocks in exceptions testing Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch-si.com> * Re-add finally block in test cases Signed-off-by: Natalia Kislicyn <natalia.kislicyn@bosch-si.com>
This commit is contained in:
committed by
Dominic Schabel
parent
8687510131
commit
193603282a
@@ -58,6 +58,28 @@ Header
|
||||
----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------
|
||||
type=THING\_CREATED <br /> tenant=tenant123 <br /> thingId=abc <br /> sender=Lwm2m | content\_type=application/json <br /> reply_to (optional) =sp.connector.replyTo
|
||||
|
||||
|
||||
### THING_REMOVED
|
||||
|
||||
Message to request the deletion of a provisioning target.
|
||||
|
||||
Header | Description | Type | Mandatory
|
||||
-------------- | ------------------------------------------------ | ---------------------------- | -------------------------------------------------------------
|
||||
type | Type of the message | Fixed string "THING_REMOVED" | true
|
||||
thingId | The ID of the registered provisioning target | String | true
|
||||
tenant | The tenant this provisioning target belongs to | String | false
|
||||
|
||||
Message Properties | Description | Type | Mandatory
|
||||
------------------ | ---------------------------------------------------------------------------------------------------- | ------ | -------------------------------------------------------------
|
||||
content_type | The content type of the payload | String | true
|
||||
|
||||
Example headers
|
||||
|
||||
Header | MessageProperties
|
||||
----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------
|
||||
type=THING\_REMOVED <br /> tenant=tenant123 <br /> thingId=abc | content\_type=application/json
|
||||
|
||||
|
||||
### UPDATE_ATTRIBUTES
|
||||
|
||||
Message to update target attributes. This message can be send in response to a _REQUEST_ATTRIBUTES_UPDATE_ event, sent by hawkBit.
|
||||
|
||||
Reference in New Issue
Block a user