[jira] [Commented] (MESOS-2497) Create synchronous validations for Calls

2015-08-13 Thread Benjamin Mahler (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14695769#comment-14695769
 ] 

Benjamin Mahler commented on MESOS-2497:


Proper validation of the 'Accept' header and a bug fix:

{noformat}
commit 61f71f05ad2a7e9205565437b3243aa84072bf84
Author: Isabel Jimenez cont...@isabeljimenez.com
Date:   Thu Aug 13 10:37:19 2015 -0700

Updated /scheduler endopint to use Request::acceptsMediaType.

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

{noformat}
commit b3c18d6d6179ac34be89545dc3b8a9333c91ebb7
Author: Benjamin Mahler benjamin.mah...@gmail.com
Date:   Thu Aug 13 11:43:06 2015 -0700

Ensure the Content-Type is set for the streaming scheduler endpoint.
{noformat}

 Create synchronous validations for Calls
 

 Key: MESOS-2497
 URL: https://issues.apache.org/jira/browse/MESOS-2497
 Project: Mesos
  Issue Type: Bug
Reporter: Isabel Jimenez
Assignee: Isabel Jimenez
  Labels: HTTP, mesosphere

 /call endpoint will return a 202 accepted code but has to do some basic 
 validations before. In case of invalidation it will return a 4xx code. We 
 have to create a mechanism that will validate the 'request' and send back the 
 appropriate code.



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


[jira] [Commented] (MESOS-2497) Create synchronous validations for Calls

2015-08-12 Thread Isabel Jimenez (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14693963#comment-14693963
 ] 

Isabel Jimenez commented on MESOS-2497:
---

https://reviews.apache.org/r/37403/
https://reviews.apache.org/r/37405/

 Create synchronous validations for Calls
 

 Key: MESOS-2497
 URL: https://issues.apache.org/jira/browse/MESOS-2497
 Project: Mesos
  Issue Type: Bug
Reporter: Isabel Jimenez
Assignee: Isabel Jimenez
  Labels: HTTP, mesosphere

 /call endpoint will return a 202 accepted code but has to do some basic 
 validations before. In case of invalidation it will return a 4xx code. We 
 have to create a mechanism that will validate the 'request' and send back the 
 appropriate code.



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


[jira] [Commented] (MESOS-2497) Create synchronous validations for Calls

2015-08-07 Thread Vinod Kone (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14662664#comment-14662664
 ] 

Vinod Kone commented on MESOS-2497:
---

What's left here?

 Create synchronous validations for Calls
 

 Key: MESOS-2497
 URL: https://issues.apache.org/jira/browse/MESOS-2497
 Project: Mesos
  Issue Type: Bug
Reporter: Isabel Jimenez
Assignee: Isabel Jimenez
  Labels: HTTP, mesosphere

 /call endpoint will return a 202 accepted code but has to do some basic 
 validations before. In case of invalidation it will return a 4xx code. We 
 have to create a mechanism that will validate the 'request' and send back the 
 appropriate code.



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


[jira] [Commented] (MESOS-2497) Create synchronous validations for Calls

2015-08-07 Thread Isabel Jimenez (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14662668#comment-14662668
 ] 

Isabel Jimenez commented on MESOS-2497:
---

It's left to add http standard validations once : 
https://reviews.apache.org/r/36402/ and the dependent patches get merged.
You can see comments of https://reviews.apache.org/r/36037/.

 Create synchronous validations for Calls
 

 Key: MESOS-2497
 URL: https://issues.apache.org/jira/browse/MESOS-2497
 Project: Mesos
  Issue Type: Bug
Reporter: Isabel Jimenez
Assignee: Isabel Jimenez
  Labels: HTTP, mesosphere

 /call endpoint will return a 202 accepted code but has to do some basic 
 validations before. In case of invalidation it will return a 4xx code. We 
 have to create a mechanism that will validate the 'request' and send back the 
 appropriate code.



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


[jira] [Commented] (MESOS-2497) Create synchronous validations for Calls

2015-07-29 Thread Benjamin Mahler (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14646727#comment-14646727
 ] 

Benjamin Mahler commented on MESOS-2497:


The following pulls out the call validation logic:

{noformat}
commit d5cc1a606ca65821447daef378ee45e0da02864b
Author: Benjamin Mahler benjamin.mah...@gmail.com
Date:   Wed Jul 29 12:22:10 2015 -0700

Pulled out call validation.

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

 Create synchronous validations for Calls
 

 Key: MESOS-2497
 URL: https://issues.apache.org/jira/browse/MESOS-2497
 Project: Mesos
  Issue Type: Bug
Reporter: Isabel Jimenez
Assignee: Isabel Jimenez
  Labels: HTTP, mesosphere

 /call endpoint will return a 202 accepted code but has to do some basic 
 validations before. In case of invalidation it will return a 4xx code. We 
 have to create a mechanism that will validate the 'request' and send back the 
 appropriate code.



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