Class AzureFunctionsProcessor

java.lang.Object
io.quarkus.azure.functions.deployment.AzureFunctionsProcessor

public class AzureFunctionsProcessor extends Object
  • Field Details

  • Constructor Details

    • AzureFunctionsProcessor

      public AzureFunctionsProcessor()
  • Method Details

    • feature

      io.quarkus.deployment.builditem.FeatureBuildItem feature()
    • appName

      AzureFunctionsAppNameBuildItem appName(io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem output, AzureFunctionsConfig functionsConfig)
    • packageFunctions

      public io.quarkus.deployment.pkg.builditem.ArtifactResultBuildItem packageFunctions(List<AzureFunctionBuildItem> functions, io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem target, AzureFunctionsConfig functionsConfig, io.quarkus.deployment.pkg.PackageConfig packageConfig, AzureFunctionsAppNameBuildItem appName, io.quarkus.deployment.pkg.builditem.JarBuildItem jar) throws Exception
      Throws:
      Exception
    • writeFunctionJsonFiles

      protected void writeFunctionJsonFiles(com.fasterxml.jackson.databind.ObjectWriter objectWriter, Map<String,com.microsoft.azure.toolkit.lib.legacy.function.configurations.FunctionConfiguration> configMap, Path functionStagingDir) throws IOException
      Throws:
      IOException
    • writeFunctionJsonFile

      protected void writeFunctionJsonFile(com.fasterxml.jackson.databind.ObjectWriter objectWriter, String functionName, com.microsoft.azure.toolkit.lib.legacy.function.configurations.FunctionConfiguration config, String functionStagingDir) throws IOException
      Throws:
      IOException
    • copyHostJson

      protected void copyHostJson(Path rootPath, Path functionStagingDir) throws IOException
      Throws:
      IOException
    • copyLocalSettingsJson

      protected void copyLocalSettingsJson(Path rootPath, Path functionStagingDir) throws IOException
      Throws:
      IOException
    • copyJarsToStageDirectory

      protected void copyJarsToStageDirectory(io.quarkus.deployment.pkg.builditem.JarBuildItem jar, Path functionStagingDir) throws IOException, com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
      Throws:
      IOException
      com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
    • writeObjectToFile

      protected void writeObjectToFile(com.fasterxml.jackson.databind.ObjectWriter objectWriter, Object object, File targetFile) throws IOException
      Throws:
      IOException
    • getObjectWriter

      protected com.fasterxml.jackson.databind.ObjectWriter getObjectWriter()
    • findFunctions

      public void findFunctions(io.quarkus.deployment.builditem.CombinedIndexBuildItem combined, io.quarkus.deployment.annotations.BuildProducer<AzureFunctionBuildItem> functions)
    • registerArc

      public void registerArc(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.arc.deployment.UnremovableBeanBuildItem> unremovableBeans, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.arc.deployment.AdditionalBeanBuildItem> additionalBeans, List<AzureFunctionBuildItem> functions)
    • isScoped

      public static boolean isScoped(Class clazz)