[jira] [Comment Edited] (MESOS-5735) Update WebUI to use v1 operator API
[ https://issues.apache.org/jira/browse/MESOS-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15476137#comment-15476137 ] Jay Guo edited comment on MESOS-5735 at 9/9/16 6:58 AM: JSONP won't work anyway since we moved from {{GET}} to {{POST}} in HTTP API. {{CORS}} imposes security risks and may be only suitable for dev purposes. Hence, we are thinking to have proxies in master that relays requests/responds between WebUI and agents, so resources will always come from single domain from WebUI point of view. was (Author: guoger): JSONP won't work anyway since we moved from `GET` to `POST` in HTTP API. `CORS` imposes security risks and may be only suitable for dev purposes. Hence, we are thinking to have proxies in master that relays requests/responds between WebUI and agents, so resources will always come from single domain from WebUI point of view. > Update WebUI to use v1 operator API > --- > > Key: MESOS-5735 > URL: https://issues.apache.org/jira/browse/MESOS-5735 > Project: Mesos > Issue Type: Bug >Reporter: Vinod Kone >Assignee: Jay Guo > > Having the WebUI use the v1 API would be a good validation of it's usefulness > and correctness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (MESOS-5735) Update WebUI to use v1 operator API
[ https://issues.apache.org/jira/browse/MESOS-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15475960#comment-15475960 ] Yan Xu edited comment on MESOS-5735 at 9/9/16 5:22 AM: --- Could you elaborate on "in master to proxy the requests to every agent"? Just a reminder that ultimately we'd like to replace JSONP (with CORS?). This is tracked by MESOS-5918 which resulted from the discussion in MESOS-5911 (in which [~anandmazumdar] pointed out its implication on the webUI work as well). Do we want to take this on before we address MESOS-5918? Are we able to address this without incurring too much tech debt? was (Author: xujyan): Could you elaborate on "in master to proxy the requests to every agent"? Just a reminder that ultimately we'd like to replace JSONP (with CORS?). This is tracked by MESOS-5911 which resulted from the discussion in MESOS-5918 (in which [~anandmazumdar] pointed out its implication on the webUI work as well). Do we want to take this on before we address MESOS-5911? Are we able to address this without incurring too much tech debt? > Update WebUI to use v1 operator API > --- > > Key: MESOS-5735 > URL: https://issues.apache.org/jira/browse/MESOS-5735 > Project: Mesos > Issue Type: Bug >Reporter: Vinod Kone >Assignee: Jay Guo > > Having the WebUI use the v1 API would be a good validation of it's usefulness > and correctness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (MESOS-5735) Update WebUI to use v1 operator API
[ https://issues.apache.org/jira/browse/MESOS-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15355498#comment-15355498 ] haosdent edited comment on MESOS-5735 at 6/29/16 5:14 PM: -- [~dongdong] {{/monitor/statistics}} is still used in {{AgentCtrl}}. When you open http://MASTER_HOST/#/slaves/SLAVE_ID, you should see the {{/monitor/statistics}} request. was (Author: haosd...@gmail.com): [~dongdong] {{/monitor/statistics}} is still used in {{AgentCtrl}}. When you open {{http://${MASTER_HOST}/#/slaves/${SLAVE_ID}}}, you should see the {{/monitor/statistics}} request. > Update WebUI to use v1 operator API > --- > > Key: MESOS-5735 > URL: https://issues.apache.org/jira/browse/MESOS-5735 > Project: Mesos > Issue Type: Bug >Reporter: Vinod Kone >Assignee: zhou xing > > Having the WebUI use the v1 API would be a good validation of it's usefulness > and correctness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)