You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "ricardozanini (via GitHub)" <gi...@apache.org> on 2025/04/08 13:02:43 UTC

[I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

ricardozanini opened a new issue, #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920

   Users must set static configuration options in their Quarkus apps to call OpenAPI REST services. For example:
   
   ```properties
   quarkus.rest-client.openapi_yaml.url=http://server1
   quarkus.openapi-generator.openapi_yaml.auth.basic.username=alice
   quarkus.openapi-generator.openapi_yaml.auth.basic.password=${SECRET}
   ```
   
   Therefore, it's hard for workflow developers to set this data easily from the workflow definition, e.g., using jq or data manipulation context.
   
   This feature is to add the ability to pass this information dynamically to the underlying layers so that users won't have to rely only on static configuration, giving more flexibility when designing workflows. 


-- 
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: commits-unsubscribe@kie.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ydayagi (via GitHub)" <gi...@apache.org>.
ydayagi commented on issue #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920#issuecomment-2976661402

   > [@ydayagi](https://github.com/ydayagi) the extension now supports the `@Url` annotation: https://quarkus.io/guides/rest-client#dynamic-base-urls
   > 
   > Meaning that one of the parameters of each Rest API generated has a URL. So you can send the URL based on any conditionals to the generated API.
   > 
   > For the security portion, one can add a custom CredentialProvider. I suggest connecting to Gabriel Farache since he's currently working on a feature for this.
   
   ok. thanks. so that means that the feature is not yet implemented in OSL


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920#issuecomment-2966752966

   @ydayagi, this issue has three sub-tasks with PRs related to them already completed. `kogito-runtimes` does not have any commits related to it because it's unnecessary. Probably need to bump to a version where quarkus-openapi-generator supports this feature.


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ydayagi (via GitHub)" <gi...@apache.org>.
ydayagi commented on issue #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920#issuecomment-2965684807

   @ricardozanini @fjtirado i see this issue is closed but I do not see any commit to https://github.com/apache/incubator-kie-kogito-runtimes. what am I missing?


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920#issuecomment-2976630659

   @ydayagi the extension now supports the `@Url` annotation: https://quarkus.io/guides/rest-client#dynamic-base-urls
   
   Meaning that one of the parameters of each Rest API generated has a URL. So you can send the URL based on any conditionals to the generated API.
   
   For the security portion, one can add a custom CredentialProvider. I suggest connecting to Gabriel Farache since he's currently working on a feature for this.


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ydayagi (via GitHub)" <gi...@apache.org>.
ydayagi commented on issue #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920#issuecomment-2973617279

   @ricardozanini can u provide an example of using this new feature?


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini closed issue #1920: [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions
URL: https://github.com/apache/incubator-kie-issues/issues/1920


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [SonataFlow] - Support Dynamic URL and Security configurations when calling OpenAPI functions [incubator-kie-issues]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #1920:
URL: https://github.com/apache/incubator-kie-issues/issues/1920#issuecomment-2813544890

   All sub-issues have been resolved, closing.


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org