Permalink
Browse files

Explanatory notes

  • Loading branch information...
janm committed Dec 14, 2012
1 parent 44eab3c commit 91e1911c6415df167fb07467103a77989cf8692f
Showing with 0 additions and 21 deletions.
  1. +0 −21 sbt/src/main/scala/org/cakesolutions/akkapatterns/api/customer.scala
@@ -34,25 +34,4 @@ class CustomerService(implicit val actorSystem: ActorSystem) extends Directives
}
}
}
- /*
- path("customers" / JavaUUID) { id =>
- get {
- complete {
- (customerActor ? Get(id)).mapTo[Option[Customer]]
- }
- }
- } ~
- path("customers") {
- get {
- complete {
- (customerActor ? FindAll()).mapTo[List[Customer]]
- }
- } ~
- post {
- entity(as[RegisterCustomer]) { rc =>
- complete((customerActor ? rc).mapTo[Either[NotRegisteredCustomer, RegisteredCustomer]])
- }
- }
- }
- */
}

0 comments on commit 91e1911

Please sign in to comment.