Skip to content
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

Dapr integration #13573

Merged
merged 23 commits into from
Aug 23, 2022
Merged

Dapr integration #13573

merged 23 commits into from
Aug 23, 2022

Conversation

maliming
Copy link
Member

@maliming maliming commented Aug 5, 2022

Resolve #13337
Resolve #13338
Resolve #13339
Resolve #13341
Resolve #13582
Resolve #13342

abpframework/abp-samples#193

@maliming maliming marked this pull request as ready for review August 12, 2022 03:02
@maliming maliming added this to the 7.0-preview milestone Aug 12, 2022
@maliming maliming requested a review from hikalkan August 20, 2022 06:55
framework/src/Volo.Abp.Dapr/Volo.Abp.Dapr.csproj Outdated Show resolved Hide resolved
timeout = DistributedLockDaprOptions.DefaultTimeout;
}

var daprClient = await DaprClientFactory.CreateAsync();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is DaprClient disposable? Shouldn't we dispose the client after lock is released (or if can't be obtained)? Also check other places we used the DaprClient. Also, is DaprClient thread-safe and reusable (I don't know now)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hikalkan
Copy link
Member

Thanks for the great implementation. I will organize its documentation.

One more comment, in addition to the comments I've done:

If Volo.Abp.AspNetCore.Dapr depends on Volo.Abp.AspNetCore.Mvc, its name can be Volo.Abp.AspNetCore.Mvc.Dapr, right? Or can it depend on Volo.Abp.AspNetCore instead of Volo.Abp.AspNetCore.Mvc?

maliming and others added 2 commits August 22, 2022 13:43
@maliming
Copy link
Member Author

Thanks for the great implementation. I will organize its documentation.

One more comment, in addition to the comments I've done:

If Volo.Abp.AspNetCore.Dapr depends on Volo.Abp.AspNetCore.Mvc, its name can be Volo.Abp.AspNetCore.Mvc.Dapr, right? Or can it depend on Volo.Abp.AspNetCore instead of Volo.Abp.AspNetCore.Mvc?

renamed to Volo.Abp.AspNetCore.Mvc.Dapr and Volo.Abp.AspNetCore.Mvc.Dapr.EventBus

@hikalkan hikalkan merged commit 4604e16 into dev Aug 23, 2022
@hikalkan hikalkan deleted the dapr-integration branch August 23, 2022 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants