felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5562) Web Console RESTful API still does not wait for the "install" action
Date Thu, 23 Feb 2017 11:05:44 GMT

    [ 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

View raw message