-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring after upgrading server dependencies
- Loading branch information
Showing
4 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
src/main/scala/app/softnetwork/sequence/launch/SequenceRoutes.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
package app.softnetwork.sequence.launch | ||
|
||
import akka.actor.typed.ActorSystem | ||
import akka.http.scaladsl.server.Route | ||
import app.softnetwork.api.server.ApiRoutes | ||
import app.softnetwork.api.server.{ApiRoute, ApiRoutes} | ||
import app.softnetwork.sequence.service.SequenceService | ||
|
||
/** Created by smanciot on 07/04/2022. | ||
*/ | ||
trait SequenceRoutes extends ApiRoutes { | ||
|
||
override def apiRoutes(system: ActorSystem[_]): Route = SequenceService(system).route | ||
|
||
override def apiRoutes: ActorSystem[_] => List[ApiRoute] = | ||
system => List(SequenceService(system)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters