Class LegacyDeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.aeontronix.enhancedmule.tools.AbstractAnypointMojo
com.aeontronix.enhancedmule.tools.AbstractOrganizationalMojo
com.aeontronix.enhancedmule.tools.AbstractEnvironmentalMojo
com.aeontronix.enhancedmule.tools.LegacyDeployMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DeployMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringApplication nameprotected StringApplication name cloudhub prefixprotected StringApplication nameprotected booleanApplication nameprotected Stringprotected Booleanprotected Stringprotected Stringprotected BooleanCloudhub only: If true custom log4j will be used (and cloudhub logging disabled)protected LongDelay (in milliseconds) in retrying a deploymentprotected LongDeployment timeoutprotected Booleanprotected BooleanEnable monitoring and visualizerprotected booleanIf true, will force deployment even if same already application was already deployed.protected Booleanprotected Stringprotected BooleanSpecified if environment info should be injectedprotected Stringprotected Booleanprotected StringAnypoint target name (Server / Server Group / Cluster).protected Stringprotected Stringprotected Stringprotected BooleanIndicates if existing application properties should be mergedprotected BooleanIndicates the behavior to use when merging conflicting properties.protected StringDeprecated.protected BooleanSet object store v1 instead of v2protected BooleanEnable persistent queuesprotected BooleanEnable encryption for persistent queuesprotected StringCloudhub only: Deployment regionprotected Integerprotected Stringprotected booleanIf true will skip wait for application to start (successfully or not)protected BooleanEnable static ipsprotected RTFDeploymentConfig.DeploymentModelprotected IntegerCloudhub only: Worker count (will default to one if not specified).protected StringCloudhub only: Worker type (will default to smallest if not specified)Fields inherited from class com.aeontronix.enhancedmule.tools.AbstractEnvironmentalMojo
envFields inherited from class com.aeontronix.enhancedmule.tools.AbstractAnypointMojo
ANYPOINT_PASSWORD, ANYPOINT_USERNAME, anypointClient, anypointPlatformUrl, BEARER_TOKEN_PROPERTY, bearerToken, clientId, clientSecret, configProfile, DEFAULT_EMSERVER_URL, EM_CLIENT, EM_CLIENT_ID, EM_CLIENT_SECRET, emClient, enhancedMuleServerUrl, org, password, profile, project, session, settings, usernameFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeMethods inherited from class com.aeontronix.enhancedmule.tools.AbstractEnvironmentalMojo
getEnvironmentMethods inherited from class com.aeontronix.enhancedmule.tools.AbstractOrganizationalMojo
getOrganizationMethods inherited from class com.aeontronix.enhancedmule.tools.AbstractAnypointMojo
doExecute, execute, findPrefixedProperties, findPrefixedProperties, getEmClient, getLegacyClient, getPropertyMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
appNameCHSuffix
Application name -
appNameCHSuffixNPOnly
@Parameter(property="anypoint.deploy.name.chsuffixnponly") protected boolean appNameCHSuffixNPOnlyApplication name -
appNameCHPrefix
Application name cloudhub prefix -
force
@Parameter(property="anypoint.deploy.force") protected boolean forceIf true, will force deployment even if same already application was already deployed. -
skipWait
@Parameter(property="anypoint.deploy.skipwait") protected boolean skipWaitIf true will skip wait for application to start (successfully or not) -
deployTimeout
Deployment timeout -
deployRetryDelay
Delay (in milliseconds) in retrying a deployment -
appName
Application name -
legacyTarget1
Anypoint target name (Server / Server Group / Cluster). If not set will deploy to Cloudhub -
legacyTarget2
-
muleVersionName
@Parameter(name="muleVersionName", property="anypoint.deploy.ch.muleversion", required=false) @Deprecated protected String muleVersionNameDeprecated.Deprecated, use chMuleVersionName -
chMuleVersionName
@Parameter(property="anypoint.deploy.ch.runtime.version", required=false) protected String chMuleVersionName -
region
@Parameter(name="region", property="anypoint.deploy.ch.region", required=false) protected String regionCloudhub only: Deployment region -
workerType
@Parameter(name="workerType", property="anypoint.deploy.ch.worker.type", required=false) protected String workerTypeCloudhub only: Worker type (will default to smallest if not specified) -
workerCount
@Parameter(name="workerCount", property="anypoint.deploy.ch.worker.count") protected Integer workerCountCloudhub only: Worker count (will default to one if not specified). -
customlog4j
@Parameter(name="customlog4j", property="anypoint.deploy.ch.customlog4j") protected Boolean customlog4jCloudhub only: If true custom log4j will be used (and cloudhub logging disabled) -
injectEnvInfo
@Parameter(property="anypoint.deploy.injectEnvInfo", defaultValue="true") protected Boolean injectEnvInfoSpecified if environment info should be injected -
mergeExistingProperties
@Parameter(property="anypoint.deploy.mergeproperties", defaultValue="true") protected Boolean mergeExistingPropertiesIndicates if existing application properties should be merged -
mergeExistingPropertiesOverride
@Parameter(property="anypoint.deploy.mergeproperties.override") protected Boolean mergeExistingPropertiesOverrideIndicates the behavior to use when merging conflicting properties. If true it will override the existing property, or if false it will override it. -
persistentQueues
@Parameter(property="anypoint.deploy.persistentqueue", defaultValue="false") protected Boolean persistentQueuesEnable persistent queues -
persistentQueuesEncrypted
@Parameter(property="anypoint.deploy.persistentqueue.encrypted", defaultValue="false") protected Boolean persistentQueuesEncryptedEnable encryption for persistent queues -
objectStoreV1
@Parameter(property="anypoint.deploy.objectstorev1", defaultValue="false") protected Boolean objectStoreV1Set object store v1 instead of v2 -
extMonitoring
@Parameter(property="anypoint.deploy.extMonitoring", defaultValue="true") protected Boolean extMonitoringEnable monitoring and visualizer -
staticIPs
Enable static ips -
cpuReserved
-
cpuLimit
-
memoryReserved
-
memoryLimit
-
clustered
-
enforceDeployingReplicasAcrossNodes
@Parameter(property="anypoint.deploy.rtf.xnodereplicas") protected Boolean enforceDeployingReplicasAcrossNodes -
httpInboundPublicUrl
@Parameter(property="anypoint.deploy.rtf.http.inbound.publicUrl") protected String httpInboundPublicUrl -
jvmArgs
-
rtfRuntimeVersion
-
lastMileSecurity
-
forwardSslSession
-
updateStrategy
@Parameter(property="anypoint.deploy.rtf.updatestrategy") protected RTFDeploymentConfig.DeploymentModel updateStrategy -
replicas
-
-
Constructor Details
-
LegacyDeployMojo
public LegacyDeployMojo()
-
-
Method Details
-
getDeploymentParametersOverrides
public com.fasterxml.jackson.databind.JsonNode getDeploymentParametersOverrides() throws IOException, ProfileNotFoundException- Throws:
IOExceptionProfileNotFoundException
-