New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uptake pekko jars, use pekko names in packages and configs #23
Conversation
pjfanning
commented
Feb 24, 2023
•
edited
edited
- relates to Uptake pekko jars and switch to pekko config names #21
- use pekko and pekko-http jars
- use pekko prefix in config names
- temporarily removed akka-http-cors in this repo because that lib does not yet support pekko - but soon will (reintroduce dependency on akka-http-cors (or pekko equivalent) #22)
- some pekko renaming
- have left the build of the doc updates until later (to keep down size of this PR)
bbc0f56
to
51a8ee7
Compare
96732a5
to
5a437e9
Compare
5a437e9
to
1e3f41a
Compare
Great stuff!
Isn't that a blocker for merging this PR for now? Feels wrong to add third-party code as part of such a big commit just to get everything working right now. How about we just disable cors support for now to make this PR mergable (it's only used in four lines in the code) and then decide afterwards if we want to temporarily enable it again by importing the third-party project in its own PR or wait until the project itself has released something? |
If we would really want to add it to this project, we would have change its package name to avoid future problems for users which use both pekko-http-cors and pekko-grpc. |
I guess I had the pekko version of akka-http-cors ready so it seemed easiest to use it but I can look at disabling cors support instead. |
Another option would be to wait a couple of weeks, the owner of |
The cors code in pekko-grpc does look like it is non-trivial to rip out (and later add back) - so we might be best off waiting |
Was easy enough, I added it here: pjfanning#1. This might break something but it's only used in grpc-web which is less used than regular grpc support. I don't mind waiting for cors support, on the other hand, getting a snapshot version out which mostly works besides grpc-web/cors support might still be interesting. |
I merged @jrudolph change. I'm happy to have this merged if the consensus is that we can look at adding back the CORS support in a few weeks. |
Fine with me, just make an issue for it so we don't forget |
There is #22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I did a more comprehensive look at the PR and I noticed that @apidoc
was being removed, is there a reason why?
If its because it didn't compile, you usually need to update the Paradox prefix, i.e. setting ApidocPlugin.autoImport.apidocRootPackage
to org.apache.pekko
should fix the problem.
0f2a9a8
to
33427b5
Compare
I've tried out the apidoc changes but CI is struggling due to Jabba connectivity issues |
Hmm, the jabba issues seem completely unrelated, jabba is used in |
Yeah so everything related to JDK 11 is failing because of
If we change this to
|
Jabba will probably start working again. I can do a separate PR for setup-java switch. I can do that now. |
I think it makes sense to do it now, its a trivial PR and needs to be done anyways ( |
scalafmt and disable header check sbt-pekko-grpc doc build rename more classes proto package names pekko configs Update VersionGenerator.scala pekko-http config pekko-http config benchmark-java compile Delete release-drafter.yml doc issues fix doc build temporarily remove `@apidoc` refs that are broken try to fix build resolve issue try to fix build try to fix plugin tests more akka refs try to fix sbt tests more sbt plugin test changes test issue try again to fix sbt tests try to fix more tests scalafmt more akka refs more akka refs Update PekkoGrpcPlugin.scala Update PekkoGrpcPlugin.groovy Update PekkoGrpcPlugin.groovy Update PekkoGrpcPlugin.groovy fix names of artifacts add scala-library revert speculative change name issue Update build.gradle Update build.gradle revert unwanted changes
Update deploy.md
c977f26
to
c41a89c
Compare
interop-tests/src/test/scala/org/apache/pekko/grpc/interop/GrpcInteropSpec.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I am going to approve this, tests are passing. I noticed some more cases where we are still using Akka in class/object names so feel free to update those before merging.
As mentioned before the only other thing that needs to be changed is to make the import style consistent with the Pekko akka projects, I can go ahead and do this after the PR is merged.
scalafmt
7eabcbd
to
465e1aa
Compare