@Mojo(name="run") public class RunMojo extends AbstractFunctionMojo
AbstractAzureMojo.DefaultUncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private static org.apache.maven.artifact.versioning.ComparableVersion |
FUNC_3 |
protected static String |
FUNC_CMD |
protected static String |
FUNC_HOST_START_CMD |
private static String |
FUNC_HOST_START_WITH_DEBUG_CMD |
private static String |
FUNC_VERSION_CMD |
private static String |
FUNCTION_CORE_TOOLS_OUT_OF_DATE |
private static org.apache.maven.artifact.versioning.ComparableVersion |
JAVA_9 |
protected String |
localDebugConfig
Config String for local debug
|
private static org.apache.maven.artifact.versioning.ComparableVersion |
MINIMUM_JAVA_9_SUPPORTED_VERSION |
private static org.apache.maven.artifact.versioning.ComparableVersion |
MINIMUM_JAVA_9_SUPPORTED_VERSION_V2 |
protected static String |
RUN_FUNCTIONS_FAILURE |
private static String |
RUNTIME_FOUND |
protected static String |
RUNTIME_NOT_FOUND |
private static String |
STAGE_DIR_FOUND |
private static String |
STAGE_DIR_NOT_FOUND |
appInsightsInstance, appInsightsKey, disableAppInsights, finalName, outputDirectory, pricingTier, region, runtime, skipappName, appServicePlanName, appServicePlanResourceGroup, appSettings, deploymentSlotSetting, deploymentType, MAVEN_PLUGIN_POSTFIX, PORTAL_URL_PATTERN, resourceGroupallowTelemetry, auth, AUTH_METHOD, AUTH_TYPE, authentication, authType, AZURE_INIT_FAIL, buildDirectory, failsOnError, FAILURE_REASON, httpProxyHost, httpProxyPort, INIT_FAILURE, INSTALLATION_ID_KEY, mavenResourcesFiltering, plugin, PLUGIN_NAME_KEY, PLUGIN_VERSION_KEY, project, session, SESSION_ID_KEY, settings, settingsDecrypter, SUBSCRIPTION_ID_KEY, subscriptionId, TELEMETRY_NOT_ALLOWED| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkRuntimeCompatibility(com.microsoft.azure.common.function.handlers.CommandHandler handler) |
protected void |
checkRuntimeExistence(com.microsoft.azure.common.function.handlers.CommandHandler handler) |
protected void |
checkStageDirectoryExistence() |
protected void |
doExecute() |
protected String |
getCheckRuntimeCommand() |
String |
getLocalDebugConfig() |
protected String |
getStartFunctionHostCommand() |
protected String |
getStartFunctionHostWithDebugCommand() |
protected void |
runFunctions(com.microsoft.azure.common.function.handlers.CommandHandler handler) |
void |
setLocalDebugConfig(String localDebugConfig) |
getAppInsightsInstance, getAppInsightsKey, getAppSettingsWithDefaultValue, getFinalName, getFunctionApp, getFunctionExtensionVersion, getPricingTier, getRegion, getRuntime, getTelemetryProperties, isDisableAppInsights, isSkipMojogetAppName, getAppServicePlanName, getAppServicePlanResourceGroup, getAppSettings, getDeploymentSlotSetting, getDeploymentStagingDirectoryPath, getDeploymentType, getResourceGroup, getResourcePortalUrl, getResources, setDeploymentSlotexecute, getAuthenticationSetting, getAuthMethod, getAuthTypeEnum, getAzureClient, getAzureClientByAuthType, getAzureTokenWrapper, getBuildDirectoryAbsolutePath, getHttpProxyHost, getHttpProxyPort, getInstallationId, getMavenResourcesFiltering, getPluginName, getPluginVersion, getProject, getSession, getSessionId, getSettings, getSubscriptionId, getTelemetryProxy, getUserAgent, handleException, infoWithMultipleLines, initAuth, initializeAuthConfiguration, initTelemetry, isAuthConfigurationExist, isFailingOnError, isTelemetryAllowed, trackMojoFailure, trackMojoSkip, trackMojoStart, trackMojoSuccessprotected static final String FUNC_CMD
protected static final String FUNC_HOST_START_CMD
protected static final String RUN_FUNCTIONS_FAILURE
protected static final String RUNTIME_NOT_FOUND
private static final String STAGE_DIR_FOUND
private static final String STAGE_DIR_NOT_FOUND
private static final String RUNTIME_FOUND
private static final String FUNC_HOST_START_WITH_DEBUG_CMD
private static final org.apache.maven.artifact.versioning.ComparableVersion JAVA_9
private static final org.apache.maven.artifact.versioning.ComparableVersion FUNC_3
private static final org.apache.maven.artifact.versioning.ComparableVersion MINIMUM_JAVA_9_SUPPORTED_VERSION
private static final org.apache.maven.artifact.versioning.ComparableVersion MINIMUM_JAVA_9_SUPPORTED_VERSION_V2
private static final String FUNC_VERSION_CMD
private static final String FUNCTION_CORE_TOOLS_OUT_OF_DATE
@Parameter(property="localDebugConfig",
defaultValue="transport=dt_socket,server=y,suspend=n,address=5005")
protected String localDebugConfig
public String getLocalDebugConfig()
public void setLocalDebugConfig(String localDebugConfig)
protected void doExecute()
throws com.microsoft.azure.common.exceptions.AzureExecutionException
doExecute in class AbstractAzureMojocom.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected void checkStageDirectoryExistence()
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected void checkRuntimeExistence(com.microsoft.azure.common.function.handlers.CommandHandler handler)
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected void runFunctions(com.microsoft.azure.common.function.handlers.CommandHandler handler)
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprivate void checkRuntimeCompatibility(com.microsoft.azure.common.function.handlers.CommandHandler handler)
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected String getCheckRuntimeCommand()
protected String getStartFunctionHostCommand()
protected String getStartFunctionHostWithDebugCommand()
Copyright © 2020. All rights reserved.