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

Add sbt-airframe plugin #943

Merged
merged 34 commits into from
Mar 10, 2020
Merged

Add sbt-airframe plugin #943

merged 34 commits into from
Mar 10, 2020

Conversation

xerial
Copy link
Member

@xerial xerial commented Feb 16, 2020

  • Support generating HTTP client code from airframe-http interfaces
  • plugin settings
  • Read http interfaces
  • Generate http client code for JVM
  • Generate Scala.js client code

@codecov
Copy link

codecov bot commented Feb 16, 2020

Codecov Report

Merging #943 into master will increase coverage by 0.02%.
The diff coverage is 80.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #943      +/-   ##
==========================================
+ Coverage   80.45%   80.48%   +0.02%     
==========================================
  Files         250      250              
  Lines        9472     9479       +7     
  Branches      641      647       +6     
==========================================
+ Hits         7621     7629       +8     
+ Misses       1851     1850       -1
Impacted Files Coverage Δ
.../main/scala/wvlet/airframe/http/router/Route.scala 68.75% <ø> (ø) ⬆️
...rc/main/scala/wvlet/airframe/http/HttpClient.scala 97.14% <0%> (-2.86%) ⬇️
...tp/src/main/scala/wvlet/airframe/http/Router.scala 64.44% <100%> (ø) ⬆️
...log/jvm/src/main/scala/wvlet/log/io/Resource.scala 88.88% <100%> (+0.1%) ⬆️
...c/main/scala/wvlet/airframe/surface/Surfaces.scala 67.7% <100%> (+0.68%) ⬆️
...irframe/surface/reflect/ReflectMethodSurface.scala 80% <66.66%> (ø) ⬆️
...rframe/surface/reflect/ReflectSurfaceFactory.scala 90.44% <82.35%> (+0.44%) ⬆️
...shared/src/main/scala/wvlet/log/io/StopWatch.scala 80.2% <0%> (+0.2%) ⬆️
...irframe/src/main/scala/wvlet/airframe/Binder.scala 70% <0%> (+2.5%) ⬆️

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 b79783e...dee5c0e. Read the comment docs.

@xerial xerial force-pushed the sbt-airframe-http branch from af6855b to 73bc2d8 Compare March 6, 2020 08:31
@xerial xerial changed the title [WIP] Add sbt-airframe plugin Add sbt-airframe plugin Mar 10, 2020
@xerial
Copy link
Member Author

xerial commented Mar 10, 2020

To support Scala.js code generation, we should make airframe-control / airframe-http cross projects for Scala JVM/Scala.js. I'll work on it in another PR.

@xerial xerial merged commit d78781e into wvlet:master Mar 10, 2020
@xerial xerial deleted the sbt-airframe-http branch March 10, 2020 20:31
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.

1 participant