You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr (Jira)" <ji...@apache.org> on 2024/10/21 14:28:00 UTC
[jira] [Updated] (IGNITE-23506) Make REST API interfaces syncronous
[ https://issues.apache.org/jira/browse/IGNITE-23506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr updated IGNITE-23506:
-------------------------------
Description: The interfaces we declare in rest-api module are returning almost always CompletableFutures. This is not clear why we do that, because REST is synchronous by its nature. I propose removing completable futures from *Api classes and making these interfaces simpler. If we would like to have async REST in the future, we can always add new interfaces. (was: The interfaces we d)
> Make REST API interfaces syncronous
> ------------------------------------
>
> Key: IGNITE-23506
> URL: https://issues.apache.org/jira/browse/IGNITE-23506
> Project: Ignite
> Issue Type: Improvement
> Components: rest
> Reporter: Aleksandr
> Priority: Major
> Labels: ignite-3
>
> The interfaces we declare in rest-api module are returning almost always CompletableFutures. This is not clear why we do that, because REST is synchronous by its nature. I propose removing completable futures from *Api classes and making these interfaces simpler. If we would like to have async REST in the future, we can always add new interfaces.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)