Skip to content

LUNA PLATFORM v.5.0.2#

API (v.4.0.2 - v.4.0.4)#

Improvements#

  • Service dependencies were updated.

  • Storage policy was added. Store only needed objects - save your resources! See docs "REST API".

  • From now on, if Events service is disabled, the event url will be set as Null in the event output.

  • Handlers for verification with preset detector and extractor settings to work with verifiers were added. See "verifiers".

Fixed bugs#

  • The "status" field type of the "/verifiers//verifications" resource was changed from int to bool.

Faces (v.3.0.3 - v.4.0.1)#

Improvements#

  • Service dependencies were updated.

  • The sanic application server is now used.

  • A new workers command line argument was added (CPU process number for requests handling). Service will automatically spin up multiple processes and route traffic between processes. The gunicorn and supervisord support was removed.

  • A plugin system support was added.

  • The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation's tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_FACES_DB=TAG_1 upgrade head alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_FACES_DB=] [-x help]

alembic [-x] optional argument:
-x config =         path to config
-x luna-config =    origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
-x LUNA_FACES_DB =  tag for setting LUNA_FACES_DB to pull from luna-configurator
-x help             Show this help message and exit
  • Useless indexes were removed.

  • Requests execution was speeded up.

  • The last_update_time list updating has one second delay now. This speeds up a frequent faces to list link/unlink operation.

Image Store (v.3.0.0 - v.3.0.1)#

Improvements#

  • Service dependencies were updated.

  • The sanic application server is now used.

  • A new workers command line argument was added (CPU process number for requests handling). Service will automatically spin up multiple processes and route traffic between processes. The gunicorn and supervisord support was removed.

  • A plugin system support was added.

Tasks (v.3.0.2 - v.3.0.3)#

Improvements#

  • Service dependencies were updated.

  • The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation's tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_TASKS_DB=TAG_1 upgrade head alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_TASKS_DB=] [-h help]

alembic [-x] optional argument:
-x config=         path to config
-x luna_config=    origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
-x LUNA_TASKS_DB=  tag for setting LUNA_TASKS_DB to pull from luna-configurator
-x help            Show this help message and exit

Events (v.1.1.5 - v.1.1.7)#

Improvements#

  • Service dependencies were updated.

  • The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation's tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_EVENTS_DB=TAG_1 upgrade head alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_EVENTS_DB=] [-x help]

alembic [-x] optional argument:
-x config =          path to config
-x luna-config =     origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
-x LUNA_EVENTS_DB =  tag for setting LUNA_EVENTS_DB to pull from luna-configurator
-x help              Show this help message and exit
  • Samples in the input and output events are nullable now.

Configurator (v.1.0.3 - v.1.0.5)#

Improvements#

  • Service dependencies were updated.

  • The ability to run a program with config command line arguments was added. Where config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x help]

alembic [-x] optional argument:
-x config =           path to config
-x help               Show this help message and exit
  • A table for configs migration was added to the database.

Sender (v.1.0.2 - v.1.0.3)#

Improvements#

  • Service dependencies were updated.

  • Support for events storage policy was added. Some fields are nullable now. See "ws handshake" docs.

Admin (v.4.0.2 - v.4.0.4)#

Improvements#

  • The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation's tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_ADMIN_DB=TAG_1 upgrade head alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_ADMIN_DB=] [-x help]

alembic [-x] optional argument:
-x config =         path to config
-x luna-config =    origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
-x LUNA_ADMIN_DB =  tag for setting LUNA_ADMIN_DB to pull from luna-configurator
-x help             Show this help message and exit
  • Service dependencies were updated.

Licenses (v.0.1.2 - v.0.1.3)#

Improvements#

  • Service dependencies were updated.

Handlers (v.0.0.5 - v.1.0.0)#

Improvements#

  • The sanic application server is now used.

  • A new workers command line argument was added (CPU process number for requests handling). Service will automatically spin up multiple processes and route traffic between processes. The gunicorn and supervisord support was removed.

  • Plugin system was updated, see "plugins" resource.

  • The "LUNA_IMAGE_STORE_SAMPLES_ADDRESS" setting was split into two parts for storing different types of samples. The "LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS" and "LUNA_IMAGE_STORE_BODIES_SAMPLES_ADDRESS" settings are now used for storing faces and bodies samples respectively.

  • Service dependencies were updated.

  • The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation's tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_HANDLERS_DB=TAG_1 upgrade head alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_HANDLERS_DB=] [-x help]

alembic [-x] optional argument:
-x config =           path to config
-x luna-config =      origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
-x LUNA_HANDLERS_DB = tag for setting LUNA_HANDLERS_DB to pull from luna-configurator
-x help               Show this help message and exit
  • The policies and account_id indexes for handler table were dropped. A composite index on account_id and create_time columns was added.

  • Error handling on sending binary image with "image/jpeg" Content-Type and "extract_exif=1" /detector request parameter was fixed.

  • Storage policy was added. Store only needed objects - save your resources! See updated handler "dev docs" or "REST API docs".

  • If service luna-events is disabled, the event url will be set as Null in output event.

  • Raw descriptor mimetypes on POST /handler//events with application/json content type are now supported.

Fixed bugs#

  • FSDK errors handling was fixed. Errors occurred on detection/extraction now have correct description.

  • The "status" field type of the "/verifiers//raw" resource was changed from bool to int (enum 0/-*.

  • FSDK errors handling was fixed. Errors occurred on detection/extraction now have correct description.

Python Matcher and Python Matcher Proxy (v.0.0.5 - v.0.0.6)#

Improvements#

  • Service dependencies were updated.

Fixed bugs#

  • A bug with 500 response code when "referenceId" of "/matcher/faces" was not of the UUID type is fixed.

Backport3 (v.0.0.5 - v.0.0.7)#

Improvements#

  • The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation's tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_BACKPORT3_DB=TAG_1 upgrade head alembic -x config=devconfig.conf upgrade head alembic -x help upgrade head

output for alembic -x help upgrade head command

usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_BACKPORT3_DB=] [-x help]

alembic [-x] optional argument:
-x config =            path to config
-x luna-config =       origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
-x LUNA_BACKPORT3_DB = tag for setting LUNA_BACKPORT3_DB to pull from luna-configurator
    -x help               Show this help message and exit
  • Service dependencies were updated.

Fixed bugs#

  • The bug with the wrong length of the organization name was fixed. The length was changed from 64 characters to 128 characters.

  • CORS information in OpenAPI3 documentation was updated..

  • The bug with the checking authorization data on resources which not required authorization headers was fixed.

Backport4 (v.0.0.4 - v.0.0.6)#

Improvements#

  • Service dependencies were updated.