[ 
https://issues.apache.org/jira/browse/IGNITE-29341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolay Izhikov updated IGNITE-29341:
-------------------------------------
    Description: 
Backward compatibility (X -> Y): old scripts must run on the new version.
One test run: X < Y.

h3. Scenario
# Build a JSON with names, types and mandatory arguments of the commands for a 
node of version X.
# Build the same JSON for a node of version Y (X < Y).
# Check that no incompatible changes were made to the format.

h3. Incompatible changes
* A new mandatory argument without a default value.
* A removed argument.
* An argument type changed to an incompatible one. Widening is allowed, for 
example {{int -> long}}.

h3. Coverage requirement
The test must not rely on a manually maintained list of commands. It must 
gather all commands and their arguments automatically from 
{{IgniteCommandRegistry}}, so a new command or argument is covered by the test 
as soon as it is added.

  was:
Backward compatibility (X -> Y): old scripts must run on the new version.
One test run: X < Y.

h3. Scenario
# Build a JSON with names, types and mandatory arguments of the commands for a 
node of version X.
# Build the same JSON for a node of version Y (X < Y).
# Check that no incompatible changes were made to the format.

h3. Incompatible changes
* A new mandatory argument without a default value.
* A removed argument.
* An argument type changed to an incompatible one. Widening is allowed, for 
example {{int -> long}}.


> Backward compatibility test for the management command format
> -------------------------------------------------------------
>
>                 Key: IGNITE-29341
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29341
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Nikolay Izhikov
>            Priority: Major
>
> Backward compatibility (X -> Y): old scripts must run on the new version.
> One test run: X < Y.
> h3. Scenario
> # Build a JSON with names, types and mandatory arguments of the commands for 
> a node of version X.
> # Build the same JSON for a node of version Y (X < Y).
> # Check that no incompatible changes were made to the format.
> h3. Incompatible changes
> * A new mandatory argument without a default value.
> * A removed argument.
> * An argument type changed to an incompatible one. Widening is allowed, for 
> example {{int -> long}}.
> h3. Coverage requirement
> The test must not rely on a manually maintained list of commands. It must 
> gather all commands and their arguments automatically from 
> {{IgniteCommandRegistry}}, so a new command or argument is covered by the 
> test as soon as it is added.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to