[
https://issues.apache.org/jira/browse/SLIDER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484257#comment-14484257
]
thomas liu commented on SLIDER-822:
-----------------------------------
>From INSTALL commands passed from SliderAM(AgentProviderService) to
>SliderAgent, introducing a new field 'package'. If the field is null or empty
>string, the INSTALL command is for master package; if not, the field is the
>name of the package to install. SliderAgent update the new field 'package' in
>ActionQueue.py based on the one in the command.
Likewise, the heartbeat from SliderAgent to SliderAM will have a 'package'
field as well, indicating whether the heartbeat is for master package or add on
package. AgentProviderService.handleHeartbeat() will call
componentInstanceState.applyCommandResult(), in which it receives the package
field and update the package's state
In INSTALL command, there is one existing field 'scriptPath'. In either case of
master package or add on package, it carries the path to the python script in
master/add on package respectively, relative to <pkg root>/package
'configuration' in INSTALL command will carry interpreted appConfig.json from
the master package for both master and add on packages
Other fields in the INSTALL commands remain the same meaning. Commands other
than INSTALL remain the same.
Given today SliderAM doesn't issue CONFIGURE commands to SliderAgent, users can
choose to perform CONFIGURE tasks inside INSTALL. Or they can still define
CONFIGURE command in their python scripts of the add on package and call it
from INSTALL command in the python scripts
> Define new fields in communication between AgentProviderService and
> SliderAgent to indicate multiple addon packages
> -------------------------------------------------------------------------------------------------------------------
>
> Key: SLIDER-822
> URL: https://issues.apache.org/jira/browse/SLIDER-822
> Project: Slider
> Issue Type: Sub-task
> Components: app-package, client
> Reporter: thomas liu
> Fix For: Slider 0.80
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)