Skip to content

LUNA PLATFORM v.5.47.4#

Summary#

  • Database settings <service_name>_DB of all services have been expanded with a new optional parameter "dsn", which specifies a DSN string that can contain various settings for managing the connection to the database, such as multiple hosts, authentication data, port, and others (settings depend on the type of database).

    Due to the implementation of a new setting, the classic settings for connecting to the database ("db_host", "db_port", "db_name", "db_user" and "db_password") in all settings of all services have become optional.

    If necessary, you can combine the DSN string and the classic settings, but the DSN string is a higher priority. You can partially fill in the DSN string (for example, "postgres01,postgres02/luna_handlers"), and then the missing parameters will be filled in from the values of the parameters "db_host", "db_port", "db_name", "db_user" and "db_password".

    After updating to the new version of LUNA PLATFORM, the "dsn" parameter will not appear in the "Settings" tab in the Configurator. To use DSN, you must manually specify the appropriate parameter. Below is an example of specifying the "dsn" parameter in the "LUNA_FACES_DB" section:

    { "dsn": "luna:luna@postgres01:5432,postgres02:5432/luna_faces?some_option=some_value" "db_settings": { "connection_pool_size": 5 } }

    For more information, see the section "Connect to database using DSN" of the administrator manual.

  • Now in response to the requests "get system info" and "get license" in the "expiration_time" field, the value will be displayed "perpetual" for a perpetual license.

  • Now for the "Thin faces" matching plugin, you can configure the maximum size of the list to perform the matching. If the list exceeds the set number, then Python Matcher or LIM Indexed Matcher will be used for matching.

    The maximum size of the list is set by specifying the environment variable "VL_SETTINGS.THIN_FACE.MAX_LIST_LENGTH" when starting the Python Matcher service.

    Example of specifying a variable when starting the Python Matcher service using Docker: docker run \ -e VL_SETTINGS.THIN_FACE.MAX_LIST_LENGTH=100.

Fixed errors

  • Fixed the occurrence of error 31006 "Unexpected behavior of the {matcher_type} matcher: {plugin_error_description}" when performing a matching using a reference attribute and a matching plugin.

API (v.6.16.11 - v.6.16.12)#

Improvements#

  • Service dependencies were updated.

Faces (v.4.8.18 - v.4.8.19)#

Improvements#

  • The LUNA_FACES_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_faces?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • Service dependencies were updated.

Image Store (v.3.9.13 - v.3.9.14)#

Improvements#

  • Service dependencies were updated.

Accounts (v.0.1.18 - v.0.1.19)#

Improvements#

  • The LUNA_ACCOUNTS_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_accounts?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • Service dependencies were updated.

Tasks (v.3.16.2 - v.3.16.3)#

Improvements#

  • The LUNA_TASKS_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_tasks?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • By configs migration setting TASKS_REDIS_DB_ADDRESS default value will be replaced by LUNA_ATTRIBUTES_DB setting defaults.

Events (v.4.8.18 - v.4.8.19)#

Improvements#

  • The LUNA_EVENTS_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_events?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • Service dependencies were updated.

Configurator (v.2.1.41 - v.2.1.44)#

Improvements#

  • Service dependencies were updated.

  • The LUNA_CONFIGURATOR_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_configurator?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

Sender (v.2.6.18 - v.2.6.19)#

Improvements#

  • Service dependencies were updated.

Admin (v.5.2.15 - v.5.2.16)#

Improvements#

  • Service dependencies were updated.

  • For a perpetual license, the expiration time will display as "PERPETUAL" in response on GET /luna_sys_info.

Licenses (v.0.7.18 - v.0.7.21)#

Improvements#

  • Service dependencies were updated.

  • For a perpetual license, the expiration time will display as "PERPETUAL" in response on GET /license.

Handlers (v.3.0.4 - v.3.0.5)#

Improvements#

  • The LUNA_HANDLERS_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_handlers?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • Service dependencies were updated.

Python Matcher and Python Matcher Proxy (v.1.6.9 - v.1.6.10)#

Improvements#

  • Thin face matching plugin can now be skipped in favor of other matcher in cases where matching performs on large lists. The maximum size of the list that thin face matcher can use is set with VL_SETTINGS.THIN_FACE.MAX_LIST_LENGTH environment variable.

  • The LUNA_FACES_DB, LUNA_EVENTS_DB settings extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_faces?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • Service dependencies were updated.

Fixed bugs#

  • A temporary attributes matching was fixed when it use as a reference. When use a matching plugin and use temporary attributes as a reference the service was returning error with status code 500 and error code 31006 before.

Backport3 (v.0.8.15 - v.0.8.16)#

Improvements#

  • The LUNA_BACKPORT3_DB setting extended with optional dsn parameter.

    The parameters db_host, db_port, db_name, db_user, db_password became optional.

    DSN may be specified in the following format: luna:luna@postgres01:5432,postgres02:5432/luna_backport3?some_option=some_value.

    See multi host setup for details.

    Platform configs need to be migrated. The current settings and defaults will not change during the migration process.

  • Service dependencies were updated.

Backport4 (v.1.3.18 - v.1.3.19)#

Improvements#

  • Service dependencies were updated.