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

Alexey Kuznetsov commented on IGNITE-9253:
------------------------------------------

[~roman_s], I think we should not delete "old" variant of commands,

but marked them as "deprecate" by comment or annotation. And remove in Ignite 
3.0.

Otherwise if some one already used this commands via REST will get error.

Actually we can just modify GridRestCommand enum to support more than one "key"

and for example, print warning in node log if "deprecated key"  was used by 
user.

What do you think?

 

 

> Rename activation/deactivation commands for REST API
> ----------------------------------------------------
>
>                 Key: IGNITE-9253
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9253
>             Project: Ignite
>          Issue Type: Task
>          Components: rest
>            Reporter: Roman Shtykh
>            Assignee: Roman Shtykh
>            Priority: Minor
>
> "Active/inactive" don't sound like commands. I propose to rename to 
> "activate/deactivate."
> It will also bring consistency with the cluster control tool commands 
> (control.sh)
> "response":null can be changed to "activate started"/"deactivate started."



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to