public class MSDeployArtifactHandlerImpl
extends com.microsoft.azure.maven.artifacthandler.ArtifactHandlerBase
| Modifier and Type | Class and Description |
|---|---|
static class |
MSDeployArtifactHandlerImpl.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE_ZIP_DONE |
static String |
CREATE_ZIP_START |
static String |
DELETE_PACKAGE_DONE |
static String |
DELETE_PACKAGE_FAIL |
static String |
DELETE_PACKAGE_START |
static String |
DEPLOY_PACKAGE_DONE |
static String |
DEPLOY_PACKAGE_START |
static String |
DEPLOYMENT_PACKAGE_CONTAINER |
protected String |
functionAppName |
static String |
INTERNAL_STORAGE_CONNECTION_STRING |
static String |
INTERNAL_STORAGE_KEY |
static String |
INTERNAL_STORAGE_NOT_FOUND |
static String |
LOCAL_SETTINGS_FILE |
static String |
REMOVE_LOCAL_SETTINGS |
static String |
STAGE_DIR_NOT_FOUND |
static String |
UPLOAD_PACKAGE_DONE |
static String |
UPLOAD_PACKAGE_START |
static String |
ZIP_EXT |
| Modifier | Constructor and Description |
|---|---|
private |
MSDeployArtifactHandlerImpl(MSDeployArtifactHandlerImpl.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected File |
createZipPackage() |
protected void |
deletePackageFromAzureStorage(com.microsoft.azure.storage.CloudStorageAccount storageAccount,
String blobName) |
protected void |
deployWithPackageUri(com.microsoft.azure.maven.deploytarget.DeployTarget target,
String packageUri,
Runnable onDeployFinish) |
protected String |
getBlobName() |
protected com.microsoft.azure.storage.CloudStorageAccount |
getCloudStorageAccount(com.microsoft.azure.maven.deploytarget.DeployTarget target) |
protected void |
logDebug(String message) |
protected void |
logError(String message) |
protected void |
logInfo(String message) |
void |
publish(com.microsoft.azure.maven.deploytarget.DeployTarget target) |
protected String |
uploadPackageToAzureStorage(File zipPackage,
com.microsoft.azure.storage.CloudStorageAccount storageAccount,
String blobName) |
public static final String DEPLOYMENT_PACKAGE_CONTAINER
public static final String ZIP_EXT
public static final String CREATE_ZIP_START
public static final String CREATE_ZIP_DONE
public static final String STAGE_DIR_NOT_FOUND
public static final String LOCAL_SETTINGS_FILE
public static final String REMOVE_LOCAL_SETTINGS
public static final String INTERNAL_STORAGE_KEY
public static final String INTERNAL_STORAGE_NOT_FOUND
public static final String INTERNAL_STORAGE_CONNECTION_STRING
public static final String UPLOAD_PACKAGE_START
public static final String UPLOAD_PACKAGE_DONE
public static final String DEPLOY_PACKAGE_START
public static final String DEPLOY_PACKAGE_DONE
public static final String DELETE_PACKAGE_START
public static final String DELETE_PACKAGE_DONE
public static final String DELETE_PACKAGE_FAIL
protected final String functionAppName
private MSDeployArtifactHandlerImpl(@Nonnull MSDeployArtifactHandlerImpl.Builder builder)
public void publish(com.microsoft.azure.maven.deploytarget.DeployTarget target)
throws Exception
Exceptionprotected void logInfo(String message)
protected void logDebug(String message)
protected void logError(String message)
protected com.microsoft.azure.storage.CloudStorageAccount getCloudStorageAccount(com.microsoft.azure.maven.deploytarget.DeployTarget target)
throws Exception
Exceptionprotected String getBlobName()
protected String uploadPackageToAzureStorage(File zipPackage, com.microsoft.azure.storage.CloudStorageAccount storageAccount, String blobName) throws Exception
Exceptionprotected void deployWithPackageUri(com.microsoft.azure.maven.deploytarget.DeployTarget target,
String packageUri,
Runnable onDeployFinish)
protected void deletePackageFromAzureStorage(com.microsoft.azure.storage.CloudStorageAccount storageAccount,
String blobName)
Copyright © 2019. All rights reserved.