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 2017/02/23 11:05:44 UTC

[jira] [Commented] (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 commented on FELIX-5562:
----------------------------------------

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
>
> 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/blob/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java#L1646). Please make this synchronous as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)