Commit Graph

3622 Commits

Author SHA1 Message Date
Kim Shepherd
eca9c624b0 [TLC-674] Update SubmissionDefinitionsControllerIT total count 2024-03-04 11:40:38 +13:00
Kim Shepherd
4515ded85f Fix out of date licence headers on PotentialDuplicateConverter/Resource 2024-03-04 11:40:38 +13:00
Kim Shepherd
c43c82c167 [TLC-674] Checkstyle fixes for ITs 2024-03-04 11:40:38 +13:00
Kim Shepherd
26b3e9ad13 [TLC-674] IT and checkstyle fixes 2024-03-04 11:40:38 +13:00
Kim Shepherd
878ab75d73 [TLC-674] IT and checkstyle fixes 2024-03-04 11:40:38 +13:00
Kim Shepherd
4e3e68fe56 [TLC-674] Duplicate detection integration tests
One workflow REST IT test still failing even though
the same test in dspace-api service passes...
2024-03-04 11:40:38 +13:00
Kim Shepherd
554338b29d [TLC-674] broken IT (multi items created?!) 2024-03-04 11:40:38 +13:00
Kim Shepherd
069674e7ee [TLC-674] Duplicate Detection service and submission step
Service, submission step, integration tests
2024-03-04 11:39:48 +13:00
Mark H. Wood
a2249de63d Merge remote-tracking branch 'upstream/main' into noslf4j 2024-02-29 13:15:01 -05:00
Mark H. Wood
b79f6e14e8 Remove some new SLF4J uses that crept in. 2024-02-29 09:03:38 -05:00
Mark H. Wood
92c0592520 Merge remote-tracking branch 'upstream/main' into noslf4j 2024-02-29 08:40:50 -05:00
Mark H. Wood
9890fa3ebb Remove erroneous copyright. 2024-02-29 08:39:23 -05:00
frabacche
1266d560d8 Merge remote-tracking branch 'origin/main' into coar-notify-7 2024-02-29 10:14:26 +01:00
frabacche
9b795b7dbd QA restore security, COAR sub section fix emptying request services, restore "openaire" lowercase as a Source. 2024-02-29 10:11:03 +01:00
frabacche
37e38c9ad9 Merge remote-tracking branch 'origin/main' into coar-notify-7 2024-02-29 10:05:40 +01:00
jeffmorin
1a3c0726dc Content reports ported from DSpace 6.x (#8598)
* content Reports

* Fixed CheckStyle errors

* Fixed CheckStyle errors

* Fixed CheckStyle errors

* First batch of fixes: mainly Javadoc, and a bit of code re-engineering

* Fixed CheckStyle errors

* Fixed CheckStyle errors in dspace-server-webapp

* Applied requested changes for DSpace code conventions compliance

* Added GET endpoint to Filtered Items report

* Updated to latest version from main branch

* Fixed missing imports

* Fixed CheckStyle errors

* Fixed H2 database initialization

* Fixed unit tests and an integration test

* Fixed CheckStyle errors

* Fixed CheckStyle errors

* Fixed ItemServiceIT test

* Test without collection criterion

* Fixed max result count in integration test

* Disable findByMetadataQuery test to diagnose errors in other tests

* Disabled ContentReportRestRepositoryIT test to validate existing tests

* Re-enable test in dspace-api

* Re-enabled ContentReportRestRepositoryIT tests to diagnose failures

* Fixed item matching in the second test

* Fixed JSON path error

* Use projections to trigger embedding the owning collection in ItemRest only for the Filtered Items report

* Fixed usage of allowEmbedding() through non-null arguments

* Exclude owning collection from ItemRest when null/empty

* Trying an alternate way to discriminate report-based Item conversions

* Fixed embedded owning collection management

* Replaced ItemConverter with correct version

* Fixed Filtered Collections test in ContentReportRestRepositoryIT

* Fixed test

* Transferred owning collection to a separate class FilteredItemRest

* Rollback to DSpace repo version

* Fixed matcher for Filtered Collections summary

* Fixed matcher for Filtered Collections summary (take 2)

* Add printing mock request results to diagnose remaining problems

* Try logging output through System.err

* Cancelled attempt to print JSON results (does nothing)

* Attempt to fix ContentReportRestRepositoryIT tests

* Removed predefined UUIDs and handles

* Fixed import formatting

* Fixed expected results in ContentReportRestRepositoryIT

* Switched to a custom matcher for the Filtered Item report test

* Fixed import format

* Fixed JSON collection matching in Filtered Items test

* Fixed Filtered Items matcher

* Fixed expected result

* Fixed the test for now...

* Fixed test again

* Disabled non-working test

* Fixed a few typos

* Moved Filtered Collections report business logic to dspace-api

* Fixed outdated controller

* Fixed import and lost @Ignore annotation

* Retrieved a lost test correction

* Fixed Filtered Collections test

* Reverted to the last working version (except for 2nd test, which remains
disabled)

* Moved Filtered Items report business logic to dspace-api

* Fixed import style

* Added switch to enable/disable Content Reports

* Fixed an out-of-date class

* Removed unused imports

* Fixed activation configuration for Content Reports

* Added missing @Test annotation

* A forgotten Hibernate dialect configuration. I also removed obsolete
Oracle settings configuration.

* Switched to GET requests for Content Reports

* Switched to GET requests for Content Reports

* Fixed styling in imports

* Fixed imports

* Cleaned deprecated code

* Simplified regex since trim() method is invoked on each token thereafter

* Added Javadoc in the interface.

* Relocated Content Reports configuration into a new file

* Added "unauthorized" tests and cleaned up code repetitions

* Fixed parameter according to Javadoc

* Fixed Filtered Items test

* Use of @ConditionalOnProperty annotation

* Rolled back to manual parameter managing

* Second try on @ConditionalOnProperty, with proper test configuration

* Rolled back (again) to manual service activation checking (needed for
proper behaviour depending on activation and authorization)

* Eliminated inheritance between FilteredItemRest and ItemRest

* Re-established the type property in FilteredItemRest (and in
FilterCollectionRest for uniformity).

---------

Co-authored-by: Jean-François Morin <jean-francois.morin@bibl.ulaval.ca>
2024-02-28 11:48:16 -06:00
Tim Donohue
ff302597c1 Merge pull request #9267 from 4Science/CST-12108-WithdrawnAndReinstate_topics
Create a DSpace Users correction source with REQUEST/WITHDRAWN and REQUEST/REINSTATE topics
2024-02-27 15:08:45 -06:00
frabacche
460dad3096 coar-notify-7 notifyService set usable item-filters, IT ip-range check fix 2024-02-27 13:45:20 +01:00
kshepherd
386b6f8b1f Merge pull request #9336 from tdonohue/add_swordv2_its
Add more SWORDv2 Integration Tests
2024-02-27 11:43:19 +13:00
frabacche
08277e0dad coar-notify-7 incoming ldn message block configs, new item-filters map, hide coarnotify section on submission, IT fixes 2024-02-26 23:36:32 +01:00
Mykhaylo Boychuk
8e19f81e30 [CST-12108] remove not used param 2024-02-23 10:43:38 +01:00
frabacche
eff4dd5b80 coar-notify-7 fix after merge dor PLURAL_NAME on restRepositories 2024-02-22 21:26:26 +01:00
Mykhaylo
d2861e1fc2 [CST-12108] CorrectionType repository should use the plural name 2024-02-22 21:02:59 +01:00
frabacche
4881a48039 coar-notify-7 fix Rest classes after merge 2024-02-22 20:04:14 +01:00
frabacche
3a5ca68ae5 Merge branch 'main' of github.com:4Science/DSpace into coar-notify-7 2024-02-22 19:14:33 +01:00
Mykhaylo
0e15589677 [CST-12108] added new plural metod to CorrectionTypeRest 2024-02-22 19:01:38 +01:00
frabacche
cca9654da4 coar-notify-7 use only ldn.enabled variable for ldn enabling configuration 2024-02-22 18:49:22 +01:00
Mykhaylo
b18a63a2c7 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2024-02-22 18:46:14 +01:00
Tim Donohue
42e3699ac2 Merge pull request #9241 from alexandrevryghem/w2p-108915_fix-link-repositories-using-singular-model_contribute-7.6
Fixed embedding data not working on model objects ending with an `s`
2024-02-22 10:42:25 -06:00
frabacche
8e41f23307 coar-notify-7 typo on item-submission.xml test file, IT fix QARopicRestRepositoryIT.java 2024-02-22 15:17:17 +01:00
Alan Orth
8f8c304b6a Merge pull request #9320 from 4Science/DURACOM-232
Community/Collection admins can't edit logo for communities/collections
2024-02-22 15:57:08 +03:00
frabacche
62ea9232b2 coar-notify-7 typo on WebApplication configuration 2024-02-22 08:56:52 +01:00
Alexandre Vryghem
a55d147229 108915: Added additional tests to prevent incorrect endpoints from being reintroduced again 2024-02-21 22:17:50 +01:00
Alexandre Vryghem
081aba85d1 108915: Refactored new repositories to also use the new plural format 2024-02-21 22:03:32 +01:00
Alexandre Vryghem
83002a4670 Merge remote-tracking branch 'upstream/main' into w2p-108915_fix-link-repositories-using-singular-model_contribute-7.6 2024-02-21 22:02:19 +01:00
frabacche
ad40858bbb coar-notify-7 merge conflicts fixes, ldn configuration fixes 2024-02-21 16:38:34 +01:00
frabacche
4302f53124 coar-notify-7 configuration, log and IT fix 2024-02-21 14:30:31 +01:00
Mykhaylo Boychuk
14f3c6c575 [CST-12108] findByTopic should use also target 2024-02-21 12:39:21 +01:00
Mykhaylo Boychuk
36bfe58060 [CST-12108] remove creationForm attribute as not needed 2024-02-20 22:50:04 +01:00
Mykhaylo Boychuk
dbb74d13b8 [CST-12108] fix failed tests 2024-02-20 16:09:50 +01:00
Mykhaylo Boychuk
7079654f8b [CST-12108] fix community feedback 2024-02-20 13:25:56 +01:00
Mykhaylo Boychuk
a2ee986f7f [CST-12108] move configurations to qaevents.cfg 2024-02-20 13:21:54 +01:00
Mykhaylo Boychuk
f11ebf3959 [CST-12108] restore sort 2024-02-19 22:42:09 +01:00
Mykhaylo Boychuk
2b1e6242ad [CST-12108] added missing test 2024-02-19 22:41:43 +01:00
frabacche
feb2c8b48d coar-notify-7 sql h2 alignment, java fixes and refactors, configuration fixes 2024-02-19 17:49:30 +01:00
Mykhaylo
a92c478ef4 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2024-02-19 12:50:07 +01:00
Mykhaylo
34e027af7d [CST-12042] added tests also for submitter and not 2024-02-19 11:48:06 +01:00
Mykhaylo
0e03d9d5d8 Merge branch 'main' into CST-12042-addSupportForThePrimaryBitstreamFlag 2024-02-19 09:46:31 +01:00
Tim Donohue
9b0e38a847 Merge pull request #9237 from 4Science/main_CST-12826
ROR Integration - OAI PMH & Orcid
2024-02-16 10:41:32 -06:00
frabacche
094637dc0c coar-notify-7 merge with main 2024-02-16 10:51:11 +01:00