Closed floriangantner closed 5 months ago
Please describe your request The contract mentions some /api/eperson/profiles/<:eperson-uuid>/orcid/projects endpoint which does not exist. https://github.com/DSpace/RestContract/blob/7906b33b3020a96b108f27a8b10b1db8de028517/profiles.md?plain=1#L238
/api/eperson/profiles/<:eperson-uuid>/orcid/projects
The corresponding file mentions some /fundings path instead.
/fundings
https://github.com/DSpace/DSpace/blob/28ad35f858131901dfe3108dcae57ea7328218e3/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/patch/operation/ResearcherProfileReplaceOrcidSyncPreferencesOperation.java#L57
In Addition the ResearcherProfile Rest OrcidSynchronization setting https://github.com/DSpace/RestContract/blob/7906b33b3020a96b108f27a8b10b1db8de028517/profiles.md?plain=1#L28 should return some fundingsPreference instead of the projectsPreference
OrcidSynchronization
fundingsPreference
projectsPreference
https://github.com/DSpace/DSpace/blob/28ad35f858131901dfe3108dcae57ea7328218e3/dspace-server-webapp/src/main/java/org/dspace/app/rest/converter/ResearcherProfileConverter.java#L61C18-L61C19
https://github.com/DSpace/DSpace/blob/28ad35f858131901dfe3108dcae57ea7328218e3/dspace-server-webapp/src/main/java/org/dspace/app/rest/model/ResearcherProfileRest.java#L94
We provide some PR fixing this.
Please describe your request The contract mentions some
/api/eperson/profiles/<:eperson-uuid>/orcid/projects
endpoint which does not exist. https://github.com/DSpace/RestContract/blob/7906b33b3020a96b108f27a8b10b1db8de028517/profiles.md?plain=1#L238The corresponding file mentions some
/fundings
path instead.https://github.com/DSpace/DSpace/blob/28ad35f858131901dfe3108dcae57ea7328218e3/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/patch/operation/ResearcherProfileReplaceOrcidSyncPreferencesOperation.java#L57
In Addition the ResearcherProfile Rest
OrcidSynchronization
setting https://github.com/DSpace/RestContract/blob/7906b33b3020a96b108f27a8b10b1db8de028517/profiles.md?plain=1#L28should return some
fundingsPreference
instead of theprojectsPreference
https://github.com/DSpace/DSpace/blob/28ad35f858131901dfe3108dcae57ea7328218e3/dspace-server-webapp/src/main/java/org/dspace/app/rest/converter/ResearcherProfileConverter.java#L61C18-L61C19
https://github.com/DSpace/DSpace/blob/28ad35f858131901dfe3108dcae57ea7328218e3/dspace-server-webapp/src/main/java/org/dspace/app/rest/model/ResearcherProfileRest.java#L94
We provide some PR fixing this.