Commit 00501a2
* Issue ufal#1351 simple ror authority (ufal#1352)
* Issue 1351: SimpleRORAuthority
* integration test
* code cleanup
* add debug messages to find test failure
* Revert "add debug messages to find test failure"
This reverts commit 286fde4.
* test failures
* Revert "test failures"
This reverts commit 8808f5e.
* resolve Copilot comments
* resolve PR comments, add ROR lookup to Publisher field
* rollback changes in VocabularyEntryLinkRepository
* fixing failing tests
* implement PR Comments
* implementation improvement
* resolve PR comments (O.Kosarko)
* Address review nits: shared ObjectMapper, commons-lang3, IT cleanup
- Reuse a single static ObjectMapper in SimpleRORAuthority instead of
constructing one per call.
- Switch to the non-deprecated org.apache.commons.lang3.LocaleUtils.
- Reset the ChoiceAuthority plugin configuration in @afterclass so
VocabularyEntryLinkRepositoryIT no longer leaks the SimpleRORAuthority
registration into other integration tests.
* implement cache for gertLabel()
* resolve PR Comments
---------
Co-authored-by: Ondrej Kosarko <kosarko@ufal.mff.cuni.cz>
(cherry picked from commit 25a5a25)
* fix potential NPE
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix possible NPE in getBestMatch
* fix possible NPE and some typos
* add license header
* Don't cache the fallback
* resolved CodeRabbit comment
---------
Co-authored-by: Milan Kuchtiak <kuchtiak@ufal.mff.cuni.cz>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent e9392ae commit 00501a2
15 files changed
Lines changed: 3539 additions & 0 deletions
File tree
- dspace-api/src
- main/java/org/dspace
- content/authority
- external
- model/ror
- ror
- test
- data/dspaceFolder/config/spring/api
- java/org/dspace/external
- resources/org/dspace/external/ror
- dspace-server-webapp/src/test/java/org/dspace/app/rest
- dspace/config
- features
- spring/api
Lines changed: 119 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
0 commit comments