iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonyfaust...@apache.org
Subject [1/2] incubator-iota git commit: [IOTA-19] Improve comments on Default configuration for Fey
Date Mon, 04 Jul 2016 19:00:34 GMT
Repository: incubator-iota
Updated Branches:
  refs/heads/master 48aa93d47 -> ebad14181


[IOTA-19] Improve comments on Default configuration for Fey

https://issues.apache.org/jira/browse/IOTA-19


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

Branch: refs/heads/master
Commit: c6edbe06cf789ba5060e98766de9a7562f5c86b6
Parents: 02d8ab6
Author: Barbara Gomes <barbaramaltagomes@gmail.com>
Authored: Sat Jul 2 09:02:46 2016 -0700
Committer: Barbara Gomes <barbaramaltagomes@gmail.com>
Committed: Sat Jul 2 09:02:46 2016 -0700

----------------------------------------------------------------------
 fey-core/src/main/resources/application.conf | 24 ++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/c6edbe06/fey-core/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/fey-core/src/main/resources/application.conf b/fey-core/src/main/resources/application.conf
index c96ef5d..28992f4 100644
--- a/fey-core/src/main/resources/application.conf
+++ b/fey-core/src/main/resources/application.conf
@@ -15,6 +15,9 @@
 //limitations under the License.
 //
 
+// Defines the default configuration for Fey
+// User can override this configuration by creating a configuration file
+// with the same schema and passing it as a argument to Fey.
 fey-global-configuration{
 
   // If check point is not enabled Fey won't check out the last state
@@ -25,26 +28,37 @@ fey-global-configuration{
   enable-checkpoint = true
 
   // Directory where fey is going to store its checkpoint
+  // Only the latest running Orchestration JSONs will be saved, no message will be checkpointed.
+  // It will not be used if "enable-checkpoint" is false
   checkpoint-directory = "/tmp/fey/checkpoint"
 
-  // Directory where the JSON will be sitting
+  // Directory that will be watched by Fey in order to get the Orchestration JSON files
+  // This directory must exist on your computer, Fey will not create it in case it does not
+  // and a exception will be thrown by the WatchService actor
   json-repository = ${HOME}"/feyJSONRepo"
 
-  // Defines each file extension to look for inside the JSON Repo
+  // Defines the file extension that will be processed by Fey.
+  // Files that does not have this extension will be ignored.
   json-extension = ".json"
 
-  // Defines the repo for the jars
+  // Directory where Fey will be loading the Performers from.
+  // This directory must exist on your computer, as well as all of the
+  // jars that are being specified in the Orchestration JSON
   jar-repository = ${HOME}"/feyJarRepo"
 
   // Fey Log Level
   log-level = "DEBUG"
 
-  // Defines where the log will be appended
-  // Options: FILE or STDOUT or FILE_STDOUT
+  // Defines where the log will be appended to
+  // Options:
+  // FILE -> Appends log the a rolling file at ~/.fey/logs/fey_core.log
+  // STDOUT -> Appends log to STDOUT
+  // FILE_STDOUT -> Appends log to STDOUT as well as to FILE
   log_appender = "STDOUT"
 
 }
 
+// Fey akka configuration. Can not be overwritten by user
 akka {
   loggers = ["akka.event.slf4j.Slf4jLogger"]
   loglevel = "DEBUG"


Mime
View raw message