Commit Graph

791 Commits

Author SHA1 Message Date
Kim Shepherd
069674e7ee [TLC-674] Duplicate Detection service and submission step
Service, submission step, integration tests
2024-03-04 11:39:48 +13:00
frabacche
74bb1be98e coar-notify-7 config QAsecurity submitter-based for coar-notify source 2024-02-29 14:54:23 +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
frabacche
460dad3096 coar-notify-7 notifyService set usable item-filters, IT ip-range check fix 2024-02-27 13:45:20 +01: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
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
b18a63a2c7 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2024-02-22 18:46:14 +01:00
frabacche
333552e43f Merge remote-tracking branch 'github/main' into coar-notify-7 2024-02-22 13:47:37 +01:00
Tim Donohue
ee66e32ac2 Merge pull request #9348 from alexandrevryghem/added-recently-added-section-to-community-page_contribute-main
Added community & collection discovery configurations
2024-02-21 12:16:41 -06:00
frabacche
ad40858bbb coar-notify-7 merge conflicts fixes, ldn configuration fixes 2024-02-21 16:38:34 +01:00
Mykhaylo Boychuk
36bfe58060 [CST-12108] remove creationForm attribute as not needed 2024-02-20 22:50:04 +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
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
Alexandre Vryghem
725430ea40 Merge remote-tracking branch 'upstream/main' into added-recently-added-section-to-community-page_contribute-main 2024-02-18 16:12:33 +01:00
Alexandre Vryghem
f942465410 110889: Added community & collection discovery configuration 2024-02-18 16:12:07 +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
Tim Donohue
a986e8e43f Merge pull request #8280 from 4Science/CST-5249_suggestion
Openaire suggestions (publication claim)
2024-02-15 10:24:20 -06:00
Tim Donohue
20c8b03c50 Merge pull request #9238 from 4Science/main_CST-12825
ROR Integration - Live Import
2024-02-14 15:16:23 -06:00
frabacche
d7350437f2 coar-notify-7 follow-ups on the community advices 2024-02-14 17:54:08 +01:00
Vincenzo Mecca
f75eed90fa Merge remote-tracking branch 'DSpace/main' into main_CST-12826
# Conflicts:
#	dspace/config/spring/api/virtual-metadata.xml.openaire4
2024-02-13 19:14:13 +01:00
Vincenzo Mecca
57a8b650d7 [#9237][CST-12826] Refactors ROR metadata mappings 2024-02-13 19:09:52 +01:00
frabacche
cdaa500be4 Merge branch 'main' into CST-5249_suggestion 2024-02-13 12:03:12 +01:00
frabacche
c2f0c6f331 CST-5249_suggestion datescorer remove date range + docker config fixes 2024-02-13 11:10:54 +01:00
Vincenzo Mecca
c448e3201a [#9238][CST-12825] Removes oaire-cerif types 2024-02-12 13:28:36 +01:00
frabacche
9d3dc68011 CST-5249_suggestion correct the metadata names used by the datescorer 2024-02-09 15:29:05 +01:00
Agustina Martinez
f7df6727c4 Removed virtual-metadata.xml.rioxx3; virtual-metadata.xml.openaire4: fix populating funder info in fundingReference metadata 2024-02-07 22:25:57 +00:00
frabacche
69c81c95ce CST-5249_suggestion improve import-openaire-suggestions bean description 2024-02-06 15:27:58 +01:00
frabacche
2f71ec2298 CST-5249_suggestion comment out openairecerif and openairefunding metadatas descriptions 2024-02-06 15:17:38 +01:00
frabacche
dfdd2664e2 CST-5249_suggestion openaire integration xml fix 2024-01-25 16:19:45 +01:00
frabacche
233ad6c41c CST-5249_suggestion dateScorer refactor, oairecerif removal, edicationDateMetadata removal 2024-01-25 14:39:02 +01:00
mohamed eskander
9de131bada [CST-12850] refactoring 2024-01-16 11:58:22 +02:00
mohamed eskander
0ff7973f79 [CST-12401] Allow to configure which patterns can be requested by multiple services during the submission 2024-01-15 11:04:09 +02:00
Agustina Martinez
5c72d2fa65 Support for RIOXX v3 OAI profile 2024-01-13 18:31:00 +00:00
frabacche
9c83afe740 CST-12868 remove Outbound Patterns 2024-01-09 11:53:39 +01:00
frabacche
d2a122299a Fix Merge conflicts with main 2024-01-04 16:21:40 +01:00
frabacche
c83e3fb96f CST-5249_suggestion oaire=>openaire refactor 2023-12-28 08:59:09 +01:00
Mykhaylo
b312c9ea52 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2023-12-22 15:41:45 +01:00
Vincenzo Mecca
91db1c07e3 [CST-12826] ROR integration for OAI-PMH 2023-12-19 17:38:48 +01:00
frabacche
e0c9c90b78 Merge conficts on EPersonServiceImpl 2023-12-19 09:37:05 +01:00
Vincenzo Mecca
c974e73e2c [CST-12825] Ror integration 2023-12-14 14:45:53 +01:00
frabacche
5f992e0b71 CST-5249 add openaire to custom BrokerClient instance and factory 2023-12-13 16:14:36 +01:00
frabacche
ff5f3fa74f CST-5249 rename OpenAIRE to Openaire, other minor issues 2023-12-12 16:15:25 +01:00
Stefano Maffei
da3605f18d Merge remote-tracking branch 'originGithub/main' into coar-notify-7
# Conflicts:
#	dspace-api/src/main/java/org/dspace/eperson/EPersonServiceImpl.java
#	dspace-api/src/test/java/org/dspace/builder/AbstractBuilder.java
#	dspace/config/dspace.cfg
#	dspace/config/modules/rest.cfg
#	dspace/config/spring/api/core-factory-services.xml
#	dspace/config/spring/api/core-services.xml
2023-12-05 12:14:48 +01:00
frabacche
4686ef3cd5 CST-12850 qaevents.xml config error fix 2023-12-04 11:20:36 +01:00