You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/11/23 13:56:00 UTC

[jira] [Comment Edited] (FELIX-5562) Web Console RESTful API still does not wait for the "install" action

    [ https://issues.apache.org/jira/browse/FELIX-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880261#comment-15880261 ] 

Konrad Windszus edited comment on FELIX-5562 at 11/23/22 1:55 PM:
------------------------------------------------------------------

It would be nice to fix the documentation afterwards: https://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html#_post_requests. This still incorrectly states
bq. Since some bundle operations take place asynchronously a short delay of 800ms is inserted before preparing and sending the response.


was (Author: kwin):
It would be nice to fix the documentation afterwards: http://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html#bundles-plugin. This still incorrectly states
bq. Since some bundle operations take place asynchronously a short delay of 800ms is inserted before preparing and sending the response.

> Web Console RESTful API still does not wait for the "install" action
> --------------------------------------------------------------------
>
>                 Key: FELIX-5562
>                 URL: https://issues.apache.org/jira/browse/FELIX-5562
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.3.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Although the fix committed for FELIX-4734 was supposed to make all operations being executed synchronously it is not the case for "install". This means that after the installation of a new bundle, it is not immediately available. Rather the installation/update is started in a background thread (https://github.com/apache/felix-dev/blob/d55c61712b2bc6ceaa554d1cf99609990355aa4f/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java#L1691-L1702). Please make this synchronous as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)