Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
- WHAT
1. can deploy jar file by REST API
2. from feature point , it will cover current 'gfsh deploy'
3. if two files have same file name, the later wins
4. can recognize version pattern. "filename-version[-label].jar" .
filename=[a-zA-Z/-]+, not single "", not end with ""
version=[0-9/.]*, not single ".", not end with "."
label=[a-zA-Z0-9]*
such as:
- <commons-beanutils-1.9.3.jar> is a later version of <commons-beanutils-1.9.2.jar>, will deploy.
- <commons-beanutils-1.9.3.jar> is a same version of <commons-beanutils-1.9.3-SNAPSHOT.jar>, the later wins
- <commons-beanutils-1.9.3-RELEASE.jar> is a same version of <commons-beanutils-1.9.3-SNAPSHOT.jar>, the later wins
- <commons-beanutils-1.9.1.jar> is an earlier version of <commons-beanutils-1.9.2.jar>, will block it.
5. if there is a version part in the file name, we will deploy them without append "#1" part to the file name
6. can accept "group"