forked from D-Net/dnet-hadoop
[EOSC Context Tagging] refactoring
This commit is contained in:
parent
06a95daf60
commit
d091866e48
|
@ -121,14 +121,14 @@ public class SparkEoscBulkTag implements Serializable {
|
||||||
(value.getEoscifguidelines() != null && value.getEoscifguidelines().size() > 0)) {
|
(value.getEoscifguidelines() != null && value.getEoscifguidelines().size() > 0)) {
|
||||||
Context context = new Context();
|
Context context = new Context();
|
||||||
context.setId("eosc");
|
context.setId("eosc");
|
||||||
OafMapperUtils
|
context.setDataInfo(Arrays.asList(OafMapperUtils
|
||||||
.dataInfo(
|
.dataInfo(
|
||||||
false, BULKTAG_DATA_INFO_TYPE, true, false,
|
false, BULKTAG_DATA_INFO_TYPE, true, false,
|
||||||
OafMapperUtils
|
OafMapperUtils
|
||||||
.qualifier(
|
.qualifier(
|
||||||
CLASS_ID_DATASOURCE, CLASS_NAME_BULKTAG_DATASOURCE,
|
CLASS_ID_DATASOURCE, CLASS_NAME_BULKTAG_DATASOURCE,
|
||||||
DNET_PROVENANCE_ACTIONS, DNET_PROVENANCE_ACTIONS),
|
DNET_PROVENANCE_ACTIONS, DNET_PROVENANCE_ACTIONS),
|
||||||
TAGGING_TRUST);
|
TAGGING_TRUST)));
|
||||||
value.getContext().add(context);
|
value.getContext().add(context);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue