Skip to content

Commit

Permalink
Merge dev into master for v2.4.0 release
Browse files Browse the repository at this point in the history
Merge dev into master for v2.4.0 Release
  • Loading branch information
Connor McMahon committed Nov 30, 2020
2 parents e662e79 + 165159e commit a627810
Show file tree
Hide file tree
Showing 90 changed files with 4,964 additions and 657 deletions.
11 changes: 7 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
buildConfiguration: 'Debug'

steps:
- task: NuGetToolInstaller@0
- task: NuGetToolInstaller@1

- task: DotNetCoreCLI@2
inputs:
Expand All @@ -37,6 +37,7 @@ jobs:
rerunMaxAttempts: 2
env:
AzureWebJobsStorage: $(AzureWebJobsStorage)
APPINSIGHTS_INSTRUMENTATIONKEY: $(APPINSIGHTS_INSTRUMENTATIONKEY)

- job: FunctionsV2Tests
pool:
Expand All @@ -51,7 +52,7 @@ jobs:
buildConfiguration: 'Debug'

steps:
- task: NuGetToolInstaller@0
- task: NuGetToolInstaller@1

- task: DotNetCoreCLI@2
inputs:
Expand All @@ -78,6 +79,7 @@ jobs:
rerunMaxAttempts: 2
env:
AzureWebJobsStorage: $(AzureWebJobsStorage)
APPINSIGHTS_INSTRUMENTATIONKEY: $(APPINSIGHTS_INSTRUMENTATIONKEY)

- job: DurableAnalyzerTests
pool:
Expand All @@ -89,7 +91,7 @@ jobs:
buildConfiguration: 'Debug'

steps:
- task: NuGetToolInstaller@0
- task: NuGetToolInstaller@1

- task: DotNetCoreCLI@2
inputs:
Expand All @@ -116,6 +118,7 @@ jobs:
rerunMaxAttempts: 2
env:
AzureWebJobsStorage: $(AzureWebJobsStorage)
APPINSIGHTS_INSTRUMENTATIONKEY: $(APPINSIGHTS_INSTRUMENTATIONKEY)

- job: PublishPipelineArtifact
dependsOn:
Expand All @@ -132,7 +135,7 @@ jobs:
buildConfiguration: 'Debug'

steps:
- task: NuGetToolInstaller@0
- task: NuGetToolInstaller@1

- task: DotNetCoreCLI@2
inputs:
Expand Down
73 changes: 12 additions & 61 deletions docs/api/Microsoft.Azure.WebJobs.DurableOrchestrationContext.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1473,53 +1473,6 @@ <h5 id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_ContinueAsNew_Sy
history of an orchestration instance.</p>
<p>Note that any unprocessed external events will be discarded when an orchestration
instance restarts itself using this method.</p>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/Azure/azure-functions-durable-extension/new/master/apiSpec/new?filename=Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_ContinueAsNew_System_Object_System_Boolean_.md&amp;value=---%0Auid%3A%20Microsoft.Azure.WebJobs.DurableOrchestrationContextBase.ContinueAsNew(System.Object%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Azure/azure-functions-durable-extension/blob/master/src/WebJobs.Extensions.DurableTask/DurableOrchestrationContextBase.cs/#L471">View Source</a>
</span>
<a id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_ContinueAsNew_" data-uid="Microsoft.Azure.WebJobs.DurableOrchestrationContextBase.ContinueAsNew*"></a>
<h4 id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_ContinueAsNew_System_Object_System_Boolean_" data-uid="Microsoft.Azure.WebJobs.DurableOrchestrationContextBase.ContinueAsNew(System.Object,System.Boolean)">ContinueAsNew(Object, Boolean)</h4>
<div class="markdown level1 summary"><p>Restarts the orchestration by clearing its history.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void ContinueAsNew(object input, bool preserveUnprocessedEvents)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Object</span></td>
<td><span class="parametername">input</span></td>
<td><p>The JSON-serializeable data to re-initialize the instance with.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">preserveUnprocessedEvents</span></td>
<td><p>If set to <code>true</code>, re-adds any unprocessed external events into the new execution
history when the orchestration instance restarts. If <code>false</code>, any unprocessed
external events will be discarded when the orchestration instance restarts.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_ContinueAsNew_System_Object_System_Boolean__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Large orchestration histories can consume a lot of memory and cause delays in
instance load times. This method can be used to periodically truncate the stored
history of an orchestration instance.</p>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
Expand Down Expand Up @@ -1755,7 +1708,7 @@ <h5 id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_NewGuid_remarks"
<a href="https://github.com/Azure/azure-functions-durable-extension/new/master/apiSpec/new?filename=Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_SetCustomStatus_System_Object_.md&amp;value=---%0Auid%3A%20Microsoft.Azure.WebJobs.DurableOrchestrationContextBase.SetCustomStatus(System.Object)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Azure/azure-functions-durable-extension/blob/master/src/WebJobs.Extensions.DurableTask/DurableOrchestrationContextBase.cs/#L482">View Source</a>
<a href="https://github.com/Azure/azure-functions-durable-extension/blob/master/src/WebJobs.Extensions.DurableTask/DurableOrchestrationContextBase.cs/#L466">View Source</a>
</span>
<a id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_SetCustomStatus_" data-uid="Microsoft.Azure.WebJobs.DurableOrchestrationContextBase.SetCustomStatus*"></a>
<h4 id="Microsoft_Azure_WebJobs_DurableOrchestrationContextBase_SetCustomStatus_System_Object_" data-uid="Microsoft.Azure.WebJobs.DurableOrchestrationContextBase.SetCustomStatus(System.Object)">SetCustomStatus(Object)</h4>
Expand Down
Loading

0 comments on commit a627810

Please sign in to comment.