[ 
https://issues.apache.org/jira/browse/MESOS-5609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341029#comment-15341029
 ] 

Anand Mazumdar commented on MESOS-5609:
---------------------------------------

{noformat}
commit b60ed386c4dfc8cb594bbc02038645a3e0efe817
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:50:13 2016 -0700

    Added test for task added/update event.

    This change adds a basic test to ensure that a client is able
    to subscribe and receive task added/updated events.

    Review: https://reviews.apache.org/r/48880/

commit e878e16ba54419ae39c7fbcd3466afe1cc42a93a
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:50:07 2016 -0700

    Added logic for subscribing to task added/updated events.

    This change sets the initial scaffolding in place allowing
    a client to subscribe to events via the '/api/vX' endpoint.
    Currently, only two events are supported i.e. `TASK_ADDED`/
    `TASK_UPDATED`.

    Review: https://reviews.apache.org/r/48879/

commit f384ac984f0062f4573a494b6e8db114bf666e55
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:49:59 2016 -0700

    Moved `addTask()` definition to cpp from header.

    This change moves the definition of `addTask()` to cpp.
    This is needed later in the chain as this method needs
    access to the implementation of `Master` that is declared
    later in the header.

    Review: https://reviews.apache.org/r/48974/

commit 3cde2694bd8dee53fb12047deecab56ae0418a2e
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:49:52 2016 -0700

    Moved `HttpConnection` struct before `Master`.

    This would be used later in the chain and makes the diff
    less verbose. This was done because the `Master` would need
    to save a list of `Subscriber`'s that have a dependency on
    `HttpConnection`.

    Review: https://reviews.apache.org/r/48874/

commit cdf648832743afadaa4f78a821e02fef9efc5645
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:49:47 2016 -0700

    Added protobuf helpers for creating task added/updated events.

    This change adds logic for creating `TASK_ADDED`/`TASK_UPDATED`
    events from `Task`. This would be used by the master for sending
    events to a client subscribed to the `api/vX` endpoint.

    Review: https://reviews.apache.org/r/48878/

commit 9d3e01cb43d84673fbebe06d240eeaf3169feb25
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:49:41 2016 -0700

    Added evolve logic for `master::Event` -> `v1::master::Event`.

    Review: https://reviews.apache.org/r/48877/

commit f0d07756e569c7b948c74ab4201370a097d1c91f
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:49:37 2016 -0700

    Added `TASK_ADDED`/`TASK_UPDATED` events to master.proto.

    Review: https://reviews.apache.org/r/48876/

commit c37c6a219e728ec9d55aa3bf5c65e7d257b3e07c
Author: Anand Mazumdar <[email protected]>
Date:   Mon Jun 20 20:49:17 2016 -0700

    Fixed a couple of minor style typos.

    Review: https://reviews.apache.org/r/48875/
{noformat}

> Put initial scaffolding in place for implementing SUBSCRIBE call on v1 Master 
> API.
> ----------------------------------------------------------------------------------
>
>                 Key: MESOS-5609
>                 URL: https://issues.apache.org/jira/browse/MESOS-5609
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Anand Mazumdar
>            Assignee: Anand Mazumdar
>              Labels: mesosphere
>             Fix For: 1.0.0
>
>
> As discussed on MESOS-5498, this ticket is for tracking work to put the 
> initial scaffolding in place for streaming task status update events to a 
> client that has subscribed to the {{api/v1}} Operator API endpoint. Other 
> events/support for snapshots would be done as part of MESOS-5498.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to