@Mojo(name="run") public class RunMojo extends AbstractFunctionMojo
AbstractAzureMojo.DefaultUncaughtExceptionHandler, AbstractAzureMojo.RunnableWithException| 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, skip, TRIGGER_TYPEappName, appServicePlanName, appServicePlanResourceGroup, appSettings, deploymentSlotSetting, deploymentType, MAVEN_PLUGIN_POSTFIX, PORTAL_URL_PATTERN, resourceGroupallowTelemetry, auth, authentication, authType, buildDirectory, DEPLOY, failsOnError, httpProxyHost, httpProxyPort, INSTALLATION_ID_KEY, mavenResourcesFiltering, plugin, PLUGIN_NAME_KEY, PLUGIN_VERSION_KEY, project, session, SESSION_ID_KEY, settings, settingsDecrypter, SUBSCRIPTION_ID_KEY, SUBSCRIPTION_NOT_FOUND, SUBSCRIPTION_NOT_SPECIFIED, SUBSCRIPTION_TEMPLATE, subscriptionId, USING_AZURE_ENVIRONMENT| 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, getFinalName, getFunctionApp, getPricingTier, getRegion, getRuntime, getTelemetryProperties, isDisableAppInsights, isSkipMojo, validateAppNamegetAppName, getAppServicePlanName, getAppServicePlanResourceGroup, getAppSettings, getDeploymentSlotSetting, getDeploymentStagingDirectoryPath, getDeploymentType, getPortalUrl, getResourceGroup, getResourcePortalUrl, getResources, setDeploymentSlotexecute, executeWithTimeRecorder, getAuthenticationSetting, getAuthMethod, getAuthType, getAzureClient, getAzureCredentialWrapper, getBuildDirectoryAbsolutePath, getHttpProxyHost, getHttpProxyPort, getInstallationId, getMavenResourcesFiltering, getOrCreateAzureClient, getPluginName, getPluginVersion, getProject, getSession, getSessionId, getSettings, getSubscriptionId, getTelemetryProxy, getUserAgent, handleException, highlightDefaultValue, infoWithMultipleLines, initTelemetry, isAuthConfigurationExist, isFailingOnError, isTelemetryAllowed, printCurrentSubscription, selectSubscription, 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 © 2021. All rights reserved.