-
Notifications
You must be signed in to change notification settings - Fork 494
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
Define common metadata across components #1994
Define common metadata across components #1994
Conversation
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.
Fix linter issue.
/ok-to-test |
Complete certification test run: https://github.com/dapr/components-contrib/actions/runs/2906632656 |
Codecov Report
@@ Coverage Diff @@
## master #1994 +/- ##
=======================================
Coverage 37.66% 37.66%
=======================================
Files 192 192
Lines 23982 23982
=======================================
Hits 9032 9032
Misses 14183 14183
Partials 767 767
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
This PR is breaking certification tests.
Please update the tests in tests/certification
Example
Error: /home/runner/go/pkg/mod/github.com/dapr/dapr@v1.8.0-rc.1.0.20220713223752-9c6ab20ec023/pkg/runtime/runtime.go:520:25: unknown field 'Properties' in struct literal of type middleware.Metadata
Error: /home/runner/go/pkg/mod/github.com/dapr/dapr@v1.8.0-rc.1.0.20220713223752-9c6ab20ec023/pkg/runtime/runtime.go:1255:3: unknown field 'Properties' in struct literal of type "github.com/dapr/components-contrib/bindings".Metadata
Error: /home/runner/go/pkg/mod/github.com/dapr/dapr@v1.8.0-rc.1.0.202207132237[52](https://github.com/dapr/components-contrib/runs/7959860290?check_suite_focus=true#step:14:53)-9c6ab20ec023/pkg/runtime/runtime.go:1256:3: unknown field 'Name' in struct literal of type "github.com/dapr/components-contrib/bindings".Metadata
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
b8654b9
to
58c984d
Compare
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
Signed-off-by: Marcos Candeia marrcooos@gmail.com
Description
This PR adds a common and shared metadata across components. Notice that the json-serialization and way to get properties haven't changed.
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: #1990
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: