Skip to content

EventAdmin interface#658

Merged
tcormackMW merged 10 commits intodevelopmentfrom
eventadmin-interface
Apr 2, 2024
Merged

EventAdmin interface#658
tcormackMW merged 10 commits intodevelopmentfrom
eventadmin-interface

Conversation

@achristoforides
Copy link
Copy Markdown
Member

Description

This PR introduces the EventAdmin interface (locally called EM). It follows the OSGi specification for EventAdmin: https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.event.html

Testing Information

Tests have been added to the compendium/EM directory. These tests cover functionality provided by the implementation of EMEvent.

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 24, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.66%. Comparing base (63c8cc1) to head (f113760).

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #658      +/-   ##
===============================================
- Coverage        88.86%   88.66%   -0.20%     
===============================================
  Files              222      224       +2     
  Lines            12533    12605      +72     
===============================================
+ Hits             11137    11176      +39     
- Misses            1396     1429      +33     
Files Coverage Δ
...ompendium/EM/include/cppmicroservices/em/Event.hpp 100.00% <100.00%> (ø)
compendium/EM/src/EMConstants.cpp 100.00% <100.00%> (ø)
compendium/EM/src/Event.cpp 100.00% <100.00%> (ø)

... and 18 files with indirect coverage changes

- Fixed compiler error

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp Outdated
Comment thread compendium/EM/test/TestEvent.cpp Outdated
@jeffdiclemente jeffdiclemente marked this pull request as draft November 16, 2023 13:23
@tcormackMW tcormackMW requested a review from carneyweb February 22, 2024 12:40
@tcormackMW tcormackMW self-assigned this Feb 22, 2024
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/EventHandler.hpp Outdated
Comment thread compendium/EM/src/EMConstants.cpp Outdated
Comment thread compendium/EM/src/Event.cpp Outdated
Comment thread compendium/EM/test/TestEvent.cpp
Comment thread compendium/EM/test/suite_registration.cpp
@tcormackMW tcormackMW marked this pull request as ready for review February 22, 2024 15:05
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Comment thread compendium/EM/include/cppmicroservices/em/EMConstants.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp
Comment thread compendium/EM/include/cppmicroservices/em/Event.hpp
Comment thread compendium/EM/include/cppmicroservices/em/EventAdmin.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/EventHandler.hpp Outdated
Copy link
Copy Markdown
Member

@jeffdiclemente jeffdiclemente left a comment

Choose a reason for hiding this comment

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

is the third_party/boost/nowide update necessary for this change?

Comment thread compendium/EM/include/cppmicroservices/em/EMConstants.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/EMConstants.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/EMConstants.hpp Outdated
Comment thread compendium/EM/include/cppmicroservices/em/EMConstants.hpp
Comment thread compendium/EM/include/cppmicroservices/em/EventAdmin.hpp Outdated
@mingweiLIU
Copy link
Copy Markdown

Is this feature ready?

@tcormackMW
Copy link
Copy Markdown
Contributor

is the third_party/boost/nowide update necessary for this change?

@jeffdiclemente I don't think so. I am not sure how those got into the changelist

@jeffdiclemente
Copy link
Copy Markdown
Member

Is this feature ready?

not yet. what we have in this PR is the service interface. The implementation of the interface still needs to be done.

@tcormackMW tcormackMW dismissed carneyweb’s stale review April 2, 2024 13:22

Everything was resolved. Not sure of why this is still blocking merge

@tcormackMW tcormackMW merged commit 2c4bec0 into development Apr 2, 2024
@tcormackMW tcormackMW deleted the eventadmin-interface branch April 2, 2024 13:32
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.

6 participants