You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/10/24 12:17:44 UTC

[jira] Created: (FELIX-793) Improve update and install through web console

Improve update and install through web console
----------------------------------------------

                 Key: FELIX-793
                 URL: https://issues.apache.org/jira/browse/FELIX-793
             Project: Felix
          Issue Type: Improvement
    Affects Versions: webconsole-1.2.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-1.2.2


When updating or installing a bundle with the web console, the bundle is first updated or installed and after a delay of 2 seconds, the Packageadmin.refreshPackages method is called with null to refresh all bundles.

There are two required enhancements:

(1) Only the bundle just installed/updated should be refreshed (if refresh is actually asked for)
(2) If the web console itself is being upgraded, the bundle will not actually be refreshed because the PackageAdmin service cannot be retreived. The reason for this is, that the bundle context used at the time of acquiring the PackageAdmin might be invalid.

To fix (1) the InstallHelper.doRun method is defined to return the bundle installed or updated. This bundle is then given to the PackageAdmin.refreshPackages method to just refresh this single bundle and its dependents.

To (2) the PackageAdmin servicew is retrieved before installing or updating the bundle. (There might be a slight chance that this PackageAdmin object might get invalid, but we pay that price for now)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-793) Improve update and install through web console

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-793.
-----------------------------------

    Resolution: Fixed

Implemented this enhancement in Rev. 707598.

> Improve update and install through web console
> ----------------------------------------------
>
>                 Key: FELIX-793
>                 URL: https://issues.apache.org/jira/browse/FELIX-793
>             Project: Felix
>          Issue Type: Improvement
>    Affects Versions: webconsole-1.2.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.2.2
>
>
> When updating or installing a bundle with the web console, the bundle is first updated or installed and after a delay of 2 seconds, the Packageadmin.refreshPackages method is called with null to refresh all bundles.
> There are two required enhancements:
> (1) Only the bundle just installed/updated should be refreshed (if refresh is actually asked for)
> (2) If the web console itself is being upgraded, the bundle will not actually be refreshed because the PackageAdmin service cannot be retreived. The reason for this is, that the bundle context used at the time of acquiring the PackageAdmin might be invalid.
> To fix (1) the InstallHelper.doRun method is defined to return the bundle installed or updated. This bundle is then given to the PackageAdmin.refreshPackages method to just refresh this single bundle and its dependents.
> To (2) the PackageAdmin servicew is retrieved before installing or updating the bundle. (There might be a slight chance that this PackageAdmin object might get invalid, but we pay that price for now)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-793) Improve update and install through web console

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-793:
------------------------------------

    Component/s: Web Console

> Improve update and install through web console
> ----------------------------------------------
>
>                 Key: FELIX-793
>                 URL: https://issues.apache.org/jira/browse/FELIX-793
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: webconsole-1.2.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.2.2
>
>
> When updating or installing a bundle with the web console, the bundle is first updated or installed and after a delay of 2 seconds, the Packageadmin.refreshPackages method is called with null to refresh all bundles.
> There are two required enhancements:
> (1) Only the bundle just installed/updated should be refreshed (if refresh is actually asked for)
> (2) If the web console itself is being upgraded, the bundle will not actually be refreshed because the PackageAdmin service cannot be retreived. The reason for this is, that the bundle context used at the time of acquiring the PackageAdmin might be invalid.
> To fix (1) the InstallHelper.doRun method is defined to return the bundle installed or updated. This bundle is then given to the PackageAdmin.refreshPackages method to just refresh this single bundle and its dependents.
> To (2) the PackageAdmin servicew is retrieved before installing or updating the bundle. (There might be a slight chance that this PackageAdmin object might get invalid, but we pay that price for now)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (FELIX-793) Improve update and install through web console

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-793 started by Felix Meschberger.

> Improve update and install through web console
> ----------------------------------------------
>
>                 Key: FELIX-793
>                 URL: https://issues.apache.org/jira/browse/FELIX-793
>             Project: Felix
>          Issue Type: Improvement
>    Affects Versions: webconsole-1.2.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.2.2
>
>
> When updating or installing a bundle with the web console, the bundle is first updated or installed and after a delay of 2 seconds, the Packageadmin.refreshPackages method is called with null to refresh all bundles.
> There are two required enhancements:
> (1) Only the bundle just installed/updated should be refreshed (if refresh is actually asked for)
> (2) If the web console itself is being upgraded, the bundle will not actually be refreshed because the PackageAdmin service cannot be retreived. The reason for this is, that the bundle context used at the time of acquiring the PackageAdmin might be invalid.
> To fix (1) the InstallHelper.doRun method is defined to return the bundle installed or updated. This bundle is then given to the PackageAdmin.refreshPackages method to just refresh this single bundle and its dependents.
> To (2) the PackageAdmin servicew is retrieved before installing or updating the bundle. (There might be a slight chance that this PackageAdmin object might get invalid, but we pay that price for now)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.