This is an automated email from the ASF dual-hosted git repository.
acosentino 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 87c00a9 Regen for commit 1ed8eed9d3dc3f604394eb6ecf5fc1616fecc747
87c00a9 is described below
commit 87c00a95e5266b62f780a36504183b2f85d982c6
Author: davsclaus <[email protected]>
AuthorDate: Mon Nov 23 16:38:41 2020 +0000
Regen for commit 1ed8eed9d3dc3f604394eb6ecf5fc1616fecc747
Signed-off-by: GitHub <[email protected]>
---
.../org/apache/camel/catalog/components/graphql.json | 1 +
.../org/apache/camel/catalog/docs/graphql-component.adoc | 3 ++-
.../camel/component/graphql/GraphqlEndpointConfigurer.java | 6 ++++++
.../camel/component/graphql/GraphqlEndpointUriFactory.java | 3 ++-
.../org/apache/camel/component/graphql/graphql.json | 1 +
.../camel-graphql/src/main/docs/graphql-component.adoc | 4 ++--
.../builder/endpoint/dsl/GraphqlEndpointBuilderFactory.java | 13 +++++++++++++
docs/components/modules/ROOT/pages/graphql-component.adoc | 3 ++-
8 files changed, 29 insertions(+), 5 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/graphql.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/graphql.json
index 79e23b2..9f9d81b 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/graphql.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/graphql.json
@@ -35,6 +35,7 @@
"variables": { "kind": "parameter", "displayName": "Variables", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.util.json.JsonObject", "deprecated": false, "autowired":
false, "secret": false, "description": "The JsonObject instance containing the
operation variables." },
"synchronous": { "kind": "parameter", "displayName": "Synchronous",
"group": "advanced", "label": "advanced", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Sets whether synchronous
processing should be strictly used, or Camel is allowed to use asynchronous
processing (if supported)." },
"accessToken": { "kind": "parameter", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "The access token sent in the Authorization
header." },
+ "jwtAuthorizationType": { "kind": "parameter", "displayName": "Jwt
Authorization Type", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "Bearer", "description":
"The JWT Authorization type. Default is Bearer." },
"password": { "kind": "parameter", "displayName": "Password", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "The password for Basic authentication." },
"username": { "kind": "parameter", "displayName": "Username", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "The username for Basic authentication." }
}
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/graphql-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/graphql-component.adoc
index 61e383b..8a32a98 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/graphql-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/graphql-component.adoc
@@ -48,7 +48,7 @@ with the following path and query parameters:
|===
-=== Query Parameters (10 parameters):
+=== Query Parameters (11 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
@@ -62,6 +62,7 @@ with the following path and query parameters:
| *variables* (producer) | The JsonObject instance containing the operation
variables. | | JsonObject
| *synchronous* (advanced) | Sets whether synchronous processing should be
strictly used, or Camel is allowed to use asynchronous processing (if
supported). | false | boolean
| *accessToken* (security) | The access token sent in the Authorization
header. | | String
+| *jwtAuthorizationType* (security) | The JWT Authorization type. Default is
Bearer. | Bearer | String
| *password* (security) | The password for Basic authentication. | | String
| *username* (security) | The username for Basic authentication. | | String
|===
diff --git
a/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointConfigurer.java
b/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointConfigurer.java
index 93865b6..43c66fe 100644
---
a/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointConfigurer.java
+++
b/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointConfigurer.java
@@ -23,6 +23,8 @@ public class GraphqlEndpointConfigurer extends
PropertyConfigurerSupport impleme
switch (ignoreCase ? name.toLowerCase() : name) {
case "accesstoken":
case "accessToken": target.setAccessToken(property(camelContext,
java.lang.String.class, value)); return true;
+ case "jwtauthorizationtype":
+ case "jwtAuthorizationType":
target.setJwtAuthorizationType(property(camelContext, java.lang.String.class,
value)); return true;
case "lazystartproducer":
case "lazyStartProducer":
target.setLazyStartProducer(property(camelContext, boolean.class, value));
return true;
case "operationname":
@@ -45,6 +47,8 @@ public class GraphqlEndpointConfigurer extends
PropertyConfigurerSupport impleme
switch (ignoreCase ? name.toLowerCase() : name) {
case "accesstoken":
case "accessToken": return java.lang.String.class;
+ case "jwtauthorizationtype":
+ case "jwtAuthorizationType": return java.lang.String.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "operationname":
@@ -68,6 +72,8 @@ public class GraphqlEndpointConfigurer extends
PropertyConfigurerSupport impleme
switch (ignoreCase ? name.toLowerCase() : name) {
case "accesstoken":
case "accessToken": return target.getAccessToken();
+ case "jwtauthorizationtype":
+ case "jwtAuthorizationType": return target.getJwtAuthorizationType();
case "lazystartproducer":
case "lazyStartProducer": return target.isLazyStartProducer();
case "operationname":
diff --git
a/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointUriFactory.java
b/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointUriFactory.java
index e044f54..ece88f2 100644
---
a/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointUriFactory.java
+++
b/components/camel-graphql/src/generated/java/org/apache/camel/component/graphql/GraphqlEndpointUriFactory.java
@@ -20,11 +20,12 @@ public class GraphqlEndpointUriFactory extends
org.apache.camel.support.componen
private static final Set<String> PROPERTY_NAMES;
private static final Set<String> SECRET_PROPERTY_NAMES;
static {
- Set<String> props = new HashSet<>(11);
+ Set<String> props = new HashSet<>(12);
props.add("lazyStartProducer");
props.add("queryFile");
props.add("variables");
props.add("password");
+ props.add("jwtAuthorizationType");
props.add("httpUri");
props.add("synchronous");
props.add("query");
diff --git
a/components/camel-graphql/src/generated/resources/org/apache/camel/component/graphql/graphql.json
b/components/camel-graphql/src/generated/resources/org/apache/camel/component/graphql/graphql.json
index 79e23b2..9f9d81b 100644
---
a/components/camel-graphql/src/generated/resources/org/apache/camel/component/graphql/graphql.json
+++
b/components/camel-graphql/src/generated/resources/org/apache/camel/component/graphql/graphql.json
@@ -35,6 +35,7 @@
"variables": { "kind": "parameter", "displayName": "Variables", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.util.json.JsonObject", "deprecated": false, "autowired":
false, "secret": false, "description": "The JsonObject instance containing the
operation variables." },
"synchronous": { "kind": "parameter", "displayName": "Synchronous",
"group": "advanced", "label": "advanced", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Sets whether synchronous
processing should be strictly used, or Camel is allowed to use asynchronous
processing (if supported)." },
"accessToken": { "kind": "parameter", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "The access token sent in the Authorization
header." },
+ "jwtAuthorizationType": { "kind": "parameter", "displayName": "Jwt
Authorization Type", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "Bearer", "description":
"The JWT Authorization type. Default is Bearer." },
"password": { "kind": "parameter", "displayName": "Password", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "The password for Basic authentication." },
"username": { "kind": "parameter", "displayName": "Username", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "The username for Basic authentication." }
}
diff --git a/components/camel-graphql/src/main/docs/graphql-component.adoc
b/components/camel-graphql/src/main/docs/graphql-component.adoc
index 2263665..8a32a98 100644
--- a/components/camel-graphql/src/main/docs/graphql-component.adoc
+++ b/components/camel-graphql/src/main/docs/graphql-component.adoc
@@ -48,7 +48,7 @@ with the following path and query parameters:
|===
-=== Query Parameters (10 parameters):
+=== Query Parameters (11 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
@@ -62,7 +62,7 @@ with the following path and query parameters:
| *variables* (producer) | The JsonObject instance containing the operation
variables. | | JsonObject
| *synchronous* (advanced) | Sets whether synchronous processing should be
strictly used, or Camel is allowed to use asynchronous processing (if
supported). | false | boolean
| *accessToken* (security) | The access token sent in the Authorization
header. | | String
-| *jwtAuthorizationType* | The access token type sent in the Authorization
header. Defaults to Bearer | | String
+| *jwtAuthorizationType* (security) | The JWT Authorization type. Default is
Bearer. | Bearer | String
| *password* (security) | The password for Basic authentication. | | String
| *username* (security) | The username for Basic authentication. | | String
|===
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GraphqlEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GraphqlEndpointBuilderFactory.java
index bc8c34b..0369103 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GraphqlEndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GraphqlEndpointBuilderFactory.java
@@ -159,6 +159,19 @@ public interface GraphqlEndpointBuilderFactory {
return this;
}
/**
+ * The JWT Authorization type. Default is Bearer.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Default: Bearer
+ * Group: security
+ */
+ default GraphqlEndpointBuilder jwtAuthorizationType(
+ String jwtAuthorizationType) {
+ doSetProperty("jwtAuthorizationType", jwtAuthorizationType);
+ return this;
+ }
+ /**
* The password for Basic authentication.
*
* The option is a: <code>java.lang.String</code> type.
diff --git a/docs/components/modules/ROOT/pages/graphql-component.adoc
b/docs/components/modules/ROOT/pages/graphql-component.adoc
index d369d30..d90873f 100644
--- a/docs/components/modules/ROOT/pages/graphql-component.adoc
+++ b/docs/components/modules/ROOT/pages/graphql-component.adoc
@@ -50,7 +50,7 @@ with the following path and query parameters:
|===
-=== Query Parameters (10 parameters):
+=== Query Parameters (11 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
@@ -64,6 +64,7 @@ with the following path and query parameters:
| *variables* (producer) | The JsonObject instance containing the operation
variables. | | JsonObject
| *synchronous* (advanced) | Sets whether synchronous processing should be
strictly used, or Camel is allowed to use asynchronous processing (if
supported). | false | boolean
| *accessToken* (security) | The access token sent in the Authorization
header. | | String
+| *jwtAuthorizationType* (security) | The JWT Authorization type. Default is
Bearer. | Bearer | String
| *password* (security) | The password for Basic authentication. | | String
| *username* (security) | The username for Basic authentication. | | String
|===