| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
JDK_VERSION_ERROR |
"Local JDK version %s does not meet the requirement of the Maven plugin for Azure Functions. The supported version is JDK 8" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DEFAULT_INPUT_ERROR_MESSAGE |
"Invalid input, please check and try again." |
public static final String |
FILE_EXIST |
"Function already exists at %s. Please specify a different function name." |
public static final String |
FIND_TEMPLATE |
"Step 2 of 4: Select function template" |
public static final String |
FIND_TEMPLATE_DONE |
"Successfully found function template: " |
public static final String |
FIND_TEMPLATE_FAIL |
"Function template not found: " |
public 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_\\-]*$" |
public static final String |
LOAD_BINDING_TEMPLATES_FAIL |
"Failed to load function binding template." |
public static final String |
LOAD_TEMPLATES |
"Step 1 of 4: Load all function templates" |
public static final String |
LOAD_TEMPLATES_DONE |
"Successfully loaded all function templates" |
public static final String |
LOAD_TEMPLATES_FAIL |
"Failed to load all function templates." |
public static final String |
PREPARE_PARAMS |
"Step 3 of 4: Prepare required parameters" |
public static final String |
PROMPT_STRING_WITH_DEFAULTVALUE |
"Enter value for %s(Default: %s): " |
public static final String |
PROMPT_STRING_WITHOUT_DEFAULTVALUE |
"Enter value for %s: " |
public static final String |
SAVE_FILE |
"Step 4 of 4: Saving function to file" |
public 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." |
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 |
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 |
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 |
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 empty 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 |
"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." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
HTTP_OUTPUT_DEFAULT_NAME |
"$return" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
HTTP_OUTPUT_NOT_ALLOWED |
"HttpOutput binding is only allowed to use with HttpTrigger binding. HttpOutput binding found on method: " |
public static final String |
MULTIPLE_TRIGGER |
"Only one trigger is allowed for each Azure Function. Multiple triggers found on method: " |
public static final String |
STORAGE_CONNECTION_EMPTY |
"Storage binding (blob/queue/table) must have non-empty connection. Invalid storage binding found on method: " |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
CANNOT_AUTO_INSTALL |
"Local Azure Functions Core Tools does not exist or is too old to support function extension installation, skip package phase. To install or update it, see: https://aka.ms/azfunc-install" |
public static final String |
FUNC_EXTENSIONS_INSTALL_TEMPLATE |
"func extensions install -c \"%s\"" |
public static final String |
GET_LATEST_VERSION_CMD |
"npm view azure-functions-core-tools dist-tags.core" |
public static final String |
GET_LATEST_VERSION_FAIL |
"Failed to check update for Azure Functions Core Tools" |
public static final String |
GET_LOCAL_VERSION_CMD |
"func --version" |
public static final String |
GET_LOCAL_VERSION_FAIL |
"Failed to get Azure Functions Core Tools version locally" |
public static final String |
INSTALL_FUNCTION_EXTENSIONS_FAIL |
"Failed to install the Function extensions" |
public static final String |
NEED_UPDATE_FUNCTION_CORE_TOOLS |
"Local version of Azure Functions Core Tools (%s) does not match the latest (%s). Please update it for the best experience. See: https://aka.ms/azfunc-install" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
CREATE_ZIP_DONE |
"Successfully saved ZIP file at " |
public static final String |
CREATE_ZIP_START |
"Step 1 of 4: Creating ZIP file..." |
public static final String |
DELETE_PACKAGE_DONE |
"Successfully deleted deployment package " |
public static final String |
DELETE_PACKAGE_FAIL |
"Failed to delete deployment package " |
public static final String |
DELETE_PACKAGE_START |
"Step 4 of 4: Deleting deployment package from Azure Storage..." |
public static final String |
DEPLOY_PACKAGE_DONE |
"Successfully deployed Azure Function App." |
public static final String |
DEPLOY_PACKAGE_START |
"Step 3 of 4: Deploying Azure Function App with package..." |
public static final String |
DEPLOYMENT_PACKAGE_CONTAINER |
"java-functions-deployment-packages" |
public static final String |
INTERNAL_STORAGE_CONNECTION_STRING |
"Azure Function App\'s Storage Connection String: " |
public static final String |
INTERNAL_STORAGE_KEY |
"AzureWebJobsStorage" |
public static final String |
INTERNAL_STORAGE_NOT_FOUND |
"Application setting \'AzureWebJobsStorage\' not found." |
public static final String |
LOCAL_SETTINGS_FILE |
"local.settings.json" |
public static final String |
REMOVE_LOCAL_SETTINGS |
"Remove local.settings.json from ZIP package." |
public static final String |
STAGE_DIR_NOT_FOUND |
"Azure Functions stage directory not found. Please run \'mvn package azure-functions:package\' first." |
public static final String |
UPLOAD_PACKAGE_DONE |
"Successfully uploaded ZIP file to " |
public static final String |
UPLOAD_PACKAGE_START |
"Step 2 of 4: Uploading ZIP file to Azure Storage..." |
public static final String |
ZIP_EXT |
".zip" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
private static final String |
VARIABLES_PREFIX |
"variables_" |
Copyright © 2019. All rights reserved.