.. |tr| replace:: Text Repository Components ========== .. _endpoints: Endpoints ********* - |tr| `API `_ - |tr| `healtch checks `_ - `Integration test results `_ - `Elasticsearch indices `_ - `Stub indexer `_ Services ******** The |tr| application is bundled with a couple of services: - |tr|, core application - `Postgres `_ as database - `Elasticsearch `_ as search engine - `Docker `_ and `docker-compose `_ for running and connecting services - `Nginx `_ as a reverse proxy |tr| ____ The |tr| is a java application build with `dropwizard `_. It contains a REST-API to create, retrieve, update and delete documents, files, versions and metadata. It uses the postgres database to store its domain model. It keeps the elastic search indices in sync with the postgres database. Postgres -------- Postgres is used as a 'vault' which contains all the data or 'the golden standard', from which all indices are generated. Postgres data can be modified using the |tr| REST-API. Elasticsearch ------------- See the `indexing `_ page. Nginx ----- As a reverse proxy it exposes the relevant parts of all the service endpoints. See exposed endpoints below.