tmaret commented on code in PR #66:
URL:
https://github.com/apache/sling-org-apache-sling-distribution-core/pull/66#discussion_r976281189
##########
src/main/java/org/apache/sling/distribution/serialization/impl/vlt/VaultDistributionPackageBuilderFactory.java:
##########
@@ -160,22 +161,33 @@ public class VaultDistributionPackageBuilderFactory
implements DistributionPacka
description = "List of paths that require be mapped." +
"The format is {sourcePattern}={destinationPattern}, e.g.
/etc/(.*)=/var/$1/some or simply /data=/bak")
String[] pathsMapping();
-
+
@AttributeDefinition(
name = "Install a content package in a strict mode",
- description = "Flag to mark an error response will be thrown,
if a content package will incorrectly installed")
- boolean strictImport() default DEFAULT_STRICT_IMPORT_SETTINGS;
+ description = "Whether an error will be thrown, if a content
package is incorrectly installed")
+ boolean strictImport() default DEFAULT_IS_STRICT;
+
+ @AttributeDefinition(
+ name = "Legacy Folder Primary Type Mode",
+ description = "Whether to overwrite the primary type of
folders during imports")
+ boolean overwritePrimaryTypesOfFolders() default
DEFAULT_OVERWRITE_PRIMARY_TYPES_OF_FOLDER;
+
+ @AttributeDefinition(
+ name = "ID Conflict Policy",
+ description = "Node id conflict policy to be used during
import")
+ IdConflictPolicy idConflictPolicy() default IdConflictPolicy.FAIL;
Review Comment:
Please use the LEGACY mode as default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]