MarginaliaSearch/code/common
Viktor Lofgren 708a741960 (test) Clean up test usage of migrations
Several tests were manually running migrations in a large copy-paste blob of code.  This makes the test less useful as it's possible to break the code while keeping the tests green by introducing a new migration that never gets run in the tests, and it's also difficult to reason about what the tests are doing.

A new test helper library is introduced with a TestMigrationLoader that can both run Flyway migrations, or load specific migrations in the cases a specific set of migrations need to be loaded.   Existing tests are migrated to use the new code.
2024-01-12 15:55:50 +01:00
..
config (test) Clean up test usage of migrations 2024-01-12 15:55:50 +01:00
db (test) Clean up test usage of migrations 2024-01-12 15:55:50 +01:00
linkdb (test) Clean up test usage of migrations 2024-01-12 15:55:50 +01:00
model (*) Fix bug in EdgeDomain where it would permit domains with a trailing period, DNS style. 2023-12-29 16:36:01 +01:00
process (*) WIP Add node affinity to EC_DOMAIN 2023-10-19 17:48:34 +02:00
renderer (search) Fix acknowledgement page for domain complaints rendering as plain text 2024-01-10 09:26:34 +01:00
service (warc) Toggle for saving WARC data 2024-01-12 13:45:14 +01:00
service-client (search) Move site information out of the search service and into assistant. 2023-12-09 16:30:06 +01:00
service-discovery (mqapi/control) Repair repartition endpoint, deprecate notify endpoints. 2023-11-27 16:01:12 +01:00
readme.md Update readme.md 2023-03-25 15:27:11 +01:00

Common

These are packages containing the basic building blocks for running a service as well as shared models.

  • db contains SQL code and some database-related utilities.
  • config contains some @Injectables.
  • renderer contains utility code for rendering website templates.
  • service is the shared base classes for main methods and web services.
  • service-client is the shared base class for RPC.
  • service-discovery contains tools that lets the services find each other.
  • process contains boiler plate for batch processes.