Skip to content

Functionality to retrieve Service Reference from Service#1044

Merged
tcormackMW merged 10 commits intodevelopmentfrom
serviceRefFromService
Oct 11, 2024
Merged

Functionality to retrieve Service Reference from Service#1044
tcormackMW merged 10 commits intodevelopmentfrom
serviceRefFromService

Conversation

@tcormackMW
Copy link
Copy Markdown
Contributor

No description provided.

@tcormackMW tcormackMW self-assigned this Oct 4, 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/DeclarativeServices/test/gtest/TestServiceReferenceRetrieval.cpp Outdated
Comment thread compendium/DeclarativeServices/test/gtest/TestServiceReferenceRetrieval.cpp Outdated
Comment thread compendium/DeclarativeServices/test/gtest/TestServiceReferenceRetrieval.cpp Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 71.11111% with 13 lines in your changes missing coverage. Please review.

Project coverage is 88.39%. Comparing base (2e4eca4) to head (562aee0).
Report is 2 commits behind head on development.

Files with missing lines Patch % Lines
...ramework/src/service/ServiceReferenceBasePrivate.h 78.78% 7 Missing ⚠️
...mework/src/service/ServiceReferenceBasePrivate.cpp 0.00% 6 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #1044      +/-   ##
===============================================
- Coverage        88.42%   88.39%   -0.04%     
===============================================
  Files              252      253       +1     
  Lines            12155    12175      +20     
===============================================
+ Hits             10748    10762      +14     
- Misses            1407     1413       +6     
Files with missing lines Coverage Δ
...mework/include/cppmicroservices/ServiceReference.h 100.00% <100.00%> (ø)
...rk/include/cppmicroservices/ServiceReferenceBase.h 100.00% <ø> (ø)
framework/src/bundle/BundleContext.cpp 89.76% <100.00%> (+1.27%) ⬆️
framework/src/service/ServiceObjects.cpp 94.20% <100.00%> (+3.39%) ⬆️
...mework/src/service/ServiceReferenceBasePrivate.cpp 84.57% <0.00%> (-1.96%) ⬇️
...ramework/src/service/ServiceReferenceBasePrivate.h 78.78% <78.78%> (ø)

... and 3 files with indirect coverage changes

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 framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
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 framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h 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.

please add a RFC for this to the rfcs repo. Thanks!

Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
Comment thread framework/include/cppmicroservices/ServiceReference.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.cpp Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Copy link
Copy Markdown
Contributor

@Burgch Burgch left a comment

Choose a reason for hiding this comment

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

Looking good, thanks Toby! +1 to Jeff's comments too :)

Comment thread framework/include/cppmicroservices/ServiceReference.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.cpp Outdated
Comment thread framework/src/service/ServiceReferenceBasePrivate.h Outdated
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 framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Comment thread framework/src/service/ServiceReferenceBasePrivate.h
Copy link
Copy Markdown
Contributor

@Burgch Burgch left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Toby!

Comment thread framework/src/service/ServiceReferenceBasePrivate.h Fixed
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 framework/src/service/ServiceReferenceBasePrivate.h
Copy link
Copy Markdown
Contributor

@Burgch Burgch left a comment

Choose a reason for hiding this comment

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

LGTM 😃

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.

I think there is one testpoint missing that would be useful to lockdown the behavior of a ServiceReference. Other than that, LGTM and if you agree with me, I don't need to re-review after adding another testpoint.

@tcormackMW tcormackMW merged commit ff2a986 into development Oct 11, 2024
@tcormackMW tcormackMW deleted the serviceRefFromService branch October 11, 2024 19:29
RobertLauferElektrobit pushed a commit to insi-eb/CppMicroServices-cpp14 that referenced this pull request Jul 24, 2025
…vices#1044)


---------

Co-authored-by: Toby Cormack <tcormack@mathworks.com>
jeffdiclemente pushed a commit that referenced this pull request Jul 25, 2025
---------

Co-authored-by: tcormackMW <113473781+tcormackMW@users.noreply.github.com>
Co-authored-by: Toby Cormack <tcormack@mathworks.com>
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.

5 participants