[ https://issues.apache.org/jira/browse/IGNITE-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679306#comment-14679306 ]
Sergey Evdokimov commented on IGNITE-1121: ------------------------------------------ Of course agent knows 3 commands only, solution with reflection is not needed, but I wanted to design good solution for abstract remote requests handling. Our REST request handling in Ignite designed wrong and need refactoring. Adding new REST-command requires changes in GridRestProtocol implementations and GridRestProcessor (see GridRestProcessor.authorize(GridRestRequest, SecurityContext)). So Ignite plugins cannot adds new commands or implement new GridRestProtocol. And code like "switch (req.command())" looks ugly. If you are agree I can design REST request handling well. > Implementation of control-center-agent as proxy between web-server and Ignite > cluster > ------------------------------------------------------------------------------------- > > Key: IGNITE-1121 > URL: https://issues.apache.org/jira/browse/IGNITE-1121 > Project: Ignite > Issue Type: Sub-task > Reporter: Sergey Evdokimov > Assignee: Sergey Evdokimov > Fix For: ignite-1.4 > > > We need to implement web-agent that will work like a proxy between web-server > and Ignite cluster to: > 1) collect metrics for grid monitoring > 2) execute sql queries -- This message was sent by Atlassian JIRA (v6.3.4#6332)