singhpk234 commented on code in PR #1371:
URL: https://github.com/apache/polaris/pull/1371#discussion_r2060513196


##########
quarkus/service/src/main/java/org/apache/polaris/service/quarkus/config/QuarkusProducers.java:
##########
@@ -261,4 +266,13 @@ public ActiveRolesProvider activeRolesProvider(
   public void closeTaskExecutor(@Disposes @Identifier("task-executor") 
ManagedExecutor executor) {
     executor.close();
   }
+
+  @Produces
+  public List<DataSource> dataSources(@All List<InstanceHandle<DataSource>> 
dataSources) {
+    List<DataSource> dataSourceList = new ArrayList<>();
+    for (InstanceHandle<DataSource> handle : dataSources) {
+      dataSourceList.add(handle.get());
+    }
+    return dataSourceList;

Review Comment:
   Here you go : https://github.com/apache/polaris/issues/1463



-- 
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: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to