I have published an ML pipeline using AzureML SDK, and then triggering thepipeline from an external service using the REST endpoint.
Is there a way, by which I can re-publish the pipeline, keeping the REST endpoint unchanged?
Related
just worked through the basic mountebank tutorial. worked great!! next step is to deploy mountebank in Azure.
i am wondering if anyone has successfully deployed mountebank into azure? which PAAS/SAAS did you use?
For calling your mountebank external API or for Integration testing you can make use of Azure functions or Azure APIM Mock API policies.
There’s no inbuilt Azure service or Azure marketplace image that supports Mountebank as that is a third-party package. But you can make use of Azure Functions to trigger the Mountebank endpoint or make use of Mock API in Azure API management and create different Inbound and Outbound policies for your mock test.
Azure Functions :- I referred this blog for Integrating Mouneblank with Azure functions:-
https://devkimchi.com/2019/08/07/azure-functions-integration-testing-with-mountebank/
Git-hub repo of same blog - https://github.com/devkimchi/Mountebank-Integration-Testing
I cloned the repo in my Azure Repo and updated the code runtime to .Net 6.0 and updated all the dependencies to their latest supported nuget versions as the github repo is using deprecated version.
I ran this repo via a pipeline in Azure Devops to deploy this project to the Function app.
After running the pipeline, the Build and Deployment to Azure function was successful:
Now, this function app is integrated with your Mounteblank API
You can make use of Function app proxies to configure your Mounteblank API according to your requirements.
You can make use of Azure API management Service.
I deployed one Azure APIM service and created one API to initiate HTTP request to Mounteblank API running on port 2525 locally.
References:
https://devkimchi.com/2019/08/07/azure-functions-integration-testing-with-mountebank/ by [Justin Yoo]
https://learn.microsoft.com/en-us/azure/api-management/mock-api-responses?tabs=azure-portal
I am using a gradle based project and want to integrate the REST assured testing with my Azure devops pipeline. What is the way to do so ?
Do I need to install dependencies for REST assured on my self-hosted agent ?
Do Azure Devops provide any task related to gradle and Rest assured to test the APIs.
We are using Dot Net environment and we are trying to create Pipeline using Rest API.
We have Dot Net SDK but we don't want to go with this.
You can use the Pipeline - Create Pipeline Run REST API to create a run of a pipeline.
For step by step by using the Synapse REST APIs - refer to How to start Synapse Pipeline from Rest API.
Based on the following design I want to launch a Terraform file and an application code on Azure DevOps when an Azure Functions trigger the Pipeline.
Do you know any example to do a normal API REST Call to A. Dev Ops?
(using Python or JS)
Do you think it is a good strategy to generate an orchestration pipeline to make the workflow of the infrastructure and later on the application code?
In order to deploy the application
code, how can I modify it using the arguments coming from the API?
architecture design
Let's assume that we have 3 different container registries. Is there any available azure devops jobs/tasks that can provide a way to trigger my build pipeline when a new image is pushed on any of these 3 registries?
I have some insights with MS Flow but i want to limit the scope on azure devops.
Find a way or recommendation to trigger the build pipeline using devops jobs/tasks.
You can create in Azure Container Registry a web hook that trigger the build in Azure DevOps when new image pushed.
For this you need to write a service with Web API that handle the API Post calls. the ACR web hook send a Post call to the service when new image is pushed.
In the service you trigger the Azure DevOps build pipeline using the Azure DevOps .Net Libraries (if the service is in C#) or with Azure DevOps Rest API.
How to create ACR Web Hook? find here.
How to trigger build pipeline from code? find here.
you can have releases triggered with new images in the docker hub (reading). I dont think the same can be done for builds. You can create a release that would get triggered on the new image and that release would talk to the API to trigger the build.