Open Ziabatcha opened 5 months ago
Could you please explain how the test has been performed? In my environment and using swagger I got the correct data without errors when actual equipment equipment api is called.
I used mount-name: CO02059 and equipment uuid: AIR-EQUIPMENT-3-1. Who is calling the actual equipment with equipment uuid 3-1?
I'm closing this issue as won't fix as the test is not correctly executed. The control construct for this Huawei equipment for the "equipment" part is: "equipment": [ { "uuid": "AIR-EQUIPMENT-3-1", "lifecycle-state": "core-model-1-4:LIFECYCLE_STATE_INSTALLED", "operational-state": "core-model-1-4:OPERATIONAL_STATE_ENABLED", "actual-equipment": { "local-id": "3-1", "lifecycle-state": "core-model-1-4:LIFECYCLE_STATE_INSTALLED", "operational-state": "core-model-1-4:OPERATIONAL_STATE_ENABLED", "physical-properties": { "temperature": "-1" }, "manufactured-thing": { "equipment-type": { "version": "2048.32768", "equipment-augment-1-0:equipment-type-pac": { "lct-label": "X233LA", "outside-label": "Label at the equipment not yet defined." }, "model-identifier": "X233LA", "description": "Outdoor Unit", "part-type-identifier": "215241388010F8000162", "type-name": "X233LA" }, "equipment-instance": { "manufacture-date": "2015-08-22", "serial-number": "215241388010F8000162" }, "manufacturer-properties": { "manufacturer-name": "Huawei", "manufacturer-identifier": "64F81C" } }, ........
It is correct that CO02059+3-1 is not present because the correct for UUID equipment is AIR-EQUIPMENT-3-1
Issue is being monitored .
Huawei equipments:
[27.05.2024 06:17.12.879] [ERROR] NotFoundError: No elements found with UUID: CO02059+3-1 at Object.exports.cacheResponseBuilder (/home/openbackhaul/microWaveDeviceInventory/service/individualServices/cacheResponseBuilder.js:43:27) at /home/openbackhaul/microWaveDeviceInventory/service/IndividualServicesService.js:935:45 at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[ERROR] NotFoundError: Field not found: actual-equipment at Object.exports.cacheResponseBuilder (/home/openbackhaul/microWaveDeviceInventory/service/individualServices/cacheResponseBuilder.js:51:23) at /home/openbackhaul/microWaveDeviceInventory/service/IndividualServicesService.js:213:45 at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[27.05.2024 06:17.11.904] [ERROR] NotFoundError: Field not found: actual-equipment