-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: Converting configuration API response from an array to dictionary #4695
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
Conversation
dapr#4556 Signed-off-by: Ian Luo <ian.luo@gmail.com>
Have to wait for dapr/components-contrib#1771 merged. Pls. don't merge for now. @LaurenceLiZhixin pls. take a look. |
@beiwei30 see build errors:
|
Thanks for @beiwei30 , the modification seems to me to be in the right direction. Please update conpoment version after dapr/components-contrib#1771 is merged. @yaron2 The build errors occurs because the component not updated, which is in line with expectations :) |
The build is failing now due to another issue which is unrelated. @ItalyPaleAle will submit a PR to fix. |
|
@yaron2 This is expected. Because the change made on component-contrib side (dapr/components-contrib#1771) has not been merged yet. Once it's done, I need to bump up component-contrib version in order to pass compilation failure. Right now I submit the following change to make build pass:
|
Signed-off-by: Ian Luo <ian.luo@gmail.com>
Signed-off-by: Ian Luo <ian.luo@gmail.com>
Signed-off-by: Ian Luo <ian.luo@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #4695 +/- ##
==========================================
- Coverage 65.10% 65.09% -0.02%
==========================================
Files 111 111
Lines 11597 11593 -4
==========================================
- Hits 7550 7546 -4
Misses 3500 3500
Partials 547 547
Continue to review full report at Codecov.
|
@LaurenceLiZhixin @beiwei30 you're right, apologies :) We will merge this change right after the code freeze (6/21) for 1.9 as we need more time to update the SDKs to match the new data structure. |
Signed-off-by: Ian Luo <ian.luo@gmail.com>
ping @beiwei30 |
@@ -351,6 +351,8 @@ replace ( | |||
|
|||
replace github.com/eclipse/paho.mqtt.golang => github.com/shivamkm07/paho.mqtt.golang v1.3.6-0.20220106130409-e28a1db639f8 | |||
|
|||
replace github.com/dapr/components-contrib => github.com/beiwei30/components-contrib v0.4.1-0.20220603163116-fa6cff30d029 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this please. We can make coordinate whatever change is required in the contrib repo first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but this depends on the change in dapr/contrib being merged first, and then the version of contrib needs to be imported here I think.
…5083) * fix: Converting configuration API response from an array to dictionary. #4556 Signed-off-by: Ian Luo <ian.luo@gmail.com> * use replace to pass compilation. Signed-off-by: Ian Luo <ian.luo@gmail.com> * fix compilation Signed-off-by: Ian Luo <ian.luo@gmail.com> * fix unit test Signed-off-by: Ian Luo <ian.luo@gmail.com> * Update http API for config dicts Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> * gen proto Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> * Fix http tests Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> * import latest contrib Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> * make modtidy-all Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> Signed-off-by: Ian Luo <ian.luo@gmail.com> Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> Co-authored-by: Ian Luo <ian.luo@gmail.com> Co-authored-by: Marcos Candeia <marrcooos@gmail.com>
* master: (134 commits) Record metric for service updates (dapr#5114) chore: remove duplicate word in comments (dapr#5099) Run e2e tests in previous version of K8s on AKS to see if it's breaking Windows tests (dapr#5104) add {namespace} option to set consumerID Add tracing passthrough for bindings (dapr#5049) Improve component init error logs and metrics (dapr#4975) Improvements to E2E test apps (dapr#5042) Fix component name for aws dynamodb (dapr#5095) Fix perf tests not building (dapr#5096) Fix missing components in Metadata API result. (dapr#5052) Fixed log message (dapr#5088) Disable IPFS binding for now (dapr#5092) optimize/concurrency: pubsub concurrency map writes in runtime unit test. (dapr#5086) Configuration API response to use dictionaries - based on PR dapr#4695 (dapr#5083) correct compile error correct checking for actors with same id fix type error in print fix typo add log when actor start time and end time is not expected Components auto-registration (dapr#5062) ... Signed-off-by: zhangchao <zchao9100@gmail.com> # Conflicts: # go.mod # pkg/grpc/api.go # pkg/grpc/api_test.go # pkg/http/api.go # pkg/runtime/runtime.go
Signed-off-by: Ian Luo ian.luo@gmail.com
Description
fix issue #4556
Issue reference
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: