You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/01/19 08:49:59 UTC

[jira] Created: (FELIX-888) JSON information and actions for a bundle should be possible with symbolic name

JSON information and actions for a bundle should be possible with symbolic name
-------------------------------------------------------------------------------

                 Key: FELIX-888
                 URL: https://issues.apache.org/jira/browse/FELIX-888
             Project: Felix
          Issue Type: Improvement
          Components: Web Console
    Affects Versions: webconsole-1.2.2
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: webconsole-1.2.4


Currently, json requests and actions send to the web console require the bundle id. Usually this id is not known to clients, therefore it would be convenient to be
able to perform these requests with the symbolic name and version.
I suggest to use urls like /{symbolic-name}[:{version}].json - if the version is omitted, the first bundle with the symbolic name is used.

The main reason for this enhancement is to be able to query information about a bundle via json and to be able to uninstall a bundle through a request.
These features will be used by the Sling maven-sling-plugin.

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


[jira] Closed: (FELIX-888) JSON information and actions for a bundle should be possible with symbolic name

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

Carsten Ziegeler closed FELIX-888.
----------------------------------

    Resolution: Fixed

Added support for {symbolic-name}[:{version}] in the url which can be used instead of the bundle id to get information of a bundle as json, or perform an action on this bundle. The pattern is evaluated for POST and GET requests.
I also removed the unused BundleAction abstract class.
Fixed in revision 735636.

> JSON information and actions for a bundle should be possible with symbolic name
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-888
>                 URL: https://issues.apache.org/jira/browse/FELIX-888
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: webconsole-1.2.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: webconsole-1.2.4
>
>
> Currently, json requests and actions send to the web console require the bundle id. Usually this id is not known to clients, therefore it would be convenient to be
> able to perform these requests with the symbolic name and version.
> I suggest to use urls like /{symbolic-name}[:{version}].json - if the version is omitted, the first bundle with the symbolic name is used.
> The main reason for this enhancement is to be able to query information about a bundle via json and to be able to uninstall a bundle through a request.
> These features will be used by the Sling maven-sling-plugin.

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