gitlab4j / gitlab4j-api

GitLab4J API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories via the GitLab REST API
MIT License
1.07k stars 459 forks source link

Replace the underlying HTTP client #924

Open jmini opened 1 year ago

jmini commented 1 year ago

If we move to Java 11 or 17 (see #817), probably the built-in java client would be sufficient for this library.

This would reduce the dependency graph of this project.

This would solve the issue that some consumer of the project have with the jersey client and Java-EE vs Jakarta-EE packages (see https://github.com/gitlab4j/gitlab4j-api/pull/841 or https://github.com/gitlab4j/gitlab4j-api/issues/894)

This is open for suggestions

ramarro123 commented 8 months ago

hi @jmini this is a very intresting project, do you have any idea on when it will be ready? it will surely speed up native build for the pipeline

jmini commented 6 months ago

When asking about agnostic HTTP client in Java I got following pointer:

Create an SPI and then have various implementations (like OkHttp, JDK HttpClient, Vert.x etc). Example projects doing so:

  • Fabric8 Kubernetes Client
  • Testcontainers
  • OpenTelemetry

This is probably what #778 is describing.