karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1628) Make client indepenent of console
Date Thu, 05 Jul 2012 14:49:33 GMT
Christian Schneider created KARAF-1628:
------------------------------------------

             Summary: Make client indepenent of console
                 Key: KARAF-1628
                 URL: https://issues.apache.org/jira/browse/KARAF-1628
             Project: Karaf
          Issue Type: Improvement
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 3.0.0


The client module currently depends on the console module but only uses the TerminalFactory
from it and the karaf.key.

So I would like to change the client to only depend on jansi, jline, sshd and mina. The only
question is where to get the karaf.key from.

There are three possible solutions:
1. Create a module for the key. This module could also contain the code to load the key and
setup the agent. Client and console could then depend on this module
2. Put the key in etc e.g. in the file karaf.key. So client and console could simply read
from that location
3. Let e.g. client push the key into a separate file in maven (attach-artifact). So we can
then easily depend on it from client and console.

I prefer solution 1 as it can be extended to completely remove the agent code from console
using org.apache.felix.gogo.api.CommandSessionListener. So the new module could add the agent
to the session easily.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message