UiTdatabank 3 core application
- dev-master / 0.x-dev
This package is auto-updated.
Last update: 2021-11-30 14:55:24 UTC
udb3-silex is the app that provides most of the backend of UiTdatabank v3, aka UDB3.
Several CI checks have been provided to make sure any changes are compliant with our coding standards and to detect potential bugs.
You can run all CI checks combined using the following composer script:
Or run them individually:
composer testfor tests
composer phpstanfor static analysis
composer csfor detecting coding standards violations
composer cs-fixfor fixing coding standards violations (where possible)
These checks will also run automatically for every PR.
We use Doctrine Migrations to manage database schema updates.
To run the migrations, you can use the following composer script:
Logs are located in the
web.logcontains unforeseen errors/exceptions that occurred in HTTP requests
cli.logcontains CLI errors that did not get caught and logged to the other logs listed below
The following logs contain info about CLI commands that run continuously as supervisor scripts.
amqp.curators.logcontains logs about the uit-curatoren events that get processed through the
amqp.json-imports.logcontains logs about JSON-LD imports that get processed through the
amqp.xml-imports.logcontains logs about XML imports that get processed through the
amqp.uitpas.logcontains logs about UiTPAS events that get processed through the
resque.bulk-label-offer.logcontains logs about the resque worker for the
resque.event-export.logcontains logs about the resque worker for the
resque.imports.logcontains logs about the resque worker for the (JSON-LD)
The following logs contain info about specific services that can be part of HTTP requests, CLI commands, or both.
service.xml-conversion.logcontains logs about parsing/projection of previously imported XML
service.json-imports.logcontains logs about JSON-LD imports
service.labels.logcontains logs about label (aggregates)
service.media.logcontains logs about the media manager, i.e. about uploads and edits of images and media objects
service.geo-coordinates.logcontains logs about the geocoding of organizers and places
service.uitpas.logcontains logs about general calls to UiTPAS, e.g. to check for ticket sales
LoggerFactory::create() method to quickly create a new logger. This way it gets stored in the right directory, correct formatting of exceptions, automatic Sentry integration, etc.