Reputation: 43
I have a simple spring boot application with controller class having Rest API's. Now I want to deploy this Java Spring application into Azure Web Job and trigger manually.
In Microsoft documentation (https://learn.microsoft.com/en-us/azure/app-service/webjobs-create) the details of deploying application written in .NET and C# is provided but I could not find anything related to Java or Spring boot App deployment into Azure Web job.
Can anyone please let me know the steps to be followed for deploying Spring boot app into Azure Web Job or Attach any documentations for reference?
Thanks & Regards, Preethi H R
Upvotes: 1
Views: 663
Reputation: 8541
To execute the Java web jobs on Azure, I have followed the MSDOC.
created a Java spring boot Project and compressed into zip file.
Open Azure Portal, navigate to App Service page of your App Service web app and select Webjobs and add a new Webjob by providing required settings as specified below:
On the WebJobs page, select Add.
Fill the details in Add WebJob settings as specified in the table.
Create a manually triggered WebJob
Select OK.
To run the WebJob, click on the webjob name and select Run.
Create a scheduled WebJob
- A scheduled Webjob is also triggered. You can schedule the trigger to occur automatically on the schedule you specify.
Upvotes: 1