Skip to content

Temavrix/AzureFunInfra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for storing shared code infrastructure used in Azure for our services.

Developer Steps

Java 17 and Maven

>>> java -version
>>> mvn -version

Azure Functions Core Tools

>>> func --version
If missing:
>>> npm install -g azure-functions-core-tools@4 --unsafe-perm true

Create a folder and Inside Create Azure Function project

Terminal:

>>> mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeVersion=1.38 -DgroupId=com.patchflow -DartifactId=projectanalyzer-function -DinteractiveMode=false

OR In VS Code:

  1. Install extension: Azure Functions
  2. Press: Ctrl + Shift + P
  3. Search: Azure Functions: Create New Project
  4. Select folder
  5. Choose: Java and Java 17 and Choose: HTTP trigger
  6. Enter Function name
  7. Authorization: Function

Test locally

>>> mvn clean package          

Deploy this function

>>> mvn azure-functions:run 
>>> mvn azure-functions:deploy

About

Organization's code infra for Azure Pipelines

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages