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

Splits core module in [core, config] #109

Merged
merged 2 commits into from
Jan 9, 2018

Conversation

juanpedromoreno
Copy link
Member

@juanpedromoreno juanpedromoreno commented Jan 9, 2018

This PR brings a general build cleaning:

  • Splits the frees-rpc core into two different artifacts: core and config, where config would be now optional.

Mandatory:
libraryDependencies += "io.frees" %% "frees-rpc-core" % "0.6.1"

Optional:
libraryDependencies += "io.frees" %% "frees-rpc-config" % "0.6.1"

  • Removes frees-logging.
  • Replaces grpc-all by the minimum dependencies with grpc: grpc-core, grpc-stub and grpc-netty.
  • Moves settings boilerplate to a project AutoPlugin.

Breaking changes:

  • Server and Client configuration helpers are now at: freestyle.rpc.server.config and freestyle.rpc.client.config.
  • freestyle-logging is not provided by frees-rpc anymore.
  • GrpcServerApp @module has been removed, GrpcServer can be used instead.

It also removes:
* frees-logging
Replaces grpc-all by the minimum dependencies with grpc
Other.
@juanpedromoreno juanpedromoreno requested a review from a team January 9, 2018 15:27
@codecov-io
Copy link

Codecov Report

Merging #109 into master will decrease coverage by 0.67%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   84.29%   83.62%   -0.68%     
==========================================
  Files          12       14       +2     
  Lines         121      116       -5     
==========================================
- Hits          102       97       -5     
  Misses         19       19
Impacted Files Coverage Δ
rpc/src/main/scala/client/package.scala 100% <ø> (ø) ⬆️
rpc/src/main/scala/server/package.scala 100% <ø> (ø) ⬆️
rpc/src/main/scala/server/GrpcConfig.scala 100% <ø> (ø) ⬆️
rpc/src/main/scala/RPCAsyncImplicits.scala 85.71% <ø> (-3.18%) ⬇️
rpc/src/main/scala/server/implicits.scala 100% <100%> (ø) ⬆️
rpc-config/src/main/scala/server/config.scala 100% <100%> (ø)
rpc-config/src/main/scala/client/config.scala 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6449825...b7e9bee. Read the comment docs.

Copy link
Contributor

@fedefernandez fedefernandez left a comment

Choose a reason for hiding this comment

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

👏 👏 👏 👏

@juanpedromoreno juanpedromoreno merged commit ccbda22 into master Jan 9, 2018
@juanpedromoreno juanpedromoreno deleted the jp-splits-core-in-optional-artifacts branch January 9, 2018 16:41
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