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

Drop Lagom modules #477

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
with:
name: "Play/Lagom gRPC $RESOLVED_VERSION"
name: "Play gRPC $RESOLVED_VERSION"
config-name: release-drafts/increasing-minor-version.yml # located in .github/ in the default branch within this or the .github repo
commitish: ${{ github.ref_name }}
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-blue.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org)
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/playframework/play-grpc&style=flat)](https://mergify.com)

Play and Lagom support for [akka-grpc](https://doc.akka.io/docs/akka-grpc/current/).
Play support for [akka-grpc](https://doc.akka.io/docs/akka-grpc/current/).

## Project Status

Expand Down
81 changes: 0 additions & 81 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ aggregateProjects(
playTestkit,
playSpecs2,
playScalaTest,
lagomScaladslGrpcTestKit,
lagomJavadslGrpcTestKit,
lagomInteropTestJava,
lagomInteropTestScala,
docs,
)

Expand Down Expand Up @@ -213,83 +209,6 @@ val playInteropTestJava = Project("play-grpc-interop-test-java", file("play-inte
.enablePlugins(build.play.grpc.NoPublish)
.pluginTestingSettings

val lagomJavadslGrpcTestKit = Project("lagom-javadsl-grpc-testkit", file("lagom-javadsl-grpc-testkit"))
.settings(
libraryDependencies += Dependencies.Compile.lagomJavadslTestKit,
libraryDependencies += Dependencies.Compile.akkaDiscovery,
)
.pluginTestingSettings

val lagomScaladslGrpcTestKit = Project("lagom-scaladsl-grpc-testkit", file("lagom-scaladsl-grpc-testkit"))
.settings(
libraryDependencies += Dependencies.Compile.lagomScaladslTestKit,
libraryDependencies += Dependencies.Compile.akkaDiscovery,
)
.pluginTestingSettings

val lagomInteropTestScala = Project("lagom-grpc-interop-test-scala", file("lagom-interop-test-scala"))
.dependsOn(playRuntime, lagomScaladslGrpcTestKit % Test)
.settings(
ReflectiveCodeGen.generatedLanguages := Seq(AkkaGrpc.Scala),
ReflectiveCodeGen.extraGenerators ++= List(
"akka.grpc.gen.scaladsl.ScalaMarshallersCodeGenerator",
"play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator",
"play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator",
),
libraryDependencies ++= Seq(
// TODO https://github.com/akka/akka-grpc/issues/193
Dependencies.Compile.grpcStub,
Dependencies.Compile.lagomScaladslTestKit,
Dependencies.Compile.playAkkaHttpServer,
Dependencies.Compile.playAkkaHttp2Support,
Dependencies.Compile.macwire,
// Used to force the akka version
Dependencies.Compile.akkaClusterShardingTyped,
Dependencies.Compile.akkaPersistenceQuery,
Dependencies.Compile.akkaPersistenceTyped,
Dependencies.Compile.akkaStream,
Dependencies.Compile.akkaSerializationJackson,
Dependencies.Test.akkaActorTestkitTyped,
Dependencies.Test.akkaStreamTestkit,
Dependencies.Test.junit,
Dependencies.Test.scalaTest,
Dependencies.Test.logback,
),
)
.pluginTestingSettings
.enablePlugins(build.play.grpc.NoPublish)

val lagomInteropTestJava = Project("lagom-grpc-interop-test-java", file("lagom-interop-test-java"))
.dependsOn(playRuntime, lagomJavadslGrpcTestKit % Test)
.settings(
ReflectiveCodeGen.generatedLanguages := Seq(AkkaGrpc.Java),
ReflectiveCodeGen.extraGenerators ++= List(
"play.grpc.gen.javadsl.PlayJavaClientCodeGenerator",
"play.grpc.gen.javadsl.PlayJavaServerCodeGenerator",
),
libraryDependencies ++= Seq(
// TODO https://github.com/akka/akka-grpc/issues/193
Dependencies.Compile.grpcStub,
Dependencies.Compile.lagomJavadslTestKit,
Dependencies.Compile.playAkkaHttpServer,
Dependencies.Compile.playAkkaHttp2Support,
// Used to force the akka version
Dependencies.Compile.akkaClusterShardingTyped,
Dependencies.Compile.akkaPersistenceQuery,
Dependencies.Compile.akkaPersistenceTyped,
Dependencies.Compile.akkaStream,
Dependencies.Compile.akkaSerializationJackson,
Dependencies.Test.akkaActorTestkitTyped,
Dependencies.Test.akkaStreamTestkit,
Dependencies.Test.junit,
Dependencies.Test.junitInterface,
Dependencies.Test.scalaTest,
Dependencies.Test.logback,
),
)
.pluginTestingSettings
.enablePlugins(build.play.grpc.NoPublish)

val docs = Project("play-grpc-docs", file("docs"))
.enablePlugins(AkkaParadoxPlugin)
.settings(
Expand Down
3 changes: 1 addition & 2 deletions docs/src/main/paradox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

[Akka gRPC](https://doc.akka.io/docs/akka-grpc/current/) provides support for building streaming gRPC
servers and clients on top of Akka Streams. Play gRPC provides examples and tools on embedding Akka gRPC endpoints on
Play applications and Lagom Services.
Play applications.

@@toc

@@@ index

* [Akka-gRPC in Play](play/index.md)
* [Akka-gRPC in Lagom](lagom/index.md)

@@@
72 changes: 0 additions & 72 deletions docs/src/main/paradox/lagom/consuming-grpc.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/src/main/paradox/lagom/index.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/src/main/paradox/lagom/lagom-grpc-testkit.md

This file was deleted.

61 changes: 0 additions & 61 deletions docs/src/main/paradox/lagom/overview.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/src/main/paradox/lagom/sample-applications.md

This file was deleted.

64 changes: 0 additions & 64 deletions docs/src/main/paradox/lagom/serving-grpc.md

This file was deleted.

Loading
Loading