Closed Ziabatcha closed 7 months ago
test with Postman: GET http://{{controller_ip}}:{{controller_port}}/core-model-1-4:network-control-domain=cache/control-construct=xxxx/equipment=CTRL IduBoard Xpic 32E1/actual-equipment
result:
{
"core-model-1-4:actual-equipment": {
"environmental-rating": {
"power-rating": {
"power-rating-name": "",
"power-rating-value": ""
},
"humidity-rating": "",
"thermal-rating": {
"maximum-temperature": "0.0",
"minimum-temperature": "0.0",
"thermal-rating-name": ""
}
},
"location": {
"geographical-location": "",
"equipment-location": ""
},
"spatial-properties-of-type": {
"height": "",
"width": "",
"length": ""
},
"administrative-state": "core-model-1-4:ADMINISTRATIVE_STATE_UNLOCKED",
"physical-characteristics": {
"materials": "",
"fire-characteristics": "",
"weight-characeristics": ""
},
"manufactured-thing": {
"operator-augmented-equipment-instance": {
"asset-instance-identifier": ""
},
"manufacturer-properties": {
"manufacturer-name": "SIAE Microelettronica SpA",
"manufacturer-identifier": ""
},
"equipment-instance": {
"serial-number": "14209652001003220",
"asset-instance-identifier": "",
"manufacture-date": "0000-00-00T00:00:00.0+00:00"
},
"equipment-type": {
"model-identifier": "ALCplus2e IDU XPIC 2xSTM-1 32xE1",
"version": "001",
"part-type-identifier": "GAI0182",
"type-name": "ALCPlus2e",
"description": "INDOOR UNIT ALCPlus2e"
},
"operator-augmented-equipment-type": {
"asset-type-identifier": ""
}
},
"operational-state": "core-model-1-4:OPERATIONAL_STATE_ENABLED",
"administrative-control": "core-model-1-4:ADMINISTRATIVE_CONTROL_UNLOCK",
"function-enablers": {
"power-state": ""
},
"lifecycle-state": "core-model-1-4:LIFECYCLE_STATE_INSTALLED",
"local-id": "",
"structure": {
"category": "core-model-1-4:EQUIPMENT_CATEGORY_SUBRACK"
},
"physical-properties": {
"temperature": ""
},
"swappability": {
"is-hot-swappable": false
},
"mechanical-functions": {
"rotation-speed": ""
}
}
}
Tested with v1.1.3 Proper response observed for both actual equipment and Profile-equipment APIs 200OK
When user tried to retrieve the cache and live data for actual-equipment, observe mismatch.
API - /core-model-1-4:network-control-domain=cache/control-construct={mountName}/equipment={uuid}/actual-equipment
Tag: Test_v1.1.2