-
Notifications
You must be signed in to change notification settings - Fork 124
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
Server-side power API #179 #429
Merged
+1,026
−420
Merged
Changes from 16 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
6d90c85
Draft implementation
ctoomey b983c53
Fix missing content-type header in Play response
ctoomey ff4f0d1
Fixed missing Content-Type header
ctoomey 4a9515c
Ripped out Play changes
ctoomey 2d8872f
Cleanup
ctoomey 42a9431
Remove PowerAPI from generated names
ctoomey 502072b
Remove PowerAPI from generated names
ctoomey fe75c41
Merge power API handling into handler template
ctoomey 73e9397
Merge power API handling into handler template
ctoomey fb86f38
Merge remote-tracking branch 'upstream/master' into 179-server-power-…
ctoomey 747744e
Integrate extended code generator options into akkaGrpcCodeGeneratorS…
ctoomey 54c863c
Integrate extended code generator options into akkaGrpcCodeGeneratorS…
ctoomey f7ac227
Fix enum
ctoomey 8a346af
Make GeneratorOption accessible
ctoomey d06be06
Latest changes requested on PR
ctoomey 2522ccc
Latest changes requested on PR
ctoomey 3a1a1b4
Latest PR-requested updates
ctoomey cf28c1f
Fix handler name in comments
ctoomey bd37a4d
Changed handling of server power APIs generator option
ctoomey c37e267
Revert "Changed handling of server power APIs generator option"
ctoomey d8eae54
Revert unrelated package name fix
ctoomey bff5466
Fix handling of both client/server generators
ctoomey 84b0335
Updated ReflectiveCodeGen
ctoomey f92a635
Update Java code generators
ctoomey 58ca34d
Java power API
ctoomey f39c234
Backed out unfinished Java power API Metadata.asMap
ctoomey 7fe4b78
Java power API
ctoomey edc28d2
Merge branch 'master' into 179-server-power-apis2.update-from-master
ctoomey 7544cae
Java power API
ctoomey cebba99
Maven for power APIs
ctoomey 190964f
Fix missing headers warning
ctoomey fc1d9be
Fix missing headers warning
ctoomey 0af4c9b
Gradle
ctoomey 6a7b9a2
Build tool fixes
ctoomey b6684eb
Merge branch 'master' into 179-server-power-apis2
ctoomey ac44100
Power API test for scala
ctoomey 18fd974
Power API test for java
ctoomey 6444b55
Power API test for java
ctoomey 707a5ae
Power API test fixes for maven, gradle
ctoomey e7481d1
Power API documentation
ctoomey e2d5b68
Merge branch 'master' into 179-server-power-apis2
ctoomey e87129e
Merge branch 'master' into 179-server-power-apis2
ctoomey 686aa5d
Power API tweaks
ctoomey cbfd17b
Updated Play router templates
ctoomey c8dba56
sbt Play generators moved back to akkaGrpcExtraGenerators
ctoomey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I don't think we need this parameter anymore, since this information now comes in via the parameters field on
CodeGeneratorRequest
, so we could add thepowerApis
field to https://github.com/akka/akka-grpc/blob/master/codegen/src/main/scala/akka/grpc/gen/scaladsl/Service.scala#L13. WDYT?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.
I actually implemented this change and then was reminded when I tried to use the updated code on a project that we can't pass through to scalaPB our additional code generator params without also modifying it to handle them -- otherwise it throws an "unrecognized parameter" exception. That's why I didn't do it that way originally.
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.
We'd have to first filter them out before passing them to scalaPB, that is true.