Commit Graph

18004 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
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
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
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
Tim Donohue
63cf153ccf Merge pull request #9324 from mwoodiupui/noslf4j
Remove SLF4J direct dependency
2024-02-29 13:30:22 -06:00
Mark H. Wood
a2249de63d Merge remote-tracking branch 'upstream/main' into noslf4j 2024-02-29 13:15:01 -05:00
Tim Donohue
6fbf8d97c2 Merge pull request #9218 from 4Science/coar-notify-7
Coar Notify Integration
2024-02-29 12:00:00 -06: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
frabacche
74bb1be98e coar-notify-7 config QAsecurity submitter-based for coar-notify source 2024-02-29 14:54:23 +01: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
109a455689 coar-notify-7 openaireEventsImportIT fix typo on orderBy argument 2024-02-29 13:22:35 +01:00
frabacche
6de1089e12 LDN restore configs 2024-02-29 12:59:25 +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
Tim Donohue
4c1007a0ad Merge pull request #9363 from DSpace/dependabot/maven/org.eclipse.jetty.http2-http2-common-9.4.54.v20240208
Bump org.eclipse.jetty.http2:http2-common from 9.4.53.v20231009 to 9.4.54.v20240208
2024-02-28 12:36:50 -06:00
Tim Donohue
64034b0ff7 Merge pull request #9350 from DSpace/dependabot/maven/org.postgresql-postgresql-42.7.2
Bump org.postgresql:postgresql from 42.6.0 to 42.7.2
2024-02-28 12:33:46 -06:00
Tim Donohue
f9fdf48b1c Merge pull request #9370 from DSpace/dependabot/maven/org.apache.james-apache-mime4j-core-0.8.10
Bump org.apache.james:apache-mime4j-core from 0.8.9 to 0.8.10
2024-02-28 11:57:36 -06: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
ee42ed5b3b Merge pull request #9371 from tdonohue/update-to-latest-spring5
Update to latest Spring 5
2024-02-28 11:38:35 -06:00
Tim Donohue
e81df4e1c0 Merge pull request #9374 from amgciadev/fix-9373-b
Fix incorrect coar_version value for 'vor' type
2024-02-28 09:06:37 -06:00
Agustina Martinez
a8e81da7af Update rioxx.xsl
rioxx.xsl: update incorrect COAR version url for 'vor'
2024-02-28 11:17:07 +00:00
Tim Donohue
8252d05ee2 Update to latest Spring 5 2024-02-27 16:26:47 -06:00
dependabot[bot]
7f91661f84 Bump org.apache.james:apache-mime4j-core from 0.8.9 to 0.8.10
Bumps org.apache.james:apache-mime4j-core from 0.8.9 to 0.8.10.

---
updated-dependencies:
- dependency-name: org.apache.james:apache-mime4j-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 22:00:25 +00: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
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
kshepherd
a158a9b272 Merge pull request #8986 from mirkoscherf/8985-build_fails_when_versioning_is_disabled
fix: add default HandleIdentifierProvider for disabled versioning
2024-02-27 15:33:12 +13:00
kshepherd
528cf6e118 Merge pull request #9335 from atmire/sword-configuration-old-style-fixes-main
Sword configuration old style fixes main
2024-02-27 15:03:58 +13: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
frabacche
79155a26ba coar-notify-7 incoming ldn message block configs, new item-filters map, hide coarnotify section on submission, IT fixes 2024-02-26 23:35:34 +01:00
dependabot[bot]
a6e3d7a55a Bump org.eclipse.jetty.http2:http2-common
Bumps org.eclipse.jetty.http2:http2-common from 9.4.53.v20231009 to 9.4.54.v20240208.

---
updated-dependencies:
- dependency-name: org.eclipse.jetty.http2:http2-common
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 20:14:49 +00: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