karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Costantini <cristiano.costant...@gmail.com>
Subject Re: Start/Stop bundles commands on symbolic name
Date Tue, 17 May 2016 15:08:38 GMT
Yeah,
ok for the Jira Issue

P.S. If you like to give some suggestions/indications on how to do it, I
can try to make it by myself and propose a pull request.





Il giorno mar 17 mag 2016 alle ore 17:06 Jean-Baptiste Onofré <
jb@nanthrax.net> ha scritto:

> Hi Cristiano,
>
> ok, I see your point on the completer now ;)
>
> So, yes, I can implement a completer similar to the one I did in Cellar.
>
> Do you mind to create a Jira about that ?
>
> Regards
> JB
>
> On 05/17/2016 03:36 PM, Cristiano Costantini wrote:
> > Hi JB,
> >
> > yeah you are right, you can use symbolic name also in bundle:* commands.
> > What is cool in cluster:bundle-* commands is the autocompletion for
> > symbolic name...  this is missing on the bundle:* commands. Isn't it?
> >
> > Regards,
> > Cristiano
> >
> > P.S: sorry I didn't reply before!
> >
> >
> >
> >
> > Il giorno gio 5 mag 2016 alle ore 17:25 Jean-Baptiste Onofré <
> > jb@nanthrax.net> ha scritto:
> >
> >> Hi Cristiano,
> >>
> >> it should be already the case (BundleSelector in Karaf).
> >>
> >> Regards
> >> JB
> >>
> >> On 05/05/2016 05:18 PM, Cristiano Costantini wrote:
> >>> Hello all,
> >>>
> >>> in cellar it is possible to start or stop bundles using their symbolic
> >> name:
> >>>
> >>>      karaf@root> cluster:bundle-stop default my-bundle-symbolic-name
> >>>
> >>> and also provide autocompletion for the symbolic name,
> >>> while in normal karaf start and stop work only on bundle ID.
> >>>
> >>>      karaf@root> list -s | grep my-bundle
> >>>      123 | Active   |  80 | 1.0.0.SNAPSHOT  | my-bundle-symbolic-name
> >>>      karaf@root> bundle:stop 123
> >>>
> >>> is it possible to extend the basic commands to use the symbolic name as
> >> in
> >>> cellar?
> >>> would it be hard?
> >>>
> >>> Bye,
> >>> Cristiano
> >>>
> >>
> >> --
> >> Jean-Baptiste Onofré
> >> jbonofre@apache.org
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message