You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/05/07 14:08:45 UTC
[jira] Created: (SMX4KNL-33) Enhance admin shell to provide
commands to start / stop / list / connect to known ServiceMix instances
Enhance admin shell to provide commands to start / stop / list / connect to known ServiceMix instances
-------------------------------------------------------------------------------------------------------
Key: SMX4KNL-33
URL: https://issues.apache.org/activemq/browse/SMX4KNL-33
Project: ServiceMix Kernel
Issue Type: New Feature
Reporter: Guillaume Nodet
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMX4KNL-33) Enhance admin shell to provide
commands to start / stop / list / connect to known ServiceMix instances
Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jamie Goodyear updated SMX4KNL-33:
----------------------------------
Attachment: smx44knl-33-ListCommand.zip
Patch includes updates to support List command in Admin shell.
Diff file includes changes to CreateCommand.java, gshell-commands.xml, and gshell-osgi.xml. Two additional files are included; InstanceManager.java and ListCommand.java.
The two new files belong in the following locations:
gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/InstanceManager.java
gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/ListCommand.java
Overview:
When a new smx instance is created via the 'admin create' command shell the servicemix.instances file will be updated to include a reference. When the List command is issued the contents of the servicemix instance file is displayed. Access to the servicemix instance file is managed by the InstanceManager class.
> Enhance admin shell to provide commands to start / stop / list / connect to known ServiceMix instances
> -------------------------------------------------------------------------------------------------------
>
> Key: SMX4KNL-33
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-33
> Project: ServiceMix Kernel
> Issue Type: New Feature
> Reporter: Guillaume Nodet
> Fix For: 1.1
>
> Attachments: smx44knl-33-ListCommand.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMX4KNL-33) Enhance admin shell to provide
commands to start / stop / list / connect to known ServiceMix instances
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SMX4KNL-33.
------------------------------------
Assignee: Guillaume Nodet
Resolution: Fixed
Now the admin shell has the following commands:
* create
* start
* stop
* change-port
* list
* destroy
A list of instances and their pids is persisted.
Remaining things to do:
* add a location property on the instance: currently it works well if you give a simple name (like 'master' or 'slave') and the instance is created in a subdirectory of ${servicemix.home}, but it would be better to formalize the name and add a location argument to the create instance (which would default to ${servicemix.home}/[name]). This would allow moving instances if needed and would ease the creation of instances in another directory (all commands use the name of the instance which is actually the location)
* do more testing on different platforms
Sending gshell/gshell-admin/pom.xml
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/Process.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/ProcessBuilder.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/ProcessBuilderFactory.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/impl
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/impl/ProcessBuilderFactoryImpl.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/impl/ProcessBuilderImpl.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/impl/ProcessImpl.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/impl/ScriptUtils.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/AdminService.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/AdminServiceMBean.java
Deleting gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/CreateCommand.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/Instance.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/AdminServiceImpl.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/AdminServiceMBeanImpl.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/InstanceImpl.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/AdminCommandSupport.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ChangePortCommand.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/CreateCommand.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/DestroyCommand.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/ListCommand.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/StartCommand.java
Adding gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/commands/StopCommand.java
Sending gshell/gshell-admin/src/main/resources/META-INF/spring/gshell-admin.xml
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl/unix
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl/unix/start.sh
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl/windows
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl/windows/destroy.vbs
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl/windows/running.vbs
Adding gshell/gshell-admin/src/main/resources/org/apache/servicemix/jpm/impl/windows/start.vbs
Transmitting file data ..........................
Committed revision 698872.
> Enhance admin shell to provide commands to start / stop / list / connect to known ServiceMix instances
> -------------------------------------------------------------------------------------------------------
>
> Key: SMX4KNL-33
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-33
> Project: ServiceMix Kernel
> Issue Type: New Feature
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: 1.1.0
>
> Attachments: smx44knl-33-ListCommand.zip
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMX4KNL-33) Enhance admin shell to provide
commands to start / stop / list / connect to known ServiceMix instances
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4KNL-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SMX4KNL-33:
-----------------------------------
Fix Version/s: 1.1
> Enhance admin shell to provide commands to start / stop / list / connect to known ServiceMix instances
> -------------------------------------------------------------------------------------------------------
>
> Key: SMX4KNL-33
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-33
> Project: ServiceMix Kernel
> Issue Type: New Feature
> Reporter: Guillaume Nodet
> Fix For: 1.1
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.