Class ConfigMapParserMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="config-mapper-parser")
    public class ConfigMapParserMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Constructor Detail

      • ConfigMapParserMojo

        public ConfigMapParserMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Execution method of Mojo class.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - if error occurred while running the plugin
      • getSecretsFromConfiguration

        public Map<String,​String> getSecretsFromConfiguration​(String configFilePath)
                                                             throws IOException
        Read deployment.toml file and return list of secrets
        Parameters:
        configFilePath - file path to deployment toml
        Returns:
        Map of secrets
        Throws:
        IOException