You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by oa...@apache.org on 2020/04/15 09:25:11 UTC
[camel] branch master updated: Add legacy and a note into the doc
about the legacy azure component
This is an automated email from the ASF dual-hosted git repository.
oalsafi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new b281685 Add legacy and a note into the doc about the legacy azure component
new 9dfee11 Merge pull request #3747 from omarsmak/add-legacy-to-azure
b281685 is described below
commit b281685049e86eabbedbc7b67b4c2cb150190403
Author: Omar Al-Safi <om...@gmail.com>
AuthorDate: Wed Apr 15 10:53:41 2020 +0200
Add legacy and a note into the doc about the legacy azure component
---
.../apache/camel/component/azure/blob/azure-blob.json | 2 +-
.../camel-azure/src/main/docs/azure-blob-component.adoc | 11 +++++++----
.../camel/component/azure/blob/BlobServiceEndpoint.java | 2 +-
.../builder/component/ComponentsBuilderFactory.java | 2 +-
.../component/dsl/AzureBlobComponentBuilderFactory.java | 4 ++--
.../src/generated/resources/metadata.json | 2 +-
.../endpoint/dsl/BlobServiceEndpointBuilderFactory.java | 17 +++++++++--------
7 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/components/camel-azure/src/generated/resources/org/apache/camel/component/azure/blob/azure-blob.json b/components/camel-azure/src/generated/resources/org/apache/camel/component/azure/blob/azure-blob.json
index 05a759f..53c5503 100644
--- a/components/camel-azure/src/generated/resources/org/apache/camel/component/azure/blob/azure-blob.json
+++ b/components/camel-azure/src/generated/resources/org/apache/camel/component/azure/blob/azure-blob.json
@@ -5,7 +5,7 @@
"scheme": "azure-blob",
"extendsScheme": "",
"syntax": "azure-blob:containerOrBlobUri",
- "title": "Azure Storage Blob Service",
+ "title": "Azure Storage Blob Service (Legacy)",
"description": "The azure-blob component is used for storing and retrieving blobs from Azure Storage Blob Service.",
"label": "cloud,database,nosql",
"deprecated": false,
diff --git a/components/camel-azure/src/main/docs/azure-blob-component.adoc b/components/camel-azure/src/main/docs/azure-blob-component.adoc
index 50582a7..87e78ed 100644
--- a/components/camel-azure/src/main/docs/azure-blob-component.adoc
+++ b/components/camel-azure/src/main/docs/azure-blob-component.adoc
@@ -1,6 +1,6 @@
[[azure-blob-component]]
-= Azure Storage Blob Service Component
-:docTitle: Azure Storage Blob Service
+= Azure Storage Blob Service (Legacy) Component
+:docTitle: Azure Storage Blob Service (Legacy)
:artifactId: camel-azure
:description: The azure-blob component is used for storing and retrieving blobs from Azure Storage Blob Service.
:since: 2.19
@@ -14,6 +14,9 @@
The Azure Blob component supports storing and retrieving the blobs to/from
https://azure.microsoft.com/services/storage/blobs/[Azure Storage Blob] service.
+*Note:* This component uses the legacy https://github.com/azure/azure-storage-java/tree/legacy-master[Azure SDK v8]. There is another component
+xref:components::azure-storage-blob-component.adoc[Azure Storage Blob Component] that uses the latest *12+* Azure SDK version.
+
Prerequisites
You must have a valid Windows Azure Storage account. More information is available at
@@ -43,7 +46,7 @@ to("file://blobdirectory");
// component options: START
-The Azure Storage Blob Service component supports 21 options, which are listed below.
+The Azure Storage Blob Service (Legacy) component supports 21 options, which are listed below.
@@ -85,7 +88,7 @@ The Azure Storage Blob Service component supports 21 options, which are listed b
// endpoint options: START
-The Azure Storage Blob Service endpoint is configured using URI syntax:
+The Azure Storage Blob Service (Legacy) endpoint is configured using URI syntax:
----
azure-blob:containerOrBlobUri
diff --git a/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceEndpoint.java b/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceEndpoint.java
index 10d2747..846e12f 100644
--- a/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceEndpoint.java
+++ b/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceEndpoint.java
@@ -31,7 +31,7 @@ import org.apache.camel.support.DefaultEndpoint;
*/
@UriEndpoint(firstVersion = "2.19.0",
scheme = "azure-blob",
- title = "Azure Storage Blob Service",
+ title = "Azure Storage Blob Service (Legacy)",
syntax = "azure-blob:containerOrBlobUri",
label = "cloud,database,nosql")
public class BlobServiceEndpoint extends DefaultEndpoint {
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 19f37ca..488be9d 100644
--- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -669,7 +669,7 @@ public interface ComponentsBuilderFactory {
return org.apache.camel.builder.component.dsl.Aws2TranslateComponentBuilderFactory.aws2Translate();
}
/**
- * Azure Storage Blob Service (camel-azure)
+ * Azure Storage Blob Service (Legacy) (camel-azure)
* The azure-blob component is used for storing and retrieving blobs from
* Azure Storage Blob Service.
*
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureBlobComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureBlobComponentBuilderFactory.java
index 2f9161a..80c24d7 100644
--- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureBlobComponentBuilderFactory.java
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureBlobComponentBuilderFactory.java
@@ -32,7 +32,7 @@ import org.apache.camel.component.azure.blob.BlobServiceComponent;
public interface AzureBlobComponentBuilderFactory {
/**
- * Azure Storage Blob Service (camel-azure)
+ * Azure Storage Blob Service (Legacy) (camel-azure)
* The azure-blob component is used for storing and retrieving blobs from
* Azure Storage Blob Service.
*
@@ -45,7 +45,7 @@ public interface AzureBlobComponentBuilderFactory {
}
/**
- * Builder for the Azure Storage Blob Service component.
+ * Builder for the Azure Storage Blob Service (Legacy) component.
*/
interface AzureBlobComponentBuilder
extends
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json
index c03a8a0..d9374fc 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -1239,7 +1239,7 @@
"scheme": "azure-blob",
"extendsScheme": "",
"syntax": "azure-blob:containerOrBlobUri",
- "title": "Azure Storage Blob Service",
+ "title": "Azure Storage Blob Service (Legacy)",
"description": "The azure-blob component is used for storing and retrieving blobs from Azure Storage Blob Service.",
"label": "cloud,database,nosql",
"deprecated": false,
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java
index 8cfcba7..11e1e9f 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java
@@ -36,7 +36,7 @@ public interface BlobServiceEndpointBuilderFactory {
/**
* Builder for endpoint consumers for the Azure Storage Blob Service
- * component.
+ * (Legacy) component.
*/
public interface BlobServiceEndpointConsumerBuilder
extends
@@ -325,7 +325,7 @@ public interface BlobServiceEndpointBuilderFactory {
/**
* Advanced builder for endpoint consumers for the Azure Storage Blob
- * Service component.
+ * Service (Legacy) component.
*/
public interface AdvancedBlobServiceEndpointConsumerBuilder
extends
@@ -450,7 +450,7 @@ public interface BlobServiceEndpointBuilderFactory {
/**
* Builder for endpoint producers for the Azure Storage Blob Service
- * component.
+ * (Legacy) component.
*/
public interface BlobServiceEndpointProducerBuilder
extends
@@ -884,7 +884,7 @@ public interface BlobServiceEndpointBuilderFactory {
/**
* Advanced builder for endpoint producers for the Azure Storage Blob
- * Service component.
+ * Service (Legacy) component.
*/
public interface AdvancedBlobServiceEndpointProducerBuilder
extends
@@ -951,7 +951,8 @@ public interface BlobServiceEndpointBuilderFactory {
}
/**
- * Builder for endpoint for the Azure Storage Blob Service component.
+ * Builder for endpoint for the Azure Storage Blob Service (Legacy)
+ * component.
*/
public interface BlobServiceEndpointBuilder
extends
@@ -1196,7 +1197,7 @@ public interface BlobServiceEndpointBuilderFactory {
}
/**
- * Advanced builder for endpoint for the Azure Storage Blob Service
+ * Advanced builder for endpoint for the Azure Storage Blob Service (Legacy)
* component.
*/
public interface AdvancedBlobServiceEndpointBuilder
@@ -1298,7 +1299,7 @@ public interface BlobServiceEndpointBuilderFactory {
public interface BlobServiceBuilders {
/**
- * Azure Storage Blob Service (camel-azure)
+ * Azure Storage Blob Service (Legacy) (camel-azure)
* The azure-blob component is used for storing and retrieving blobs
* from Azure Storage Blob Service.
*
@@ -1316,7 +1317,7 @@ public interface BlobServiceEndpointBuilderFactory {
}
}
/**
- * Azure Storage Blob Service (camel-azure)
+ * Azure Storage Blob Service (Legacy) (camel-azure)
* The azure-blob component is used for storing and retrieving blobs from
* Azure Storage Blob Service.
*