Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "blobType": getOrCreateConfiguration(target).setBlobType(property(camelContext, org.apache.camel.component.azure.storage.blob.BlobType.class, value)); return true;
case "blocklisttype":
case "blockListType": getOrCreateConfiguration(target).setBlockListType(property(camelContext, com.azure.storage.blob.models.BlockListType.class, value)); return true;
case "blocksize":
case "blockSize": getOrCreateConfiguration(target).setBlockSize(property(camelContext, java.lang.Long.class, value)); return true;
case "bridgeerrorhandler":
case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
case "changefeedcontext":
Expand Down Expand Up @@ -88,10 +90,14 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "leaseBlob": getOrCreateConfiguration(target).setLeaseBlob(property(camelContext, boolean.class, value)); return true;
case "leasedurationinseconds":
case "leaseDurationInSeconds": getOrCreateConfiguration(target).setLeaseDurationInSeconds(property(camelContext, java.lang.Integer.class, value)); return true;
case "maxconcurrency":
case "maxConcurrency": getOrCreateConfiguration(target).setMaxConcurrency(property(camelContext, java.lang.Integer.class, value)); return true;
case "maxresultsperpage":
case "maxResultsPerPage": getOrCreateConfiguration(target).setMaxResultsPerPage(property(camelContext, java.lang.Integer.class, value)); return true;
case "maxretryrequests":
case "maxRetryRequests": getOrCreateConfiguration(target).setMaxRetryRequests(property(camelContext, int.class, value)); return true;
case "maxsingleuploadsize":
case "maxSingleUploadSize": getOrCreateConfiguration(target).setMaxSingleUploadSize(property(camelContext, java.lang.Long.class, value)); return true;
case "operation": getOrCreateConfiguration(target).setOperation(property(camelContext, org.apache.camel.component.azure.storage.blob.BlobOperationsDefinition.class, value)); return true;
case "pageblobsize":
case "pageBlobSize": getOrCreateConfiguration(target).setPageBlobSize(property(camelContext, java.lang.Long.class, value)); return true;
Expand Down Expand Up @@ -136,6 +142,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "blobType": return org.apache.camel.component.azure.storage.blob.BlobType.class;
case "blocklisttype":
case "blockListType": return com.azure.storage.blob.models.BlockListType.class;
case "blocksize":
case "blockSize": return java.lang.Long.class;
case "bridgeerrorhandler":
case "bridgeErrorHandler": return boolean.class;
case "changefeedcontext":
Expand Down Expand Up @@ -174,10 +182,14 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "leaseBlob": return boolean.class;
case "leasedurationinseconds":
case "leaseDurationInSeconds": return java.lang.Integer.class;
case "maxconcurrency":
case "maxConcurrency": return java.lang.Integer.class;
case "maxresultsperpage":
case "maxResultsPerPage": return java.lang.Integer.class;
case "maxretryrequests":
case "maxRetryRequests": return int.class;
case "maxsingleuploadsize":
case "maxSingleUploadSize": return java.lang.Long.class;
case "operation": return org.apache.camel.component.azure.storage.blob.BlobOperationsDefinition.class;
case "pageblobsize":
case "pageBlobSize": return java.lang.Long.class;
Expand Down Expand Up @@ -218,6 +230,8 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "blobType": return getOrCreateConfiguration(target).getBlobType();
case "blocklisttype":
case "blockListType": return getOrCreateConfiguration(target).getBlockListType();
case "blocksize":
case "blockSize": return getOrCreateConfiguration(target).getBlockSize();
case "bridgeerrorhandler":
case "bridgeErrorHandler": return target.isBridgeErrorHandler();
case "changefeedcontext":
Expand Down Expand Up @@ -256,10 +270,14 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "leaseBlob": return getOrCreateConfiguration(target).isLeaseBlob();
case "leasedurationinseconds":
case "leaseDurationInSeconds": return getOrCreateConfiguration(target).getLeaseDurationInSeconds();
case "maxconcurrency":
case "maxConcurrency": return getOrCreateConfiguration(target).getMaxConcurrency();
case "maxresultsperpage":
case "maxResultsPerPage": return getOrCreateConfiguration(target).getMaxResultsPerPage();
case "maxretryrequests":
case "maxRetryRequests": return getOrCreateConfiguration(target).getMaxRetryRequests();
case "maxsingleuploadsize":
case "maxSingleUploadSize": return getOrCreateConfiguration(target).getMaxSingleUploadSize();
case "operation": return getOrCreateConfiguration(target).getOperation();
case "pageblobsize":
case "pageBlobSize": return getOrCreateConfiguration(target).getPageBlobSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "blobType": target.getConfiguration().setBlobType(property(camelContext, org.apache.camel.component.azure.storage.blob.BlobType.class, value)); return true;
case "blocklisttype":
case "blockListType": target.getConfiguration().setBlockListType(property(camelContext, com.azure.storage.blob.models.BlockListType.class, value)); return true;
case "blocksize":
case "blockSize": target.getConfiguration().setBlockSize(property(camelContext, java.lang.Long.class, value)); return true;
case "bridgeerrorhandler":
case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true;
case "changefeedcontext":
Expand Down Expand Up @@ -90,10 +92,14 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
case "leaseBlob": target.getConfiguration().setLeaseBlob(property(camelContext, boolean.class, value)); return true;
case "leasedurationinseconds":
case "leaseDurationInSeconds": target.getConfiguration().setLeaseDurationInSeconds(property(camelContext, java.lang.Integer.class, value)); return true;
case "maxconcurrency":
case "maxConcurrency": target.getConfiguration().setMaxConcurrency(property(camelContext, java.lang.Integer.class, value)); return true;
case "maxresultsperpage":
case "maxResultsPerPage": target.getConfiguration().setMaxResultsPerPage(property(camelContext, java.lang.Integer.class, value)); return true;
case "maxretryrequests":
case "maxRetryRequests": target.getConfiguration().setMaxRetryRequests(property(camelContext, int.class, value)); return true;
case "maxsingleuploadsize":
case "maxSingleUploadSize": target.getConfiguration().setMaxSingleUploadSize(property(camelContext, java.lang.Long.class, value)); return true;
case "operation": target.getConfiguration().setOperation(property(camelContext, org.apache.camel.component.azure.storage.blob.BlobOperationsDefinition.class, value)); return true;
case "pageblobsize":
case "pageBlobSize": target.getConfiguration().setPageBlobSize(property(camelContext, java.lang.Long.class, value)); return true;
Expand Down Expand Up @@ -163,6 +169,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "blobType": return org.apache.camel.component.azure.storage.blob.BlobType.class;
case "blocklisttype":
case "blockListType": return com.azure.storage.blob.models.BlockListType.class;
case "blocksize":
case "blockSize": return java.lang.Long.class;
case "bridgeerrorhandler":
case "bridgeErrorHandler": return boolean.class;
case "changefeedcontext":
Expand Down Expand Up @@ -204,10 +212,14 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
case "leaseBlob": return boolean.class;
case "leasedurationinseconds":
case "leaseDurationInSeconds": return java.lang.Integer.class;
case "maxconcurrency":
case "maxConcurrency": return java.lang.Integer.class;
case "maxresultsperpage":
case "maxResultsPerPage": return java.lang.Integer.class;
case "maxretryrequests":
case "maxRetryRequests": return int.class;
case "maxsingleuploadsize":
case "maxSingleUploadSize": return java.lang.Long.class;
case "operation": return org.apache.camel.component.azure.storage.blob.BlobOperationsDefinition.class;
case "pageblobsize":
case "pageBlobSize": return java.lang.Long.class;
Expand Down Expand Up @@ -273,6 +285,8 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "blobType": return target.getConfiguration().getBlobType();
case "blocklisttype":
case "blockListType": return target.getConfiguration().getBlockListType();
case "blocksize":
case "blockSize": return target.getConfiguration().getBlockSize();
case "bridgeerrorhandler":
case "bridgeErrorHandler": return target.isBridgeErrorHandler();
case "changefeedcontext":
Expand Down Expand Up @@ -314,10 +328,14 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
case "leaseBlob": return target.getConfiguration().isLeaseBlob();
case "leasedurationinseconds":
case "leaseDurationInSeconds": return target.getConfiguration().getLeaseDurationInSeconds();
case "maxconcurrency":
case "maxConcurrency": return target.getConfiguration().getMaxConcurrency();
case "maxresultsperpage":
case "maxResultsPerPage": return target.getConfiguration().getMaxResultsPerPage();
case "maxretryrequests":
case "maxRetryRequests": return target.getConfiguration().getMaxRetryRequests();
case "maxsingleuploadsize":
case "maxSingleUploadSize": return target.getConfiguration().getMaxSingleUploadSize();
case "operation": return target.getConfiguration().getOperation();
case "pageblobsize":
case "pageBlobSize": return target.getConfiguration().getPageBlobSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class BlobEndpointUriFactory extends org.apache.camel.support.component.E
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Map<String, String> MULTI_VALUE_PREFIXES;
static {
Set<String> props = new HashSet<>(57);
Set<String> props = new HashSet<>(60);
props.add("accessKey");
props.add("accountName");
props.add("azureClientId");
Expand All @@ -38,6 +38,7 @@ public class BlobEndpointUriFactory extends org.apache.camel.support.component.E
props.add("blobServiceClient");
props.add("blobType");
props.add("blockListType");
props.add("blockSize");
props.add("bridgeErrorHandler");
props.add("changeFeedContext");
props.add("changeFeedEndTime");
Expand All @@ -61,8 +62,10 @@ public class BlobEndpointUriFactory extends org.apache.camel.support.component.E
props.add("lazyStartProducer");
props.add("leaseBlob");
props.add("leaseDurationInSeconds");
props.add("maxConcurrency");
props.add("maxResultsPerPage");
props.add("maxRetryRequests");
props.add("maxSingleUploadSize");
props.add("operation");
props.add("pageBlobSize");
props.add("pollStrategy");
Expand Down
Loading