• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

enbility / spine-go / 13462292951
94%

Build:
DEFAULT BRANCH: dev
Ran 21 Feb 2025 05:47PM UTC
Jobs 1
Files 60
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Feb 2025 05:46PM UTC coverage: 93.893% (+0.1%) from 93.773%
13462292951

push

github

web-flow
Refactor bindings and subscriptions (#58)

- Refactor BindingManager and SubscriptionManager interface APIs
- Add support for read requests to NodeManagementBindingData and
NodeManagementSubscriptionData
- Exclude sending notifications for updates on NodeManagementBindingData
and NodeManagementSubscriptionData (see code comment in
`spine/feature_local.go` method `SetData` on why this is done)
- Store bindings and subscriptions in NodeManagement data structures
- Store bindings and subscriptions for local client and server features
- Only store a requested binding or subscription if the remote accepted
it
- Adding an already existing binding or subcription again will not
return an error
- On add requests, only check for proper roles, if the
`serverFeatureType` is provided on request
- Add support for deleting all bindings or subscriptions with the same
role relation by omitting feature address or also entity address
- Add support for delete requests from a server feature to a client
feature
- Fix a crash when incoming subscription requests where missing the
optional `serverFeatureType`
- Improve test cases to consider bindings and subscriptions of multiple
remote devices, which should only get their corresponding bindings and
subscriptions when read

Fixes https://github.com/enbility/spine-go/issues/56

545 of 579 new or added lines in 10 files covered. (94.13%)

2 existing lines in 1 file now uncovered.

5258 of 5600 relevant lines covered (93.89%)

99.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.7
2.2% spine/device_local.go
5
96.5
5.86% spine/subscription_manager.go
8
94.12
-1.63% spine/binding_manager.go
20
89.36
-2.95% spine/feature_local.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
89.36
-2.95% spine/feature_local.go
Jobs
ID Job ID Ran Files Coverage
1 13462292951.1 21 Feb 2025 05:47PM UTC 60
93.89
GitHub Action Run
Source Files on build 13462292951
  • Tree
  • List 60
  • Changed 25
  • Source Changed 11
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13462292951
  • 114e2d07 on github
  • Prev Build on dev (#13111846785)
  • Next Build on dev (#16048324185)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc