You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iota.apache.org by to...@apache.org on 2016/10/19 18:44:04 UTC

[5/8] incubator-iota git commit: Refactored the code for the calling of FeyUIService

Refactored the code for the calling of FeyUIService


Project: http://git-wip-us.apache.org/repos/asf/incubator-iota/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-iota/commit/1bc453c4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-iota/tree/1bc453c4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-iota/diff/1bc453c4

Branch: refs/heads/master
Commit: 1bc453c44aea315d72c38c5ffc70f73301e5b59b
Parents: c9bf447
Author: Shivansh <sh...@gmail.com>
Authored: Wed Sep 28 12:09:34 2016 +0530
Committer: Shivansh <sh...@gmail.com>
Committed: Wed Sep 28 12:09:34 2016 +0530

----------------------------------------------------------------------
 fey-core/src/main/scala/org/apache/iota/fey/Application.scala | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/1bc453c4/fey-core/src/main/scala/org/apache/iota/fey/Application.scala
----------------------------------------------------------------------
diff --git a/fey-core/src/main/scala/org/apache/iota/fey/Application.scala b/fey-core/src/main/scala/org/apache/iota/fey/Application.scala
index d62c418..11c8cd2 100644
--- a/fey-core/src/main/scala/org/apache/iota/fey/Application.scala
+++ b/fey-core/src/main/scala/org/apache/iota/fey/Application.scala
@@ -46,10 +46,7 @@ object SYSTEM_ACTORS{
 
   FEY_CORE_ACTOR.actorRef ! FeyCore.START
 
-  val service = system.actorOf(Props[MyServiceActor], name = "FEY_REST_API")
-
-  implicit val timeout = Timeout(800.seconds)
-  IO(Http) ? Http.Bind(SYSTEM_ACTORS.service, interface = "0.0.0.0", port = 16666)
+  FeyUIService
 
 }