Commit Graph

7080 Commits

Author SHA1 Message Date
Kim Shepherd
c43c82c167 [TLC-674] Checkstyle fixes for ITs 2024-03-04 11:40:38 +13:00
Kim Shepherd
bcbf33afb0 [TLC-674] Remove unused test class 2024-03-04 11:40:38 +13:00
Kim Shepherd
485e716e00 [TLC-674] Escape solr reserved characters (and new test coverage) 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
3e307cd582 [TLC-674] Duplicate detection integration tests 2024-03-04 11:40:36 +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
Tim Donohue
5b76b173de Merge pull request #9273 from abollini/DURACOM-225
MediaFilter over large repository result in downtime
2024-02-29 14:44:50 -06:00
jeffmorin
529c495fa6 Removed deprecated Hibernate-specific code in QueryPredicate (#9381)
Cleaned up deprecated Hibernate-specific code

---------

Co-authored-by: Jean-François Morin <jean-francois.morin@bibl.ulaval.ca>
2024-02-29 13:59:22 -06:00
Mark H. Wood
a2249de63d Merge remote-tracking branch 'upstream/main' into noslf4j 2024-02-29 13:15:01 -05:00
frabacche
75d23528ed coar-notify-7 QAEvent creation set targeted item fix 2024-02-29 16:09:09 +01: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
frabacche
109a455689 coar-notify-7 openaireEventsImportIT fix typo on orderBy argument 2024-02-29 13:22:35 +01: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
kshepherd
30074f81bd Merge pull request #9266 from 4Science/DURACOM-211-S3store-is-always-enabled
S3store is always enabled
2024-02-27 16:39:57 +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
a5adcae07d [CST-12108] fix typing error 2024-02-23 14:58:52 +01:00
frabacche
f0ab7338ee coar-notify-7 fix npe on processing action and qa event creation 2024-02-23 12:23:44 +01:00
Mykhaylo Boychuk
8e19f81e30 [CST-12108] remove not used param 2024-02-23 10:43:38 +01:00
Mykhaylo Boychuk
8b3ad0d6ea [CST-12108] added sorting field in tests 2024-02-23 02:00:43 +01:00
Mykhaylo Boychuk
a85321039d [CST-12108] add java doc 2024-02-23 01:37:35 +01:00
Mykhaylo Boychuk
a139615dcb [CST-12108] removed creationForm method 2024-02-23 01:37:03 +01:00
Mykhaylo Boychuk
bae2500d97 [CST-12108] added javaDoc 2024-02-23 01:28:25 +01:00
Mykhaylo Boychuk
506ae83763 [CST-12108] minor fix 2024-02-23 00:52:16 +01:00
Mykhaylo Boychuk
a2daa0f7b8 [CST-121108] restore sorting 2024-02-23 00:08:46 +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
b18a63a2c7 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2024-02-22 18:46:14 +01: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
333552e43f Merge remote-tracking branch 'github/main' into coar-notify-7 2024-02-22 13:47:37 +01:00
frabacche
eaec20d118 coar-notify-7 move http resources in a try-with-resources, fix h2 .sql with ON DELETE for item uuid in ldn_message table 2024-02-22 11:12:36 +01:00
Tim Donohue
080a9b850a Merge pull request #9327 from toniprieto/getBestMatch-sherpa-romeo-authorities
Improve implementation of `getBestMatch()` of SHERPARoMEO authorities
2024-02-21 16:39:11 -06:00
Tim Donohue
061811d255 Merge pull request #9326 from toniprieto/no-index-virtual-metadata
Avoid index virtual metadata in Solr Authority core
2024-02-21 16:02:05 -06: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
b94fc1384d [CST-12108] update javadoc 2024-02-21 10:27:04 +01:00
Mykhaylo Boychuk
4212ca4e07 [CST-12108] fix community feedback 2024-02-20 16:41:29 +01:00
Philipp Rumpf
d09d6319f6 MultipleParallelImportMetadataSourceServiceImpl.java
This is what the University of Bamberg
uses (https://fis.uni-bamberg.de) to look up DOIs specified by the
user for import in both the Crossref registry and the DataCite
registry, in parallel.

This source can be specified just once, replacing the Crossref and
DataCite sources by a single entry.
2024-02-20 14:46:01 +00:00
Mykhaylo Boychuk
5826fd5694 [CST-12108] minor fix 2024-02-20 15:11:37 +01:00
frabacche
1f438d1665 coar-notify-7 comment an old configuration, checkstyle 2024-02-20 14:48:48 +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
frabacche
ab2058201c coar-notify-7 IT test fix using mocked ldn-service responses 2024-02-20 11:48:51 +01:00
Mykhaylo Boychuk
2b1e6242ad [CST-12108] added missing test 2024-02-19 22:41:43 +01:00