You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2017/08/14 09:25:49 UTC

camel git commit: camel-bigquery: add initial version to endpoint annotations

Repository: camel
Updated Branches:
  refs/heads/master fd7d46b2d -> 1c47a8893


camel-bigquery: add initial version to endpoint annotations


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1c47a889
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1c47a889
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1c47a889

Branch: refs/heads/master
Commit: 1c47a8893677785e7a3df65b3927511cb1e53426
Parents: fd7d46b
Author: lburgazzoli <lb...@gmail.com>
Authored: Mon Aug 14 11:25:33 2017 +0200
Committer: lburgazzoli <lb...@gmail.com>
Committed: Mon Aug 14 11:25:33 2017 +0200

----------------------------------------------------------------------
 .../camel/component/google/bigquery/GoogleBigQueryEndpoint.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1c47a889/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java b/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
index 49d630c..2121446 100644
--- a/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
+++ b/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
@@ -40,7 +40,7 @@ import org.apache.camel.spi.UriParam;
  * Another consideration is that exceptions are not handled within the class. They are expected to bubble up and be handled
  * by Camel.
  */
-@UriEndpoint(scheme = "bigquery", title = "BigQuery", syntax = "bigquery:projectId:datasetId[:tableName]", label = "messaging")
+@UriEndpoint(firstVersion = "2.20.0", scheme = "bigquery", title = "BigQuery", syntax = "bigquery:projectId:datasetId[:tableName]", label = "messaging")
 public class GoogleBigQueryEndpoint extends DefaultEndpoint {
     @UriParam
     protected final GoogleBigQueryConfiguration configuration;


Re: camel git commit: camel-bigquery: add initial version to endpoint annotations

Posted by Claus Ibsen <cl...@gmail.com>.
The syntax in the uri endpoint annotation is wrong. You cannot use []
etc to donate something is optional. All that is determined by setting
the actual field as required or not. So it should be

bigquery:projectId:datasetId:tableName

On Mon, Aug 14, 2017 at 11:25 AM,  <lb...@apache.org> wrote:
> Repository: camel
> Updated Branches:
>   refs/heads/master fd7d46b2d -> 1c47a8893
>
>
> camel-bigquery: add initial version to endpoint annotations
>
>
> Project: http://git-wip-us.apache.org/repos/asf/camel/repo
> Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1c47a889
> Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1c47a889
> Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1c47a889
>
> Branch: refs/heads/master
> Commit: 1c47a8893677785e7a3df65b3927511cb1e53426
> Parents: fd7d46b
> Author: lburgazzoli <lb...@gmail.com>
> Authored: Mon Aug 14 11:25:33 2017 +0200
> Committer: lburgazzoli <lb...@gmail.com>
> Committed: Mon Aug 14 11:25:33 2017 +0200
>
> ----------------------------------------------------------------------
>  .../camel/component/google/bigquery/GoogleBigQueryEndpoint.java    | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/camel/blob/1c47a889/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
> ----------------------------------------------------------------------
> diff --git a/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java b/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
> index 49d630c..2121446 100644
> --- a/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
> +++ b/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryEndpoint.java
> @@ -40,7 +40,7 @@ import org.apache.camel.spi.UriParam;
>   * Another consideration is that exceptions are not handled within the class. They are expected to bubble up and be handled
>   * by Camel.
>   */
> -@UriEndpoint(scheme = "bigquery", title = "BigQuery", syntax = "bigquery:projectId:datasetId[:tableName]", label = "messaging")
> +@UriEndpoint(firstVersion = "2.20.0", scheme = "bigquery", title = "BigQuery", syntax = "bigquery:projectId:datasetId[:tableName]", label = "messaging")
>  public class GoogleBigQueryEndpoint extends DefaultEndpoint {
>      @UriParam
>      protected final GoogleBigQueryConfiguration configuration;
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2