From 0e287628336a804903f8a7c462415821904e7966 Mon Sep 17 00:00:00 2001 From: Mona Baerenfaenger Date: Fri, 17 May 2019 14:09:26 +0200 Subject: [PATCH 1/2] :books: Remove first paragraph --- framework/src/controller/README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/framework/src/controller/README.md b/framework/src/controller/README.md index 2d3487f317c..eb9e9e7742a 100644 --- a/framework/src/controller/README.md +++ b/framework/src/controller/README.md @@ -1,10 +1,5 @@ # Controller -## Description - -The controller is a parent process, that is responsible for managing every user interaction with each [component](../components/README.md) and [module](../modules/README.md) of the framework. -E.g. restarting the node, launching a rebuild verification process, etc. - The controller is responsible for initialization of the infrastructure-level components. The controller also initializes each module separately. If any module is configured to load as a child process, then it is the controller's responsibility to do so. From 9f161bf19b3a3715d35154fca7a8013079e0ff2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mona=20B=C3=A4renf=C3=A4nger?= Date: Tue, 21 May 2019 09:39:19 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-Authored-By: Nazar Hussain --- framework/src/controller/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/src/controller/README.md b/framework/src/controller/README.md index eb9e9e7742a..1cff1fa660c 100644 --- a/framework/src/controller/README.md +++ b/framework/src/controller/README.md @@ -1,8 +1,6 @@ # Controller -The controller is responsible for initialization of the infrastructure-level components. -The controller also initializes each module separately. -If any module is configured to load as a child process, then it is the controller's responsibility to do so. +The controller is responsible for initialization the communication bus and any other dependencies required to load the modules. If any module is configured to load as a child process, then it is the controller's responsibility to do so. The controller defines a set of events, that each component can subscribe to: ### Default Events & Actions