Skip to content

Configuration API changes to support dictionary type response#943

Merged
halspang merged 5 commits into
dapr:masterfrom
amulyavarote:config_api_changes
Sep 13, 2022
Merged

Configuration API changes to support dictionary type response#943
halspang merged 5 commits into
dapr:masterfrom
amulyavarote:config_api_changes

Conversation

@amulyavarote
Copy link
Copy Markdown
Contributor

Description

Please explain the changes you've made

Configuration API changes to support dictionary type response. The changes are added to both get configuration and subscribe configuration features.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #884

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
@amulyavarote amulyavarote requested review from a team as code owners September 2, 2022 21:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 2, 2022

Codecov Report

Merging #943 (887f12d) into master (c260680) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #943      +/-   ##
==========================================
- Coverage   69.51%   69.49%   -0.03%     
==========================================
  Files         155      155              
  Lines        5134     5130       -4     
  Branches      554      554              
==========================================
- Hits         3569     3565       -4     
  Misses       1434     1434              
  Partials      131      131              
Flag Coverage Δ
net5 50.15% <100.00%> (-19.33%) ⬇️
net6 69.39% <100.00%> (-0.03%) ⬇️
netcoreapp3.1 69.45% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Dapr.Client/ConfigurationItem.cs 100.00% <100.00%> (ø)
src/Dapr.Client/DaprClientGrpc.cs 86.72% <100.00%> (-0.05%) ⬇️
...rc/Dapr.Client/DaprSubscribeConfigurationSource.cs 92.30% <100.00%> (ø)
src/Dapr.Client/GetConfigurationResponse.cs 100.00% <100.00%> (ø)
src/Dapr.Client/SubscribeConfigurationResponse.cs 100.00% <100.00%> (ø)
...ns.Configuration/DaprConfigurationStoreProvider.cs 86.20% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Contributor

@halspang halspang left a comment

Choose a reason for hiding this comment

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

Minor changes, overall looks good.

Comment thread src/Dapr.Client/DaprClientGrpc.cs Outdated
Comment thread src/Dapr.Client/ConfigurationSource.cs Outdated
Comment thread src/Dapr.Client/DaprSubscribeConfigurationSource.cs Outdated
Comment thread src/Dapr.Client/DaprSubscribeConfigurationSource.cs Outdated
Comment thread src/Dapr.Client/SubscribeConfigurationResponse.cs Outdated
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change configuration API response to dictionary

2 participants