]
Pedro Ruivo updated ISPN-11624:
-------------------------------
Git Pull Request:
Server patching tool
--------------------
Key: ISPN-11624
URL:
https://issues.redhat.com/browse/ISPN-11624
Project: Infinispan
Issue Type: Feature Request
Components: CLI, Server
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Priority: Major
Labels: supportability
Fix For: 10.1.7.Final, 11.0.0.Dev05
Add patching commands to the CLI:
* *patch create* to create patch archives (zips)
* *patch ls* to list the patches applied to a server
* *patch describe* to describe the contents of a patch archive
* *patch install* to install a patch on a server
* *patch rollback* to roll back the server to the previous patch
The patch zip should contain all the artifacts to upgrade from any number of source
versions to a target version and a series of json patch descriptor with instructions (ADD,
REMOVE, REPLACE, UPGRADE) on how to apply those artifacts. Take into account files which
can be modified by users (e.g. infinispan.xml) and in case of differences create them with
a different filename (e.g infinispan.xml-11.0.1.Final)
The installation process will back up any artifacts that will be
replaced/upgraded/removed so that they can be rolled back.