Merge branch 'coar-notify-7' of https://bitbucket.org/4Science/dspace-cris into CST-10640_new

This commit is contained in:
Andrea Bollini
2023-11-11 17:39:39 +01:00
3 changed files with 19 additions and 19 deletions

View File

@@ -85,7 +85,7 @@ public class QAEventServiceImpl implements QAEventService {
@Autowired @Autowired
private QAEventsDaoImpl qaEventsDao; private QAEventsDaoImpl qaEventsDao;
@Autowired @Autowired(required = false)
@Qualifier("qaAutomaticProcessingMap") @Qualifier("qaAutomaticProcessingMap")
private Map<String, QAEventAutomaticProcessingEvaluation> qaAutomaticProcessingMap; private Map<String, QAEventAutomaticProcessingEvaluation> qaAutomaticProcessingMap;

View File

@@ -42,7 +42,7 @@ public class SubmissionCOARNotifyRestRepositoryIT extends AbstractControllerInte
.andExpect(content().contentType(contentType)) .andExpect(content().contentType(contentType))
.andExpect(jsonPath("$._embedded.submissioncoarnotifyconfigs", Matchers.containsInAnyOrder( .andExpect(jsonPath("$._embedded.submissioncoarnotifyconfigs", Matchers.containsInAnyOrder(
SubmissionCOARNotifyMatcher.matchCOARNotifyEntry("coarnotify", SubmissionCOARNotifyMatcher.matchCOARNotifyEntry("coarnotify",
List.of("review", "endorsement", "ingest")) List.of("request-review", "request-endorsement", "request-ingest"))
))); )));
} }
@@ -69,7 +69,7 @@ public class SubmissionCOARNotifyRestRepositoryIT extends AbstractControllerInte
.andExpect(content().contentType(contentType)) .andExpect(content().contentType(contentType))
.andExpect(jsonPath("$", Matchers.is( .andExpect(jsonPath("$", Matchers.is(
SubmissionCOARNotifyMatcher.matchCOARNotifyEntry("coarnotify", SubmissionCOARNotifyMatcher.matchCOARNotifyEntry("coarnotify",
List.of("review", "endorsement", "ingest")) List.of("request-review", "request-endorsement", "request-ingest"))
))); )));
} }

View File

@@ -10,9 +10,9 @@
<map> <map>
<entry key="coarnotify"> <entry key="coarnotify">
<list> <list>
<value>review</value> <value>request-review</value>
<value>endorsement</value> <value>request-endorsement</value>
<value>ingest</value> <value>request-ingest</value>
</list> </list>
</entry> </entry>
</map> </map>