| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
CHANGE_FUNCTIONS_WORKER_RUNTIME |
"Function worker runtime doesn\'t meet the requirement, change it from %s to java." |
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 |
JDK_VERSION_ERROR |
"Azure Functions only support JDK 8, which is lower than local JDK version %s." |
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." |
| 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 |
|---|---|---|
public static final String |
DEPLOY_FINISH |
"Successfully deployed the function app at https://%s.azurewebsites.net." |
public static final String |
DEPLOY_START |
"Trying to deploy the function app..." |
public static final String |
DEPLOYMENT_TYPE_KEY |
"deploymentType" |
public static final String |
FUNCTION_APP_CREATE_START |
"The specified function app does not exist. Creating a new function app..." |
public static final String |
FUNCTION_APP_CREATED |
"Successfully created the function app: %s." |
public static final String |
FUNCTION_APP_UPDATE |
"Updating the specified function app..." |
public static final String |
FUNCTION_APP_UPDATE_DONE |
"Successfully updated the function app: %s." |
public static final String |
HOST_JAVA_VERSION |
"Java version of function host : %s" |
public static final String |
HOST_JAVA_VERSION_INCORRECT |
"Java version of function host %s does not meet the requirement of Azure Functions, set it to Java 8." |
public static final String |
HOST_JAVA_VERSION_OFF |
"Java version of function host is not initiated, set it to Java 8." |
public 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." |
public static final String |
VALID_JAVA_VERSION_PATTERN |
"^1\\.8.*" |
| 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." |
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" |
public 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" |
public 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 |
|---|---|---|
public static final String |
FUNC_CMD |
"func" |
public static final String |
FUNC_HOST_START_CMD |
"func host start" |
public static final String |
FUNC_HOST_START_WITH_DEBUG_CMD |
"func host start --language-worker -- \"-agentlib:jdwp=%s\"" |
public static final String |
RUN_FUNCTIONS_FAILURE |
"Failed to run Azure Functions. Please checkout console output." |
public static final String |
RUNTIME_FOUND |
"Azure Functions Core Tools found." |
public 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." |
public static final String |
STAGE_DIR_FOUND |
"Azure Function App\'s staging directory found at: " |
public static final String |
STAGE_DIR_NOT_FOUND |
"Stage directory not found. Please run mvn package first." |
Copyright © 2020. All rights reserved.