ENH: Allow insertion and deletion of single entities
Summary
See https://gitlab.indiscale.com/caosdb/customers/lfpb/management/-/issues/394. Implementations for entities, parents, and properties were added. The transactions were extended s.th. all objects can be inserted, retrieved, and deleted.
Focus
Most of the new stuff is in entity.cpp
and entity.h
. See test_entity
for the new functionality.
Test Environment
Unit and integration tests should be sufficient.
Check List for the Author
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
-
All automated tests pass -
Reference related Issues [ ] Up-to-date CHANGELOG.md-
Annotations in code (Gitlab comments) - Intent of new code
- Problems with old code
- Why this implementation?
Check List for the Reviewer
-
I understand the intent of this MR -
All automated tests pass [ ] Up-to-date CHANGELOG.md-
The test environment setup works and the intended behavior is reproducible in the test environment -
In-code documentation and comments are up-to-date. -
Check: Are there spezifications? Are they satisfied?
For further good practices have a look at our review guidelines.
Merge request reports
Activity
added 7 commits
-
91a644ee...d777d5c2 - 6 commits from branch
dev
- ec6a9366 - Merge branch 'dev' into f-insert
-
91a644ee...d777d5c2 - 6 commits from branch
added 2 commits
added 2 commits
added 1 commit
- 04d44a2d - EHN: also add warnings and info messages from IdResponse to entity
mentioned in merge request caosdb-cppinttest!3 (merged)
added 3 commits
-
f91e5a0f...1e8ceeb2 - 2 commits from branch
dev
- aa452a69 - Merge branch 'dev' into f-insert
-
f91e5a0f...1e8ceeb2 - 2 commits from branch
added 1 commit
- 3f9227e3 - WIP: Add errors, warnings, and infos to Parent
added 5 commits
-
3f9227e3...2c51a782 - 4 commits from branch
dev
- 4de4cfc6 - Merge branch 'dev' into f-insert
-
3f9227e3...2c51a782 - 4 commits from branch
added 1 commit
- 705e09d0 - DRAFT: Disable messages for properties and parents for now
added 1 commit
- fc4969d3 - TST: Add unit tests for properties and CopyTo
- Resolved by Timm Fitschen
- Resolved by Timm Fitschen
requested review from @timm
added 1 commit
- f50b9221 - REVIEW: minor changes in the build, add IWYU pragmas
added 1 commit
- 7c0baafc - REVIEW: ignore clang's cognitive-complexity for tests
enabled an automatic merge when the pipeline for 19a251ea succeeds