microsoftgraph / microsoftgraph/msgraph-sdk-java-core

Add support for OSGI bundles

Open
#414 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement kiota
Dominant language
Java
Stars
67
Forks
34
PR merge metrics
No merged PRs in 30d

Description

There are classes used from Gson internal API
com.google.gson.internal.Streams is used in com/microsoft/graph/serializer/ODataTypeParametrizedIJsonBackedTypedAdapter.java
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory is used in com/microsoft/graph/serializer/FallbackTypeAdapterFactory.java

This is also the reason why this library cannot be used in the OSGI environment as starting from Gson 2.6, the com.google.gson.internal packages are no longer exported in the OSGi bundles.

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 by inspecting com/microsoft/graph/serializer/ODataTypeParametrizedIJsonBackedTypedAdapter.java and FallbackTypeAdapterFactory.java, focusing on their use of Gson internal APIs. Check the Gson OSGi export constraints and existing serializer tests or build configuration. Done means the SDK no longer depends on unavailable internal packages and can be used in an OSGi environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.