Brief
Currently, when executing dynamic API with unavailable API, system shows error too general and more technical.
{
"code": "SERVICE_ERROR",
"message": "Service Unavailable | Cause: Not found eventbus-message-service - Error Code: NOT_FOUND"
}
Need to enhance it to:
{
"code": "SERVICE_ERROR",
"message": "Service Unavailable | Cause: API path <actual-path> is unavailable or not found"
}
DOD
[ ] Bundle some required properties include predicate to one object and this object is able to provide filter, execution properties and also corresponding error message depends on filter.
Brief Currently, when executing dynamic API with unavailable API, system shows error too general and more technical.
Need to enhance it to:
DOD
predicate
to one object and this object is able to provide filter, execution properties and also corresponding error message depends on filter.http dynamic
andevent dynamic
https://github.com/NubeIO/iot-engine/blob/e10aebbf80e0a29d384728cbca058fa24550d25e/core/micro/src/main/java/com/nubeiot/core/micro/ServiceDiscoveryController.java#L138-L139