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,23 +1,26 @@
{ {
"wf" : { "wf" : {
"configurationId" : "$configurationId$", "threshold" : "$threshold$",
"threshold" : "$threshold$", "dedupRun" : "$run$",
"run" : "$run$", "entityType" : "$entityType$",
"entityType" : "$entityType$", "subEntityType" : "$subEntityType$",
"orderField" : "$orderField$", "subEntityValue" : "$subEntityValue$",
"queueMaxSize" : "$queueMaxSize$", "orderField" : "$orderField$",
"groupMaxSize" : "$groupMaxSize$", "queueMaxSize" : "$queueMaxSize$",
"slidingWindowSize" : "$slidingWindowSize$", "groupMaxSize" : "$groupMaxSize$",
"rootBuilder" : [ $rootBuilder:{"$it$"};separator=", "$ ], "slidingWindowSize" : "$slidingWindowSize$",
"includeChildren" : "$includeChildren$" "rootBuilder" : [ $rootBuilder:{"$it$"};separator=", "$ ],
}, "includeChildren" : "$includeChildren$"
"pace" : { },
"pace" : {
"clustering" : [ "clustering" : [
], ],
"conditions" : [ "strictConditions" : [
], ],
"conditions" : [
],
"model" : [ "model" : [
], ],
"blacklists" : { } "blacklists" : { }
} }
} }