public class ImportKeysMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportKeysMojo.ApiProducts |
static class |
ImportKeysMojo.App |
static class |
ImportKeysMojo.AppCreds |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
ImportKeysMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
associateAPIProductToKey(ServerProfile profile,
String developerId,
String appName,
String app) |
static String |
createConsumerKeyAndSecret(ServerProfile profile,
String developerId,
String appName,
String app)
REST call wrappers
|
protected void |
doImport(Map<String,List<String>> devApps) |
void |
execute()
Entry point for the mojo.
|
static String |
getApiProducts(String payload) |
static List |
getApp(ServerProfile profile,
String developerId) |
static String |
getAppCreds(String payload) |
static String |
getAppKey(String payload) |
protected String |
getAppName(String payload) |
void |
init() |
contextualize, getAPIConfig, getAPIList, getBaseDirectoryPath, getBuildDirectory, getBuildOption, getEnvConfig, getExportDir, getId, getIgnoreProductsForApp, getKvmOverride, getOptions, getOrgConfig, getOrgConfigWithId, getProfile, getProxy, isSkip, matchNonProxy, setBaseDirectory, setBuildOption, setExportDir, setId, setIgnoreProductsForApp, setKvmOverride, setOptions, setProfile, setSkippublic static final String ____ATTENTION_MARKER____
public void init()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected String getAppName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionpublic static String getApiProducts(String payload) throws IOException
IOExceptionpublic static String getAppKey(String payload) throws IOException
IOExceptionpublic static String getAppCreds(String payload) throws IOException
IOExceptionprotected void doImport(Map<String,List<String>> devApps) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static String createConsumerKeyAndSecret(ServerProfile profile, String developerId, String appName, String app) throws IOException
IOExceptionpublic static String associateAPIProductToKey(ServerProfile profile, String developerId, String appName, String app) throws IOException
IOExceptionpublic static List getApp(ServerProfile profile, String developerId) throws IOException
IOExceptionCopyright © 2022. All rights reserved.