Gulum 8c43a8dc03 FEAT-8d-CREATE: docx importer CREATE path for ~194 abgegebene Jungtiere
ImportDocxService gains a three-way match-or-create loop:
  Path 1 (ExternalRef 'docx-…'): previously-created docx animals → enrich fill-NULL-only (idempotency)
  Path 2 (name+dob): existing main-import animals → enrich fill-NULL-only (as before)
  Path 3 (no match): CREATE new Gerbil — abgegebene Jungtiere not in pedigree charts
                      Status=GivenAway (or Deceased), IsResident=false,
                      OriginBreeder='Zucht der Kleinen Chaoten', ImportSource='docx',
                      ExternalRef='docx-{ws}-{normname}-{litterDob}' (stable idempotent key),
                      Gender/ColorVariety/LitterId/ReceiverContact/GoHomeDate/DateOfDeath all set.

ImportDocxReport gains Created field; contact-creation eagerly saved before gerbil batch.
5 SQLite-backed tests: dry-run counts, create+FK, idempotency, enrich-not-duplicate, Deceased status.
Gate: 163/163 tests, has-pending=No, no schema change.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-06 23:13:21 +02:00
2023-10-30 16:39:14 +01:00
2023-10-16 20:51:16 +02:00

GerbilManager

  • GerbilManagerWebAPI/ — ASP.NET Core backend (Swagger unter /swagger)
  • gerbil-manager-web/ — React-Frontend (Vite + TypeScript), siehe gerbil-manager-web/README.md

Requirements

Install ef:

dotnet tool install --global dotnet-ef

Used cmd´s

Start containers

docker compose up

Create the initial database

dotnet ef database update

Create an migration script

dotnet ef migrations add

Docker

force compose rebuild

docker-compose build --no-cache

Frontend (gerbil-manager-web)

cd gerbil-manager-web npm install npm run dev

TODO:

  • Backup docker volume database
  • run "dotnet ef database update" if no database exist.
Description
No description provided
Readme 13 MiB
Languages
C# 43%
TypeScript 34.5%
Python 18%
CSS 3.7%
Shell 0.5%
Other 0.1%