Revision 48053
Added by Alessia Bardi over 7 years ago
modules/dnet-openaireplus-workflows/trunk/src/test/java/eu/dnetlib/msro/openaireplus/workflows/nodes/claims/ApplyClaimUpdatesJobNodeTest.java | ||
---|---|---|
31 | 31 |
} |
32 | 32 |
|
33 | 33 |
private String getValue(final String context, final String rowkey) throws MSROException, InvalidProtocolBufferException { |
34 |
String semantics = "relatedTo"; |
|
35 | 34 |
long time = System.currentTimeMillis(); |
36 | 35 |
//final String sourceId, final String semantics, final String targetId, final long timestamp |
37 |
String res = applyClaims.getValue(context, semantics, rowkey, time);
|
|
36 |
String res = applyClaims.getValue(rowkey, context, time);
|
|
38 | 37 |
Oaf.Builder builder = Oaf.newBuilder().mergeFrom(Base64.decode(res)); |
39 | 38 |
return builder.build().toString(); |
40 | 39 |
} |
Also available in: Unified diff
fixed test