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

customized lwm2m gateway all settings #1065

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Conversation

rhoninl
Copy link
Collaborator

@rhoninl rhoninl commented Dec 3, 2024

What this PR does / why we need it:
make user can customized all lwm2m gateway settings from edgedevice
Will this PR make the community happier?
yes
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

How is this PR tested

  • unit test
  • e2e test
  • other (please specify)

Special notes for your reviewer:

Release note:

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 33.63%. Comparing base (4196d40) to head (6d0b502).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/gateway/lwm2m/client/lwm2m.go 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1065      +/-   ##
==========================================
+ Coverage   33.51%   33.63%   +0.11%     
==========================================
  Files          55       55              
  Lines        4810     4808       -2     
==========================================
+ Hits         1612     1617       +5     
+ Misses       3059     3053       -6     
+ Partials      139      138       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -115,6 +115,12 @@ type LwM2MSetting struct {

// +kubebuilder:default=30
PingIntervalSec int64 `json:"pingIntervalSec,omitempty"`
// +kubebuilder:default=300
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@tomqin93 tomqin93 left a comment

Choose a reason for hiding this comment

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

LGTM

@tomqin93 tomqin93 merged commit 4a53629 into main Dec 4, 2024
16 of 17 checks passed
@tomqin93 tomqin93 deleted the customiuzed_gateway_settings branch December 4, 2024 08:21
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.

4 participants