Skip to content

[Edge] Edge2Edge.Websocket: migrate reference target & update JUnit tests - #3925

Merged
sfeilmeier merged 3 commits into
OpenEMS:developfrom
PunugupatiSaikumar:feature/edge2edge-websocket-reference-target
Aug 28, 2026
Merged

[Edge] Edge2Edge.Websocket: migrate reference target & update JUnit tests#3925
sfeilmeier merged 3 commits into
OpenEMS:developfrom
PunugupatiSaikumar:feature/edge2edge-websocket-reference-target

Conversation

@PunugupatiSaikumar

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the Reference Target Plugin migration: migrates the Edge2Edge Websocket components that still used OpenemsComponent.updateReferenceFilter() for the Bridge reference.

  • Edge2Edge.Websocket.Ess
  • Edge2Edge.Websocket.GenericReadComponent
    Changes:
  • Add @GenerateTargetsFromReferences("Bridge") and target filter (&(id=${config.bridge_id})(enabled=true)) on bindBridge
  • Keep Bridge as DYNAMIC / GREEDY / OPTIONAL (unchanged)
  • Remove ConfigurationAdmin (was only used for updateReferenceFilter)
  • Remove obsolete Bridge_target() from both Configs

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3925      +/-   ##
=============================================
+ Coverage      55.71%   55.72%   +0.01%     
- Complexity     19114    19117       +3     
=============================================
  Files           3674     3674              
  Lines         172011   172009       -2     
  Branches       14175    14175              
=============================================
+ Hits           95824    95834      +10     
+ Misses         72395    72382      -13     
- Partials        3792     3793       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sfeilmeier sfeilmeier changed the title [Edge] Edge2Edge.Websocket.Ess/GenericReadComponent: migrate referenc… [Edge] Edge2Edge.Websocket: migrate reference target & update JUnit tests Aug 28, 2026
@sfeilmeier
sfeilmeier merged commit 0863a9a into OpenEMS:develop Aug 28, 2026
7 checks passed
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.

2 participants