Writing Lifecycle Information
Use the FusionDirector to deliver the lifecycle information to be written.
Message instance
{
"header": {
"msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
"parent_msg_id": "",
"timestamp": 1550107087319,
"sync": true
},
"route": {
"source": "controller",
"group": "hardware",
"operation": "update",
"resource": "websocket/config_dflc"
},
"content": {
}
}
Parameter description
The content message is described as follows:
"content": {
"start_point": "2020-04-15",
"life_span": 10
}
Level-1 Resource |
Description |
Type |
Value Range |
|---|---|---|---|
start_point |
Service start date |
string |
The time is in the format of yyyy-mm-dd, for example, 2020-04-15. |
life_span |
Duration of the service |
int32 |
0 to 255 |
Result returned
{
"header": {
"msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
"parent_msg_id": "71613fde-bada-4f2d-ae9a-7f7a98881888",
"timestamp": 1550107087319,
"sync": false
},
"route": {
"source": "hardware",
"group": "hub",
"operation": "update",
"resource": "websocket/config_dflc_result"
},
"content": "SUCCESS"|"FAILED: input param check failed"
}
Parent topic: Downstream Message Interfaces