diff --git a/conf/smart-default.xml b/conf/smart-default.xml
index cdcec656b81..ed711e436c8 100644
--- a/conf/smart-default.xml
+++ b/conf/smart-default.xml
@@ -425,17 +425,6 @@
-
- smart.sync.schedule.strategy
- UNORDERED
-
- Strategy of copying files during 'sync' rule. Possible values:
- FIFO - the files created/modified first will be scheduled for transfer first
- LIFO - the files created/modified last will be scheduled for transfer first
- UNORDERED - no guarantees of the file scheduling order
-
-
-
smart.sync.file.equality.strategy
CHECKSUM
diff --git a/smart-action/src/main/java/org/smartdata/action/SyncAction.java b/smart-action/src/main/java/org/smartdata/action/SyncAction.java
index 71f688558c6..b7dfb1b9699 100644
--- a/smart-action/src/main/java/org/smartdata/action/SyncAction.java
+++ b/smart-action/src/main/java/org/smartdata/action/SyncAction.java
@@ -38,6 +38,7 @@ public class SyncAction extends SmartAction {
// related to remote cluster and fileDiff.src
public static final String DEST = "-dest";
public static final String PRESERVE = "-preserve";
+ public static final String BASE_OPERATION = "-baseOperation";
@Override
protected void execute() throws Exception {
diff --git a/smart-common/src/main/java/org/smartdata/conf/SmartConfKeys.java b/smart-common/src/main/java/org/smartdata/conf/SmartConfKeys.java
index 273ad44c068..40a7c873db2 100644
--- a/smart-common/src/main/java/org/smartdata/conf/SmartConfKeys.java
+++ b/smart-common/src/main/java/org/smartdata/conf/SmartConfKeys.java
@@ -114,10 +114,6 @@ public class SmartConfKeys {
"smart.dispatch.cmdlets.extra.num";
public static final int SMART_DISPATCH_CMDLETS_EXTRA_NUM_DEFAULT = 10;
- public static final String SMART_SYNC_SCHEDULE_STRATEGY_KEY = "smart.sync.schedule.strategy";
- public static final String SMART_SYNC_SCHEDULE_STRATEGY_DEFAULT = "UNORDERED";
-
-
public static final String SMART_SYNC_FILE_EQUALITY_STRATEGY =
"smart.sync.file.equality.strategy";
public static final String SMART_SYNC_FILE_EQUALITY_STRATEGY_DEFAULT = "CHECKSUM";
diff --git a/smart-common/src/main/java/org/smartdata/model/FileDiff.java b/smart-common/src/main/java/org/smartdata/model/FileDiff.java
index a0abf7e02c1..1c83520c7bf 100644
--- a/smart-common/src/main/java/org/smartdata/model/FileDiff.java
+++ b/smart-common/src/main/java/org/smartdata/model/FileDiff.java
@@ -17,14 +17,16 @@
*/
package org.smartdata.model;
-import com.google.gson.Gson;
-import com.google.gson.reflect.TypeToken;
+import lombok.AllArgsConstructor;
+import lombok.Builder;
+import lombok.Data;
import java.util.HashMap;
-import java.util.Iterator;
import java.util.Map;
-import java.util.Objects;
+@Data
+@AllArgsConstructor
+@Builder(toBuilder = true)
public class FileDiff {
private long diffId;
private long ruleId;
@@ -51,119 +53,7 @@ public FileDiff(FileDiffType diffType, FileDiffState state) {
this.state = state;
}
- public long getDiffId() {
- return diffId;
- }
-
- public void setDiffId(long diffId) {
- this.diffId = diffId;
- }
-
- public long getRuleId() {
- return ruleId;
- }
-
- public void setRuleId(long ruleId) {
- this.ruleId = ruleId;
- }
-
- public FileDiffType getDiffType() {
- return diffType;
- }
-
- public void setDiffType(FileDiffType diffType) {
- this.diffType = diffType;
- }
-
- public String getSrc() {
- return src;
- }
-
- public void setSrc(String src) {
- this.src = src;
- }
-
- public Map getParameters() {
- return parameters;
- }
-
- public void setParameters(Map parameters) {
- this.parameters = parameters;
- }
-
public void setParameter(String key, String value) {
parameters.put(key, value);
}
-
- public String getParametersJsonString() {
- Gson gson = new Gson();
- return gson.toJson(parameters);
- }
-
- public void setParametersFromJsonString(String jsonParameters) {
- Gson gson = new Gson();
- parameters = gson.fromJson(jsonParameters,
- new TypeToken
+
+
+ ipc.client.fallback-to-simple-auth-allowed
+ true
+
diff --git a/supports/tools/docker/multihost/conf/smart-default.xml b/supports/tools/docker/multihost/conf/smart-default.xml
index 2e064e26f5d..7f9fa74ba85 100644
--- a/supports/tools/docker/multihost/conf/smart-default.xml
+++ b/supports/tools/docker/multihost/conf/smart-default.xml
@@ -425,17 +425,6 @@
-
- smart.sync.schedule.strategy
- UNORDERED
-
- Strategy of copying files during 'sync' rule. Possible values:
- FIFO - the files created/modified first will be scheduled for transfer first
- LIFO - the files created/modified last will be scheduled for transfer first
- UNORDERED - no guarantees of the file scheduling order
-
-
-
smart.sync.file.equality.strategy
CHECKSUM