[ https://issues.apache.org/jira/browse/SLIDER-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429567#comment-15429567 ]
fengyongshe commented on SLIDER-664: ------------------------------------ I have attached a new version patch for the problem > Add support for custom commands through the agent > ------------------------------------------------- > > Key: SLIDER-664 > URL: https://issues.apache.org/jira/browse/SLIDER-664 > Project: Slider > Issue Type: Improvement > Components: agent, agent-provider, app-package > Affects Versions: Slider 0.60 > Reporter: Sumit Mohanty > Assignee: fengyongshe > Priority: Critical > Attachments: SLIDER-664-add-support-for-custom-commands-1.patch > > > Slider application package allows defining of arbitrary commands. However, > there is no way to execute these arbitrary commands using the Slider command > line. A basic approach can be as follows: > * App developer defines a custom command say "COMMAND" and a python function > is mapped to this command in the same way as "START" or "INSTALL". > * Using Slider-Agent the command can be issued against specific containers > identified by the container id > * While issuing commands, optional properties (name-value pairs) may be > provided > * Once command is issued a command id is returned that can be used to > retrieve the command result > * Command execution or the result is not persisted by Slider - so it is a > best effort execution -- This message was sent by Atlassian JIRA (v6.3.4#6332)