On Saturday 07 August 2004 18:18, Niclas Hedhman wrote: > Gang, > > I was a bit tired of the Http Facility so I moved on to looking at a > Console facility. The idea is to allow for a telnet interface into Merlin's > internals, so that we can do stuff like; > > * Hot-deploy of blocks. > * Reloading of containers with new classes > * Check security settings. > * Restart Merlin remotely. > * Remote troubleshooting
IMO you should split telnet/ssh facility from console shell. One should be able to run the shell from command line (without having remote connection). And it would be great to be able to link a facility (telnet/ssh, http or IM) to the shell. > And what else we may come up with. > > Currently though, I have only implemented > > * List which threads are running. > * Traversal of the model > * List children in a 'node' of the model (like 'dir') > * Print out the entire structure under a node. > * Plus 'login', 'dummy', 'echo' and 'help' > This can either be deployed as a normal facility, or inside the Kernel root > container, which allows any part of the application container to be fully > manipulated. > > > The code so far exists in planet/facilities/console, and the interesting > stuff is in the commands/ project. > If you want to try, check out the code, and go to > planet/facilities/console, and run; > ant > then start merlin; > merlin > blocks/default/target/deliverables/blocks/avalon-console-default-SNAPSHOT.b >lock > > Login into it via > telnet localhost 3333 > > and the password is > yabadabadoo This remind me that we should (maybe I'm completly offtopic) think about having user management/JAAS service to manage user authentification ? :) I'm going to play with it right now ;) -- Al --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]