You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/08/23 14:54:21 UTC

[jira] [Commented] (KARAF-4468) Reintroduce install and uninstall flag on FeaturesServiceImpl addRepository() and removeRepository() methods

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

Jean-Baptiste Onofré commented on KARAF-4468:
---------------------------------------------

I think I already did it (I'm checking).

> Reintroduce install and uninstall flag on FeaturesServiceImpl addRepository() and removeRepository() methods
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-4468
>                 URL: https://issues.apache.org/jira/browse/KARAF-4468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.0.M1, 4.0.0.M2, 4.0.0.M3, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.6
>
>
> It could be considered as a regression as it works before but no more in Karaf 4.x:
> {code}
> public void addRepository(URI uri, boolean install) throws Exception {
> if (install) {
> // TODO: implement
> throw new UnsupportedOperationException();
> }
> ...
> {code}
> The same happens for removeRepository where the uninstall flag is simply ignored.
> Due to the introduction of the Features resolver in Karaf 4, we changed the implementation of these methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)