Update monitor-service after umbrella

This commit is contained in:
Konstantinos Triantafyllou 2024-06-12 13:34:08 +03:00
parent fa3690dab7
commit 94fa636aa9
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
<dependency> <!-- this dependency includes dependency to uoa-monitor-service-library -->
<groupId>eu.dnetlib</groupId>
<artifactId>uoa-monitor-service</artifactId>
<version>1.1.13</version>
<version>1.1.14</version>
<classifier>library</classifier>
</dependency>

View File

@ -29,7 +29,7 @@ public class StakeholderPublicationsController {
@RequestMapping(value = "/{type}", method = RequestMethod.GET)
public List<StakeholderPublications> getStakeholders(@PathVariable String type) throws UnsupportedEncodingException, InterruptedException {
List<Stakeholder> stakeholders = this.service.getStakeholdersByTypeAndRole(type, null, false);
List<Stakeholder> stakeholders = this.service.getVisibleStakeholders(type, null);
List<StakeholderPublications> stakeholderPublications = new ArrayList<>();
List<List<String>> data = this.cacheService.getResponse(type);
List<Stakeholder> remain = new ArrayList<>(stakeholders);