mapstruct / mapstruct/mapstruct

Support OSGi DS (Declarative Services) as Component Model

Open
#2,399 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
7.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi Folks,

this issue is about using the OSGI-Style @org.osgi.service.component.annotations.Component and @org.osgi.service.component.annotations.Reference annotations an Component Model.

I've got a working prototype but it is missing tests with OSGi container / mocks. I you are experienced with writing unit tests that could check if OSGi references are filled in correctly in similar fashion there are tests for Spring Component Model please join me!

  • Is this an issue (and hence not a question)?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the working prototype in pull request #2400 and compare its OSGi component model with the existing Spring component model tests. Add coverage using an OSGi container or mocks to verify that OSGi references are filled correctly, then run the relevant component model test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.