This is an automated email from the ASF dual-hosted git repository.

jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 5ccc91c9c35423e7465dece6fbac0a6036b37c13
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Thu Jul 13 17:13:54 2023 +0200

    Fixed twitter + generated stuff.
---
 .../src/generated/resources/org/apache/camel/component/qute/qute.json   | 2 +-
 .../camel/quarkus/component/twitter/deployment/TwitterProcessor.java    | 2 +-
 .../java/org/apache/camel/quarkus/component/twitter/CamelResource.java  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json
 
b/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json
index 21cef72912..653cb4fcb8 100644
--- 
a/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json
+++ 
b/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json
@@ -28,7 +28,7 @@
     "quteEngine": { "index": 3, "kind": "property", "displayName": "Qute 
Engine", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "io.quarkus.qute.Engine", "deprecated": false, 
"autowired": false, "secret": false, "description": "To use the Engine 
otherwise a new engine is created" }
   },
   "properties": {
-    "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource 
Uri", "group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Path to the resource. You 
can prefix with: classpath, file, http, ref, or bean. classpath, file and http 
loads the resource using these protocols (classpath is default). ref will 
lookup the resource in the registr [...]
+    "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource 
Uri", "group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "supportFileReference": true, 
"description": "Path to the resource. You can prefix with: classpath, file, 
http, ref, or bean. classpath, file and http loads the resource using these 
protocols (classpath is default). ref will look [...]
     "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": 
"Allow Context Map All", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Sets whether the 
context map should allow access to all details. By default only the message 
body and headers can be accessed. This option can be enabled for full access to 
the current Exchange and C [...]
     "allowTemplateFromHeader": { "index": 2, "kind": "parameter", 
"displayName": "Allow Template From Header", "group": "producer", "label": "", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Whether to allow to use resource template from header or not 
(default false). Enabling this allows to specify dynamic templates via message 
header. However this can be seen as a potential s [...]
     "contentCache": { "index": 3, "kind": "parameter", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Sets whether to use resource 
content cache or not" },
diff --git 
a/extensions/twitter/deployment/src/main/java/org/apache/camel/quarkus/component/twitter/deployment/TwitterProcessor.java
 
b/extensions/twitter/deployment/src/main/java/org/apache/camel/quarkus/component/twitter/deployment/TwitterProcessor.java
index 60a5d06614..7e1e9348ba 100644
--- 
a/extensions/twitter/deployment/src/main/java/org/apache/camel/quarkus/component/twitter/deployment/TwitterProcessor.java
+++ 
b/extensions/twitter/deployment/src/main/java/org/apache/camel/quarkus/component/twitter/deployment/TwitterProcessor.java
@@ -25,7 +25,7 @@ import io.quarkus.deployment.builditem.FeatureBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import 
io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
 import org.apache.camel.component.twitter.AbstractTwitterComponent;
-import twitter4j.auth.OAuthAuthorization;
+import twitter4j.OAuthAuthorization;
 
 class TwitterProcessor {
     private static final String FEATURE = "camel-twitter";
diff --git 
a/integration-tests/twitter/src/main/java/org/apache/camel/quarkus/component/twitter/CamelResource.java
 
b/integration-tests/twitter/src/main/java/org/apache/camel/quarkus/component/twitter/CamelResource.java
index 466e4877d9..4a906c9b61 100644
--- 
a/integration-tests/twitter/src/main/java/org/apache/camel/quarkus/component/twitter/CamelResource.java
+++ 
b/integration-tests/twitter/src/main/java/org/apache/camel/quarkus/component/twitter/CamelResource.java
@@ -34,7 +34,7 @@ import org.apache.camel.ConsumerTemplate;
 import org.apache.camel.ProducerTemplate;
 import org.eclipse.microprofile.config.inject.ConfigProperty;
 import org.jboss.logging.Logger;
-import twitter4j.Status;
+import twitter4j.v1.Status;
 
 @Path("/twitter")
 @ApplicationScoped

Reply via email to