Skip to content
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

Move gRPC boilerplate from :core to :daemon #4427

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

ghubstan
Copy link
Contributor

This change moves gRPC boilerplate code from the :core.grpc pkg into a new :daemon.grpc pkg.

  • The :core.grpc pkg was renamed :core.api, and no longer has a dependency on gRPC libs.

  • All core service classes in the :core.api pkg are now package protected, excepting CoreApi, making CoreApi the only possible entry point for all Grpc*Service -> Core*Service calls.

  • All gRPC service classes in the :daemon.grpc pkg are now package protected, excepting GrpcServer; the only class depending on Grpc*Service class is GrpcServer.

  • gRPC dependencies were moved from the gradle.build file's :core subproject to :daemon.

This PR replaces 4417.

This change moves gRPC boilerplate classes from the :core.grpc pkg
into a new :daemon.grpc pkg.

* The :core.grpc pkg was renamed :core.api, and no longer has any
  dependencies on gRPC libraries.

* All core service classes in the :core.api pkg are now package
  protected, excepting CoreApi, making CoreApi the only possible
  entry point for all Grpc*Service -> -Core*Service calls.

* All grpc service classes in the :daemon.grpc pkg are now package
  protected, excepting GrpcServer;  the only class depending on
  Grpc*Service class is GrpcServer.

* gRPC dependencies were moved from the gradle.build file's :core
  subproject to :daemon.
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit 10215b8 into bisq-network:master Aug 25, 2020
@ripcurlx ripcurlx added this to the v1.3.8 milestone Aug 29, 2020
@ghubstan ghubstan deleted the mv-grpc-boilerplate-to-daemon branch September 1, 2020 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants