diff options
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/xyz/driver/core/init/AkkaBootable.scala | 5 | ||||
-rw-r--r-- | src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/main/scala/xyz/driver/core/init/AkkaBootable.scala b/src/main/scala/xyz/driver/core/init/AkkaBootable.scala index 8aa8de9..5e0b36c 100644 --- a/src/main/scala/xyz/driver/core/init/AkkaBootable.scala +++ b/src/main/scala/xyz/driver/core/init/AkkaBootable.scala @@ -75,7 +75,7 @@ trait AkkaBootable { /** General-purpose actor system for this application. * @group contexts */ - implicit lazy val system: ActorSystem = ActorSystem("app") + implicit lazy val system: ActorSystem = ActorSystem(name) /** General-purpose stream materializer for this application. * @group contexts @@ -98,9 +98,8 @@ trait AkkaBootable { */ implicit lazy val httpClient: SttpBackend[Future, Source[ByteString, Any]] = AkkaHttpBackend.usingActorSystem(system) - /** Old HTTP client system. Prefer using an sttp backend for new service clients. + /** Client RPC transport abstraction. * @group contexts - * @see httpClient */ implicit lazy val clientTransport: HttpRestServiceTransport = new HttpRestServiceTransport( applicationName = Name(name), diff --git a/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala b/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala index 07e32b0..183ad9a 100644 --- a/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala +++ b/src/main/scala/xyz/driver/core/rest/directives/PathMatchers.scala @@ -14,7 +14,7 @@ import xyz.driver.core.time.Time import scala.util.control.NonFatal -/** Akka-HTTP path matchers for suctom core types */ +/** Akka-HTTP path matchers for custom core types. */ trait PathMatchers { private def UuidInPath[T]: PathMatcher1[Id[T]] = |