Skip to content

sagarmal624/SpringCloudFunctionWithAzure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Spring Boot on ServerLess Architecure Using Azure Function and Spring Cloud Function

Crud Operation with Spring Cloud Operation

Install Azure CLI

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest

brew tap azure/functions
brew install azure-functions-core-tools

Build a function

mvn clean package -DskipTests=true

Run Locally

mvn azure-functions:run
Http Functions:

        userDelete: [DELETE] http://localhost:7071/api/userDelete

        userGet: [GET] http://localhost:7071/api/userGet

        userProfile: [GET] http://localhost:7071/api/profile/{id}

        userSave: [POST] http://localhost:7071/api/userSave

        userUpdate: [PUT] http://localhost:7071/api/userUpdate

Deploy

az login
mvn azure-functions:deploy
Put Here Master key of all function in case of AuthorizationLevel=Function
https://<APP_NAME>.azurewebsites.net/api/<FUNCTION_NAME>?code=<API_KEY>

https://presos.dsyer.com/decks/road-to-serverless.html

About

Crud Demo of Spring Cloud Function with Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages