@Mojo(name="config-mapper-parser")
public class ConfigMapParserMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
ConfigMapParserMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execution method of Mojo class.
|
Map<String,String> |
getSecretsFromConfiguration(String configFilePath)
Read deployment.toml file and return list of secrets
|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - if error occurred while running the pluginpublic Map<String,String> getSecretsFromConfiguration(String configFilePath) throws IOException
configFilePath - file path to deployment tomlIOExceptionCopyright © 2024 WSO2. All rights reserved.