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

feat: Remove MetadataCheck mechanism when adding Event #3069

Merged
merged 2 commits into from
Jan 22, 2021
Merged

feat: Remove MetadataCheck mechanism when adding Event #3069

merged 2 commits into from
Jan 22, 2021

Conversation

weichou1229
Copy link
Member

Decided in the Core WG meeting on Jan-21 2021. Remove MetadataCheck mechanism when adding Event for now.

Close #3062

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.

What is the current behavior?

Event POST API checks whether the device is exist when the config MetaDataCheck is true

Issue Number: #3062

What is the new behavior?

Remove the MetaDataCheck from the API.

Does this PR introduce a breaking change?

  • Yes
  • No

New Imports

  • Yes
  • No

Specific Instructions

Are there any specific instructions or things that should be known prior to reviewing?

Other information

Decided in the Core WG meeting on Jan-21 2021. Remove MetadataCheck mechanism when adding Event for now.

Close #3062

Signed-off-by: weichou <weichou1229@gmail.com>
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Jan 22, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-io
Copy link

Codecov Report

Merging #3069 (7a318b9) into master (5d6d036) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3069      +/-   ##
==========================================
- Coverage   40.71%   40.71%   -0.01%     
==========================================
  Files         168      167       -1     
  Lines       14090    14080      -10     
==========================================
- Hits         5737     5732       -5     
+ Misses       8026     8022       -4     
+ Partials      327      326       -1     
Impacted Files Coverage Δ
internal/core/data/init.go 0.00% <ø> (ø)
internal/core/data/v2/application/event.go 55.75% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d6d036...7a318b9. Read the comment docs.

@lenny-goodell lenny-goodell merged commit f7cba1f into edgexfoundry:master Jan 22, 2021
@weichou1229 weichou1229 deleted the issue-3062 branch July 15, 2021 03:36
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.

[V2 Core-Data] Remove MetadataCheck mechanism when adding Event
3 participants