Commit Graph

115 Commits

Author SHA1 Message Date
Bruno Roemers
3a5766a5d2 91680: Refactor: move entity type getters to itemService 2022-05-25 12:13:50 +02:00
Bruno Roemers
52a6920e13 91390: Revert changes to interface RelationshipMetadataService 2022-05-16 18:48:40 +02:00
Bruno Roemers
71cc97aa39 91390: Move class ItemUuidAndRelationshipId to separate file 2022-05-16 18:39:05 +02:00
Bruno Roemers
b82814c088 88675: Add relation.*.latestForDiscovery metadata values to items 2022-05-13 19:14:32 +02:00
Bruno Roemers
e9596cfff8 90881: Fix test test_placeRecalculationNoUseForPlace 2022-04-27 14:32:23 +02:00
Ben Bosman
dfa036ff8c Adding support for max cardinality
Fixing test_placeRecalculationAfterDelete
Creating test_placeRecalculationNoUseForPlace (WIP)
2022-04-19 15:12:10 +02:00
Ben Bosman
753350958c Adding support for max cardinality
Fixing test_placeRecalculationAfterDelete (WIP)
2022-04-19 14:34:23 +02:00
Bruno Roemers
f0a2c37011 88599: Move utils to RelationshipVersioningUtils class 2022-04-08 00:25:26 +02:00
Ben Bosman
805394ee85 Extra docs
Test with multiple relationships
2022-04-06 18:46:51 +02:00
Bruno Roemers
97a9c70579 88599: WIP: Fix place algorithm 2022-03-25 19:43:53 +01:00
Bruno Roemers
efd5b8e9a0 Merge remote-tracking branch 'worldbank-7/w2p-86592_Fix-relationship-place-issues_Community-contrib' into feature-relationship-versioning 2022-03-11 16:35:28 +01:00
Bruno Roemers
85b2752565 88146: Bugfix: Add excludeTilted to RelationshipDAO#countByItem, add note to docs 2022-03-04 17:31:04 +01:00
Bruno Roemers
a5f0c03a27 88051: Support filtering non-latest relationships 2022-03-02 00:58:32 +01:00
Bruno Roemers
d0aab90ffc 88049: Add latest_version_status column to relationship table 2022-03-01 02:30:41 +01:00
Yura Bondarenko
9664296af6 86201: Fix RelationshipService place handling
Correctly take into account the place of other Relationships and/or MDVs when creating/modifying/deleting Relationships
Simplify RelationshipService public API to avoid having to call updatePlaceInRelationship explicitly
Additional tests to cover issues with the previous implementation
2022-02-01 14:53:18 +01:00
Mykhaylo
81b5c294dc Merge branch 'main' into CST-4503-AddingNewRelationshipsInEditItem 2021-10-13 11:58:23 +02:00
Mark H. Wood
6013062a08 Merge remote-tracking branch 'upstream/main' into 3061 2021-09-15 16:18:18 -04:00
Mykhaylo
c3274d1704 renamed service methods 2021-09-12 14:22:23 +02:00
Mykhaylo
25377a639b fix pagination 2021-09-11 13:32:02 +02:00
Mark H. Wood
384d46348a Another batch of Error Prone fixes. (#3061) 2021-09-10 11:32:58 -04:00
Mykhaylo
e068e94f6d implemented search 'byItemsAndType' end point for RelationshipRest repository 2021-09-06 22:13:50 +02:00
Mark H. Wood
b43e5dfdd8 [DS-4548] Rename DSpace's LogManager to LogHelper. 2021-08-04 11:41:18 -04:00
Bruno Roemers
9a0ace4ce4 Merge branch 'main' into tilted_rels 2021-04-07 14:54:11 +02:00
Tim Donohue
e88db03c51 Additional replacements where schema, element & qualifier were separate 2021-03-31 15:04:46 -05:00
Bruno Roemers
62e41a4d1a Merge branch 'main' into w2p-77489_tilted-relationships-tests 2021-03-04 17:22:42 +01:00
April Herron
06c39ad750 Implement tilted relationships to help improve performance 2021-02-10 09:20:15 -05:00
Marie Verdonck
e32fd1fc4c 76575: ITs for deleting items and populating virtual metadata 2021-01-29 17:23:49 +01:00
Marie Verdonck
be48c56cae Merge branch 'dspace-origin-master' into w2p-76575_IT-for-deleting-items-and-populating-virtual-md
# Conflicts:
#	dspace-api/src/main/java/org/dspace/content/RelationshipServiceImpl.java
#	dspace-server-webapp/src/test/java/org/dspace/app/rest/RelationshipRestRepositoryIT.java
2021-01-29 11:09:18 +01:00
Ben Bosman
fa90057203 Entities performance improvement in RelationshipServiceImpl
If there's no max on the relationships, don't bother trying to verify whether the max would be exceeded
Don't get virtual metadata for retrieving the relationship type
2021-01-26 15:04:15 +01:00
Ben Bosman
564140b0c8 Merge remote-tracking branch 'community/main' into w2p-71502_deleting-items-with-min-relationship 2021-01-15 11:39:07 +01:00
Marie Verdonck
b77b9949ee 75922: Feedback PR #3004 2021-01-12 17:22:18 +01:00
Ben Bosman
eb47a84e01 Docs indirect relationship discovery updates 2020-12-24 10:33:45 +01:00
Ben Bosman
7b346e7584 Bugfix indirect relationship discovery updates 2020-12-17 15:46:38 +01:00
Ben Bosman
c4d4b18150 Bugfix indirect relationship discovery updates 2020-12-17 15:04:12 +01:00
Ben Bosman
b0efee2a49 Bugfix indirect relationship discovery updates 2020-12-17 14:44:23 +01:00
Ben Bosman
fbfc352768 Bugfix indirect relationship discovery updates 2020-12-17 13:24:12 +01:00
Ben Bosman
47888e7975 Bugfix indirect relationship discovery updates 2020-12-17 13:06:21 +01:00
Ben Bosman
71cfab142c Bugfix indirect relationship discovery updates 2020-12-17 12:33:55 +01:00
Ben Bosman
ea24d6168c Bugfix indirect relationship discovery updates 2020-12-17 12:23:00 +01:00
Ben Bosman
1eaf75e1bd Merge remote-tracking branch 'community/main' into entities-update-item-metadata-outside-rest-v2 2020-12-17 12:05:27 +01:00
Ben Bosman
97feeecd95 Bugfix indirect relationship discovery updates 2020-12-17 11:41:02 +01:00
Ben Bosman
098b273a85 Bugfix indirect relationship discovery updates 2020-12-17 11:24:22 +01:00
Ben Bosman
e3b15bfa92 Bugfix indirect relationship discovery updates 2020-12-16 14:36:28 +01:00
Raf Ponsaerts
b65ed11bdc [Task 71757] added configurable max amount on items and reverted testing change 2020-07-10 09:12:13 +02:00
Raf Ponsaerts
048381ef87 [Task 71757] added the virtual metadata looping and item updating in the uodateItemsInRelationship method 2020-07-09 16:01:22 +02:00
Raf Ponsaerts
2a63f0ff22 [Task 71502] added forceDelete method to the RelationshipService that won't check the cardinality of the relationships. Used this in the ItemService delete and added tests 2020-06-26 10:54:34 +02:00
Ben Bosman
612acbdc36 Entities features: update the item metadata on relationship create/delete also when not using REST
on update this is causing problems with the place changes
2020-06-25 18:10:16 +02:00
Ben Bosman
b39facf1d1 Entities features: update the item metadata on relationship create/update/delete also when not using REST 2020-06-25 17:27:52 +02:00
Ben Bosman
5ad45fe7b6 Entities features: update the item metadata on relationship create/update/delete also when not using REST 2020-06-25 15:37:02 +02:00
Raf Ponsaerts
c7f6a46296 [Task 70419] fixed a bug where the RelationshipService creation did not check the max cardinality properly 2020-04-20 17:18:27 +02:00