pefernan commented on code in PR #4151:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4151#discussion_r2622851931


##########
quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment/src/main/java/org/kie/kogito/quarkus/workflow/deployment/config/KogitoWorkflowBuildTimeConfig.java:
##########
@@ -18,24 +18,28 @@
  */
 package org.kie.kogito.quarkus.workflow.deployment.config;
 
-import io.quarkus.runtime.annotations.ConfigItem;
 import io.quarkus.runtime.annotations.ConfigPhase;
 import io.quarkus.runtime.annotations.ConfigRoot;
+import io.smallrye.config.ConfigMapping;
+import io.smallrye.config.WithDefault;
+import io.smallrye.config.WithName;
 
-@ConfigRoot(name = "kogito", phase = ConfigPhase.BUILD_TIME)
-public class KogitoWorkflowBuildTimeConfig {
+@ConfigRoot(phase = ConfigPhase.BUILD_TIME)
+@ConfigMapping(prefix = "kogito")
+public interface KogitoWorkflowBuildTimeConfig {
 
     /**
      * Configuration for DevServices. DevServices allows Quarkus to 
automatically start Data Index in dev and test mode.
      */
-    @ConfigItem
-    public KogitoDevServicesBuildTimeConfig devservices;
+    @WithName("devServices")
+    KogitoDevServicesBuildTimeConfig devservicesConfig();

Review Comment:
   @jstastny-cz true, not comiting this change directly since there's some 
refactor necessary



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to