forked from D-Net/dnet-hadoop
[Transformative Agreement] added check to verify the APC were paid byu the IReL funder
This commit is contained in:
parent
354e02e6a9
commit
624f5f3f21
|
@ -102,6 +102,7 @@ public class CreateActionSetSparkJob implements Serializable {
|
||||||
|
|
||||||
List<Relation> relationList = new ArrayList<>();
|
List<Relation> relationList = new ArrayList<>();
|
||||||
|
|
||||||
|
if(value.getAgreement().startsWith("IReL")) {
|
||||||
String paper;
|
String paper;
|
||||||
|
|
||||||
paper = "50|doi_________::"
|
paper = "50|doi_________::"
|
||||||
|
@ -115,7 +116,7 @@ public class CreateActionSetSparkJob implements Serializable {
|
||||||
IREL_PROJECT, ModelConstants.IS_PRODUCED_BY));
|
IREL_PROJECT, ModelConstants.IS_PRODUCED_BY));
|
||||||
|
|
||||||
relationList.add(getRelation(IREL_PROJECT, paper, ModelConstants.PRODUCES));
|
relationList.add(getRelation(IREL_PROJECT, paper, ModelConstants.PRODUCES));
|
||||||
|
}
|
||||||
return relationList;
|
return relationList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue