predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject [34/34] incubator-predictionio git commit: Merge branch 'yinxusen/pio-2' into develop
Date Mon, 18 Jul 2016 20:18:05 GMT
Merge branch 'yinxusen/pio-2' into develop


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

Branch: refs/heads/develop
Commit: 02a5655fcf4b9df52b60a94410b745a454b00b4b
Parents: 23c21d6 ed9d62d
Author: Donald Szeto <donald@apache.org>
Authored: Mon Jul 18 13:17:10 2016 -0700
Committer: Donald Szeto <donald@apache.org>
Committed: Mon Jul 18 13:17:10 2016 -0700

----------------------------------------------------------------------
 bin/pio                                         |    2 +-
 bin/pio-daemon                                  |    2 +-
 build.sbt                                       |   44 +-
 .../io/prediction/annotation/DeveloperApi.java  |   34 -
 .../io/prediction/annotation/Experimental.java  |   35 -
 .../authentication/KeyAuthentication.scala      |   55 -
 .../configuration/SSLConfiguration.scala        |   71 -
 .../predictionio/annotation/DeveloperApi.java   |   34 +
 .../predictionio/annotation/Experimental.java   |   35 +
 .../authentication/KeyAuthentication.scala      |   55 +
 .../configuration/SSLConfiguration.scala        |   71 +
 conf/server.conf                                |    6 +-
 .../controller/CustomQuerySerializer.scala      |   37 -
 .../io/prediction/controller/Deployment.scala   |   56 -
 .../scala/io/prediction/controller/Engine.scala |  829 ------------
 .../prediction/controller/EngineFactory.scala   |   41 -
 .../io/prediction/controller/EngineParams.scala |  149 --
 .../controller/EngineParamsGenerator.scala      |   43 -
 .../io/prediction/controller/Evaluation.scala   |  122 --
 .../prediction/controller/FastEvalEngine.scala  |  343 -----
 .../controller/IdentityPreparator.scala         |   92 --
 .../io/prediction/controller/LAlgorithm.scala   |  130 --
 .../prediction/controller/LAverageServing.scala |   41 -
 .../io/prediction/controller/LDataSource.scala  |   67 -
 .../prediction/controller/LFirstServing.scala   |   39 -
 .../io/prediction/controller/LPreparator.scala  |   46 -
 .../io/prediction/controller/LServing.scala     |   52 -
 .../LocalFileSystemPersistentModel.scala        |   74 -
 .../scala/io/prediction/controller/Metric.scala |  266 ----
 .../prediction/controller/MetricEvaluator.scala |  260 ----
 .../io/prediction/controller/P2LAlgorithm.scala |  121 --
 .../io/prediction/controller/PAlgorithm.scala   |  126 --
 .../io/prediction/controller/PDataSource.scala  |   57 -
 .../io/prediction/controller/PPreparator.scala  |   44 -
 .../scala/io/prediction/controller/Params.scala |   31 -
 .../prediction/controller/PersistentModel.scala |  112 --
 .../io/prediction/controller/SanityCheck.scala  |   30 -
 .../scala/io/prediction/controller/Utils.scala  |   69 -
 .../java/JavaEngineParamsGenerator.scala        |   39 -
 .../controller/java/JavaEvaluation.scala        |   66 -
 .../controller/java/LJavaAlgorithm.scala        |   31 -
 .../controller/java/LJavaDataSource.scala       |   31 -
 .../controller/java/LJavaPreparator.scala       |   29 -
 .../controller/java/LJavaServing.scala          |   26 -
 .../controller/java/P2LJavaAlgorithm.scala      |   33 -
 .../controller/java/PJavaAlgorithm.scala        |   28 -
 .../controller/java/PJavaDataSource.scala       |   28 -
 .../controller/java/PJavaPreparator.scala       |   26 -
 .../java/SerializableComparator.scala           |   20 -
 .../io/prediction/controller/package.scala      |  168 ---
 .../scala/io/prediction/core/AbstractDoer.scala |   66 -
 .../io/prediction/core/BaseAlgorithm.scala      |  123 --
 .../io/prediction/core/BaseDataSource.scala     |   52 -
 .../scala/io/prediction/core/BaseEngine.scala   |  100 --
 .../io/prediction/core/BaseEvaluator.scala      |   72 -
 .../io/prediction/core/BasePreparator.scala     |   42 -
 .../scala/io/prediction/core/BaseServing.scala  |   51 -
 .../main/scala/io/prediction/core/package.scala |   21 -
 core/src/main/scala/io/prediction/package.scala |   19 -
 .../io/prediction/workflow/CoreWorkflow.scala   |  163 ---
 .../io/prediction/workflow/CreateServer.scala   |  737 ----------
 .../io/prediction/workflow/CreateWorkflow.scala |  274 ----
 .../workflow/EngineServerPlugin.scala           |   40 -
 .../workflow/EngineServerPluginContext.scala    |   88 --
 .../workflow/EngineServerPluginsActor.scala     |   46 -
 .../workflow/EvaluationWorkflow.scala           |   42 -
 .../io/prediction/workflow/FakeWorkflow.scala   |  106 --
 .../io/prediction/workflow/JsonExtractor.scala  |  164 ---
 .../workflow/JsonExtractorOption.scala          |   23 -
 .../workflow/PersistentModelManifest.scala      |   18 -
 .../scala/io/prediction/workflow/Workflow.scala |  135 --
 .../prediction/workflow/WorkflowContext.scala   |   45 -
 .../io/prediction/workflow/WorkflowParams.scala |   42 -
 .../io/prediction/workflow/WorkflowUtils.scala  |  419 ------
 .../controller/CustomQuerySerializer.scala      |   37 +
 .../predictionio/controller/Deployment.scala    |   56 +
 .../apache/predictionio/controller/Engine.scala |  829 ++++++++++++
 .../predictionio/controller/EngineFactory.scala |   41 +
 .../predictionio/controller/EngineParams.scala  |  149 ++
 .../controller/EngineParamsGenerator.scala      |   43 +
 .../predictionio/controller/Evaluation.scala    |  122 ++
 .../controller/FastEvalEngine.scala             |  343 +++++
 .../controller/IdentityPreparator.scala         |   92 ++
 .../predictionio/controller/LAlgorithm.scala    |  130 ++
 .../controller/LAverageServing.scala            |   41 +
 .../predictionio/controller/LDataSource.scala   |   67 +
 .../predictionio/controller/LFirstServing.scala |   39 +
 .../predictionio/controller/LPreparator.scala   |   46 +
 .../predictionio/controller/LServing.scala      |   52 +
 .../LocalFileSystemPersistentModel.scala        |   74 +
 .../apache/predictionio/controller/Metric.scala |  266 ++++
 .../controller/MetricEvaluator.scala            |  260 ++++
 .../predictionio/controller/P2LAlgorithm.scala  |  121 ++
 .../predictionio/controller/PAlgorithm.scala    |  126 ++
 .../predictionio/controller/PDataSource.scala   |   57 +
 .../predictionio/controller/PPreparator.scala   |   44 +
 .../apache/predictionio/controller/Params.scala |   31 +
 .../controller/PersistentModel.scala            |  112 ++
 .../predictionio/controller/SanityCheck.scala   |   30 +
 .../apache/predictionio/controller/Utils.scala  |   69 +
 .../java/JavaEngineParamsGenerator.scala        |   39 +
 .../controller/java/JavaEvaluation.scala        |   66 +
 .../controller/java/LJavaAlgorithm.scala        |   31 +
 .../controller/java/LJavaDataSource.scala       |   31 +
 .../controller/java/LJavaPreparator.scala       |   29 +
 .../controller/java/LJavaServing.scala          |   26 +
 .../controller/java/P2LJavaAlgorithm.scala      |   33 +
 .../controller/java/PJavaAlgorithm.scala        |   28 +
 .../controller/java/PJavaDataSource.scala       |   28 +
 .../controller/java/PJavaPreparator.scala       |   26 +
 .../java/SerializableComparator.scala           |   20 +
 .../predictionio/controller/package.scala       |  168 +++
 .../apache/predictionio/core/AbstractDoer.scala |   66 +
 .../predictionio/core/BaseAlgorithm.scala       |  123 ++
 .../predictionio/core/BaseDataSource.scala      |   52 +
 .../apache/predictionio/core/BaseEngine.scala   |  100 ++
 .../predictionio/core/BaseEvaluator.scala       |   72 +
 .../predictionio/core/BasePreparator.scala      |   42 +
 .../apache/predictionio/core/BaseServing.scala  |   51 +
 .../org/apache/predictionio/core/package.scala  |   21 +
 .../scala/org/apache/predictionio/package.scala |   19 +
 .../predictionio/workflow/CoreWorkflow.scala    |  163 +++
 .../predictionio/workflow/CreateServer.scala    |  737 ++++++++++
 .../predictionio/workflow/CreateWorkflow.scala  |  274 ++++
 .../workflow/EngineServerPlugin.scala           |   40 +
 .../workflow/EngineServerPluginContext.scala    |   88 ++
 .../workflow/EngineServerPluginsActor.scala     |   46 +
 .../workflow/EvaluationWorkflow.scala           |   42 +
 .../predictionio/workflow/FakeWorkflow.scala    |  106 ++
 .../predictionio/workflow/JsonExtractor.scala   |  164 +++
 .../workflow/JsonExtractorOption.scala          |   23 +
 .../workflow/PersistentModelManifest.scala      |   18 +
 .../apache/predictionio/workflow/Workflow.scala |  135 ++
 .../predictionio/workflow/WorkflowContext.scala |   45 +
 .../predictionio/workflow/WorkflowParams.scala  |   42 +
 .../predictionio/workflow/WorkflowUtils.scala   |  419 ++++++
 .../controller/metric_evaluator.scala.html      |   95 --
 .../io/prediction/workflow/index.scala.html     |   92 --
 .../controller/metric_evaluator.scala.html      |   95 ++
 .../predictionio/workflow/index.scala.html      |   92 ++
 .../java/io/prediction/workflow/JavaParams.java |   30 -
 .../java/io/prediction/workflow/JavaQuery.java  |   46 -
 .../workflow/JavaQueryTypeAdapterFactory.java   |   60 -
 .../predictionio/workflow/JavaParams.java       |   30 +
 .../apache/predictionio/workflow/JavaQuery.java |   46 +
 .../workflow/JavaQueryTypeAdapterFactory.java   |   60 +
 .../io/prediction/controller/EngineTest.scala   |  615 ---------
 .../prediction/controller/EvaluationTest.scala  |   46 -
 .../prediction/controller/EvaluatorTest.scala   |   93 --
 .../controller/FastEvalEngineTest.scala         |  181 ---
 .../controller/MetricEvaluatorTest.scala        |   52 -
 .../io/prediction/controller/MetricTest.scala   |  143 --
 .../io/prediction/controller/SampleEngine.scala |  472 -------
 .../scala/io/prediction/workflow/BaseTest.scala |   75 -
 .../workflow/EngineWorkflowTest.scala           |    0
 .../workflow/EvaluationWorkflowTest.scala       |   61 -
 .../workflow/JsonExtractorSuite.scala           |  383 ------
 .../predictionio/controller/EngineTest.scala    |  615 +++++++++
 .../controller/EvaluationTest.scala             |   46 +
 .../predictionio/controller/EvaluatorTest.scala |   93 ++
 .../controller/FastEvalEngineTest.scala         |  181 +++
 .../controller/MetricEvaluatorTest.scala        |   52 +
 .../predictionio/controller/MetricTest.scala    |  143 ++
 .../predictionio/controller/SampleEngine.scala  |  472 +++++++
 .../apache/predictionio/workflow/BaseTest.scala |   75 +
 .../workflow/EngineWorkflowTest.scala           |    0
 .../workflow/EvaluationWorkflowTest.scala       |   61 +
 .../workflow/JsonExtractorSuite.scala           |  383 ++++++
 data/README.md                                  |   18 +-
 .../main/scala/io/prediction/data/Utils.scala   |   50 -
 .../scala/io/prediction/data/api/Common.scala   |   80 --
 .../io/prediction/data/api/EventInfo.scala      |   24 -
 .../io/prediction/data/api/EventServer.scala    |  640 ---------
 .../prediction/data/api/EventServerPlugin.scala |   33 -
 .../data/api/EventServerPluginContext.scala     |   49 -
 .../io/prediction/data/api/PluginsActor.scala   |   52 -
 .../scala/io/prediction/data/api/Stats.scala    |   79 --
 .../io/prediction/data/api/StatsActor.scala     |   74 -
 .../scala/io/prediction/data/api/Webhooks.scala |  151 ---
 .../data/api/WebhooksConnectors.scala           |   34 -
 .../main/scala/io/prediction/data/package.scala |   21 -
 .../io/prediction/data/storage/AccessKeys.scala |   71 -
 .../scala/io/prediction/data/storage/Apps.scala |   58 -
 .../io/prediction/data/storage/BiMap.scala      |  164 ---
 .../io/prediction/data/storage/Channels.scala   |   79 --
 .../io/prediction/data/storage/DataMap.scala    |  241 ----
 .../data/storage/DateTimeJson4sSupport.scala    |   47 -
 .../data/storage/EngineInstances.scala          |  177 ---
 .../data/storage/EngineManifests.scala          |  117 --
 .../io/prediction/data/storage/EntityMap.scala  |   98 --
 .../data/storage/EvaluationInstances.scala      |  135 --
 .../io/prediction/data/storage/Event.scala      |  164 ---
 .../data/storage/EventJson4sSupport.scala       |  236 ----
 .../data/storage/LEventAggregator.scala         |  145 --
 .../io/prediction/data/storage/LEvents.scala    |  489 -------
 .../io/prediction/data/storage/Models.scala     |   80 --
 .../data/storage/PEventAggregator.scala         |  209 ---
 .../io/prediction/data/storage/PEvents.scala    |  182 ---
 .../prediction/data/storage/PropertyMap.scala   |   96 --
 .../io/prediction/data/storage/Storage.scala    |  403 ------
 .../io/prediction/data/storage/Utils.scala      |   47 -
 .../storage/elasticsearch/ESAccessKeys.scala    |  116 --
 .../data/storage/elasticsearch/ESApps.scala     |  127 --
 .../data/storage/elasticsearch/ESChannels.scala |  114 --
 .../elasticsearch/ESEngineInstances.scala       |  155 ---
 .../elasticsearch/ESEngineManifests.scala       |   81 --
 .../elasticsearch/ESEvaluationInstances.scala   |  133 --
 .../storage/elasticsearch/ESSequences.scala     |   61 -
 .../data/storage/elasticsearch/ESUtils.scala    |   45 -
 .../storage/elasticsearch/StorageClient.scala   |   47 -
 .../data/storage/elasticsearch/package.scala    |   22 -
 .../data/storage/hbase/HBEventsUtil.scala       |  412 ------
 .../data/storage/hbase/HBLEvents.scala          |  192 ---
 .../data/storage/hbase/HBPEvents.scala          |  112 --
 .../data/storage/hbase/PIOHBaseUtil.scala       |   28 -
 .../data/storage/hbase/StorageClient.scala      |   83 --
 .../prediction/data/storage/hbase/package.scala |   22 -
 .../data/storage/hbase/upgrade/HB_0_8_0.scala   |  190 ---
 .../data/storage/hbase/upgrade/Upgrade.scala    |   72 -
 .../storage/hbase/upgrade/Upgrade_0_8_3.scala   |  221 ---
 .../data/storage/hdfs/HDFSModels.scala          |   60 -
 .../data/storage/hdfs/StorageClient.scala       |   33 -
 .../prediction/data/storage/hdfs/package.scala  |   22 -
 .../data/storage/jdbc/JDBCAccessKeys.scala      |   84 --
 .../prediction/data/storage/jdbc/JDBCApps.scala |   86 --
 .../data/storage/jdbc/JDBCChannels.scala        |   66 -
 .../data/storage/jdbc/JDBCEngineInstances.scala |  194 ---
 .../data/storage/jdbc/JDBCEngineManifests.scala |  111 --
 .../storage/jdbc/JDBCEvaluationInstances.scala  |  162 ---
 .../data/storage/jdbc/JDBCLEvents.scala         |  241 ----
 .../data/storage/jdbc/JDBCModels.scala          |   52 -
 .../data/storage/jdbc/JDBCPEvents.scala         |  160 ---
 .../data/storage/jdbc/JDBCUtils.scala           |  103 --
 .../data/storage/jdbc/StorageClient.scala       |   50 -
 .../prediction/data/storage/jdbc/package.scala  |   23 -
 .../data/storage/localfs/LocalFSModels.scala    |   59 -
 .../data/storage/localfs/StorageClient.scala    |   43 -
 .../data/storage/localfs/package.scala          |   22 -
 .../io/prediction/data/storage/package.scala    |   26 -
 .../scala/io/prediction/data/store/Common.scala |   50 -
 .../io/prediction/data/store/LEventStore.scala  |  142 --
 .../io/prediction/data/store/PEventStore.scala  |  116 --
 .../data/store/java/LJavaEventStore.scala       |  142 --
 .../data/store/java/OptionHelper.scala          |   29 -
 .../data/store/java/PJavaEventStore.scala       |  109 --
 .../io/prediction/data/store/package.scala      |   21 -
 .../io/prediction/data/view/DataView.scala      |  110 --
 .../io/prediction/data/view/LBatchView.scala    |  200 ---
 .../io/prediction/data/view/PBatchView.scala    |  209 ---
 .../io/prediction/data/view/QuickTest.scala     |   94 --
 .../data/webhooks/ConnectorException.scala      |   31 -
 .../data/webhooks/ConnectorUtil.scala           |   46 -
 .../data/webhooks/FormConnector.scala           |   32 -
 .../data/webhooks/JsonConnector.scala           |   31 -
 .../exampleform/ExampleFormConnector.scala      |  123 --
 .../examplejson/ExampleJsonConnector.scala      |  153 ---
 .../webhooks/mailchimp/MailChimpConnector.scala |  305 -----
 .../webhooks/segmentio/SegmentIOConnector.scala |  306 -----
 .../org/apache/predictionio/data/Utils.scala    |   50 +
 .../apache/predictionio/data/api/Common.scala   |   80 ++
 .../predictionio/data/api/EventInfo.scala       |   24 +
 .../predictionio/data/api/EventServer.scala     |  640 +++++++++
 .../data/api/EventServerPlugin.scala            |   33 +
 .../data/api/EventServerPluginContext.scala     |   49 +
 .../predictionio/data/api/PluginsActor.scala    |   52 +
 .../apache/predictionio/data/api/Stats.scala    |   79 ++
 .../predictionio/data/api/StatsActor.scala      |   74 +
 .../apache/predictionio/data/api/Webhooks.scala |  151 +++
 .../data/api/WebhooksConnectors.scala           |   34 +
 .../org/apache/predictionio/data/package.scala  |   21 +
 .../predictionio/data/storage/AccessKeys.scala  |   71 +
 .../apache/predictionio/data/storage/Apps.scala |   58 +
 .../predictionio/data/storage/BiMap.scala       |  164 +++
 .../predictionio/data/storage/Channels.scala    |   79 ++
 .../predictionio/data/storage/DataMap.scala     |  241 ++++
 .../data/storage/DateTimeJson4sSupport.scala    |   47 +
 .../data/storage/EngineInstances.scala          |  177 +++
 .../data/storage/EngineManifests.scala          |  117 ++
 .../predictionio/data/storage/EntityMap.scala   |   98 ++
 .../data/storage/EvaluationInstances.scala      |  135 ++
 .../predictionio/data/storage/Event.scala       |  164 +++
 .../data/storage/EventJson4sSupport.scala       |  236 ++++
 .../data/storage/LEventAggregator.scala         |  145 ++
 .../predictionio/data/storage/LEvents.scala     |  489 +++++++
 .../predictionio/data/storage/Models.scala      |   80 ++
 .../data/storage/PEventAggregator.scala         |  209 +++
 .../predictionio/data/storage/PEvents.scala     |  182 +++
 .../predictionio/data/storage/PropertyMap.scala |   96 ++
 .../predictionio/data/storage/Storage.scala     |  403 ++++++
 .../predictionio/data/storage/Utils.scala       |   47 +
 .../storage/elasticsearch/ESAccessKeys.scala    |  116 ++
 .../data/storage/elasticsearch/ESApps.scala     |  127 ++
 .../data/storage/elasticsearch/ESChannels.scala |  114 ++
 .../elasticsearch/ESEngineInstances.scala       |  155 +++
 .../elasticsearch/ESEngineManifests.scala       |   81 ++
 .../elasticsearch/ESEvaluationInstances.scala   |  133 ++
 .../storage/elasticsearch/ESSequences.scala     |   61 +
 .../data/storage/elasticsearch/ESUtils.scala    |   45 +
 .../storage/elasticsearch/StorageClient.scala   |   47 +
 .../data/storage/elasticsearch/package.scala    |   22 +
 .../data/storage/hbase/HBEventsUtil.scala       |  412 ++++++
 .../data/storage/hbase/HBLEvents.scala          |  192 +++
 .../data/storage/hbase/HBPEvents.scala          |  112 ++
 .../data/storage/hbase/PIOHBaseUtil.scala       |   28 +
 .../data/storage/hbase/StorageClient.scala      |   83 ++
 .../data/storage/hbase/package.scala            |   22 +
 .../data/storage/hbase/upgrade/HB_0_8_0.scala   |  190 +++
 .../data/storage/hbase/upgrade/Upgrade.scala    |   72 +
 .../storage/hbase/upgrade/Upgrade_0_8_3.scala   |  221 +++
 .../data/storage/hdfs/HDFSModels.scala          |   60 +
 .../data/storage/hdfs/StorageClient.scala       |   33 +
 .../data/storage/hdfs/package.scala             |   22 +
 .../data/storage/jdbc/JDBCAccessKeys.scala      |   84 ++
 .../data/storage/jdbc/JDBCApps.scala            |   86 ++
 .../data/storage/jdbc/JDBCChannels.scala        |   66 +
 .../data/storage/jdbc/JDBCEngineInstances.scala |  194 +++
 .../data/storage/jdbc/JDBCEngineManifests.scala |  111 ++
 .../storage/jdbc/JDBCEvaluationInstances.scala  |  162 +++
 .../data/storage/jdbc/JDBCLEvents.scala         |  241 ++++
 .../data/storage/jdbc/JDBCModels.scala          |   52 +
 .../data/storage/jdbc/JDBCPEvents.scala         |  160 +++
 .../data/storage/jdbc/JDBCUtils.scala           |  103 ++
 .../data/storage/jdbc/StorageClient.scala       |   50 +
 .../data/storage/jdbc/package.scala             |   23 +
 .../data/storage/localfs/LocalFSModels.scala    |   59 +
 .../data/storage/localfs/StorageClient.scala    |   43 +
 .../data/storage/localfs/package.scala          |   22 +
 .../predictionio/data/storage/package.scala     |   26 +
 .../apache/predictionio/data/store/Common.scala |   50 +
 .../predictionio/data/store/LEventStore.scala   |  142 ++
 .../predictionio/data/store/PEventStore.scala   |  116 ++
 .../data/store/java/LJavaEventStore.scala       |  142 ++
 .../data/store/java/OptionHelper.scala          |   29 +
 .../data/store/java/PJavaEventStore.scala       |  109 ++
 .../predictionio/data/store/package.scala       |   21 +
 .../predictionio/data/view/DataView.scala       |  110 ++
 .../predictionio/data/view/LBatchView.scala     |  200 +++
 .../predictionio/data/view/PBatchView.scala     |  209 +++
 .../predictionio/data/view/QuickTest.scala      |   94 ++
 .../data/webhooks/ConnectorException.scala      |   31 +
 .../data/webhooks/ConnectorUtil.scala           |   46 +
 .../data/webhooks/FormConnector.scala           |   32 +
 .../data/webhooks/JsonConnector.scala           |   31 +
 .../exampleform/ExampleFormConnector.scala      |  123 ++
 .../examplejson/ExampleJsonConnector.scala      |  153 +++
 .../webhooks/mailchimp/MailChimpConnector.scala |  305 +++++
 .../webhooks/segmentio/SegmentIOConnector.scala |  306 +++++
 data/src/test/resources/application.conf        |    2 +-
 .../prediction/data/api/EventServiceSpec.scala  |   68 -
 .../prediction/data/api/SegmentIOAuthSpec.scala |  175 ---
 .../io/prediction/data/storage/BiMapSpec.scala  |  196 ---
 .../prediction/data/storage/DataMapSpec.scala   |  243 ----
 .../data/storage/LEventAggregatorSpec.scala     |  103 --
 .../prediction/data/storage/LEventsSpec.scala   |  245 ----
 .../data/storage/PEventAggregatorSpec.scala     |   72 -
 .../prediction/data/storage/PEventsSpec.scala   |  210 ---
 .../data/storage/StorageTestUtils.scala         |   42 -
 .../io/prediction/data/storage/TestEvents.scala |  263 ----
 .../data/webhooks/ConnectorTestUtil.scala       |   47 -
 .../exampleform/ExampleFormConnectorSpec.scala  |  164 ---
 .../examplejson/ExampleJsonConnectorSpec.scala  |  179 ---
 .../mailchimp/MailChimpConnectorSpec.scala      |  254 ----
 .../segmentio/SegmentIOConnectorSpec.scala      |  335 -----
 .../data/api/EventServiceSpec.scala             |   68 +
 .../data/api/SegmentIOAuthSpec.scala            |  175 +++
 .../predictionio/data/storage/BiMapSpec.scala   |  196 +++
 .../predictionio/data/storage/DataMapSpec.scala |  243 ++++
 .../data/storage/LEventAggregatorSpec.scala     |  103 ++
 .../predictionio/data/storage/LEventsSpec.scala |  245 ++++
 .../data/storage/PEventAggregatorSpec.scala     |   72 +
 .../predictionio/data/storage/PEventsSpec.scala |  210 +++
 .../data/storage/StorageTestUtils.scala         |   42 +
 .../predictionio/data/storage/TestEvents.scala  |  263 ++++
 .../data/webhooks/ConnectorTestUtil.scala       |   47 +
 .../exampleform/ExampleFormConnectorSpec.scala  |  164 +++
 .../examplejson/ExampleJsonConnectorSpec.scala  |  179 +++
 .../mailchimp/MailChimpConnectorSpec.scala      |  254 ++++
 .../segmentio/SegmentIOConnectorSpec.scala      |  335 +++++
 docs/javadoc/javadoc-overview.html              |    8 +-
 .../manual/obsolete/cookbook/evaluation.html.md |    4 +-
 .../cookbook/filteringunavailable.html.md       |    6 +-
 docs/manual/obsolete/engines/index.html.md      |    4 +-
 .../obsolete/engines/itemrank/index.html.md     |   10 +-
 .../obsolete/engines/itemrec/index.html.md      |    2 +-
 .../obsolete/engines/itemsim/index.html.md      |    2 +-
 .../enginebuilders/local-helloworld.html.md     |    6 +-
 .../stepbystep/combiningalgorithms.html.md      |   10 +-
 .../stepbystep/dataalgorithm.html.md            |   12 +-
 .../stepbystep/evaluation.html.md               |   12 +-
 .../stepbystep/testcomponents.html.md           |    4 +-
 .../tutorials/engines/quickstart.html.md        |   22 +-
 .../tutorials/recommendation/movielens.html.md  |    6 +-
 .../tutorials/recommendation/yelp.html.md       |   10 +-
 .../source/community/contribute-webhook.html.md |   24 +-
 docs/manual/source/customize/dase.html.md.erb   |   14 +-
 .../source/customize/troubleshooting.html.md    |   14 +-
 .../source/datacollection/eventapi.html.md      |    2 +-
 .../datacollection/eventmodel.html.md.erb       |   10 +-
 .../source/demo/textclassification.html.md      |    6 +-
 .../dimensionalityreduction.html.md             |    6 +-
 .../shared/install/_dependent_services.html.erb |    4 +-
 docs/manual/source/resources/faq.html.md        |    4 +-
 .../source/resources/intellij.html.md.erb       |    6 +-
 docs/manual/source/resources/upgrade.html.md    |   20 +-
 docs/manual/source/sdk/java.html.md.erb         |    2 +-
 docs/manual/source/sdk/php.html.md.erb          |    2 +-
 .../source/system/anotherdatastore.html.md      |    4 +-
 .../classification/quickstart.html.md.erb       |    6 +-
 .../quickstart.html.md.erb                      |    6 +-
 .../quickstart.html.md.erb                      |    6 +-
 .../quickstart.html.md.erb                      |    6 +-
 .../leadscoring/quickstart.html.md.erb          |    6 +-
 .../productranking/quickstart.html.md.erb       |    6 +-
 .../recommendation/batch-evaluator.html.md      |   24 +-
 .../recommendation/customize-data-prep.html.md  |    2 +-
 .../recommendation/customize-serving.html.md    |    4 +-
 .../recommendation/quickstart.html.md.erb       |    6 +-
 .../multi-events-multi-algos.html.md.erb        |    2 +-
 .../similarproduct/quickstart.html.md.erb       |    6 +-
 .../templates/vanilla/quickstart.html.md.erb    |    2 +-
 docs/scaladoc/rootdoc.txt                       |    4 +-
 .../prediction/e2/engine/BinaryVectorizer.scala |   61 -
 .../e2/engine/CategoricalNaiveBayes.scala       |  176 ---
 .../io/prediction/e2/engine/MarkovChain.scala   |   89 --
 .../e2/evaluation/CrossValidation.scala         |   64 -
 .../main/scala/io/prediction/e2/package.scala   |   22 -
 e2/src/main/scala/io/prediction/package.scala   |   21 -
 .../e2/engine/BinaryVectorizer.scala            |   61 +
 .../e2/engine/CategoricalNaiveBayes.scala       |  176 +++
 .../predictionio/e2/engine/MarkovChain.scala    |   89 ++
 .../e2/evaluation/CrossValidation.scala         |   64 +
 .../org/apache/predictionio/e2/package.scala    |   22 +
 .../scala/org/apache/predictionio/package.scala |   21 +
 .../e2/engine/BinaryVectorizerTest.scala        |   56 -
 .../e2/engine/CategoricalNaiveBayesTest.scala   |  132 --
 .../prediction/e2/engine/MarkovChainTest.scala  |   49 -
 .../e2/evaluation/CrossValidationTest.scala     |  111 --
 .../e2/fixture/BinaryVectorizerFixture.scala    |   59 -
 .../e2/fixture/MarkovChainFixture.scala         |   39 -
 .../e2/fixture/NaiveBayesFixture.scala          |   48 -
 .../e2/fixture/SharedSparkContext.scala         |   51 -
 .../e2/engine/BinaryVectorizerTest.scala        |   56 +
 .../e2/engine/CategoricalNaiveBayesTest.scala   |  132 ++
 .../e2/engine/MarkovChainTest.scala             |   49 +
 .../e2/evaluation/CrossValidationTest.scala     |  111 ++
 .../e2/fixture/BinaryVectorizerFixture.scala    |   59 +
 .../e2/fixture/MarkovChainFixture.scala         |   39 +
 .../e2/fixture/NaiveBayesFixture.scala          |   48 +
 .../e2/fixture/SharedSparkContext.scala         |   51 +
 .../java-local-helloworld/MyAlgorithm.java      |    2 +-
 .../java-local-helloworld/MyDataSource.java     |    2 +-
 .../java-local-helloworld/MyEngineFactory.java  |    2 +-
 .../java-local-helloworld/build.sbt             |    2 +-
 .../java-local-regression/README.md             |    2 +-
 .../java-local-regression/build.sbt             |    2 +-
 .../java-local-regression/engine.json           |    2 +-
 .../src/main/java/DataSource.java               |    4 +-
 .../src/main/java/DataSourceParams.java         |    4 +-
 .../src/main/java/DefaultAlgorithm.java         |    4 +-
 .../src/main/java/DefaultAlgorithmParams.java   |    4 +-
 .../src/main/java/EngineFactory.java            |    8 +-
 .../src/main/java/MeanSquareEvaluator.java      |    6 +-
 .../src/main/java/OLSAlgorithm.java             |    6 +-
 .../src/main/java/Preparator.java               |    4 +-
 .../src/main/java/PreparatorParams.java         |    4 +-
 .../src/main/java/Run.java                      |   22 +-
 .../src/main/java/Serving.java                  |    6 +-
 .../src/main/java/TrainingData.java             |    2 +-
 .../src/main/java/examples/manifest.json        |    4 +-
 .../experimental/java-local-tutorial/build.sbt  |    6 +-
 .../recommendations/tutorial1/AlgoParams.java   |    4 +-
 .../recommendations/tutorial1/Algorithm.java    |    4 +-
 .../recommendations/tutorial1/DataSource.java   |    4 +-
 .../tutorial1/DataSourceParams.java             |    4 +-
 .../tutorial1/EngineFactory.java                |    8 +-
 .../java/recommendations/tutorial1/Model.java   |    2 +-
 .../java/recommendations/tutorial1/Query.java   |    2 +-
 .../recommendations/tutorial1/TrainingData.java |    2 +-
 .../java/recommendations/tutorial1/engine.json  |    4 +-
 .../java/recommendations/tutorial2/Runner1.java |   26 +-
 .../java/recommendations/tutorial2/Runner2.java |   36 +-
 .../recommendations/tutorial3/DataSource.java   |   10 +-
 .../tutorial3/EngineFactory.java                |   14 +-
 .../recommendations/tutorial3/Evaluator.java    |    8 +-
 .../java/recommendations/tutorial3/Runner3.java |   22 +-
 .../CollaborativeFilteringAlgorithm.java        |    4 +-
 .../CollaborativeFilteringAlgorithmParams.java  |    4 +-
 .../tutorial4/CollaborativeFilteringModel.java  |    2 +-
 .../recommendations/tutorial4/DataSource.java   |    6 +-
 .../tutorial4/DataSourceParams.java             |    4 +-
 .../tutorial4/EngineFactory.java                |   10 +-
 .../tutorial4/FeatureBasedAlgorithm.java        |    4 +-
 .../tutorial4/FeatureBasedAlgorithmParams.java  |    4 +-
 .../tutorial4/FeatureBasedModel.java            |    2 +-
 .../recommendations/tutorial4/Preparator.java   |    6 +-
 .../recommendations/tutorial4/PreparedData.java |    2 +-
 .../java/recommendations/tutorial4/Query.java   |    2 +-
 .../recommendations/tutorial4/Runner4a.java     |   20 +-
 .../recommendations/tutorial4/Runner4b.java     |   20 +-
 .../recommendations/tutorial4/Runner4c.java     |   24 +-
 .../recommendations/tutorial4/Runner4d.java     |   24 +-
 .../java/recommendations/tutorial4/Serving.java |    6 +-
 .../tutorial4/SingleEngineFactory.java          |   12 +-
 .../recommendations/tutorial4/TrainingData.java |    2 +-
 .../tutorial4/multiple-algo-engine.json         |    4 +-
 .../tutorial4/single-algo-engine.json           |    4 +-
 .../tutorial5/EngineFactory.java                |   14 +-
 .../tutorial5/MahoutAlgoModel.java              |    2 +-
 .../tutorial5/MahoutAlgoParams.java             |    4 +-
 .../tutorial5/MahoutAlgorithm.java              |   12 +-
 .../java/recommendations/tutorial5/Runner5.java |   22 +-
 .../recommendations/tutorial5/manifest.json     |    4 +-
 .../java-parallel-helloworld/build.sbt          |    2 +-
 .../java-parallel-helloworld/engine.json        |    2 +-
 .../src/main/java/parallel/Algorithm.java       |    6 +-
 .../src/main/java/parallel/DataSource.java      |    6 +-
 .../src/main/java/parallel/EngineFactory.java   |   10 +-
 .../src/main/java/parallel/Model.java           |    2 +-
 .../src/main/java/parallel/Preparator.java      |    6 +-
 .../src/main/java/parallel/Query.java           |    2 +-
 .../src/main/java/parallel/Runner.java          |   20 +-
 .../src/main/java/parallel/Serving.java         |    6 +-
 .../src/main/java/parallel/build.sbt            |    6 +-
 .../experimental/scala-cleanup-app/build.sbt    |    4 +-
 .../experimental/scala-cleanup-app/engine.json  |    2 +-
 .../src/main/scala/Algorithm.scala              |    6 +-
 .../src/main/scala/DataSource.scala             |   16 +-
 .../src/main/scala/Engine.scala                 |    8 +-
 .../src/main/scala/Preparator.scala             |    6 +-
 .../src/main/scala/Serving.scala                |    6 +-
 .../scala-local-friend-recommendation/build.sbt |    6 +-
 .../keyword_similarity_engine.json              |    4 +-
 .../random_engine.json                          |    4 +-
 .../scala/FriendRecommendationAlgoParams.scala  |    4 +-
 .../scala/FriendRecommendationDataSource.scala  |    4 +-
 .../FriendRecommendationDataSourceParams.scala  |    4 +-
 .../scala/FriendRecommendationPrediction.scala  |    2 +-
 .../main/scala/FriendRecommendationQuery.scala  |    2 +-
 .../FriendRecommendationTrainingData.scala      |    2 +-
 .../main/scala/KeywordSimilarityAlgorithm.scala |    4 +-
 .../scala/KeywordSimilarityEngineFactory.scala  |    4 +-
 .../src/main/scala/KeywordSimilarityModel.scala |    2 +-
 .../src/main/scala/RandomAlgorithm.scala        |    4 +-
 .../src/main/scala/RandomEngineFactory.scala    |    4 +-
 .../src/main/scala/RandomModel.scala            |    2 +-
 .../scala-local-helloworld/HelloWorld.scala     |    2 +-
 .../scala-local-helloworld/build.sbt            |    4 +-
 .../scala-local-movielens-evaluation/build.sbt  |    4 +-
 .../src/main/scala/Evaluation.scala             |   28 +-
 .../src/main/scala/ItemRecEvaluation.scala      |   28 +-
 .../scala-local-movielens-filtering/build.sbt   |    4 +-
 .../src/main/scala/Engine.scala                 |   10 +-
 .../src/main/scala/Filtering.scala              |    8 +-
 .../scala-local-regression/README.md            |    4 +-
 .../scala-local-regression/Run.scala            |   30 +-
 .../scala-local-regression/build.sbt            |    4 +-
 .../scala-local-regression/engine.json          |    2 +-
 .../README.md                                   |    2 +-
 .../build.sbt                                   |    4 +-
 .../engine-forest.json                          |    2 +-
 .../engine.json                                 |    2 +-
 .../src/main/scala/DataSource.scala             |   14 +-
 .../src/main/scala/DeltaSimRankRDD.scala        |    2 +-
 .../src/main/scala/Engine.scala                 |    6 +-
 .../src/main/scala/Preparator.scala             |   10 +-
 .../src/main/scala/Sampling.scala               |    2 +-
 .../src/main/scala/Serving.scala                |    6 +-
 .../src/main/scala/SimRankAlgorithm.scala       |    6 +-
 .../scala-parallel-recommendation-cat/build.sbt |    4 +-
 .../src/main/scala/ALSAlgorithm.scala           |   10 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../build.sbt                                   |    4 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/ALSModel.scala               |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../build.sbt                                   |    4 +-
 .../src/main/scala/ALSAlgorithm.scala           |    4 +-
 .../src/main/scala/ALSModel.scala               |    6 +-
 .../src/main/scala/DataSource.scala             |   14 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    4 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../build.sbt                                   |    4 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/ALSModel.scala               |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../scala-parallel-regression/Run.scala         |   24 +-
 .../scala-parallel-regression/build.sbt         |    2 +-
 .../scala-parallel-regression/engine.json       |    2 +-
 .../build.sbt                                   |    4 +-
 .../src/main/scala/DIMSUMAlgorithm.scala        |   10 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../build.sbt                                   |    4 +-
 .../src/main/scala/ALSAlgorithm.scala           |   10 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../scala-parallel-trim-app/build.sbt           |    4 +-
 .../scala-parallel-trim-app/engine.json         |    2 +-
 .../src/main/scala/Algorithm.scala              |    6 +-
 .../src/main/scala/DataSource.scala             |   16 +-
 .../src/main/scala/Engine.scala                 |    8 +-
 .../src/main/scala/Preparator.scala             |    6 +-
 .../src/main/scala/Serving.scala                |    6 +-
 .../scala-recommendations/build.sbt             |    4 +-
 .../src/main/scala/Run.scala                    |   24 +-
 .../experimental/scala-refactor-test/build.sbt  |    6 +-
 .../src/main/scala/Algorithm.scala              |    4 +-
 .../src/main/scala/DataSource.scala             |   14 +-
 .../src/main/scala/Engine.scala                 |    8 +-
 .../src/main/scala/Evaluator.scala              |    6 +-
 .../src/main/scala/Preparator.scala             |    4 +-
 .../src/main/scala/Serving.scala                |    2 +-
 examples/experimental/scala-stock/README.md     |   10 +-
 examples/experimental/scala-stock/build.sbt     |    6 +-
 .../scala-stock/src/main/scala/Algorithm.scala  |    6 +-
 .../src/main/scala/BackTestingMetrics.scala     |   10 +-
 .../scala-stock/src/main/scala/Data.scala       |    2 +-
 .../scala-stock/src/main/scala/DataSource.scala |   10 +-
 .../scala-stock/src/main/scala/Indicators.scala |    2 +-
 .../src/main/scala/RegressionStrategy.scala     |    4 +-
 .../scala-stock/src/main/scala/Run.scala        |   16 +-
 .../src/main/scala/YahooDataSource.scala        |   14 +-
 .../examples/stock/backtesting.scala.html       |    2 +-
 .../add-algorithm/build.sbt                     |    4 +-
 .../add-algorithm/project/pio-build.sbt         |    2 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../add-algorithm/src/main/scala/Engine.scala   |    4 +-
 .../src/main/scala/NaiveBayesAlgorithm.scala    |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/RandomForestAlgorithm.scala  |    4 +-
 .../add-algorithm/src/main/scala/Serving.scala  |    2 +-
 .../custom-attributes/build.sbt                 |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/RandomForestAlgorithm.scala  |    4 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../train-with-rate-event/build.sbt             |    4 +-
 .../train-with-rate-event/project/pio-build.sbt |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |   10 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../weighted-items/build.sbt                    |    4 +-
 .../weighted-items/project/pio-build.sbt        |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |   10 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../weighted-items/src/main/scala/Engine.scala  |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../weighted-items/src/main/scala/Serving.scala |    2 +-
 .../custom-prepartor/build.sbt                  |    4 +-
 .../custom-prepartor/project/pio-build.sbt      |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/ALSModel.scala               |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    4 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../custom-query/build.sbt                      |    4 +-
 .../custom-query/data/build.sbt                 |    2 +-
 .../recommendation/ImportDataScript.scala       |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../custom-query/src/main/scala/ALSModel.scala  |    6 +-
 .../src/main/scala/DataSource.scala             |   10 +-
 .../custom-query/src/main/scala/Engine.scala    |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../custom-query/src/main/scala/Serving.scala   |    2 +-
 .../custom-serving/build.sbt                    |    4 +-
 .../custom-serving/project/pio-build.sbt        |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/ALSModel.scala               |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../custom-serving/src/main/scala/Engine.scala  |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../custom-serving/src/main/scala/Serving.scala |    4 +-
 .../filter-by-category/build.sbt                |    6 +-
 .../filter-by-category/project/pio-build.sbt    |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/ALSModel.scala               |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../add-and-return-item-properties/build.sbt    |    6 +-
 .../project/pio-build.sbt                       |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../add-rateevent/build.sbt                     |    4 +-
 .../add-rateevent/project/pio-build.sbt         |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../add-rateevent/src/main/scala/Engine.scala   |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../add-rateevent/src/main/scala/Serving.scala  |    2 +-
 .../filterbyyear/build.sbt                      |    6 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../src/main/scala/DataSource.scala             |   12 +-
 .../filterbyyear/src/main/scala/Engine.scala    |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../filterbyyear/src/main/scala/Serving.scala   |    2 +-
 .../multi/build.sbt                             |    4 +-
 .../multi/project/pio-build.sbt                 |    2 +-
 .../multi/src/main/scala/ALSAlgorithm.scala     |   10 +-
 .../multi/src/main/scala/DataSource.scala       |   12 +-
 .../multi/src/main/scala/Engine.scala           |    4 +-
 .../multi/src/main/scala/LikeAlgorithm.scala    |    2 +-
 .../multi/src/main/scala/Preparator.scala       |    2 +-
 .../multi/src/main/scala/Serving.scala          |    2 +-
 .../no-set-user/build.sbt                       |    4 +-
 .../no-set-user/project/pio-build.sbt           |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    6 +-
 .../no-set-user/src/main/scala/DataSource.scala |   12 +-
 .../no-set-user/src/main/scala/Engine.scala     |    4 +-
 .../no-set-user/src/main/scala/Preparator.scala |    2 +-
 .../no-set-user/src/main/scala/Serving.scala    |    2 +-
 .../recommended-user/build.sbt                  |    4 +-
 .../recommended-user/project/pio-build.sbt      |    2 +-
 .../src/main/scala/ALSAlgorithm.scala           |    4 +-
 .../src/main/scala/DataSource.scala             |    4 +-
 .../src/main/scala/Engine.scala                 |    4 +-
 .../src/main/scala/Preparator.scala             |    2 +-
 .../src/main/scala/Serving.scala                |    2 +-
 .../io/prediction/tools/RegisterEngine.scala    |   84 --
 .../scala/io/prediction/tools/RunServer.scala   |  178 ---
 .../scala/io/prediction/tools/RunWorkflow.scala |  212 ---
 .../main/scala/io/prediction/tools/Runner.scala |  211 ---
 .../io/prediction/tools/admin/AdminAPI.scala    |  156 ---
 .../prediction/tools/admin/CommandClient.scala  |  160 ---
 .../scala/io/prediction/tools/admin/README.md   |  161 ---
 .../io/prediction/tools/console/AccessKey.scala |   83 --
 .../scala/io/prediction/tools/console/App.scala |  537 --------
 .../io/prediction/tools/console/Console.scala   | 1277 ------------------
 .../io/prediction/tools/console/Export.scala    |   42 -
 .../io/prediction/tools/console/Import.scala    |   39 -
 .../io/prediction/tools/console/Template.scala  |  429 ------
 .../tools/dashboard/CorsSupport.scala           |   75 -
 .../prediction/tools/dashboard/Dashboard.scala  |  156 ---
 .../prediction/tools/export/EventsToFile.scala  |  104 --
 .../prediction/tools/imprt/FileToEvents.scala   |  103 --
 .../predictionio/tools/RegisterEngine.scala     |   84 ++
 .../apache/predictionio/tools/RunServer.scala   |  178 +++
 .../apache/predictionio/tools/RunWorkflow.scala |  212 +++
 .../org/apache/predictionio/tools/Runner.scala  |  211 +++
 .../predictionio/tools/admin/AdminAPI.scala     |  156 +++
 .../tools/admin/CommandClient.scala             |  160 +++
 .../apache/predictionio/tools/admin/README.md   |  161 +++
 .../predictionio/tools/console/AccessKey.scala  |   83 ++
 .../apache/predictionio/tools/console/App.scala |  537 ++++++++
 .../predictionio/tools/console/Console.scala    | 1277 ++++++++++++++++++
 .../predictionio/tools/console/Export.scala     |   42 +
 .../predictionio/tools/console/Import.scala     |   39 +
 .../predictionio/tools/console/Template.scala   |  429 ++++++
 .../tools/dashboard/CorsSupport.scala           |   75 +
 .../tools/dashboard/Dashboard.scala             |  156 +++
 .../tools/export/EventsToFile.scala             |  104 ++
 .../predictionio/tools/imprt/FileToEvents.scala |  103 ++
 .../tools/console/accesskey.scala.txt           |   20 -
 .../tools/console/adminserver.scala.txt         |    6 -
 .../io/prediction/tools/console/app.scala.txt   |   74 -
 .../io/prediction/tools/console/build.scala.txt |   11 -
 .../tools/console/dashboard.scala.txt           |    6 -
 .../prediction/tools/console/deploy.scala.txt   |   29 -
 .../io/prediction/tools/console/eval.scala.txt  |   10 -
 .../tools/console/eventserver.scala.txt         |    8 -
 .../prediction/tools/console/export.scala.txt   |   14 -
 .../io/prediction/tools/console/imprt.scala.txt |   12 -
 .../io/prediction/tools/console/main.scala.txt  |   52 -
 .../io/prediction/tools/console/run.scala.txt   |   17 -
 .../prediction/tools/console/status.scala.txt   |    3 -
 .../prediction/tools/console/template.scala.txt |   25 -
 .../io/prediction/tools/console/train.scala.txt |   28 -
 .../prediction/tools/console/upgrade.scala.txt  |   15 -
 .../prediction/tools/console/version.scala.txt  |    3 -
 .../prediction/tools/dashboard/index.scala.html |   99 --
 .../itemrank/params/algorithmsJson.scala.txt    |   16 -
 .../itemrank/params/datasourceJson.scala.txt    |   26 -
 .../itemrank/params/preparatorJson.scala.txt    |   10 -
 .../itemrank/params/servingJson.scala.txt       |    1 -
 .../itemrec/params/algorithmsJson.scala.txt     |   15 -
 .../itemrec/params/datasourceJson.scala.txt     |   26 -
 .../itemrec/params/preparatorJson.scala.txt     |   10 -
 .../itemrec/params/servingJson.scala.txt        |    1 -
 .../itemsim/params/algorithmsJson.scala.txt     |   13 -
 .../itemsim/params/datasourceJson.scala.txt     |   26 -
 .../itemsim/params/preparatorJson.scala.txt     |   10 -
 .../itemsim/params/servingJson.scala.txt        |    1 -
 .../tools/templates/scala/buildSbt.scala.txt    |   14 -
 .../tools/templates/scala/engineJson.scala.txt  |    9 -
 .../templates/scala/manifestJson.scala.txt      |    9 -
 .../scala/project/assemblySbt.scala.txt         |    1 -
 .../scala/src/main/scala/engine.scala.txt       |   76 --
 .../tools/console/accesskey.scala.txt           |   20 +
 .../tools/console/adminserver.scala.txt         |    6 +
 .../predictionio/tools/console/app.scala.txt    |   74 +
 .../predictionio/tools/console/build.scala.txt  |   11 +
 .../tools/console/dashboard.scala.txt           |    6 +
 .../predictionio/tools/console/deploy.scala.txt |   29 +
 .../predictionio/tools/console/eval.scala.txt   |   10 +
 .../tools/console/eventserver.scala.txt         |    8 +
 .../predictionio/tools/console/export.scala.txt |   14 +
 .../predictionio/tools/console/imprt.scala.txt  |   12 +
 .../predictionio/tools/console/main.scala.txt   |   52 +
 .../predictionio/tools/console/run.scala.txt    |   17 +
 .../predictionio/tools/console/status.scala.txt |    3 +
 .../tools/console/template.scala.txt            |   25 +
 .../predictionio/tools/console/train.scala.txt  |   28 +
 .../tools/console/upgrade.scala.txt             |   15 +
 .../tools/console/version.scala.txt             |    3 +
 .../tools/dashboard/index.scala.html            |   99 ++
 .../itemrank/params/algorithmsJson.scala.txt    |   16 +
 .../itemrank/params/datasourceJson.scala.txt    |   26 +
 .../itemrank/params/preparatorJson.scala.txt    |   10 +
 .../itemrank/params/servingJson.scala.txt       |    1 +
 .../itemrec/params/algorithmsJson.scala.txt     |   15 +
 .../itemrec/params/datasourceJson.scala.txt     |   26 +
 .../itemrec/params/preparatorJson.scala.txt     |   10 +
 .../itemrec/params/servingJson.scala.txt        |    1 +
 .../itemsim/params/algorithmsJson.scala.txt     |   13 +
 .../itemsim/params/datasourceJson.scala.txt     |   26 +
 .../itemsim/params/preparatorJson.scala.txt     |   10 +
 .../itemsim/params/servingJson.scala.txt        |    1 +
 .../tools/templates/scala/buildSbt.scala.txt    |   14 +
 .../tools/templates/scala/engineJson.scala.txt  |    9 +
 .../templates/scala/manifestJson.scala.txt      |    9 +
 .../scala/project/assemblySbt.scala.txt         |    1 +
 .../scala/src/main/scala/engine.scala.txt       |   76 ++
 .../prediction/tools/admin/AdminAPISpec.scala   |   66 -
 .../predictionio/tools/admin/AdminAPISpec.scala |   66 +
 846 files changed, 29349 insertions(+), 29349 deletions(-)
----------------------------------------------------------------------



Mime
View raw message