-
Notifications
You must be signed in to change notification settings - Fork 371
Provide the ability to Mock WorkflowActivityContext #1358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
WhitWaldo
merged 72 commits into
dapr:master
from
siri-varma:users/svegira/make-context-mockable
Dec 28, 2024
Merged
Changes from 63 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
1a376cf
Make context mockable
svegiraju-microsoft f51def0
Fix project
svegiraju-microsoft 43d8ee2
Consolidated version of coverlet.msbuild, coverlet.collector, xunit, …
m3nax 3ce4685
Make context mockable
svegiraju-microsoft d083483
Fix project
svegiraju-microsoft 0653902
Added unit test to prove out concern raised on Discord
WhitWaldo a7c37ce
Removed unused using
WhitWaldo 2b408c6
Added unit test to validate that headers aren't being stripped off re…
WhitWaldo 8277fc2
Fixed spelling typo
WhitWaldo 53d7a0c
Added fix to handle null return values
WhitWaldo cf9f1ca
Removed unnecessary null check
WhitWaldo 5dcc4e5
Removed deprecated methods from DaprClient and tests as well as unuse…
WhitWaldo 11b3aec
Removed unused (and invalid) reference
WhitWaldo c6eb1d8
Removed E2E workflow test as it validated DaprClient and the function…
WhitWaldo 0b89433
Adding instance-based CreateInvokableHttpClient (#1319)
WhitWaldo d1b6479
Fixed security advisory updates across dependencies (transitive and d…
WhitWaldo b148bc4
Removes floating classes and introduces Dapr.Common project (#1365)
WhitWaldo 614a92b
Extracted Protos out to common project (#1367)
WhitWaldo a8e1b79
Improvement of the dotnet-contributing files (#1330)
Shubhdeep02 d538b26
Support case insensitive cloudevent payloads and forward cloudevent p…
iliaspoli 453da80
Updating actor serialization documentation (#1371)
WhitWaldo e07a12e
Prioritize retrieval of environment variables from IConfiguration ins…
WhitWaldo d4f2ff1
cleanup: Removed Serilog nuget from Directory.Packages.props (#1376)
m3nax 01eddad
Removed sample folder (#1375)
m3nax 0b4eeda
Remove unused variables (#1314)
RafaelJCamara ed86404
Remove unused using statements. (#1313)
RafaelJCamara d5af95c
Incremental source generator for actors (#1334)
m3nax 03995c7
Add .NET client for Dapr Jobs API (#1384)
WhitWaldo d1aa92b
Updated prereqs to specify .NET 6 and .NET 8 in v1.15 (#1398)
WhitWaldo a06605c
Refactor DaprWorkflowClientBuilderFactory and WorkflowRuntimeOptions …
neworange-ruud c464294
Fix for DI registration not completing as expected (#1386)
WhitWaldo 372d428
Add .NET client for pub/sub support - streaming subscriptions (#1381)
WhitWaldo a3da0aa
ci: set fail-fast to false (#1405)
mikeee 3cbc50f
Added async operations workflow sample (#1394)
WhitWaldo c0a5a35
Added workflow example: Fan out/fan in (#1396)
WhitWaldo 33d94a5
Added workflow sample: Sub-workflows (#1395)
WhitWaldo e04af4e
Added workflow sample: Task chaining (#1387)
WhitWaldo a972d2f
Added workflow sample: Monitor (#1388)
WhitWaldo f9c9e23
Added workflow example: External interaction (#1389)
WhitWaldo 105f798
Optional DI lifecycle change (#1408)
WhitWaldo 7933066
Additional lifecycle registration changes (#1410)
WhitWaldo 072c060
Preserve comparer of the original dictionary from ConfigurationProvid…
tomhreb 4ed3480
Update all.sln
WhitWaldo ed68f28
Bug/476 multiple methods per interface with JSON serialization doesn´…
paule96 2afde01
Support .NET 9 (#1404)
WhitWaldo b343ecb
update .net workflow docs to stable (#1418)
hhunter-ms 4ed55b3
FIX: Actor source generator generates invalid code for generic interf…
m3nax d21a686
Add .NET client for LLM Conversations support (#1382)
WhitWaldo 2fe08c9
Updated protos to latest in dapr/dapr (#1420)
WhitWaldo 1e77e39
Conversation builder consistency changes (#1423)
WhitWaldo 9d36d3e
#906 -Added methods in status API supports for saving and reading bin…
divzi-p dd06c48
Fixes + unit tests for streaming PubSub implementation (#1415)
WhitWaldo 3dd8019
Fix nulls
svegiraju-microsoft f188fd1
Merge branch 'master' into users/svegira/make-context-mockable
siri-varma ce7b2d8
Delete examples/Client/PublishSubscribe/StreamingSubscriptionExample/…
siri-varma 63bad79
Delete examples/AI/ConversationalAI/Properties/launchSettings.json
siri-varma 57c93d2
Delete daprdocs/content/en/dotnet-sdk-docs/dotnet-ai/dotnet-ai-usage.md
siri-varma dd6b3c3
Update dotnet-jobs-howto.md
siri-varma e11bf0e
Update dotnet-jobs-howto.md
siri-varma 0684a6c
Update dotnet-workflowclient-usage.md
siri-varma 94763b3
Update dotnet-workflowclient-usage.md
siri-varma b519b62
fix thing
svegiraju-microsoft 8f27ba7
Update WorkflowActivityContext.cs
siri-varma 096664a
Update WorkflowActivityContext.cs
siri-varma dbda89d
fix things
svegiraju-microsoft 1c4cc5b
Fix version
svegiraju-microsoft e3e6b0a
Update Dapr.Workflow.Test.csproj
siri-varma f32fb8e
fix things
svegiraju-microsoft b55699c
Delete examples/AI/ConversationalAI/Properties/launchSettings.json
siri-varma ea4ac28
Delete examples/Client/PublishSubscribe/StreamingSubscriptionExample/…
siri-varma df7c70c
Update WorkflowActivityContext.cs
siri-varma 3077035
Merge branch 'master' into users/svegira/make-context-mockable
WhitWaldo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
examples/AI/ConversationalAI/Properties/launchSettings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "profiles": { | ||
| "ConversationalAI": { | ||
| "commandName": "Project", | ||
| "launchBrowser": true, | ||
| "environmentVariables": { | ||
| "ASPNETCORE_ENVIRONMENT": "Development" | ||
| }, | ||
| "applicationUrl": "https://localhost:59273;http://localhost:59274" | ||
| } | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
examples/Client/PublishSubscribe/StreamingSubscriptionExample/Properties/launchSettings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "profiles": { | ||
| "StreamingSubscriptionExample": { | ||
| "commandName": "Project", | ||
| "launchBrowser": true, | ||
| "environmentVariables": { | ||
| "ASPNETCORE_ENVIRONMENT": "Development" | ||
| }, | ||
| "applicationUrl": "https://localhost:59271;http://localhost:59272" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,25 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
| <PropertyGroup> | ||
| <RootNamespace>Dapr.Workflow.Tests</RootNamespace> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <IsPackable>false</IsPackable> | ||
| <IsTestProject>true</IsTestProject> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="coverlet.msbuild" Version="6.0.2"> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="FluentAssertions" Version="5.9.0" /> | ||
| <PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.0" /> | ||
| <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" /> | ||
| <PackageReference Include="Moq" Version="4.20.70" /> | ||
| <PackageReference Include="xunit" Version="2.8.1" /> | ||
| <PackageReference Include="xunit.runner.visualstudio" Version="2.8.1"> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="coverlet.collector" /> | ||
| <PackageReference Include="Microsoft.Extensions.DependencyInjection" /> | ||
| <PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
| <PackageReference Include="xunit" /> | ||
| <PackageReference Include="xunit.extensibility.core" /> | ||
| <PackageReference Include="xunit.runner.visualstudio" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="..\..\src\Dapr.Workflow\Dapr.Workflow.csproj" /> | ||
| <Using Include="Xunit"/> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="..\..\src\Dapr.Workflow\Dapr.Workflow.csproj" /> | ||
| </ItemGroup> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.