This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b78c599
commit 72a8624
Showing
58 changed files
with
1,137 additions
and
933 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
16 changes: 16 additions & 0 deletions
16
distributed/src/main/scala/asobu/distributed/RequestEnricherDefinition.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package asobu.distributed | ||
|
||
trait RequestEnricherDefinition extends Serializable | ||
|
||
trait RequestEnricherDefinitionCombinator extends RequestEnricherDefinition | ||
|
||
object RequestEnricherDefinition { | ||
|
||
case class AndThen[A <: RequestEnricherDefinition, B <: RequestEnricherDefinition](a: A, b: B) extends RequestEnricherDefinitionCombinator | ||
case class OrElse[A <: RequestEnricherDefinition, B <: RequestEnricherDefinition](a: A, b: B) extends RequestEnricherDefinitionCombinator | ||
|
||
implicit class RequestEnricherDefinitionSyntax[A <: RequestEnricherDefinition](a: A) { | ||
def andThen[B <: RequestEnricherDefinition](b: B): AndThen[A, B] = AndThen(a, b) | ||
def orElse[B <: RequestEnricherDefinition](b: B): OrElse[A, B] = OrElse(a, b) | ||
} | ||
} |
121 changes: 0 additions & 121 deletions
121
distributed/src/main/scala/asobu/distributed/RequestExtractorDefinition.scala
This file was deleted.
Oops, something went wrong.
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
23 changes: 0 additions & 23 deletions
23
...ributed/src/main/scala/asobu/distributed/gateway/DisabledCustomExtractorInterpreter.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.