LUNA PLATFORM v.5.5.0#
Summary#
-
New resource "/handles/{handler_id}/events/raw" was added to API and Handlers services. Request fields are filled in when sending the request. The format of the generated event is similar to the format returned by the "/handlers/{handler_id}/events" resource. The "event_id" and "url" fields are not specified when creating a request. They are returned in the response after the event is created. Notifications using web sockets are sent when events are created using this resource. The resource enables you to set your logic for filling in event fields, which is different from the logic using handlers. For example, when you want to extract descriptors only for a part of the detections and not for all the detections.
-
The resource "/ws" was added to the API service. Now web sockets configuration and Sender responses proxying are performed via the API service. This provides a single entry point to the LP through the API service and enables you to avoid sending requests directly to the Sender service. Configuring web sockets directly via Sender is still available. It can be used to reduce the load on the API service. In other cases, it is recommended to use the API service.
-
The new filters "event_id__gte" and "event_id__lt" are supported for receiving events using the "/events" resource. Using these filters, you can perform pagination that is:
- Faster than the pagination by "page" and "page_size" parameters. It does not slow down with a large number of events.
- More stable than pagination by "page" and "page_size" parameters. When events number is changed during the pagination process, it does not cause events to be lost or duplicated in the response.
-
The configuration reload mechanics have changed in Faces and Python Matcher services. Now, it's done mostly by restarting appropriate processes. The mechanism provides a more reliable update of service settings. Please note that requests made at the time of changing the settings may end with an error. The service may be unavailable for some time.
-
The values of "user_data" and "external_id" fields are now set to
""
by default. -
Cache sharing was added for the Python Matcher service when running multiple worker processes (workers) of the same service. Now each of the worker processes uses the same descriptors cache. Previously, when creating multiple workflows, each of them had a separate descriptors cache. This change can both speed up and slow down the service. If you need to ensure that the cache is stored in each of the Python Matcher processes, you should run each of the server instances separately.
-
InfluxDB OSS 2.x was supported for monitoring for all LP services. The section "InfluxDB OSS 2", which describes how to configure LP to work with the second version of the database, was added to "LP_Administration_Manual". The database in the LP package was not updated to the new version.
Fixed errors
-
The face patch by "null" value of "event_id" field is supported in the Faces service in PATCH request to "/faces/{face_id}".
-
The problem with the delimiter character escaping in the report columns has been fixed in the Tasks service. If the delimiter character is found in the report column, it is now escaped.
-
Proper handling of the services communication errors that occurred during tasks processing was added to the Tasks service. For example, if the service is unavailable or there are problems with the connection, the corresponding errors are correctly displayed in the list of errors after the task execution.
API (v.5.0.21 - v.5.1.0)#
Improvements#
-
Service dependencies were updated.
-
New resource "/handles/{handler_id}/events/raw" was added. See save event resource.
-
The new filters event_id__gte and event_id__lt are supported for receiving events. See get events.
-
Added resource /ws to get events by websockets, see ws.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Fixed bugs#
- Fix validation schemas representation for Sphinx documentation (see validation schemas).
Faces (v.4.0.24 - v.4.1.0)#
Improvements#
-
Service dependencies were updated.
-
The configuration reload mechanics has changed. Now, its done mostly by restarting appropriate processes (see configuration).
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Fixed bugs#
- The face patch by null event_id is supported. See update face resource.
Image Store (v.3.1.22 - v.3.1.23)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Tasks (v.3.0.26 - v.3.0.27)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Fixed bugs#
-
The bug with escaping of the delimiter in csv reports was fixed.
-
Proper handling of the errors occurred during services communications were added. Those errors are included in the tasks results.
Events (v.2.0.19 - v.2.0.20)#
Improvements#
-
Event
user_data
andexternal_id
are equal""
by default now. -
The new filters event_id__gte and event_id__lt are supported for receiving events. See get events.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Configurator (v.1.0.28 - v.1.0.29)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Sender (v.2.0.19 - v.2.0.20)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Admin (v.4.5.01 - v.4.5.02)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Licenses (v.0.1.26 - v.0.1.27)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Handlers (v.5.0.12 - v.1.2.0)#
Improvements#
-
New resource
/handles/{handler_id}/events/raw
was added. See save events resource. -
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Fixed bugs#
- OpenApi documentation was fixed. Fix docs and example of generated event.
Python Matcher and Python Matcher Proxy (v.0.2.10 - v.0.3.0)#
Improvements#
-
Sharing cache between http workers were added. Now, every worker (
workers
cli argument) share the same cached matcher process. -
The configuration reload mechanics has changed. Now, its done mostly by restarting appropriate processes (see configuration).
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Backport3 (v.0.0.30 - v.0.0.31)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.
Backport4 (v.1.0.19 - v.1.0.20)#
Improvements#
-
Service dependencies were updated.
-
InfluxDB OSS 2.x configuration was supported for monitoring.