pull.put("target", localDbName);
pull.put("continuous", true);
if (StringUtils.isNotEmpty(pullFilter)) {
pull.put("filter", pullFilter);
}
rep_db.create(pull);
}
if (StringUtils.equalsIgnoreCase(syncType, "bi-directional") || StringUtils.equalsIgnoreCase(syncType, "push")) {
// other direction
ObjectNode push = mapper.createObjectNode();
push.put("_id", "couchapp-takeout-" + localDbName + "-push");