[jira] [Comment Edited] (MESOS-5489) Implement GET_STATE Call in v1 master API.

2016-07-05 Thread Anand Mazumdar (JIRA)

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

Anand Mazumdar edited comment on MESOS-5489 at 7/6/16 5:57 AM:
---

{noformat}
commit 3038809e38a3b8598e3c33c0e66d9db4552f0d29
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:56 2016 -0700

Implemented 'GetState' call in v1 master API.

Also created a helper function `_getState()` that will be used
for snapshot of event stream when a client subscribes.

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

commit 532f66a3a9c98bdb2259091851707cb9e42da0ea
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:53 2016 -0700

Refactored 'Master::Http::getExecutors()' into helper function.

This helper function will be reused by `GetExecutors` and `GetState`.

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

commit 3a988e2eac02f8f5590e1adced40d10b5360cabe
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:50 2016 -0700

Revised protobuf definition of 'GetState' response.

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

commit dc73420f920d948f63e8abddf37d3136969c2c88
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:46 2016 -0700

Refactored 'master::Http::getFrameworks()' to helper function.

This helper function will be reused by `GET_FRAMEWORKS` and
`GET_STATE` calls.

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

commit 2517ce8f4ebf419589b9298b183149d221d9aecc
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:43 2016 -0700

Refactored 'Master::Http::getAgents()' into helper function.

This helper function will be reused by both `GET_AGENTS`
and `GET_STATE` calls.

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

commit a3182645e01cf9240008f3b84c1142a552600954
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:39 2016 -0700

Refactored 'Master::Http::getTasks()' into helper function.

This helper function will be also be reused for `GetState`.

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


was (Author: anandmazumdar):
{noformat}
commit 3038809e38a3b8598e3c33c0e66d9db4552f0d29
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:56 2016 -0700

Implemented 'GetState' call in v1 master API.

Also created a helper function `_getState()` that will be used
for snapshot of event stream when a client subscribes.

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

commit 532f66a3a9c98bdb2259091851707cb9e42da0ea
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:53 2016 -0700

Refactored 'Master::Http::getExecutors()' into helper function.

This helper function will be reused by `GetExecutors` and `GetState`.

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

commit 3a988e2eac02f8f5590e1adced40d10b5360cabe
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:50 2016 -0700

Revised protobuf definition of 'GetState' response.

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

commit dc73420f920d948f63e8abddf37d3136969c2c88
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:46 2016 -0700

Refactored 'master::Http::getFrameworks()' to helper function.

This helper function will be reused by `GET_FRAMEWORKS` and
`GET_STATE` calls.

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

commit 2517ce8f4ebf419589b9298b183149d221d9aecc
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:43 2016 -0700

Refactored 'Master::Http::getAgents()' into helper function.

This helper function will be reused by both `GET_AGENTS`
and `GET_STATE` calls.

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

commit a3182645e01cf9240008f3b84c1142a552600954
Author: Zhitao Li 
Date:   Tue Jul 5 21:25:39 2016 -0700

Refactored 'Master::Http::getTasks()' into helper function.

This helper function will be also be reused for `GetState`.

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

> Implement GET_STATE Call in v1 master API.
> --
>
> Key: MESOS-5489
> URL: https://issues.apache.org/jira/browse/MESOS-5489
> Project: Mesos
>  Issue Type: Task
>Reporter: Vinod Kone
>Assignee: Zhitao Li
> Fix For: 1.0.0
>
>




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


[jira] [Comment Edited] (MESOS-5489) Implement GET_STATE Call in v1 master API.

2016-06-15 Thread Zhitao Li (JIRA)

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

Zhitao Li edited comment on MESOS-5489 at 6/15/16 8:56 PM:
---

[~vi...@twitter.com], as side effect of initial snapshot for Subscribe, I've 
pretty much got this done. If you don't mind, can you assign it to me and 
change to reviewable? Thanks.


was (Author: zhitao):
[~vi...@twitter.com], as side effect of initial snapshot for Subscribe, I've 
pretty much got this done. I'll claim this ticket and mark it as reviewable, if 
you don't mind :)

> Implement GET_STATE Call in v1 master API.
> --
>
> Key: MESOS-5489
> URL: https://issues.apache.org/jira/browse/MESOS-5489
> Project: Mesos
>  Issue Type: Task
>Reporter: Vinod Kone
>Assignee: Vinod Kone
>




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