JiriOndrusek commented on code in PR #7452:
URL: https://github.com/apache/camel-quarkus/pull/7452#discussion_r2156536731


##########
extensions/azure-storage-datalake/deployment/src/main/java/org/apache/camel/quarkus/component/azure/storage/datalake/deployment/AzureStorageDatalakeProcessor.java:
##########
@@ -54,10 +55,20 @@ ExtensionSslNativeSupportBuildItem 
activateSslNativeSupport() {
     ReflectiveClassBuildItem registerForReflection(CombinedIndexBuildItem 
combinedIndex) {
         IndexView index = combinedIndex.getIndex();
 
-        List<String> dtos = new LinkedList<>(index.getKnownClasses().stream()
+        LinkedHashSet<String> dtos = new 
LinkedHashSet<>(index.getKnownClasses().stream()
                 .map(ci -> ci.name().toString())
                 .filter(n -> 
n.startsWith("com.azure.storage.file.datalake.implementation.models"))
-                .collect(Collectors.toList()));
+                .toList());
+
+        
dtos.addAll(index.getAllKnownImplementations(HttpResponseException.class).stream()
+                .map(ci -> ci.name().toString())
+                .toList());
+        
dtos.addAll(index.getAllKnownImplementations(JsonSerializable.class).stream()
+                .map(ci -> ci.name().toString())
+                .toList());
+        
dtos.addAll(index.getAllKnownImplementations(XmlSerializable.class).stream()
+                .map(ci -> ci.name().toString())
+                .toList());

Review Comment:
   moved



##########
integration-test-groups/azure/azure-storage-datalake/src/main/java/org/apache/camel/quarkus/component/azure/storage/datalake/it/AzureStorageDatalakeResource.java:
##########
@@ -169,11 +178,66 @@ public String consumer(@PathParam("filesystem") String 
filesystem,
                 10000, String.class);
     }
 
+    @Path("/route/{route}/filesystem/{filesystem}")
+    @POST
+    @Produces(MediaType.APPLICATION_JSON)
+    public Object consumer(@PathParam("route") String routeName,
+            @PathParam("filesystem") String filesystem,
+            @QueryParam("useOutputStream") boolean useOutputStream,
+            Map<String, Object> headers) throws Exception {
+
+        ByteArrayOutputStream inMemoryStream = new ByteArrayOutputStream();
+
+        Map<String, Object> _headers = new HashMap();
+        if (headers != null) {
+            _headers.putAll(headers);
+
+        }
+        _headers.put("filesystemName", filesystem);
+        _headers.put("accountName", azureStorageAccountName.get());
+
+        System.out.println(_headers);

Review Comment:
   removed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to