[
https://issues.apache.org/jira/browse/AMBARI-21194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrii Tkach updated AMBARI-21194:
----------------------------------
Description: On the initial load of application subscribe to
/events/requests topic, which will add/update request. When opening task’s
details, if a task is running then client subscribes to /events/tasks/:taskId,
and unsubscribe as soon as the task gets finished. (was: On the initial
application load subscribe to /events/requests topic, which will add/update
request. When opening task’s details, if task is running then client subscribes
to /events/tasks/:taskId, and unsubscribe as soon as task gets finished.)
> Integrate background operations with websocket events
> -----------------------------------------------------
>
> Key: AMBARI-21194
> URL: https://issues.apache.org/jira/browse/AMBARI-21194
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 3.0.0
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Fix For: 3.0.0
>
> Attachments: AMBARI-21194.patch
>
>
> On the initial load of application subscribe to /events/requests topic, which
> will add/update request. When opening task’s details, if a task is running
> then client subscribes to /events/tasks/:taskId, and unsubscribe as soon as
> the task gets finished.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)