armanbilge / gcp4s

Cross-platform JVM/JS Google Cloud Platform integrations for fs2 and friends
Apache License 2.0
7 stars 2 forks source link

What is the difference between the goals of gcp4s and googleapis-http4s-runtime? #268

Closed i10416 closed 9 months ago

i10416 commented 9 months ago

There are two GCP-related projects; googleapis-http4s(-runtime) and this repository.

I found there are some overlaps and slightly different but almost the same implementation between these projects.

Is gcp4s supposed to be a wrapper for googleapis in the same way firestore-rs provides richer APIs over underlying gcloud-sdk-rs(auto-generated from google proto files and openapi schema) or is gcp4s yet another googleapis-http4s-runtime?

https://github.com/davenverse/googleapis-http4s-runtime looks still WIP, but separating manual implementation(e.g. auth middleware) from auto-generated API clients seems better design. Perhaps, is there ongoing effort to migrate authentication stuffs to http4s-googleapis-runtime?

It is nice to be able to access GCP using Typelevel stack, so I'm happy to contribute whichever project.

armanbilge commented 9 months ago

Perhaps, is there ongoing effort to migrate authentication stuffs to http4s-googleapis-runtime?

Yes, that's correct. I wanted to migrate the authentication code from gcp4s to http4s-googleapis-runtime and add support for Scala Native.

I also want to add support for HTTP APIs to http4s-googleapis thanks to https://github.com/armanbilge/gcp4s/issues/254.

Is gcp4s supposed to be a wrapper for googleapis

This is an old project, that pre-dates HTTP/2 and gRPC support in Ember, otel4s superseding Natchez, and Scala Native support in the Typelevel stack. Probably we can sunset it.

i10416 commented 9 months ago

Thank you for quick response! I'will send some PRs to googleapis-http4s projects!