1
Around Suannan / Corona : devops fusion - Kabrinskiy Eduard
« เมื่อ: พฤษภาคม 23, 2021, 05:43:30 pm »
Эдуард Кабринский - Azure devops updates - Кабринский Рдуард
<h1>Azure devops updates</h1>
<p>[youtube]</p>
Azure devops updates <a href="http://remmont.com">Headline news</a> Azure devops updates
<h1>Microsoft DevOps & Azure Functions: Implement recursive updates</h1>
<p>I have a task to implement an Azure Function which is triggered by an HTTP-Webhook defined in Microsoft DevOps (VSTS).</p>
<p><strong>The idea is as follows:</strong> </p>
<p><ul>
<li>We have a backlog-structure (let's say: Epic > Feature > User Story > Task)</li>
<li>If i set the state of any of those items to 'Done', all underlying items should also change to 'Done'</li>
</ul>
</p>
<p><strong>What i have done so far</strong></p>
<p><ul>
<li>I have enabled a webhook in DevOps which triggers on update of any workitem and sends this item as JSON to an Azure Function</li>
<li>I have written the Azure Function which is invoked by an HTTP-request and get's the URL of the item which has triggered the request <ul>
<li>The function then gets all items which are a child of the first workitem</li>
<li>The function patches all found child items with the state of the first item</li>
<li>All direct children are updated on DevOps</li>
</ul>
</li>
</ul>
</p>
<p><strong>What i need</strong> <br />I'm trying to figure out an option to enable recursive update. Not only direct children should be updated, but also all their children (if they have some) and so on. I thought about the following ways to accomplish this and need your guidance:</p>
<p>Get all direct children as JSON and then send HTTP-request's to the same function, passing all child item's</p>
<p>call the function within the function (don't even know if this works) and pass the children as JSON</p>
<p>find a way to handle all the logic in this single function (dumb foreach-nesting to ensure all backlog-hierarchy levels are processed)</p>
<p>If any code snippets are needed just tell me and i will provide the requested parts (right now i'm quite unsure what part of my code i should publish and would be helpful)</p>
<h2>Azure devops updates</h2>
<h3>Azure devops updates</h3>
<p>[youtube]</p>
Azure devops updates <a href="http://remmont.com">New news today</a> Azure devops updates
<h4>Azure devops updates</h4>
Microsoft DevOps & Azure Functions: Implement recursive updates I have a task to implement an Azure Function which is triggered by an HTTP-Webhook defined in Microsoft DevOps (VSTS). The idea
<h5>Azure devops updates</h5>
Azure devops updates <a href="http://remmont.com">Azure devops updates</a> Azure devops updates
SOURCE: <h6>Azure devops updates</h6> <a href="https://dev-ops.engineer/">Azure devops updates</a> Azure devops updates
#tags#[replace: -,-Azure devops updates] Azure devops updates#tags#
Кабринский Эдуард
top news
<h1>Azure devops updates</h1>
<p>[youtube]</p>
Azure devops updates <a href="http://remmont.com">Headline news</a> Azure devops updates
<h1>Microsoft DevOps & Azure Functions: Implement recursive updates</h1>
<p>I have a task to implement an Azure Function which is triggered by an HTTP-Webhook defined in Microsoft DevOps (VSTS).</p>
<p><strong>The idea is as follows:</strong> </p>
<p><ul>
<li>We have a backlog-structure (let's say: Epic > Feature > User Story > Task)</li>
<li>If i set the state of any of those items to 'Done', all underlying items should also change to 'Done'</li>
</ul>
</p>
<p><strong>What i have done so far</strong></p>
<p><ul>
<li>I have enabled a webhook in DevOps which triggers on update of any workitem and sends this item as JSON to an Azure Function</li>
<li>I have written the Azure Function which is invoked by an HTTP-request and get's the URL of the item which has triggered the request <ul>
<li>The function then gets all items which are a child of the first workitem</li>
<li>The function patches all found child items with the state of the first item</li>
<li>All direct children are updated on DevOps</li>
</ul>
</li>
</ul>
</p>
<p><strong>What i need</strong> <br />I'm trying to figure out an option to enable recursive update. Not only direct children should be updated, but also all their children (if they have some) and so on. I thought about the following ways to accomplish this and need your guidance:</p>
<p>Get all direct children as JSON and then send HTTP-request's to the same function, passing all child item's</p>
<p>call the function within the function (don't even know if this works) and pass the children as JSON</p>
<p>find a way to handle all the logic in this single function (dumb foreach-nesting to ensure all backlog-hierarchy levels are processed)</p>
<p>If any code snippets are needed just tell me and i will provide the requested parts (right now i'm quite unsure what part of my code i should publish and would be helpful)</p>
<h2>Azure devops updates</h2>
<h3>Azure devops updates</h3>
<p>[youtube]</p>
Azure devops updates <a href="http://remmont.com">New news today</a> Azure devops updates
<h4>Azure devops updates</h4>
Microsoft DevOps & Azure Functions: Implement recursive updates I have a task to implement an Azure Function which is triggered by an HTTP-Webhook defined in Microsoft DevOps (VSTS). The idea
<h5>Azure devops updates</h5>
Azure devops updates <a href="http://remmont.com">Azure devops updates</a> Azure devops updates
SOURCE: <h6>Azure devops updates</h6> <a href="https://dev-ops.engineer/">Azure devops updates</a> Azure devops updates
#tags#[replace: -,-Azure devops updates] Azure devops updates#tags#
Кабринский Эдуард
top news