74-templates-to-create-ecmrs
Related issues
Templates to create eCMRs (#74 - closed) • Thomas Dukvin
Acceptance criteria
-
Implemented code changes don't diverge from the related issue. -
Documentation reflects the status quo after merge. -
Version number is incremented according to SemVer. (Snapshot versions are not merged/released.) -
Only released versions of dependencies are used (i.e. no snapshot versions). -
Pipeline still works. -
GitLab issue is up-to-date.
If necessary, the following sections have been updated:
-
Swagger -
Readme.md -
Documentation
Proposed squash commit message
Added Templates to load them when creating or editing an ecmr.
Backend:
* Added Template which is connected to an ecmr with a OneToOne relation
* Added Endpoints for Templates
* Added GeneralListData which is the super class for TemplateListData and EcmrListData
* Added TemplateListData which represents a Template within a Table
* Added/changed Methods in EcmrManagementService to handle both Templates and Ecmrs as they are technically the same
* Added Methods in EcmrService to handle few basic tasks over a Template
* Added TemplateService to get and delete a Template
Frontend:
* Changed EditorPageComponent to handle both Template and Ecmr (create and edit)
* Added TemplateOverviewPageComponent which shows all Templates in a table
* Added LoadFromTemplateDialogComponent to show all Templates and load the selected Template
* Added TemplateNameDialogComponent to name a Template when saving it
* Added TemplateEcmrListEntry which consists of all top-level information of a Template
* Added Template
* Changed Methods in EcmrService to handle both Template and Ecmr
* Added EcmrTemplateService to get and hold a Template
* Added TemplateRoutingService to handle routing and presist the state through a page refresh for Template and Ecmr
Closes #74 (closed)
Edited by Artur Blek