Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • backend backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • subugoesubugoe
  • ahiqarahiqar
  • backendbackend
  • Merge requests
  • !150

Feature/#159 annotations performance

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michelle Weidling requested to merge feature/#159-annotations-performance into develop May 28, 2021
  • Overview 7
  • Commits 40
  • Pipelines 6
  • Changes 11

Feature

Summary

This MR provides a solution for making the annotations more performant.

Instead of determining the relevant annotations items on the fly they are now stored in one file per page. This file is stored in /db/data/textgrid/json and updated by a database trigger each time the respective file gets updated, too.

This MR also contains some fixes in the editorial annotations for that have been discovered during testing the main feature of this branch.

Compliance to “Definition of Done”

  • Unit tests passed
  • Code reviewed
  • Product Owner accepts the User Story

Documentation

  • I updated the README (if applicable)
  • I provided my functions with appropriate documentation
  • I updated existing documentation

Tests

Are we able to test this new feature?

  • Yes, everything can be done via unit tests.
  • Yes, you can test by following these steps:
  1. build the database locally
  2. publish the Arabic and Karshuni collection to your local database
  3. after having published them each page of each TEI document has a *.json containing the relevant annotation items in /db/data/textgrid/json.

Changelog

  • I added a statement to the CHANGELOG.

Version number

  • I bumped the version number in build.properties.

Closes

Closes #159 (closed).

Logs and Screenshots

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

Edited May 28, 2021 by Michelle Weidling
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/#159-annotations-performance