451 lines
16 KiB
JSON
451 lines
16 KiB
JSON
{
|
|
"component": {
|
|
"kind": "component",
|
|
"name": "graphql",
|
|
"title": "GraphQL",
|
|
"description": "Send GraphQL queries and mutations to external systems.",
|
|
"deprecated": false,
|
|
"firstVersion": "1.0.0",
|
|
"label": "api",
|
|
"javaType": "org.apache.camel.component.graphql.GraphqlComponent",
|
|
"supportLevel": "Stable",
|
|
"nativeSupported": true,
|
|
"metadata": {
|
|
"quarkusVersion": "3.36.0",
|
|
"camelArtifact": "org.apache.camel:camel-graphql",
|
|
"camelVersion": "4.20.0"
|
|
},
|
|
"groupId": "org.apache.camel.quarkus",
|
|
"artifactId": "camel-quarkus-graphql",
|
|
"version": "4.20.0 (CEQ 3.36.0)",
|
|
"scheme": "graphql",
|
|
"extendsScheme": "",
|
|
"syntax": "graphql:httpUri",
|
|
"async": false,
|
|
"api": false,
|
|
"consumerOnly": false,
|
|
"producerOnly": true,
|
|
"lenientProperties": true,
|
|
"browsable": false,
|
|
"remote": true
|
|
},
|
|
"componentProperties": {
|
|
"lazyStartProducer": {
|
|
"index": 0,
|
|
"kind": "property",
|
|
"displayName": "Lazy Start Producer",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
|
},
|
|
"throwExceptionOnFailure": {
|
|
"index": 1,
|
|
"kind": "property",
|
|
"displayName": "Throw Exception On Failure",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Option to disable throwing the HttpOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardless of the HTTP status code."
|
|
},
|
|
"autowiredEnabled": {
|
|
"index": 2,
|
|
"kind": "property",
|
|
"displayName": "Autowired Enabled",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."
|
|
},
|
|
"httpClient": {
|
|
"index": 3,
|
|
"kind": "property",
|
|
"displayName": "Http Client",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "org.apache.hc.client5.http.classic.HttpClient",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "To use a custom pre-existing Http Client. Beware that when using this, then other configurations such as proxy, access token, is not applied and all this must be pre-configured on the Http Client."
|
|
},
|
|
"headerFilterStrategy": {
|
|
"index": 4,
|
|
"kind": "property",
|
|
"displayName": "Header Filter Strategy",
|
|
"group": "filter",
|
|
"label": "filter",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "org.apache.camel.spi.HeaderFilterStrategy",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message."
|
|
}
|
|
},
|
|
"properties": {
|
|
"httpUri": {
|
|
"index": 0,
|
|
"kind": "path",
|
|
"displayName": "Http Uri",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "string",
|
|
"javaType": "java.net.URI",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The GraphQL server URI."
|
|
},
|
|
"headerFilterStrategy": {
|
|
"index": 1,
|
|
"kind": "parameter",
|
|
"displayName": "Header Filter Strategy",
|
|
"group": "common (advanced)",
|
|
"label": "common,advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "org.apache.camel.spi.HeaderFilterStrategy",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "To use a custom HeaderFilterStrategy to filter header to and from Camel message."
|
|
},
|
|
"operationName": {
|
|
"index": 2,
|
|
"kind": "parameter",
|
|
"displayName": "Operation Name",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The query or mutation name."
|
|
},
|
|
"proxyHost": {
|
|
"index": 3,
|
|
"kind": "parameter",
|
|
"displayName": "Proxy Host",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The proxy host in the format hostname:port."
|
|
},
|
|
"query": {
|
|
"index": 4,
|
|
"kind": "parameter",
|
|
"displayName": "Query",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The query text."
|
|
},
|
|
"queryFile": {
|
|
"index": 5,
|
|
"kind": "parameter",
|
|
"displayName": "Query File",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The query file name located in the classpath (or use file: to load from file system)."
|
|
},
|
|
"queryHeader": {
|
|
"index": 6,
|
|
"kind": "parameter",
|
|
"displayName": "Query Header",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The name of a header containing the GraphQL query."
|
|
},
|
|
"throwExceptionOnFailure": {
|
|
"index": 7,
|
|
"kind": "parameter",
|
|
"displayName": "Throw Exception On Failure",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Option to disable throwing the HttpOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardless of the HTTP status code."
|
|
},
|
|
"variables": {
|
|
"index": 8,
|
|
"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."
|
|
},
|
|
"variablesHeader": {
|
|
"index": 9,
|
|
"kind": "parameter",
|
|
"displayName": "Variables Header",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The name of a header containing a JsonObject instance containing the operation variables."
|
|
},
|
|
"lazyStartProducer": {
|
|
"index": 10,
|
|
"kind": "parameter",
|
|
"displayName": "Lazy Start Producer",
|
|
"group": "producer (advanced)",
|
|
"label": "producer,advanced",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
|
},
|
|
"httpClient": {
|
|
"index": 11,
|
|
"kind": "parameter",
|
|
"displayName": "Http Client",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "org.apache.hc.client5.http.classic.HttpClient",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "To use a custom pre-existing Http Client. Beware that when using this, then other configurations such as proxy, access token, is not applied and all this must be pre-configured on the Http Client."
|
|
},
|
|
"accessToken": {
|
|
"index": 12,
|
|
"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": {
|
|
"index": 13,
|
|
"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": {
|
|
"index": 14,
|
|
"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": {
|
|
"index": 15,
|
|
"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."
|
|
}
|
|
},
|
|
"propertiesSchema": {
|
|
"properties": {
|
|
"httpUri": {
|
|
"title": "Http Uri",
|
|
"description": "The GraphQL server URI.",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"headerFilterStrategy": {
|
|
"title": "Header Filter Strategy",
|
|
"description": "To use a custom HeaderFilterStrategy to filter header to and from Camel message.",
|
|
"type": "string",
|
|
"$comment": "group:common (advanced)",
|
|
"format": "bean:org.apache.camel.spi.HeaderFilterStrategy"
|
|
},
|
|
"operationName": {
|
|
"title": "Operation Name",
|
|
"description": "The query or mutation name.",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"proxyHost": {
|
|
"title": "Proxy Host",
|
|
"description": "The proxy host in the format hostname:port.",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"query": {
|
|
"title": "Query",
|
|
"description": "The query text.",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"queryFile": {
|
|
"title": "Query File",
|
|
"description": "The query file name located in the classpath (or use file: to load from file system).",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"queryHeader": {
|
|
"title": "Query Header",
|
|
"description": "The name of a header containing the GraphQL query.",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"throwExceptionOnFailure": {
|
|
"title": "Throw Exception On Failure",
|
|
"description": "Option to disable throwing the HttpOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardless of the HTTP status code.",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": true
|
|
},
|
|
"variables": {
|
|
"title": "Variables",
|
|
"description": "The JsonObject instance containing the operation variables.",
|
|
"type": "string",
|
|
"$comment": "group:producer",
|
|
"format": "bean:org.apache.camel.util.json.JsonObject"
|
|
},
|
|
"variablesHeader": {
|
|
"title": "Variables Header",
|
|
"description": "The name of a header containing a JsonObject instance containing the operation variables.",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"lazyStartProducer": {
|
|
"title": "Lazy Start Producer",
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
|
|
"type": "boolean",
|
|
"$comment": "group:producer (advanced)",
|
|
"default": false
|
|
},
|
|
"httpClient": {
|
|
"title": "Http Client",
|
|
"description": "To use a custom pre-existing Http Client. Beware that when using this, then other configurations such as proxy, access token, is not applied and all this must be pre-configured on the Http Client.",
|
|
"type": "string",
|
|
"$comment": "group:advanced",
|
|
"format": "bean:org.apache.hc.client5.http.classic.HttpClient"
|
|
},
|
|
"accessToken": {
|
|
"title": "Access Token",
|
|
"description": "The access token sent in the Authorization header.",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
},
|
|
"jwtAuthorizationType": {
|
|
"title": "Jwt Authorization Type",
|
|
"description": "The JWT Authorization type. Default is Bearer.",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"default": "Bearer"
|
|
},
|
|
"password": {
|
|
"title": "Password",
|
|
"description": "The password for Basic authentication.",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
},
|
|
"username": {
|
|
"title": "Username",
|
|
"description": "The username for Basic authentication.",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [
|
|
"httpUri"
|
|
]
|
|
}
|
|
} |