using the new broker model
This commit is contained in:
parent
282b0b0d53
commit
c2743a9420
12
pom.xml
12
pom.xml
|
@ -9,32 +9,27 @@
|
|||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-repository-manager-service</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webmvc</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator-annotation-processor</artifactId>
|
||||
<version>4.1.0.Final</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>${log4j.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>dnet-runtime</artifactId>
|
||||
|
@ -46,13 +41,11 @@
|
|||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-utils</artifactId>
|
||||
<version>[2.0.0-SNAPSHOT, 3.0.0)</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-domain</artifactId>
|
||||
|
@ -64,16 +57,15 @@
|
|||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>dnet-openaire-usage-stats-sushilite</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<groupId>eu.dnetlib.dhp</groupId>
|
||||
<artifactId>dnet-openaire-broker-common</artifactId>
|
||||
<version>1.0.2-SNAPSHOT</version>
|
||||
<version>3.1.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cglib</groupId>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package eu.dnetlib.repo.manager.domain.broker;
|
||||
|
||||
import eu.dnetlib.broker.objects.OpenAireEventPayload;
|
||||
import eu.dnetlib.broker.objects.OaBrokerEventPayload;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -14,13 +14,13 @@ public class EventsPage{
|
|||
private long currPage;
|
||||
private long totalPages;
|
||||
private long total;
|
||||
private List<OpenAireEventPayload> values;
|
||||
private List<OaBrokerEventPayload> values;
|
||||
|
||||
public EventsPage() {
|
||||
|
||||
}
|
||||
public EventsPage(final String datasource, final String topic, final long currPage, final long totalPages, final long total,
|
||||
final List<OpenAireEventPayload> values) {
|
||||
final List<OaBrokerEventPayload> values) {
|
||||
this.datasource = datasource;
|
||||
this.topic = topic;
|
||||
this.currPage = currPage;
|
||||
|
@ -69,11 +69,11 @@ public class EventsPage{
|
|||
this.total = total;
|
||||
}
|
||||
|
||||
public List<OpenAireEventPayload> getValues() {
|
||||
public List<OaBrokerEventPayload> getValues() {
|
||||
return values;
|
||||
}
|
||||
|
||||
public void setValues(List<OpenAireEventPayload> values) {
|
||||
public void setValues(List<OaBrokerEventPayload> values) {
|
||||
this.values = values;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue