Push selected publications to orcid#351
Push selected publications to orcid#351floriangantner wants to merge 25 commits into4Science:dspace-cris-2023_02_xfrom
Conversation
for the orcid profiles owner with OrcidEntitySyncPreference MINE and MY_SELECTED for some entity an additional check was added. The check uses the solr-search to determine, if the corresponding/linked item is among the hidden/preferred items of the orcid profile owner. The solr query for the relation can be configured.
for the orcid profiles owner with OrcidEntitySyncPreference MINE and MY_SELECTED for some entity an additional check was added. The check uses the solr-search to determine, if the corresponding/linked item is among the hidden/preferred items of the orcid profile owner. The solr query for the relation can be configured.
…o dspace-cris-7-orcid-relpref # Conflicts: # dspace-api/src/main/java/org/dspace/orcid/consumer/OrcidQueueConsumer.java
…ings sync settings
…and fundings sync settings" This reverts commit d4861ec.
this can occur when some relation was removed (e.g. selected) which is not reflected to the orcid queue. The entry is only removen when the whole queue is recalculated
especially new introduced null checks
tests to check the creation of OrcidEntitySyncPreference MINE and MY_SELECTED with different configuration settings and test cases as well as new tests on changes on the recalculation of the orcid queue with these new settings
use database-approach instead of solr because the values might not be indexed/remodev when the orcidconsumer interacts; simplify configuration to name of relationship instead of filter; some fixes and tests
check if relationship exist using the relationshipservice rather than the search, becaude the requested item might not have been indexed yet if it is recent archived
[maven-release-plugin] copy for tag dspace-cris-2023.02.02
|
Aligned to 2023.02.02 Release |
|
This pull request has been automatically marked as stale because it has not had Allowing pull requests to close as stale helps us filter out old work that is no longer All pull requests closed by this bot act like normal pull requests; If these changes are still relevant then please comment and/or rebase your PR based on the |
|
This pull request has been closed automatically. If these changes are still relevant |
References
Description
Push SELECTED (MY_SELECTED) and not hidden (MINE) Publications settings to some person orcid profile. The items are determined through the regarding relationshiptypes which allows the user to hide/show the publications on certain relation boxes.
Instructions for Reviewers
List of changes in this PR:
Some additional
.exclusionconfiguration is used when the relation should not exist (e.g. show not publications which are hidden) and adds some negation to the solr filter/check for the relations.isAlreadyQueued. Some new method was introduced which uses the relationshipService to determine, if the relation was removed/added and the orcid sync settings (MINE/MY_SELECTED) are not in sync. In this cases the orcidqueue entry is deleted.Include guidance for how to test or review your PR.
Counterpart:
4Science/dspace-angular#38
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.