1
0
Fork 0

default (empty) configuration should be aligned with the updated model

This commit is contained in:
Claudio Atzori 2018-11-15 16:52:56 +01:00
parent 59bab8dba4
commit 399e4bc80f
2 changed files with 23 additions and 18 deletions

View File

@ -36,6 +36,8 @@ public class DedupConfig implements Config, Serializable {
defaults.put("threshold", "0"); defaults.put("threshold", "0");
defaults.put("dedupRun", "001"); defaults.put("dedupRun", "001");
defaults.put("entityType", "result"); defaults.put("entityType", "result");
defaults.put("subEntityType", "resulttype");
defaults.put("subEntityValue", "publication");
defaults.put("orderField", "title"); defaults.put("orderField", "title");
defaults.put("queueMaxSize", "2000"); defaults.put("queueMaxSize", "2000");
defaults.put("groupMaxSize", "10"); defaults.put("groupMaxSize", "10");

View File

@ -1,9 +1,10 @@
{ {
"wf" : { "wf" : {
"configurationId" : "$configurationId$",
"threshold" : "$threshold$", "threshold" : "$threshold$",
"run" : "$run$", "dedupRun" : "$run$",
"entityType" : "$entityType$", "entityType" : "$entityType$",
"subEntityType" : "$subEntityType$",
"subEntityValue" : "$subEntityValue$",
"orderField" : "$orderField$", "orderField" : "$orderField$",
"queueMaxSize" : "$queueMaxSize$", "queueMaxSize" : "$queueMaxSize$",
"groupMaxSize" : "$groupMaxSize$", "groupMaxSize" : "$groupMaxSize$",
@ -14,6 +15,8 @@
"pace" : { "pace" : {
"clustering" : [ "clustering" : [
], ],
"strictConditions" : [
],
"conditions" : [ "conditions" : [
], ],
"model" : [ "model" : [