Deploy
Full name
com.jlupin:jlupin-platform-maven-plugin:1.6.0.0:deploy
Description
Deploys microservice zip file to platform and starts/restarts uploaded microservice.
Attributes
- Requires a Maven project to be executed.
Parameters
General connection parameters
Name |
Type |
Default |
Property |
Since |
Description |
serverAddress |
java.lang.String |
127.0.0.1 |
jlupin.connection.serverAddress |
1.6.0.2 |
JLupin Platform address. |
transmissionPort |
java.lang.Integer |
9096 |
jlupin.connection.transmissionPort |
1.6.0.2 |
JLupin Platform transmission port. |
connectionTimeout |
java.lang.Integer |
1000 |
jlupin.connection.connectionTimeout |
1.6.0.2 |
Max connecting time. |
readTimeout |
java.lang.Integer |
900000 |
jlupin.connection.readTimeout |
1.6.0.2 |
Max read time. |
isSSL |
java.lang.Boolean |
true |
jlupin.connection.isSSL |
1.6.0.2 |
Flag to determine if use SSL connection to server. |
clientX509Certificate |
java.io.File |
none |
jlupin.connection.clientX509Certificate |
1.6.0.2 |
Path to client X509 certificate file. If not set default JLupin client certificate is used (embeded in plugin). |
clientRSAPKCS8EncodedPrivateKey |
java.io.File |
none |
jlupin.connection.clientRSAPKCS8EncodedPrivateKey |
1.6.0.2 |
Path to client RSA PKCS #8 encoded private key. If not set default JLupin client private key is used (embeded in plugin). |
serverX509Certificate |
java.io.File |
none |
jlupin.connection.serverX509Certificate |
1.6.0.2 |
Path to server X509 certificate file. If not set default JLupin server certificate is used (embeded in plugin). |
Upload parameters
Name |
Type |
Default |
Property |
Since |
Description |
inputDirectory |
java.io.File |
${project.build.directory} |
jlupin.upload.input.directory |
1.6.0.2 |
Directory with input file. |
inputFileName |
java.lang.String |
${project.name}-${project.version}.zip |
jlupin.upload.input.fileName |
1.6.0.2 |
Name of input file. |
microserviceName |
java.lang.String |
${project.name} |
jlupin.upload.microserviceName |
1.6.0.2 |
Name of microservice being uploaded. |
Parameters
Name |
Type |
Default |
Property |
Since |
Description |
restartType |
com.jlupin.next.server.maven.plugin.mojo.DeployMojo.RestartType |
TERMINATE_START |
jlupin.deploy.restartType |
1.6.0.2 |
Type of restart, possible values are: TERMINATE_START , STOP_START , RESTART . |
skip |
boolean |
false |
jlupin.deploy.skip |
1.6.0.2 |
Flag to determine if skip deploying. |