| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
DISABLE_APP_INSIGHTS_KEY |
"disableAppInsights" |
private static final String |
FUNCTION_DEPLOY_TO_SLOT_KEY |
"isDeployToFunctionSlot" |
private static final String |
FUNCTION_IS_DOCKER_KEY |
"isDockerFunction" |
private static final String |
FUNCTION_JAVA_VERSION_KEY |
"functionJavaVersion" |
private static final String |
FUNCTION_PRICING_KEY |
"pricingTier" |
private static final String |
FUNCTION_REGION_KEY |
"region" |
private static final String |
FUNCTION_RUNTIME_KEY |
"os" |
protected static final String |
TRIGGER_TYPE |
"triggerType" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
DEFAULT_INPUT_ERROR_MESSAGE |
"Invalid input, please check and try again." |
private static final String |
FILE_EXIST |
"Function already exists at %s. Please specify a different function name." |
private static final String |
FIND_TEMPLATE |
"Step 2 of 4: Select function template" |
private static final String |
FIND_TEMPLATE_DONE |
"Successfully found function template: " |
private static final String |
FIND_TEMPLATE_FAIL |
"Function template not found: " |
private static final String |
FOUND_VALID_VALUE |
"Found valid value. Skip user input." |
private static final String |
FUNCTION_NAME_REGEXP |
"^[a-zA-Z][a-zA-Z\\d_\\-]*$" |
private static final String |
LOAD_TEMPLATES |
"Step 1 of 4: Load all function templates" |
private static final String |
LOAD_TEMPLATES_DONE |
"Successfully loaded all function templates" |
private static final String |
PREPARE_PARAMS |
"Step 3 of 4: Prepare required parameters" |
private static final String |
PROMPT_STRING_WITH_DEFAULTVALUE |
"Enter value for %s(Default: %s): " |
private static final String |
PROMPT_STRING_WITHOUT_DEFAULTVALUE |
"Enter value for %s: " |
private static final String |
SAVE_FILE |
"Step 4 of 4: Saving function to file" |
private static final String |
SAVE_FILE_DONE |
"Successfully saved new function at " |
| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
APPINSIGHTS_INSTRUMENTATION_KEY |
"APPINSIGHTS_INSTRUMENTATIONKEY" |
private static final String |
APPLICATION_INSIGHTS_CONFIGURATION_CONFLICT |
"Contradictory configurations for application insights, specify \'appInsightsKey\' or \'appInsightsInstance\' if you want to enable it, and specify \'disableAppInsights=true\' if you want to disable it." |
private static final String |
APPLICATION_INSIGHTS_CREATE_FAILED |
"Unable to create the Application Insights for the Function App due to error %s. Please use the Azure Portal to manually create and configure the Application Insights if needed." |
private static final String |
APPLICATION_INSIGHTS_CREATE_START |
"Creating application insights..." |
private static final String |
APPLICATION_INSIGHTS_CREATED |
"Successfully created the application insights %s for this Function App. You can visit %s/#@/resource%s/overview to view your Application Insights component." |
private static final String |
APPLICATION_INSIGHTS_NOT_SUPPORTED |
"Application Insights features are not supported with current authentication, skip related steps." |
private static final String |
ARTIFACT_INCOMPATIBLE |
"Your function app artifact compile version is higher than the java version in function host, please downgrade the project compile version and try again." |
private static final String |
AUTH_LEVEL |
"authLevel" |
private static final String |
CREATE_NEW_FUNCTION_APP |
"isCreateNewFunctionApp" |
private static final String |
CUSTOMIZED_FUNCTIONS_WORKER_RUNTIME_WARNING |
"App setting `FUNCTIONS_WORKER_RUNTIME` doesn\'t meet the requirement of Azure Java Functions, the value should be `java`." |
private static final String |
DEPLOY_FINISH |
"Deployment done, you may access your resource through %s" |
private static final String |
DEPLOY_START |
"Starting deployment..." |
private static final String |
DEPLOYMENT_TYPE_KEY |
"deploymentType" |
private static final String |
FAILED_TO_GET_APPLICATION_INSIGHTS |
"The application insights %s cannot be found, will create it in resource group %s." |
private static final String |
FAILED_TO_GET_FUNCTION_APP_PRICING_TIER |
"Failed to get function app pricing tier" |
private static final String |
FAILED_TO_LIST_TRIGGERS |
"Deployment succeeded, but failed to list http trigger urls." |
private static final String |
FUNCTION_APP_CREATE_START |
"The specified function app does not exist. Creating a new function app..." |
private static final String |
FUNCTION_APP_CREATED |
"Successfully created the function app: %s." |
private static final String |
FUNCTION_APP_NOT_EXISTS |
"Cannot find the Function App \'%s\' when creating deployment slot." |
private static final String |
FUNCTION_APP_UPDATE |
"Updating the specified function app..." |
private static final String |
FUNCTION_APP_UPDATE_DONE |
"Successfully updated the function app: %s." |
private static final String |
FUNCTION_SLOT_CREATE_START |
"The specified function slot does not exist. Creating a new slot..." |
private static final String |
FUNCTION_SLOT_CREATED |
"Successfully created the function slot: %s." |
private static final String |
FUNCTION_SLOT_UPDATE |
"Updating the specified function slot..." |
private static final String |
FUNCTION_SLOT_UPDATE_DONE |
"Successfully updated the function slot: %s." |
private static final String |
FUNCTIONS_EXTENSION_VERSION_NAME |
"FUNCTIONS_EXTENSION_VERSION" |
private static final String |
FUNCTIONS_EXTENSION_VERSION_VALUE |
"~3" |
private static final String |
FUNCTIONS_WORKER_RUNTIME_NAME |
"FUNCTIONS_WORKER_RUNTIME" |
private static final String |
FUNCTIONS_WORKER_RUNTIME_VALUE |
"java" |
private static final String |
HTTP_TRIGGER |
"httpTrigger" |
private static final String |
HTTP_TRIGGER_URLS |
"HTTP Trigger Urls:" |
private static final String |
INSTRUMENTATION_KEY_IS_NOT_VALID |
"Instrumentation key is not valid, please update the application insights configuration" |
private static final int |
LIST_TRIGGERS_MAX_RETRY |
3 |
private static final int |
LIST_TRIGGERS_RETRY_PERIOD_IN_SECONDS |
10 |
private static final String |
NO_ANONYMOUS_HTTP_TRIGGER |
"No anonymous HTTP Triggers found in deployed function app, skip list triggers." |
private static final String |
NO_TRIGGERS_FOUNDED |
"No triggers found in deployed function app, please try recompile the project by `mvn clean package` and deploy again." |
private static final String |
RUNNING |
"Running" |
private static final String |
SET_FUNCTIONS_EXTENSION_VERSION |
"Functions extension version isn\'t configured, setting up the default value." |
private static final String |
SET_FUNCTIONS_WORKER_RUNTIME |
"Set function worker runtime to java." |
private static final String |
SKIP_CREATING_APPLICATION_INSIGHTS |
"Skip creating application insights" |
private static final String |
SYNCING_TRIGGERS_AND_FETCH_FUNCTION_INFORMATION |
"Syncing triggers and fetching function information (Attempt %d/%d)..." |
private static final String |
UNABLE_TO_LIST_NONE_ANONYMOUS_HTTP_TRIGGERS |
"Some http trigger urls cannot be displayed because they are non-anonymous. To access the non-anonymous triggers, please refer https://aka.ms/azure-functions-key." |
private static final String |
UNKNOWN_DEPLOYMENT_TYPE |
"The value of <deploymentType> is unknown, supported values are: ftp, zip, msdeploy, run_from_blob and run_from_zip." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final int |
DEFAULT_LINE_LENGTH |
80 |
private static final String |
PLUGIN_HELP_PATH |
"/META-INF/maven/com.microsoft.azure/azure-functions-maven-plugin/plugin-help.xml" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
protected static final String |
BINDINGS_END |
">> bindings end <<" |
protected static final String |
BINDINGS_FILE |
"/bindings.json" |
protected static final String |
BINDINGS_START |
">> bindings begin <<" |
protected static final String |
RESOURCES_END |
">> resources end <<" |
protected static final String |
RESOURCES_FILE |
"/resources.json" |
protected static final String |
RESOURCES_START |
">> resources begin <<" |
protected static final String |
TEMPLATES_END |
">> templates end <<" |
protected static final String |
TEMPLATES_FILE |
"/templates.json" |
protected static final String |
TEMPLATES_START |
">> templates begin <<" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
BUILD_SUCCESS |
"Successfully built Azure Functions." |
private static final String |
CAN_NOT_FIND_ARTIFACT |
"Cannot find the maven artifact, please run `mvn package` first." |
public static final String |
COPY_JARS |
"Step 6 of 7: Copying JARs to staging directory" |
public static final String |
COPY_SUCCESS |
"Copied successfully." |
public static final String |
EXTENSION_BUNDLE |
"extensionBundle" |
private static final String |
EXTENSION_BUNDLE_ID |
"Microsoft.Azure.Functions.ExtensionBundle" |
public static final String |
FOUND_FUNCTIONS |
" Azure Functions entry point(s) found." |
public static final String |
FUNCTION_JSON |
"function.json" |
public static final String |
GENERATE_CONFIG |
"Step 2 of 7: Generating Azure Functions configurations" |
public static final String |
GENERATE_DONE |
"Generation done." |
public static final String |
GENERATE_SKIP |
"No Azure Functions found. Skip configuration generation." |
public static final String |
HOST_JSON |
"host.json" |
public static final String |
INSTALL_EXTENSIONS |
"Step 7 of 7: Installing function extensions if needed" |
public static final String |
INSTALL_EXTENSIONS_FINISH |
"Function extension installation done." |
public static final String |
NO_FUNCTIONS |
"Azure Functions entry point not found, plugin will exit." |
public static final String |
SAVE_FUNCTION_JSON |
"Starting processing function: " |
public static final String |
SAVE_FUNCTION_JSONS |
"Step 5 of 7: Saving configurations to function.json" |
public static final String |
SAVE_HOST_JSON |
"Step 4 of 7: Saving host.json" |
public static final String |
SAVE_SKIP |
"No configurations found. Skip save." |
public static final String |
SAVE_SUCCESS |
"Successfully saved to " |
public static final String |
SEARCH_FUNCTIONS |
"Step 1 of 7: Searching for Azure Functions entry points" |
private static final String |
SKIP_INSTALL_EXTENSIONS_BUNDLE |
"Extension bundle specified, skip install extension" |
public static final String |
SKIP_INSTALL_EXTENSIONS_HTTP |
"Skip install Function extension for HTTP Trigger Functions" |
public static final String |
VALIDATE_CONFIG |
"Step 3 of 7: Validating generated configurations" |
public static final String |
VALIDATE_DONE |
"Validation done." |
public static final String |
VALIDATE_SKIP |
"No configurations found. Skip validation." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
protected static final String |
FUNC_CMD |
"func -v" |
protected static final String |
FUNC_HOST_START_CMD |
"func host start" |
private static final String |
FUNC_HOST_START_WITH_DEBUG_CMD |
"func host start --language-worker -- \"-agentlib:jdwp=%s\"" |
private static final String |
FUNC_VERSION_CMD |
"func -v" |
private static final String |
FUNCTION_CORE_TOOLS_OUT_OF_DATE |
"Local function core tools didn\'t support java 9 or higher runtime, to update it, see: https://aka.ms/azfunc-install." |
protected static final String |
RUN_FUNCTIONS_FAILURE |
"Failed to run Azure Functions. Please checkout console output." |
private static final String |
RUNTIME_FOUND |
"Azure Functions Core Tools found." |
protected static final String |
RUNTIME_NOT_FOUND |
"Azure Functions Core Tools not found. Please go to https://aka.ms/azfunc-install to install Azure Functions Core Tools first." |
private static final String |
STAGE_DIR_FOUND |
"Azure Function App\'s staging directory found at: " |
private static final String |
STAGE_DIR_NOT_FOUND |
"Stage directory not found. Please run mvn package first." |
Copyright © 2021. All rights reserved.