Showing preview only (3,212K chars total). Download the full file or copy to clipboard to get everything.
Repository: apache/predictionio
Branch: develop
Commit: d9628ca2f148
Files: 904
Total size: 2.9 MB
Directory structure:
gitextract_wm7b4ll_/
├── .gitattributes
├── .gitignore
├── .travis.yml
├── CONTRIBUTING.md
├── Dockerfile
├── KEYS
├── LICENSE.txt
├── NOTICE.txt
├── PMC.md
├── README.md
├── RELEASE.md
├── assembly/
│ ├── build.sbt
│ └── src/
│ ├── debian/
│ │ └── DEBIAN/
│ │ ├── postrm
│ │ └── preinst
│ └── rpm/
│ └── scriptlets/
│ ├── postun
│ └── preinst
├── bin/
│ ├── cjson
│ ├── compute-classpath.sh
│ ├── install.sh
│ ├── load-pio-env.sh
│ ├── pio
│ ├── pio-class
│ ├── pio-daemon
│ ├── pio-shell
│ ├── pio-start-all
│ ├── pio-stop-all
│ ├── semver.sh
│ └── travis/
│ ├── pio-start-travis
│ └── pio-stop-travis
├── build.sbt
├── common/
│ ├── build.sbt
│ └── src/
│ └── main/
│ ├── java/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── annotation/
│ │ ├── DeveloperApi.java
│ │ └── Experimental.java
│ ├── resources/
│ │ └── application.conf
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ ├── akkahttpjson4s/
│ │ └── Json4sSupport.scala
│ ├── authentication/
│ │ └── KeyAuthentication.scala
│ └── configuration/
│ └── SSLConfiguration.scala
├── conf/
│ ├── keystore.jks
│ ├── log4j.properties
│ ├── pio-env.sh.template
│ ├── pio-env.sh.travis
│ ├── pio-vendors.sh
│ └── server.conf
├── core/
│ ├── build.sbt
│ └── src/
│ ├── main/
│ │ ├── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ ├── controller/
│ │ │ │ ├── CustomQuerySerializer.scala
│ │ │ │ ├── Deployment.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── EngineFactory.scala
│ │ │ │ ├── EngineParams.scala
│ │ │ │ ├── EngineParamsGenerator.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── FastEvalEngine.scala
│ │ │ │ ├── IdentityPreparator.scala
│ │ │ │ ├── LAlgorithm.scala
│ │ │ │ ├── LAverageServing.scala
│ │ │ │ ├── LDataSource.scala
│ │ │ │ ├── LFirstServing.scala
│ │ │ │ ├── LPreparator.scala
│ │ │ │ ├── LServing.scala
│ │ │ │ ├── LocalFileSystemPersistentModel.scala
│ │ │ │ ├── Metric.scala
│ │ │ │ ├── MetricEvaluator.scala
│ │ │ │ ├── P2LAlgorithm.scala
│ │ │ │ ├── PAlgorithm.scala
│ │ │ │ ├── PDataSource.scala
│ │ │ │ ├── PPreparator.scala
│ │ │ │ ├── Params.scala
│ │ │ │ ├── PersistentModel.scala
│ │ │ │ ├── SanityCheck.scala
│ │ │ │ ├── Utils.scala
│ │ │ │ ├── java/
│ │ │ │ │ ├── JavaEngineParamsGenerator.scala
│ │ │ │ │ ├── JavaEvaluation.scala
│ │ │ │ │ ├── LJavaAlgorithm.scala
│ │ │ │ │ ├── LJavaDataSource.scala
│ │ │ │ │ ├── LJavaPreparator.scala
│ │ │ │ │ ├── LJavaServing.scala
│ │ │ │ │ ├── P2LJavaAlgorithm.scala
│ │ │ │ │ ├── PJavaAlgorithm.scala
│ │ │ │ │ ├── PJavaDataSource.scala
│ │ │ │ │ ├── PJavaPreparator.scala
│ │ │ │ │ └── SerializableComparator.scala
│ │ │ │ └── package.scala
│ │ │ ├── core/
│ │ │ │ ├── AbstractDoer.scala
│ │ │ │ ├── BaseAlgorithm.scala
│ │ │ │ ├── BaseDataSource.scala
│ │ │ │ ├── BaseEngine.scala
│ │ │ │ ├── BaseEvaluator.scala
│ │ │ │ ├── BasePreparator.scala
│ │ │ │ ├── BaseServing.scala
│ │ │ │ ├── SelfCleaningDataSource.scala
│ │ │ │ └── package.scala
│ │ │ ├── package.scala
│ │ │ └── workflow/
│ │ │ ├── BatchPredict.scala
│ │ │ ├── CleanupFunctions.scala
│ │ │ ├── CoreWorkflow.scala
│ │ │ ├── CreateServer.scala
│ │ │ ├── CreateWorkflow.scala
│ │ │ ├── EngineServerPlugin.scala
│ │ │ ├── EngineServerPluginContext.scala
│ │ │ ├── EngineServerPluginsActor.scala
│ │ │ ├── EvaluationWorkflow.scala
│ │ │ ├── FakeWorkflow.scala
│ │ │ ├── JsonExtractor.scala
│ │ │ ├── JsonExtractorOption.scala
│ │ │ ├── PersistentModelManifest.scala
│ │ │ ├── Workflow.scala
│ │ │ ├── WorkflowContext.scala
│ │ │ ├── WorkflowParams.scala
│ │ │ └── WorkflowUtils.scala
│ │ └── twirl/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ ├── controller/
│ │ │ └── metric_evaluator.scala.html
│ │ └── workflow/
│ │ └── index.scala.html
│ └── test/
│ ├── java/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── workflow/
│ │ ├── JavaParams.java
│ │ ├── JavaQuery.java
│ │ └── JavaQueryTypeAdapterFactory.java
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ ├── controller/
│ │ ├── EngineTest.scala
│ │ ├── EvaluationTest.scala
│ │ ├── EvaluatorTest.scala
│ │ ├── FastEvalEngineTest.scala
│ │ ├── MetricEvaluatorTest.scala
│ │ ├── MetricTest.scala
│ │ └── SampleEngine.scala
│ ├── core/
│ │ ├── SelfCleaningDataSourceTest.scala
│ │ └── test.json
│ └── workflow/
│ ├── BaseTest.scala
│ ├── EngineWorkflowTest.scala
│ ├── EvaluationWorkflowTest.scala
│ └── JsonExtractorSuite.scala
├── data/
│ ├── README.md
│ ├── build.sbt
│ ├── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ ├── Utils.scala
│ │ │ ├── api/
│ │ │ │ ├── Common.scala
│ │ │ │ ├── EventInfo.scala
│ │ │ │ ├── EventServer.scala
│ │ │ │ ├── EventServerPlugin.scala
│ │ │ │ ├── EventServerPluginContext.scala
│ │ │ │ ├── PluginsActor.scala
│ │ │ │ ├── Stats.scala
│ │ │ │ ├── StatsActor.scala
│ │ │ │ ├── Webhooks.scala
│ │ │ │ └── WebhooksConnectors.scala
│ │ │ ├── package.scala
│ │ │ ├── storage/
│ │ │ │ ├── AccessKeys.scala
│ │ │ │ ├── Apps.scala
│ │ │ │ ├── BiMap.scala
│ │ │ │ ├── Channels.scala
│ │ │ │ ├── DataMap.scala
│ │ │ │ ├── DateTimeJson4sSupport.scala
│ │ │ │ ├── EngineInstances.scala
│ │ │ │ ├── EntityMap.scala
│ │ │ │ ├── EvaluationInstances.scala
│ │ │ │ ├── Event.scala
│ │ │ │ ├── EventJson4sSupport.scala
│ │ │ │ ├── LEventAggregator.scala
│ │ │ │ ├── LEvents.scala
│ │ │ │ ├── Models.scala
│ │ │ │ ├── PEventAggregator.scala
│ │ │ │ ├── PEvents.scala
│ │ │ │ ├── PropertyMap.scala
│ │ │ │ ├── Storage.scala
│ │ │ │ ├── Utils.scala
│ │ │ │ └── package.scala
│ │ │ ├── store/
│ │ │ │ ├── Common.scala
│ │ │ │ ├── LEventStore.scala
│ │ │ │ ├── PEventStore.scala
│ │ │ │ ├── java/
│ │ │ │ │ ├── LJavaEventStore.scala
│ │ │ │ │ ├── OptionHelper.scala
│ │ │ │ │ └── PJavaEventStore.scala
│ │ │ │ ├── package.scala
│ │ │ │ └── python/
│ │ │ │ └── PPythonEventStore.scala
│ │ │ ├── view/
│ │ │ │ ├── DataView.scala
│ │ │ │ ├── LBatchView.scala
│ │ │ │ ├── PBatchView.scala
│ │ │ │ └── QuickTest.scala
│ │ │ └── webhooks/
│ │ │ ├── ConnectorException.scala
│ │ │ ├── ConnectorUtil.scala
│ │ │ ├── FormConnector.scala
│ │ │ ├── JsonConnector.scala
│ │ │ ├── exampleform/
│ │ │ │ └── ExampleFormConnector.scala
│ │ │ ├── examplejson/
│ │ │ │ └── ExampleJsonConnector.scala
│ │ │ ├── mailchimp/
│ │ │ │ └── MailChimpConnector.scala
│ │ │ └── segmentio/
│ │ │ └── SegmentIOConnector.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ ├── api/
│ │ │ ├── EventServiceSpec.scala
│ │ │ └── SegmentIOAuthSpec.scala
│ │ ├── storage/
│ │ │ ├── BiMapSpec.scala
│ │ │ ├── DataMapSpec.scala
│ │ │ ├── LEventAggregatorSpec.scala
│ │ │ ├── PEventAggregatorSpec.scala
│ │ │ ├── StorageMockContext.scala
│ │ │ └── TestEvents.scala
│ │ └── webhooks/
│ │ ├── ConnectorTestUtil.scala
│ │ ├── exampleform/
│ │ │ └── ExampleFormConnectorSpec.scala
│ │ ├── examplejson/
│ │ │ └── ExampleJsonConnectorSpec.scala
│ │ ├── mailchimp/
│ │ │ └── MailChimpConnectorSpec.scala
│ │ └── segmentio/
│ │ └── SegmentIOConnectorSpec.scala
│ ├── test-form.sh
│ ├── test-normal.sh
│ ├── test-segmentio.sh
│ ├── test.sh
│ ├── test2.sh
│ ├── test3.sh
│ └── very_long_batch_request.txt
├── doap.rdf
├── docker/
│ ├── .ivy2/
│ │ └── .keep
│ ├── JUPYTER.md
│ ├── README.md
│ ├── bin/
│ │ └── pio-docker
│ ├── charts/
│ │ ├── README.md
│ │ ├── postgresql.yaml
│ │ ├── predictionio/
│ │ │ ├── .helmignore
│ │ │ ├── Chart.yaml
│ │ │ ├── templates/
│ │ │ │ ├── NOTES.txt
│ │ │ │ ├── _helpers.tpl
│ │ │ │ ├── pio-deployment.yaml
│ │ │ │ └── pio-service.yaml
│ │ │ └── values.yaml
│ │ ├── predictionio_postgresql.yaml
│ │ └── spark/
│ │ ├── .helmignore
│ │ ├── Chart.yaml
│ │ ├── README.md
│ │ ├── templates/
│ │ │ ├── NOTES.txt
│ │ │ ├── _helpers.tpl
│ │ │ ├── spark-master-deployment.yaml
│ │ │ ├── spark-sql-test.yaml
│ │ │ ├── spark-worker-deployment.yaml
│ │ │ └── spark-worker-hpa.yaml
│ │ └── values.yaml
│ ├── deploy/
│ │ └── run.sh
│ ├── docker-compose.deploy.yml
│ ├── docker-compose.jupyter.yml
│ ├── docker-compose.spark.yml
│ ├── docker-compose.yml
│ ├── elasticsearch/
│ │ ├── docker-compose.base.yml
│ │ ├── docker-compose.event.yml
│ │ └── docker-compose.meta.yml
│ ├── jupyter/
│ │ ├── Dockerfile
│ │ ├── fix-permissions
│ │ ├── jupyter_notebook_config.py
│ │ ├── requirements.txt
│ │ ├── start-jupyter.sh
│ │ └── start.sh
│ ├── localfs/
│ │ └── docker-compose.model.yml
│ ├── mysql/
│ │ ├── docker-compose.base.yml
│ │ ├── docker-compose.event.yml
│ │ ├── docker-compose.meta.yml
│ │ └── docker-compose.model.yml
│ ├── pgsql/
│ │ ├── docker-compose.base.yml
│ │ ├── docker-compose.event.yml
│ │ ├── docker-compose.meta.yml
│ │ └── docker-compose.model.yml
│ ├── pio/
│ │ ├── Dockerfile
│ │ └── pio_run
│ └── templates/
│ └── .keep
├── docs/
│ ├── javadoc/
│ │ ├── README.md
│ │ └── javadoc-overview.html
│ ├── manual/
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── Rakefile
│ │ ├── bower.json
│ │ ├── config.rb
│ │ ├── data/
│ │ │ ├── nav/
│ │ │ │ ├── build.yml
│ │ │ │ └── main.yml
│ │ │ └── versions.yml
│ │ ├── helpers/
│ │ │ ├── application_helpers.rb
│ │ │ ├── breadcrumb_helpers.rb
│ │ │ ├── icon_helpers.rb
│ │ │ ├── table_of_contents_helpers.rb
│ │ │ └── url_helpers.rb
│ │ ├── lib/
│ │ │ ├── custom_renderer.rb
│ │ │ └── gallery_generator.rb
│ │ └── source/
│ │ ├── 404.html.md
│ │ ├── algorithm/
│ │ │ ├── custom.html.md
│ │ │ ├── index.html.md
│ │ │ ├── multiple.html.md
│ │ │ └── switch.html.md
│ │ ├── appintegration/
│ │ │ └── index.html.md
│ │ ├── archived/
│ │ │ ├── community.html.md
│ │ │ ├── index.html.md
│ │ │ ├── install-linux.html.md.erb
│ │ │ ├── install-vagrant.html.md.erb
│ │ │ ├── launch-aws.html.md.erb
│ │ │ ├── supervisedlearning.html.md
│ │ │ └── tapster.html.md
│ │ ├── batchpredict/
│ │ │ └── index.html.md
│ │ ├── cli/
│ │ │ └── index.html.md
│ │ ├── community/
│ │ │ ├── contribute-code.html.md
│ │ │ ├── contribute-documentation.html.md
│ │ │ ├── contribute-sdk.html.md
│ │ │ ├── contribute-webhook.html.md
│ │ │ ├── index.html.md
│ │ │ ├── projects.html.md
│ │ │ └── submit-template.html.md
│ │ ├── customize/
│ │ │ ├── dase.html.md.erb
│ │ │ ├── index.html.md
│ │ │ └── troubleshooting.html.md
│ │ ├── datacollection/
│ │ │ ├── analytics-ipynb.html.md.erb
│ │ │ ├── analytics-tableau.html.md.erb
│ │ │ ├── analytics-zeppelin.html.md.erb
│ │ │ ├── analytics.html.md
│ │ │ ├── batchimport.html.md
│ │ │ ├── channel.html.md.erb
│ │ │ ├── eventapi.html.md
│ │ │ ├── eventmodel.html.md.erb
│ │ │ ├── index.html.md
│ │ │ ├── plugin.html.md
│ │ │ └── webhooks.html.md.erb
│ │ ├── demo/
│ │ │ ├── index.html.md.erb
│ │ │ └── textclassification.html.md.erb
│ │ ├── deploy/
│ │ │ ├── engineparams.html.md
│ │ │ ├── enginevariants.html.md
│ │ │ ├── index.html.md
│ │ │ ├── monitoring.html.md
│ │ │ └── plugin.html.md
│ │ ├── evaluation/
│ │ │ ├── evaluationdashboard.html.md
│ │ │ ├── history.html.md
│ │ │ ├── index.html.md
│ │ │ ├── metricbuild.html.md
│ │ │ ├── metricchoose.html.md
│ │ │ └── paramtuning.html.md
│ │ ├── gallery/
│ │ │ └── templates.yaml
│ │ ├── github.html
│ │ ├── index.html.md.erb
│ │ ├── install/
│ │ │ ├── index.html.md.erb
│ │ │ ├── install-docker.html.md.erb
│ │ │ ├── install-sourcecode.html.md.erb
│ │ │ └── sdk.html.md
│ │ ├── javascripts/
│ │ │ ├── application.js
│ │ │ └── tryit.js
│ │ ├── layouts/
│ │ │ ├── layout.html.slim
│ │ │ └── tryit.html.slim
│ │ ├── machinelearning/
│ │ │ ├── dimensionalityreduction.html.md
│ │ │ └── modelingworkflow.html.md
│ │ ├── partials/
│ │ │ ├── _action_call.html.slim
│ │ │ ├── _edit_page.html.slim
│ │ │ ├── _footer.html.slim
│ │ │ ├── _header.html.slim
│ │ │ ├── _search_bar.html.slim
│ │ │ ├── _segment.html.slim
│ │ │ ├── _swiftype.html.slim
│ │ │ ├── _table_of_content.html.slim
│ │ │ ├── head/
│ │ │ │ ├── _base.html.slim
│ │ │ │ ├── _favicon.html.slim
│ │ │ │ ├── _javascripts.html.slim
│ │ │ │ ├── _meta.html.slim
│ │ │ │ └── _stylesheets.html.slim
│ │ │ ├── nav/
│ │ │ │ ├── _breadcrumbs.html.slim
│ │ │ │ ├── _header.html.slim
│ │ │ │ ├── _main.html.slim
│ │ │ │ ├── _node.html.slim
│ │ │ │ ├── _page.html.slim
│ │ │ │ └── _swiftype.html.slim
│ │ │ └── shared/
│ │ │ ├── dase/
│ │ │ │ └── _dase.html.md.erb
│ │ │ ├── datacollection/
│ │ │ │ └── _parquet.html.md.erb
│ │ │ ├── install/
│ │ │ │ ├── _dependent_services.html.erb
│ │ │ │ ├── _elasticsearch.html.erb
│ │ │ │ ├── _hbase.html.erb
│ │ │ │ ├── _postgres.html.erb
│ │ │ │ ├── _proceed_template.html.md.erb
│ │ │ │ └── _spark.html.erb
│ │ │ └── quickstart/
│ │ │ ├── _collect_data.html.md.erb
│ │ │ ├── _create_app.html.md.erb
│ │ │ ├── _create_engine.html.md.erb
│ │ │ ├── _deploy.html.md.erb
│ │ │ ├── _deploy_enginejson.html.md.erb
│ │ │ ├── _import_sample_data.html.md.erb
│ │ │ ├── _install.html.md.erb
│ │ │ ├── _install_python_sdk.html.md.erb
│ │ │ ├── _install_sdk.html.md.erb
│ │ │ ├── _production.html.md.erb
│ │ │ ├── _query_eventserver.html.md.erb
│ │ │ └── _query_eventserver_short.html.md.erb
│ │ ├── production/
│ │ │ └── deploy-cloudformation.html.md
│ │ ├── resources/
│ │ │ ├── faq.html.md
│ │ │ ├── glossary.html.md
│ │ │ ├── intellij.html.md.erb
│ │ │ ├── release.html.md
│ │ │ └── upgrade.html.md
│ │ ├── robots.txt
│ │ ├── samples/
│ │ │ ├── index.html.md
│ │ │ ├── languages.html.md
│ │ │ ├── level-1.html.md
│ │ │ ├── level-2-1.html.md
│ │ │ ├── level-2-2.html.md
│ │ │ ├── level-2.html.md
│ │ │ ├── level-3-1.html.md
│ │ │ ├── level-3-2.html.md
│ │ │ ├── level-3.html.md
│ │ │ ├── level-4-1.html.md
│ │ │ ├── level-4-2.html.md
│ │ │ ├── level-4-3.html.md
│ │ │ ├── level-4.html.md
│ │ │ ├── narrow.html.md
│ │ │ ├── sizing.html.md
│ │ │ └── tabs.html.md
│ │ ├── sdk/
│ │ │ ├── index.html.md
│ │ │ ├── java.html.md.erb
│ │ │ ├── php.html.md.erb
│ │ │ ├── python.html.md.erb
│ │ │ └── ruby.html.md.erb
│ │ ├── search/
│ │ │ └── index.html.md
│ │ ├── start/
│ │ │ ├── customize.html.md
│ │ │ ├── deploy.html.md.erb
│ │ │ ├── download.html.md
│ │ │ └── index.html.md
│ │ ├── stylesheets/
│ │ │ ├── application.css.scss
│ │ │ ├── mixins/
│ │ │ │ └── _all.css.scss
│ │ │ ├── partials/
│ │ │ │ ├── _action_call.css.scss
│ │ │ │ ├── _alerts.css.scss
│ │ │ │ ├── _breadcrumbs.css.scss
│ │ │ │ ├── _buttons.css.scss
│ │ │ │ ├── _classes.css.scss
│ │ │ │ ├── _code.css.scss
│ │ │ │ ├── _content.css.scss
│ │ │ │ ├── _copyright.css.scss
│ │ │ │ ├── _edit_page.css.scss
│ │ │ │ ├── _footer.css.scss
│ │ │ │ ├── _global.css.scss
│ │ │ │ ├── _hacks.css.scss
│ │ │ │ ├── _header.css.scss
│ │ │ │ ├── _hybird_vim_highlight.css.scss
│ │ │ │ ├── _jcarousel.css.scss
│ │ │ │ ├── _layout.css.scss
│ │ │ │ ├── _modules.css.scss
│ │ │ │ ├── _off_canvas.css.scss
│ │ │ │ ├── _page_title.css.scss
│ │ │ │ ├── _responsive.css.scss
│ │ │ │ ├── _search_bar_row.css.scss
│ │ │ │ ├── _subscribe_form.css.scss
│ │ │ │ ├── _table_of_contents.css.scss
│ │ │ │ ├── _tables.css.scss
│ │ │ │ ├── _tabs.css.scss
│ │ │ │ ├── _tags.css.scss
│ │ │ │ ├── _tryit.css.scss
│ │ │ │ └── nav/
│ │ │ │ ├── _header.css.scss
│ │ │ │ ├── _main.css.scss
│ │ │ │ ├── _page.css.scss
│ │ │ │ └── _swiftype.css.scss
│ │ │ └── variables/
│ │ │ ├── _colors.css.scss
│ │ │ ├── _fonts.css.scss
│ │ │ └── _sizes.css.scss
│ │ ├── support/
│ │ │ └── index.html.md.erb
│ │ ├── system/
│ │ │ ├── anotherdatastore.html.md
│ │ │ ├── deploy-cloudformation.html.md.erb
│ │ │ └── index.html.md
│ │ ├── templates/
│ │ │ ├── classification/
│ │ │ │ ├── add-algorithm.html.md
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ └── reading-custom-properties.html.md
│ │ │ ├── complementarypurchase/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── ecommercerecommendation/
│ │ │ │ ├── adjust-score.html.md.erb
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ └── train-with-rate-event.html.md.erb
│ │ │ ├── index.html.md
│ │ │ ├── javaecommercerecommendation/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── leadscoring/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── productranking/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── recommendation/
│ │ │ │ ├── batch-evaluator.html.md
│ │ │ │ ├── blacklist-items.html.md
│ │ │ │ ├── customize-data-prep.html.md
│ │ │ │ ├── customize-serving.html.md
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── evaluation.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ ├── reading-custom-events.html.md
│ │ │ │ └── training-with-implicit-preference.html.md
│ │ │ ├── similarproduct/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── multi-events-multi-algos.html.md.erb
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ ├── recommended-user.html.md.erb
│ │ │ │ ├── return-item-properties.html.md.erb
│ │ │ │ ├── rid-user-set-event.html.md.erb
│ │ │ │ └── train-with-rate-event.html.md.erb
│ │ │ └── vanilla/
│ │ │ ├── dase.html.md.erb
│ │ │ └── quickstart.html.md.erb
│ │ └── tryit/
│ │ └── index.html.slim
│ └── scaladoc/
│ ├── README.md
│ ├── api-docs.css
│ ├── api-docs.js
│ └── rootdoc.txt
├── e2/
│ ├── build.sbt
│ └── src/
│ ├── main/
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ ├── e2/
│ │ │ ├── engine/
│ │ │ │ ├── BinaryVectorizer.scala
│ │ │ │ ├── CategoricalNaiveBayes.scala
│ │ │ │ ├── MarkovChain.scala
│ │ │ │ └── PythonEngine.scala
│ │ │ ├── evaluation/
│ │ │ │ └── CrossValidation.scala
│ │ │ └── package.scala
│ │ └── package.scala
│ └── test/
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ └── e2/
│ ├── engine/
│ │ ├── BinaryVectorizerTest.scala
│ │ ├── CategoricalNaiveBayesTest.scala
│ │ └── MarkovChainTest.scala
│ ├── evaluation/
│ │ └── CrossValidationTest.scala
│ └── fixture/
│ ├── BinaryVectorizerFixture.scala
│ ├── MarkovChainFixture.scala
│ ├── NaiveBayesFixture.scala
│ └── SharedSparkContext.scala
├── examples/
│ ├── redeploy-script/
│ │ ├── local.sh.template
│ │ └── redeploy.sh
│ ├── scala-parallel-classification/
│ │ ├── README.md
│ │ ├── add-algorithm/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── data.txt
│ │ │ │ └── import_eventserver.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── CompleteEvaluation.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── NaiveBayesAlgorithm.scala
│ │ │ │ ├── PrecisionEvaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ ├── RandomForestAlgorithm.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ └── reading-custom-properties/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── data.txt
│ │ │ └── import_eventserver.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── CompleteEvaluation.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Evaluation.scala
│ │ │ ├── NaiveBayesAlgorithm.scala
│ │ │ ├── PrecisionEvaluation.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── scala-parallel-ecommercerecommendation/
│ │ ├── README.md
│ │ ├── adjust-score/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── ECommAlgorithm.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ └── train-with-rate-event/
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── DataSource.scala
│ │ │ ├── ECommAlgorithm.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── scala-parallel-recommendation/
│ │ ├── README.md
│ │ ├── blacklist-items/
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── customize-data-prep/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ ├── sample_not_train_data.txt
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── customize-serving/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ ├── sample_disabled_items.txt
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── reading-custom-events/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ └── train-with-view-event/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── ALSModel.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Evaluation.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ └── scala-parallel-similarproduct/
│ ├── README.md
│ ├── multi-events-multi-algos/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine-cooccurrence.json
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── CooccurrenceAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── LikeAlgorithm.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── recommended-user/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── return-item-properties/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine-cooccurrence.json
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── CooccurrenceAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── rid-user-set-event/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine-cooccurrence.json
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── CooccurrenceAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ └── train-with-rate-event/
│ ├── build.sbt
│ ├── data/
│ │ ├── import_eventserver.py
│ │ └── send_query.py
│ ├── engine-cooccurrence.json
│ ├── engine.json
│ ├── project/
│ │ ├── assembly.sbt
│ │ └── build.properties
│ ├── src/
│ │ └── main/
│ │ └── scala/
│ │ ├── ALSAlgorithm.scala
│ │ ├── CooccurrenceAlgorithm.scala
│ │ ├── DataSource.scala
│ │ ├── Engine.scala
│ │ ├── Preparator.scala
│ │ └── Serving.scala
│ └── template.json
├── make-distribution.sh
├── project/
│ ├── PIOBuild.scala
│ ├── assembly.sbt
│ ├── build.properties
│ ├── plugins.sbt
│ └── unidoc.sbt
├── python/
│ └── pypio/
│ ├── __init__.py
│ ├── data/
│ │ ├── __init__.py
│ │ └── eventstore.py
│ ├── pypio.py
│ ├── utils.py
│ └── workflow/
│ ├── __init__.py
│ └── cleanup_functions.py
├── sbt/
│ └── sbt
├── scalastyle-config.xml
├── storage/
│ ├── elasticsearch/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── elasticsearch/
│ │ │ ├── ESAccessKeys.scala
│ │ │ ├── ESApps.scala
│ │ │ ├── ESChannels.scala
│ │ │ ├── ESEngineInstances.scala
│ │ │ ├── ESEvaluationInstances.scala
│ │ │ ├── ESEventsUtil.scala
│ │ │ ├── ESLEvents.scala
│ │ │ ├── ESPEvents.scala
│ │ │ ├── ESSequences.scala
│ │ │ ├── ESUtils.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ └── storage/
│ │ └── elasticsearch/
│ │ ├── StorageClientSpec.scala
│ │ └── StorageTestUtils.scala
│ ├── hbase/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── hbase/
│ │ │ ├── HBEventsUtil.scala
│ │ │ ├── HBLEvents.scala
│ │ │ ├── HBPEvents.scala
│ │ │ ├── PIOHBaseUtil.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ └── storage/
│ │ └── hbase/
│ │ ├── LEventsSpec.scala
│ │ ├── PEventsSpec.scala
│ │ ├── StorageTestUtils.scala
│ │ └── TestEvents.scala
│ ├── hdfs/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── project/
│ │ │ └── build.properties
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── hdfs/
│ │ │ ├── HDFSModels.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ └── resources/
│ │ └── application.conf
│ ├── jdbc/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── jdbc/
│ │ │ ├── JDBCAccessKeys.scala
│ │ │ ├── JDBCApps.scala
│ │ │ ├── JDBCChannels.scala
│ │ │ ├── JDBCEngineInstances.scala
│ │ │ ├── JDBCEvaluationInstances.scala
│ │ │ ├── JDBCLEvents.scala
│ │ │ ├── JDBCModels.scala
│ │ │ ├── JDBCPEvents.scala
│ │ │ ├── JDBCUtils.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ └── storage/
│ │ └── jdbc/
│ │ ├── JDBCUtilsSpec.scala
│ │ ├── LEventsSpec.scala
│ │ ├── PEventsSpec.scala
│ │ ├── StorageTestUtils.scala
│ │ └── TestEvents.scala
│ ├── localfs/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── localfs/
│ │ │ ├── LocalFSModels.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ └── resources/
│ │ └── application.conf
│ └── s3/
│ ├── .gitignore
│ ├── build.sbt
│ └── src/
│ └── main/
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ └── data/
│ └── storage/
│ └── s3/
│ ├── S3Models.scala
│ ├── StorageClient.scala
│ └── package.scala
├── tests/
│ ├── .rat-excludes
│ ├── Dockerfile
│ ├── Dockerfile.base
│ ├── README.md
│ ├── after_script.travis.sh
│ ├── before_script.travis.sh
│ ├── build_docker.sh
│ ├── check_libraries.sh
│ ├── check_license.sh
│ ├── docker-compose.yml
│ ├── docker-files/
│ │ ├── awscredentials
│ │ ├── env-conf/
│ │ │ ├── hbase-site.xml
│ │ │ └── pio-env.sh
│ │ ├── init.sh
│ │ ├── pgpass
│ │ └── set_build_profile.sh
│ ├── pio_tests/
│ │ ├── README.md
│ │ ├── __init__.py
│ │ ├── data/
│ │ │ ├── eventserver_test/
│ │ │ │ ├── partially_malformed_events.json
│ │ │ │ ├── rate_events_25.json
│ │ │ │ └── signup_events_51.json
│ │ │ └── quickstart_test/
│ │ │ └── engine.json
│ │ ├── engines/
│ │ │ └── recommendation-engine/
│ │ │ ├── README.md
│ │ │ ├── build.sbt
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ └── assembly.sbt
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── globals.py
│ │ ├── integration.py
│ │ ├── scenarios/
│ │ │ ├── __init__.py
│ │ │ ├── basic_app_usecases.py
│ │ │ ├── eventserver_test.py
│ │ │ └── quickstart_test.py
│ │ ├── tests.py
│ │ └── utils.py
│ ├── run_docker.sh
│ ├── script.travis.sh
│ └── unit.sh
└── tools/
├── build.sbt
└── src/
├── main/
│ ├── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── tools/
│ │ ├── Common.scala
│ │ ├── RunBatchPredict.scala
│ │ ├── RunServer.scala
│ │ ├── RunWorkflow.scala
│ │ ├── Runner.scala
│ │ ├── admin/
│ │ │ ├── AdminAPI.scala
│ │ │ ├── CommandClient.scala
│ │ │ └── README.md
│ │ ├── commands/
│ │ │ ├── AccessKey.scala
│ │ │ ├── App.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Export.scala
│ │ │ ├── Import.scala
│ │ │ ├── Management.scala
│ │ │ └── Template.scala
│ │ ├── console/
│ │ │ ├── Console.scala
│ │ │ └── Pio.scala
│ │ ├── dashboard/
│ │ │ ├── CorsSupport.scala
│ │ │ └── Dashboard.scala
│ │ ├── export/
│ │ │ └── EventsToFile.scala
│ │ └── imprt/
│ │ └── FileToEvents.scala
│ └── twirl/
│ └── org/
│ └── apache/
│ └── predictionio/
│ └── tools/
│ ├── console/
│ │ ├── accesskey.scala.txt
│ │ ├── adminserver.scala.txt
│ │ ├── app.scala.txt
│ │ ├── batchpredict.scala.txt
│ │ ├── build.scala.txt
│ │ ├── dashboard.scala.txt
│ │ ├── deploy.scala.txt
│ │ ├── eval.scala.txt
│ │ ├── eventserver.scala.txt
│ │ ├── export.scala.txt
│ │ ├── imprt.scala.txt
│ │ ├── main.scala.txt
│ │ ├── run.scala.txt
│ │ ├── status.scala.txt
│ │ ├── template.scala.txt
│ │ ├── train.scala.txt
│ │ ├── upgrade.scala.txt
│ │ └── version.scala.txt
│ ├── dashboard/
│ │ └── index.scala.html
│ └── templates/
│ ├── itemrank/
│ │ └── params/
│ │ ├── algorithmsJson.scala.txt
│ │ ├── datasourceJson.scala.txt
│ │ ├── preparatorJson.scala.txt
│ │ └── servingJson.scala.txt
│ ├── itemrec/
│ │ └── params/
│ │ ├── algorithmsJson.scala.txt
│ │ ├── datasourceJson.scala.txt
│ │ ├── preparatorJson.scala.txt
│ │ └── servingJson.scala.txt
│ ├── itemsim/
│ │ └── params/
│ │ ├── algorithmsJson.scala.txt
│ │ ├── datasourceJson.scala.txt
│ │ ├── preparatorJson.scala.txt
│ │ └── servingJson.scala.txt
│ └── scala/
│ ├── buildSbt.scala.txt
│ ├── engineJson.scala.txt
│ ├── manifestJson.scala.txt
│ ├── project/
│ │ └── assemblySbt.scala.txt
│ └── src/
│ └── main/
│ └── scala/
│ └── engine.scala.txt
└── test/
└── scala/
└── org/
└── apache/
└── predictionio/
└── tools/
├── RunnerSpec.scala
└── admin/
└── AdminAPISpec.scala
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
.travis.yml merge=ours
================================================
FILE: .gitignore
================================================
.DS_Store
.pio_store
*.swp
*.swo
conf/pio-env.sh
target/
sbt/sbt-launch-*.jar
..sxr/
*.class
core/data
*.orig
examples/data/ml-*
fs/
supervisord.conf
/dist
pio.log
*.tar.gz
*.pyc
# Ignore source files whose name prefixed with "Private"
Private*.scala
quickstartapp/
# Eclipse
.project
.classpath
.settings/
# IntelliJ
*.iml
.idea/
.templates-cache
/vendors
/docs/manual/source/gallery/template-gallery.html.md
test-reports/
apache-rat-0.11.jar
tests/dist
tests/docker-files/*.jar
tests/docker-files/*.tgz
assembly/*.jar
assembly/src/universal/
================================================
FILE: .travis.yml
================================================
##########
# This is .travis.yml configuration file specifically for master and develop branch.
# The travis job should contains only unit and integration tests.
#
# To avoid this file from being overwritten by .travis.yml from other branches,
# please add the following to your local git config:
# git config merge.ours.driver true
##########
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
branches:
except:
- livedoc
language: scala
jdk:
- openjdk8
services:
- docker
sudo: required
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.sbt/launchers
env:
matrix:
- BUILD_TYPE=Unit
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
- BUILD_TYPE=Integration
METADATA_REP=ELASTICSEARCH EVENTDATA_REP=ELASTICSEARCH MODELDATA_REP=S3
PIO_ELASTICSEARCH_VERSION=6.8.1
- BUILD_TYPE=Integration
METADATA_REP=ELASTICSEARCH EVENTDATA_REP=HBASE MODELDATA_REP=LOCALFS
PIO_HBASE_VERSION=1.2.6
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.0.2
PIO_HADOOP_VERSION=2.6.5
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.1.3
PIO_HADOOP_VERSION=2.6.5
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.2.3
PIO_HADOOP_VERSION=2.6.5
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=HDFS
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.3.3
PIO_HADOOP_VERSION=2.6.5
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.0.2
PIO_HADOOP_VERSION=2.7.7
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.1.3
PIO_HADOOP_VERSION=2.7.7
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.2.3
PIO_HADOOP_VERSION=2.7.7
- BUILD_TYPE=Integration
METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=HDFS
PIO_SCALA_VERSION=2.11.12
PIO_SPARK_VERSION=2.4.0
PIO_HADOOP_VERSION=2.7.7
- BUILD_TYPE=LicenseCheck
before_install:
- unset SBT_OPTS JVM_OPTS
- sudo rm /usr/local/bin/docker-compose
- travis_retry curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
before_script:
- sudo sysctl -w vm.max_map_count=262144
- docker-compose -v
- travis_retry ./tests/before_script.travis.sh
script:
- travis_retry ./tests/script.travis.sh
after_script:
- ./tests/after_script.travis.sh
================================================
FILE: CONTRIBUTING.md
================================================
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
Thank you for your interest in contributing to Apache PredictionIO.
Our mission is to enable developers to build scalable machine learning applications easily.
Here is how you can help with the project development. If you have any
question regarding development at anytime, please free to subscribe and post to
the Development Mailing List <mailto:dev-subscribe@predictionio.apache.org>.
For code contribution, please follow guidelines at
http://predictionio.apache.org/community/contribute-code/.
For documentation contribution, please follow guidelines at
http://predictionio.apache.org/community/contribute-documentation/.
================================================
FILE: Dockerfile
================================================
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# WARNING: THIS DOCKERFILE IS NOT INTENDED FOR PRODUCTION USE OR DEPLOYMENT. AT
# THIS POINT, THIS IS ONLY INTENDED FOR USE IN AUTOMATED TESTS. IF YOU
# ARE LOOKING TO DEPLOY PREDICTIONIO WITH DOCKER, PLEASE REFER TO
# http://predictionio.apache.org/community/projects/#docker-installation-for-predictionio
FROM predictionio/pio-testing-base
# Include the entire code tree
ENV PIO_HOME /PredictionIO
ENV PATH ${PIO_HOME}/bin/:${PATH}
ADD . ${PIO_HOME}
================================================
FILE: KEYS
================================================
This file contains the PGP keys of various developers.
Please don't use them for email unless you have to. Their main
purpose is code signing.
Users: pgp < KEYS
gpg --import KEYS
Developers:
pgp -kxa <your name> and append it to this file.
(pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
(gpg --list-sigs <your name>
&& gpg --armor --export <your name>) >> this file.
--------------------------------------------------------------------------------------------
pub 4096R/D3541808 2014-01-09
uid [ultimate] Suneel Marthi (CODE SIGNING KEY) <smarthi@apache.org>
sig 3 D3541808 2014-01-09 Suneel Marthi (CODE SIGNING KEY) <smarthi@apache.org>
sub 4096R/AF46E2DE 2014-01-09
sig D3541808 2014-01-09 Suneel Marthi (CODE SIGNING KEY) <smarthi@apache.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: GPGTools - https://gpgtools.org
mQINBFLPJmEBEAC9d/dUZCXeyhB0fVGmJAjdjXfLebav4VqGdNZC+M1T9C3dcVsh
X/JGme5bjJeIgVwiH5UsdNceYn1+hyxs8jXuRAWEWKP76gD+pNrp8Az0ZdBkJoAy
zCywOPtJV2PCOz7+S5ri2nUA2+1Kgcu6IlSLMmYAGO0IAmRrjBEzxy9iGaxiNGTc
LvQt/iVtIXWkKKI8yvpoJ8iFf3TGhpjgaC/h7cJP3zpy0SScmhJJASLXRsfocLv9
sle6ndN9IPbDtRW8cL7Fk3VQlzp1ToVjmnQTyZZ6S1WafsjzCZ9hLN+k++o8VbvY
v3icY6Sy0BKz0J6KwaxTkuZ6w1K7oUkVOQboKaWFIEdO+jwrEmU+Puyd8Np8jLnF
Q0Y5GPfyMlqM3S/zaDm1t4D1eb5FLciStkxfg5wPVK6TkqB325KVD3aio5C7E7kt
aQechHxaJXCQOtCtVY4X+L4iClnMSuk+hcSc8W8MYRTSVansItK0vI9eQZXMnpan
w9/jk5rS4Gts1rHB7+kdjT3QRJmkyk6fEFT0fz5tfMC7N8waeEUhCaRW6lAoiqDW
NW1h+0UGxJw+9YcGxBC0kkt3iofNOWQWmuf/BS3DHPKT7XV/YtBHe44wW0sF5L5P
nfQUHpnA3pcZ0En6bXAvepKVZTNdOWWJqMyHV+436DA+33h45QL6lWb/GwARAQAB
tDVTdW5lZWwgTWFydGhpIChDT0RFIFNJR05JTkcgS0VZKSA8c21hcnRoaUBhcGFj
aGUub3JnPokCNwQTAQoAIQUCUs8mYQIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIX
gAAKCRC08czE01QYCOKKEAChRtHBoYNTX+RZbFO0Kl1GlN+i1Ik0shEm5ZJ56XHv
AnFx/gRK7CfZzJswWo7kf2s/dvJiFfs+rrolYVuO6E8gNhAaTEomSuvWQAMHdPcR
9G5APRKCSkbZYugElqplEbSphk78FKoFO+sml52M7Pr9jj88ApBjoFVVY8njdnNq
6DVlaDsg8YninCD78Z7PNFnRGwxyZ8Qd4Dh0rG+MUTfAWopZu6/MxpQxU7QpeVeX
SIMLg7ClFrGfXnZcszYF4dnav1aa0i7W88PAdYNPko7tC5qz5yv2ep7t2gRbcYKf
RXhYC2FHQey3wPhMKjA8V436lAqmfYnY/YdmhEy9Xq/1EdX1nHsQ7OEkfgXK14WM
F+rnqXRAl/0cwiyb41eocdg5kpZFIKgCYT02usLWxwNnd3jOCe109Ze3y3acN/G8
+xOf9YRfNVAe6pD8H6ieRbv9gRjBmsbz9bXQCmxFnDqxNri5Me6gBAQPNmYTJD0h
jgJTK6o0vJ0pwjBLauasJsLu+1tR3Cb0dxPE+JVaTF26FCd7pM7W6KdVfod9ZfrN
cSyJ/cECc2KvYVGmTjQNVo1dYG0awBachlWnYNt+0Qx4opLsczZOLtPKtFY4BJA7
aZoXT4Qf9yB8km7x2/cgNExVbFummToJ/IP3M39/EaryspsQQuM5Qu5Q5lZp8Qnn
ybkCDQRSzyZhARAA7bAawFzbJaghYnm6mTZyGG5hQmfAynbF6cPAE+g2SnXcNQjP
6kjYx3tSpb7rEzmjQqs46ztqdec6PIVBMhakON6z27Zz+IviAtO/TcaZHWNuCAjw
FXVQZ+tYsSeiKInttfkrQc8jXAHWwSkSjLqNpvQpBdBEX80MYkFB6ZPOeON2+/Ta
GC1H/HU2YngF0qQSmG33KKG6ezihBJdKxU6t2tsQfTlCmZW6R6MGpS9fVurYMKBk
vR+7RGZ/H6dSjWPcpxhusGg92J9uz7r5SopN1wSdyPMUCMAFGeyoxcAuBDl38quU
H/ENG3x5LDPq2aEH2AJ6yvZfIXbeJ1zmXf2cAHv+HbmvZaTSp0XIjq8Yxh8NkYEC
ZdfRWmsGLIpU16TkBijpK3Dn9MDXjHGT3V8/qfdpURtMvIaL8WFrq9ejcy/vGRFn
mCYqxIIPH+vLiMXKWtuMc61GN3ES21msKQH6IuQxxfQLyhK44L/pv7FpF4E+6LaE
8uRwAex5HIDpR1v4aJq089rRtye9VXTJJLZ7lYs0HctdZ30QbBRWT4jS9d9rj3cr
HgQ7mIGO9TAfK2kWc6AJN/EvxPWNbOwptsTUzAF/adiy9ax8C18iw7nKczC+2eN6
UcbxXiPdytuKYK7O9A8S9e1w89GwpxYN7Xfn2o6QfpSbL9cLKiinOeV+xikAEQEA
AYkCHwQYAQoACQUCUs8mYQIbDAAKCRC08czE01QYCG7yD/471dmyOD+go8cZkdqR
3CHhjH03odtI0EJNVy4VGEC0r9paz3BWYTy18LqWYkw3ygphOIU1r8/7QK3H5Ke3
c4yCSUxaMk5SlAJ+iVRek5TABkR8+zI+ZN5pQtqRH+ya5JxV4F/Sx5Q3KWMzpvgY
n6AgSSc3hEfkgdI7SalIeyLaLDWv+RFdGZ5JU5gD28C0G8BeH8L62x6sixZcqoGT
oy9rwkjs45/ZmmvBZhd1wLvC/au8l2Ecou6O8+8m26W8Z7vCuGKxuWn0KV3DLLWe
66uchDVlakGoMJSPIK06JWYUlE+gL0CW+U2ekt/v2qb8hGgMVET3CBAMq+bFWuJ6
juX7hJd7wHtCFfjnFDDAkdp2IIIZAlBW6FZGv7pJ82xsW6pSAg0A7VrV6nTtMtDv
T8esOfo/t4t0gaL7bivy9DVVdATbUBcJJFpoVoe5MxiyjptveqPzIRwzt04n52Ph
ordVWAnX5AokXWTg+Glem/EWEuf7jUuZArfqCSl/sZoQdXGTjR7G4iFscispji4+
kNjVQsItqFbgDpuc6n+GcFxlKQ7YMCnu5MVtTV01U4lFs0qy0NTUqsuR35DM4z14
DkFmj1upWAayCoXTpKzsHBvJZPC+Wqf9Pl3O47apelg7KxU3S011YfXpVPvCTKBv
kD2o/5GKWS5QkSUEUXXY1oDiLg==
=f8kJ
-----END PGP PUBLIC KEY BLOCK-----
pub 4096R/8BF4ABEB 2016-08-01
uid Donald Szeto (CODE SIGNING KEY) <donald@apache.org>
sig 3 8BF4ABEB 2016-08-01 Donald Szeto (CODE SIGNING KEY) <donald@apache.org>
sub 4096R/D8AB5D20 2016-08-01
sig 8BF4ABEB 2016-08-01 Donald Szeto (CODE SIGNING KEY) <donald@apache.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFefie0BEAC8RvYKQJ7xOeqaBKAi+PpcRvLxvpO9G8HIXDiw/6GCO3/tBHJ8
Z2NMfGtFx351R+YpAd2KsiInU4iB25YoTeUqCrwR81zBnXPuNsKs6FXqSLlOZrYq
O+a9wLkBY7bh6ABRc3OI3kGTpFMSqq8tlaJyLHvQIREHtQFckjSONMOjSnR0EAfn
4DQS3xgVZNAUbpLeJUdc3B5XYAIzMnkFBPSXEQkBmA97kkDrgaoPpeUdGW4Cqsfz
ekUjkjxcax9Dp/OjhLKWmLabHdiVp161Td0x6e24rBaGSVNRlpNLHXfBCBW/+iml
iGEh8OGtW/Fc8b4V4HEhTXPbVLpvgt22T17OTIYKyueUGvSd+AIS0053asLlO9kQ
X4Y00sH8nnCtJgeTDwwLiudCENvYmE5PvX6Kwiq3tOZJN/onFRKnOHrssXbPd87m
+82yDx8/oKYKEoA23bz8f7yMPeqmiedgRr4/1b+ToVtiKSUGtnyzLiXbC2c0sxAZ
/L8qFMEWQmO/iDMq5+JmMvZld+Ns4AO81gg+WiWoCaE0YB3kqo1L3yP+D0FDETke
5Ky0i2RtVlCzoM9aXz0zQkHx7vhN24h2IJdCADhGAloykmNVxIqlsbDxx02SsNgV
IuZQ+jq9zwL/VR3UUm8uJ+o55XcgBDjBPALvilMTnUG+tB99ip9H/p3l2QARAQAB
tDNEb25hbGQgU3pldG8gKENPREUgU0lHTklORyBLRVkpIDxkb25hbGRAYXBhY2hl
Lm9yZz6JAjcEEwEKACEFAlefie0CGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AA
CgkQbHTsq4v0q+ub4xAArvZBq7K1FjtqiKdwuOqOXGLuQC7Eq8e7mYUvac08nNsq
rkvr2RtCDN9VaPbYh9TNJ/7BdcwG6IXOmOsW24FsAnrLSueGaw3zuaAhz8Q/vn+b
7VPcJ3OQEHbNpHlVkAur2NzZobznNhWGK4M9LQnXrVxEMTTDTd5MJqdDKAPNZ/TE
Aav0AiAlOd56U8ONswBHgjqlXoS/xHvsUI9UrJIFGkdz96I1ohdcjmjkDiCYFJRt
2NvSWgGEtiN8oykYSCjU1qlyPgcIkdHu5E5xy5fXvVdQEV3bc/Y0Ghf02W6Nb8RY
fuq8qBtBVhbi6T0xqwnuh5iuuO4k1BAJUUC2H+c68VTUWWJ0b6Wzz1x54MClUwQV
u1hrBFbMGubRTo6uuB9hKMzwXfl3WY6iBXQvb1eY+Y0Fu/NEnNSSSVFq+qyaluUq
9RQn5u0+VCULomzr0TME4Etd+UbIliiylVFg+mtalvha0z5CrE4EJOJ/c+efI/JP
vN/WOSJ44JDXUocvp05cZ0GZGyBcfTEepb/gR1dpidoYBnvScWkBak7P4trkadCS
vpjbMPtWOOEa7hVP+vZg1MvmelZ2o+VvuyWvGMHryimpV6tFFtbiGR03ltC3cN1t
HmjYjSb9rIsXGIN2c+b1LLuR0zxaK46y8UKNMWrwI++9Iqbl4BrBN4oofD78p4W5
Ag0EV5+J7QEQAKkBVsL1zSlOuh/GAeXBs3aIwfY+eQD3PIeo4DsCD1J1M8Dn5xa7
SBHqM+aql7t9hw2iIdqioS8P9ScN1uyWi/MppxDVdTR526ViBR8+739EeprzWPn2
k+cTGoTeisxQjgLgC/C48taCHDPcztDUh+rLnmcKxKJA+dfqswtiAK7qxCHrT+jq
5ru78lDqzbHbJU6BqsEyzP9rwtMnGzjbevNC8YLddkZ8iF8KQgSlr93EXlDj6KaU
pZs1AUkPg4UEEkuHJv+pjDhqNfoRSM1vqFyilEe4dWFW+MOKt6yiexVmHB2kgXuV
7J0PjFi4V2tlgInDhimrvW/6gg2b0EPNF3hPIAo9dBUDpW5EEj1HG+CFPEvLBOHX
V3LLi5NLDSnj8iL4eiJV+l0/pQToAxDjV7VwFQ3T7gLyKM1YwkOXtS8GsjtqCsJ8
xIGVWsgmaZWpZSIRuEWhgSLwSPOjZjo2YvXQA3WMdslrx+5/ZF5ElFPBKCYXxpUB
DkSQ/jTLRSitAXH/0rHrsdw+TZdaW8GPsx7tzdXQVK1PajEpBIx5r+Ix/uhQarwr
9T2yBQ75rMfPPCccHbAI5g4aGpAEpDNnXfjiYi2fEffB5mEiaDaftiHqjOcoMOBw
OpN7Y6V+IWniaaqEfWfGMBjM+G/m6veLIgQhAv91TmWvdMksunM9sTAFABEBAAGJ
Ah8EGAEKAAkFAlefie0CGwwACgkQbHTsq4v0q+v1rQ//bp0a6vBrRYJU5RKTZ5me
Ux93RT5BxZqf0wX4deCz0GiaD9G8fJ9HZyv1jedygIeBiSU/dkrkemGA8j0fchca
An8yt4tNamo4AAdkvmPa9c7Z4qpHQvKpKDqrVT+ztB+a6qGFjx9cw3iioji3HW9m
ykOPYYk03q9H8h0dW2sa4jaVlXNq/3b2t5cWJ14GGk9XkraSfd+0ZEIT8ffT6u45
B5l35FuzBdxjyNh91T9UGrREjo1e5sgB0WSss/EJVBAJq+xDbWeOgE/azXQ1MhT+
Z+BwKfMfvI35SIHG4Ngr/OSirZbQy4s+OktFBbGhBy7dlmWbS2A9SMn7pt9e/i9K
Y44sFGC1xAjq2gnVhbkal0mvT0iDLwIe4/sWuMZJHG05wUGJNMqf8au9KjVj5NzT
iDo8roJi4jFolm6YmH6FRFCeYmLON0pXdNFnCe+cLanrQDI59TBgHh/XPFweOjla
LqMCEjGpfSLvnopusA1SJUnenwjWWecdfnChnSB8EVIkBiAah1DP1wk+Qy9YfZlj
MV2jufd24oqFWQmddOCCkIPYeDOavZvcxYevdftY3LX1B4WbiZOMHqh/HDH2NkyW
6YQIPrw2fEHG2av55RCzCKVcW0PKgW05zjUWwFVo7gEaj5CHK/SeYv0Fpc6QQKls
93sbykwywNMHkdFPE0109cM=
=QAQh
-----END PGP PUBLIC KEY BLOCK-----
pub 4096R/4719A8F4 2017-09-12 [expires: 2021-09-12]
uid [ultimate] Chan Lee <chanlee@apache.org>
sig 3 4719A8F4 2017-09-12 Chan Lee <chanlee@apache.org>
sub 4096R/A18B1E8F 2017-09-12 [expires: 2021-09-12]
sig 4719A8F4 2017-09-12 Chan Lee <chanlee@apache.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFm4YoUBEAC3CFA/xIiqn+NoqSB8ya+mgnwfuL7XoRcR0gaZQ5BNXMjRZcqw
5On1v2TTcXo6LcD/g7oxdBYWzUaubsCSmZzMp+cT4w4bmLr3bSZol0akNq4n2MgT
q7jXOhXDhMdKzIdxuJe7wGtFGLjm8Macc6576MEYq1AUtdDNYuEMWr5PmQwsbNQQ
CBkH8007trDlPygvzh+w/tLOHNbIv3ynHCIYeY/vYpm3XLHPEF0CjV05sDUMdHkb
l5s9xYFOfPT6JqXEC1gnjanSvQ20MlLwk1D9AYlkTir+a17/igi2S5YGBUHXvxvU
7xJrNfN9xDklUMUkHcyZNNWgIr1U7U//4hKm/3D2ele0AmMtL+Y0MmnSKvqXMiRf
PTON/6rBwK4WdKsYtq1e2nUWv5Btfzb/oEovh8nmJwrpWUi4oBo8q7lBj9PEb1yY
QXBnSjzg2C4zx/z8O1aHx0zb8njTMwknH0Ii/0ukMyCvC1y9yoDTEcD01ctivxwq
h4I547vuzVQA7LrPob8fa003R5jR95+bvfedR4beJlDb4uTIS7654Usk58xzCyYt
hVz7YrD8Zn1u841YYqw52pQ+d29OpVC6z/IaEN06v77TIW6uJVPxdQU/tUJM+fvT
kFVVU8qcGo5SjPUFyc66s9eJ3NRBdoRQO8ls3YO9JxMNSd4wtSysj9vKOwARAQAB
tB1DaGFuIExlZSA8Y2hhbmxlZUBhcGFjaGUub3JnPokCPQQTAQoAJwUCWbhihQIb
AwUJB4YfgAULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRB+I2PYRxmo9Eq3D/9Q
Tg45t1DXEq911JAfCDA/nIFNBaziPt3FIdKeWR3EGxwTie/KrSH7sL6ou40+GnSb
DcWxfq3CobFkTyaAAF7NGt3cmP5e7H02EaEqrSfewUnV0eZlZOb7qoc4qWoG8vGe
OwQQEY48DFxmzBzSZSyUvtgJQBX08mlE4jtEMh0QngkxyH5qGi+NEfbvCZaRWf/3
nfErYSfFenQqqRmXol69zGJ+MPXDZLCBdpayTjNZRRs9Bw4B/VVm3zGgdm2GZ/2U
G4aPNNBnqDBi6WDBqC8RwOtWcyvHKCXXu2suHTN79SIWhksuPQBILI0lMEfrdsdk
76WUlgHLvdUAjb/g4a+cV7XkbSstGbMvKi7foM5V2o5FppaL7BApMdIZUN5xTAsh
zbJ/Wyru69SgNYm/4byWOFyzZBvZLtodqhT/BUHerwOO2ZNtRijwct8Q6o7PePbu
K/35KTCTmU5D+91igIa72981ePnShuG1qx1v9a3wpoENYRt6YPchW9vhnErKdh3L
nMfgcobI0HESQDx2Si8n8YGYIwXNeUAdDhkuhULXs22XIAay503R5tYiBm3mTaRR
q25Tl1uSBeMeNGRoGOfHl7s8oIx/kH54PzgmEbLtEUs4SaUUW1l92ShQgkj87lKX
Zytqx27HUTwkUz3AIxBHs9VloJ2Sh/cmMXB70uTV1LkCDQRZuGKFARAAzPli/9oU
QLC5Bp75UDIRLQk4kDqyaSfCgcNTuqsXxL0UR/IoICz8S4qo1UccwO6LoUNH5L7j
EFHdeG5P2a/Y/WQUIduwGs6M4Btb8vC9Q6kw2P+6R7gCoq9L6QKGOWjOwCbd7H1e
YnxB7IizTYzgHq8llr3V7VXXkBSytCMOXdCxOMwoSyNqJdQtrrV1XdzPSwaHZ5vn
i+VMuKVM3XlS3cB/KhJTJckWfaQzHMWmCYZytz5GwSJuMz37/YYFKTBPvYfk6z3F
kVnpYTK/TZ9ZalbVUQY39Xk9MRhF22FbY1/kdmTQaA9+lxEONvmULXo/vmZIrJlS
ua+DdUhrbmz8E6zLvqsH5HcPqJx7nbv/wcjcp4jRPk8vUNu3OO7a4ClFBymJzwL3
k9bgCoVEY/fo71jVSpeajzWR3psJjOFLIOufNortYx3AjdVR2TkyKko0k0nFJ3FV
P2MN86nwCh89kU581Q/XLDmZFrlrqFek6V+J2fu4l42Bu4/rWlML4AGst7p7UsYU
y/TbF9wJhHgpSV/70gcS2jW26xZpcjNM09fgGlaJFzeqCrxkuIfx5CbdJzkAeFFC
3Nq9o6rcLZXAqVGlLJLl2hGF7mnrzm+7RpZkoIXwX0RyJVVLaz4e6TYXXygYTaD3
kQK6fNabA1Yo+SvRiQLBGM9oAaNoe8ajfWEAEQEAAYkCJQQYAQoADwUCWbhihQIb
DAUJB4YfgAAKCRB+I2PYRxmo9KlYD/0aP3YrtNjHdlmLMit9z1jS4hATMdIohS2M
5woZkNogmol2SUXLWz0jGNSKlsPvmlFfD7BEJtzoal27GL5/LTu53a7XXtKMdPrT
RF8ZHQd4SkvAmNySPAZo10utskWnkEBtVntHT4/T4KYaum+f+9DbmVLmBIvOMzWU
qN5QIYI1HcXw/flY/7F/jH3pZWR1IZ+lgF8AERldYnMUYn+PmEo0YCsu2MulLkfr
2puXx5k0U/dO2Ljnrai878maLuSH100T8nFnY0lJEvwTb1xns4Hszum//9JOk1kJ
MpaD7iWKW8BtkN5bouWxT95Igi9I+9nxpDTF47s5fqCbhG7EGI7jeAJYaPUYkzof
P/k4K44d4jdmPyxCDxcA2KhxU+8QaYYuKgKX51UZzYR2Xx9YKG5IJTsbZNeKvUku
2T7F+k4B2Z/XbvjzBtsfdQx0hqiDwfw2ZOMTFiaRQKzTbuJ4jb9QoNZazAiuR6gO
A9pyEhk6ZBWq9zw00ym3W5IGy/YTS/3buDOfgLL82Axp9TEEJo7vk6JN0I4nJScN
CDBXY/trGluhnOmV1mQ2lJnq4FJ2sJSIVcbYTNahAD3cJ8ub+XFgyeMno0OTlrVg
LxEW+096aYvYBaxyb9GdKZzUplRHOZWg89DjGM5EVIy8yST1XDyCCMQeK/XglWCA
gslTn9eM5A==
=Jacn
-----END PGP PUBLIC KEY BLOCK-----
pub rsa4096/9F4FBC3D 2018-09-11 [SC]
uid [ultimate] Takako Shimamoto (CODE SIGNING KEY) <shimamoto@apache.org>
sig 3 9F4FBC3D 2018-09-11 Takako Shimamoto (CODE SIGNING KEY) <shimamoto@apache.org>
sub rsa4096/EC151981 2018-09-11 [E]
sig 9F4FBC3D 2018-09-11 Takako Shimamoto (CODE SIGNING KEY) <shimamoto@apache.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFuXgEQBEADA2p47lLog6fWkm3yXB7+jcvzzhZVkLweePBkEi5I0QBOX7PpL
CFNGGDdJW0L6p+8PhHWkzEeCdzYEJj74TGuMT9pZ+ibbjw3BLw3CvFaJa24/g83j
1jfoKOBLL7xdsvYyrMr/U3ZZYOpD6UkW4LjMWooGYcthlQgpuTXhmLswrym+b1YA
9xJbjFFL7gktB9O/XPf80nKDv+/duCtCcLKsWRuVsfFmnabJGJsok17wT9j5gjjc
GfADZvsQdXJDYFS8Z7Os5fczPzx+xpIKioqLUN1bmXDuwF1+e+hgQuK4WS3RfOu6
N9bp2R/cnYOcPWIGi955wKkjbUo6ujFFg7ICxhWTEqALZuXXScDoA0SkjtD/E8u6
d8L43Hb64v4TA6qc7sTzyUGsKjzs/j8iTCFu7H9rl+MvpTZj6BnovHKcqufWO9Aj
ndPPdVsnNse8MoBL7yxZ/eohVILA0LdHu/AnolfQTHtKkKFiCke18OhnS7x8Vg8j
Q1rUDllsG77LhyA3EwecR//E518nOrxreD4PVXzQvkQz3HK9V2LBAeKrAzCtn0h8
fpBfCgcN3r5+f8eA34Y3f4b6SGgyRRYYQtIwJ1w0CLGCWm06CKK8rKBK1wa988QA
3W4r+vCNVKEKUjPBltOvSpebk3DS4Ymk6plRXxLWedS8c89UJE7jb9wF3wARAQAB
tDpUYWtha28gU2hpbWFtb3RvIChDT0RFIFNJR05JTkcgS0VZKSA8c2hpbWFtb3Rv
QGFwYWNoZS5vcmc+iQJOBBMBCgA4FiEEGRmUSApCN8H1BfYxFyTwJ59PvD0FAluX
gEQCGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQFyTwJ59PvD3quw/+KJ7k
lNPkF0ogvBW48bn9HZgm3M6I/fxmHoqqEF1q8uCjnSXuHboEb1LhQO+BKLA4WH+F
fXUAlAIdzbGrUVIvuExr5QMhVY5oDofUMbUOouJSPG/1JXjikjnS3UP2eZYKyWst
bNZH7OrMiXqKtGaF8HT0BgVsNYxIEeKAKo4N0QWaUS0n1ep/GqdCBKuFGfXnxH7e
qMzJCEyuRhXu+S7t7EGdBUGz/2kYAHcfsuAj4y24xzyQOUYYox1wBGoMwg4MGzIy
WmVflIO7Unqz33dquEfNrOopK6kAbHmI1MBloHcNOVclF8sDTBH2kkkBfnFPy+H7
munXFMg4Dtk+4fMsdPp8+wkvQd6J67ao67D9KBN/jnUSohw4bEuzOl6cy+dVlTf9
XI+t/vKNJq+N8gRRTHvbaDfT9j5JgH51abFnh7Y9UDILU9JmvIFbjkBIQPpUg/ZV
CPaNzafFPvTn3G/KTVkpc75IDMjgEX4i9scPosvJL8rpGJnfMIEjt7tSwlLJ8lWf
DsW7XkWo6KpKdlve0e36KV23EdyUAAZ3+Oy05nAdZo/DhaC9LmmSlJwg9l/dwoUG
HEdPFdEWquoqkAQCbw3JXNuISugrpq7l6gD2cckAEOMg4ub5nGUVCLgojrWa3vGN
eb0YLBR5HlcRHhCnAQj69l7jgID4/VLNCUMjKfi5Ag0EW5eARAEQANf2H038aioy
0wFO27pERyVbPQrDr9kmN3AX4QoJBQ8U67jEkO+/vjz8S33H/Y/x8crMm8QCly6l
ECukdPCFmne+gloHlJm2pL2Qre/6YKuEDHMq/wut1/HDfKrkA86zfKkX5aut+Vtx
jdh7awf8ub6XcSTmmACBk+g/bvVoKCBD21bdw6h1I1/rYR+X+cCSCTSzvDLlv8ye
JeMEeLdld0/lTDUHXUyYf/z8AVr2IrtcFJFlA27ixtCqU3getyhBT1zGhlSFtQar
4tBzQ7UMOKQcxczHOCHM7lyB58zRsDv2PSr5LCV9tysR/CzNHdxIxvsK8qCf4wNp
YQLqwZa0bMdk/1vfiHf2f9L5PIWvfXUcfLFEUqG0GvARia1JC/YCA2vFEluVRPPg
EZgMsrUWoBOj+4qPaABAYFe8Tv7WW+vHKB9/+sETzUmo3TV0wcZz9qKiQwYoxWZQ
/hME5q7SLWHd7kLfyTbHBZrYtIvYLRFBljH9RZQR7i+VMThG9yWPrmpiY9Pcxxfv
sefGISNwlNWmXbK55+LuFHIcjPI+FTUQBF0SqvxJuCXjMmTsxjP3w+BiCrKgJEt4
ZVWN7VI8LYHP6IIctg65TPNti/rkd1AU4MDpSESN0o8b5R+04dIb05s2oEIGPY2R
tr2WUZY6YwuEmcKQ/igsYq0TwOtIqEtdABEBAAGJAjYEGAEKACAWIQQZGZRICkI3
wfUF9jEXJPAnn0+8PQUCW5eARAIbDAAKCRAXJPAnn0+8PenjEADAIkw4B/AC7cP+
xJzjYsE0kVOKLRYo+2+5jRvyoLWffcU6WMs44sF9XI4BRDHAGgDC0xvK03LPeh0d
mfhIMVEiqG8Zz+6Qkt4upCkXDuJ5QnjKZh4SWXNpW/avzOwCOX2f8JWz11Qoq+J4
Vnd0BbIjjI+rDiBbccr5Kc6tN43QhihLclJ5hO2QpdWIHGFjCaekIX6zWVYAkkFk
UB4vHG/eghXJA44lP2kUtVb0Ay5Fl23G8bNqC30/DoswE5bJZjgEbKWUGHBCAA+q
GtYDG6ttj1AzQuwhaW3mjCaspRHYbPp76Jqh/dw1mRuwWsgw/rYhw/Ptydpzeyad
W3NlHFj0NweMmstfmvwMd6VOP9cXni87Ynra8pWUvzCO2kzCL+IpUylPFAOvsSHe
M0exU5/K+ClKlsL5J9oL+6Nc02LDgk56H3aQimKc4sO7/TWqIhHtvYMHJj2PK+Da
P0qc0vJo6f3wYNU3VhzX/IZg/94luTeMiQgCBie5jXrv3EtBqCg/B/+TzOIrl6pO
TPFJ9Q5iQiLgoJNrBc2AjV34YaCa8esLRLTZQYoVX/9pN4ECcskNX3TxF45zExUi
8LMAftwE+fVt7zsJe3oZhPwtLN1RZoLJI/zvXJhXKAP/1LK57Ezrws0AwFSazc0I
wEvmHAxp9J8DJY97zR+oCp/Or62cNw==
=8icF
-----END PGP PUBLIC KEY BLOCK-----
================================================
FILE: LICENSE.txt
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================================================
PredictionIO Subcomponents:
The Apache PredictionIO project contains subcomponents with
separate copyright notices and license terms. Your use of the source code for
these subcomponents is subject to the terms and conditions of the following
licenses.
================================================================================
For semver.sh in bin/:
================================================================================
Copyright (c) 2013, Ray Bejjani
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
================================================================================
For sbt in sbt/:
================================================================================
// Generated from http://www.opensource.org/licenses/bsd-license.php
Copyright (c) 2011, Paul Phillips.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the author nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
================================================================================
For binary distribution:
================================================================================
Binary distribution bundles
javax.servlet # servlet-api # 2.5
javax.servlet.jsp # jsp-api # 2.1
javax.activation # activation # 1.1
javax.xml.stream # stax-api # 1.0-2
which are available under the CDDL v1.0 license (https://glassfish.java.net/public/CDDLv1.0.text)
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
1. Definitions.
1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications.
1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
1.4. Executable means the Covered Software in any form other than Source Code.
1.5. Initial Developer means the individual or entity that first makes Original Software available under this License.
1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
1.7. License means this document.
1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
1.9. Modifications means the Source Code and Executable form of any of the following:
A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
B. Any new file that contains any part of the Original Software or previous Modification; or
C. Any new file that is contributed or otherwise made available under the terms of this License.
1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License.
1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
2. License Grants.
2.1. The Initial Developer Grant.
Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices.
2.2. Contributor Grant.
Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
3. Distribution Obligations.
3.1. Availability of Source Code.
Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
3.2. Modifications.
The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
3.3. Required Notices.
You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
3.4. Application of Additional Terms.
You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
3.5. Distribution of Executable Versions.
You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
3.6. Larger Works.
You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
4. Versions of the License.
4.1. New Versions.
Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
4.2. Effect of New Versions.
You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
4.3. Modified Versions.
When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License.
5. DISCLAIMER OF WARRANTY.
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
6. TERMINATION.
6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
7. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
8. U.S. GOVERNMENT END USERS.
The Covered Software is a commercial item, as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. 252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
9. MISCELLANEOUS.
This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
10. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions).
--------------------------------------------------------------------------------
Binary distribution bundles
com.sun.jersey # jersey-core # 1.9 (https://github.com/jersey/jersey-1.x)
com.sun.jersey # jersey-json # 1.9 (https://github.com/jersey/jersey-1.x)
com.sun.jersey # jersey-server # 1.9 (https://github.com/jersey/jersey-1.x)
javax.xml.bind # jaxb-api # 2.2.2
com.sun.xml.bind # jaxb-impl # 2.2.3-1
which are available under the CDDL v1.1 license (https://glassfish.java.net/public/CDDL+GPL_1_1.html)
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
1. Definitions.
1.1. "Contributor" means each individual or entity that creates or
contributes to the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Software, prior Modifications used by a Contributor (if any), and the
Modifications made by that particular Contributor.
1.3. "Covered Software" means (a) the Original Software, or (b)
Modifications, or (c) the combination of files containing Original
Software with files containing Modifications, in each case including
portions thereof.
1.4. "Executable" means the Covered Software in any form other than
Source Code.
1.5. "Initial Developer" means the individual or entity that first makes
Original Software available under this License.
1.6. "Larger Work" means a work which combines Covered Software or
portions thereof with code not governed by the terms of this License.
1.7. "License" means this document.
1.8. "Licensable" means having the right to grant, to the maximum extent
possible, whether at the time of the initial grant or subsequently
acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means the Source Code and Executable form of any of
the following:
A. Any file that results from an addition to, deletion from or
modification of the contents of a file containing Original Software or
previous Modifications;
B. Any new file that contains any part of the Original Software or
previous Modification; or
C. Any new file that is contributed or otherwise made available under
the terms of this License.
1.10. "Original Software" means the Source Code and Executable form of
computer software code that is originally released under this License.
1.11. "Patent Claims" means any patent claim(s), now owned or hereafter
acquired, including without limitation, method, process, and apparatus
claims, in any patent Licensable by grantor.
1.12. "Source Code" means (a) the common form of computer software code
in which modifications are made and (b) associated documentation
included in or with such code.
1.13. "You" (or "Your") means an individual or a legal entity exercising
rights under, and complying with all of the terms of, this License. For
legal entities, "You" includes any entity which controls, is controlled
by, or is under common control with You. For purposes of this
definition, "control" means (a) the power, direct or indirect, to cause
the direction or management of such entity, whether by contract or
otherwise, or (b) ownership of more than fifty percent (50%) of the
outstanding shares or beneficial ownership of such entity.
2. License Grants.
2.1. The Initial Developer Grant.
Conditioned upon Your compliance with Section 3.1 below and subject to
third party intellectual property claims, the Initial Developer hereby
grants You a world-wide, royalty-free, non-exclusive license:
(a) under intellectual property rights (other than patent or trademark)
Licensable by Initial Developer, to use, reproduce, modify, display,
perform, sublicense and distribute the Original Software (or portions
thereof), with or without Modifications, and/or as part of a Larger
Work; and
(b) under Patent Claims infringed by the making, using or selling of
Original Software, to make, have made, use, practice, sell, and offer
for sale, and/or otherwise dispose of the Original Software (or portions
thereof).
(c) The licenses granted in Sections 2.1(a) and (b) are effective on the
date Initial Developer first distributes or otherwise makes the Original
Software available to a third party under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is granted:
(1) for code that You delete from the Original Software, or (2) for
infringements caused by: (i) the modification of the Original Software,
or (ii) the combination of the Original Software with other software or
devices.
2.2. Contributor Grant.
Conditioned upon Your compliance with Section 3.1 below and subject to
third party intellectual property claims, each Contributor hereby grants
You a world-wide, royalty-free, non-exclusive license:
(a) under intellectual property rights (other than patent or trademark)
Licensable by Contributor to use, reproduce, modify, display, perform,
sublicense and distribute the Modifications created by such Contributor
(or portions thereof), either on an unmodified basis, with other
Modifications, as Covered Software and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or selling of
Modifications made by that Contributor either alone and/or in
combination with its Contributor Version (or portions of such
combination), to make, use, sell, offer for sale, have made, and/or
otherwise dispose of: (1) Modifications made by that Contributor (or
portions thereof); and (2) the combination of Modifications made by that
Contributor with its Contributor Version (or portions of such
combination).
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on
the date Contributor first distributes or otherwise makes the
Modifications available to a third party.
(d) Notwithstanding Section 2.2(b) above, no patent license is granted:
(1) for any code that Contributor has deleted from the Contributor
Version; (2) for infringements caused by: (i) third party modifications
of Contributor Version, or (ii) the combination of Modifications made by
that Contributor with other software (except as part of the Contributor
Version) or other devices; or (3) under Patent Claims infringed by
Covered Software in the absence of Modifications made by that
Contributor.
3. Distribution Obligations.
3.1. Availability of Source Code.
Any Covered Software that You distribute or otherwise make available in
Executable form must also be made available in Source Code form and that
Source Code form must be distributed only under the terms of this
License. You must include a copy of this License with every copy of the
Source Code form of the Covered Software You distribute or otherwise
make available. You must inform recipients of any such Covered Software
in Executable form as to how they can obtain such Covered Software in
Source Code form in a reasonable manner on or through a medium
customarily used for software exchange.
3.2. Modifications.
The Modifications that You create or to which You contribute are
governed by the terms of this License. You represent that You believe
Your Modifications are Your original creation(s) and/or You have
sufficient rights to grant the rights conveyed by this License.
3.3. Required Notices.
You must include a notice in each of Your Modifications that identifies
You as the Contributor of the Modification. You may not remove or alter
any copyright, patent or trademark notices contained within the Covered
Software, or any notices of licensing or any descriptive text giving
attribution to any Contributor or the Initial Developer.
3.4. Application of Additional Terms.
You may not offer or impose any terms on any Covered Software in Source
Code form that alters or restricts the applicable version of this
License or the recipients' rights hereunder. You may choose to offer,
and to charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Software. However, you
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear that any
such warranty, support, indemnity or liability obligation is offered by
You alone, and You hereby agree to indemnify the Initial Developer and
every Contributor for any liability incurred by the Initial Developer or
such Contributor as a result of warranty, support, indemnity or
liability terms You offer.
3.5. Distribution of Executable Versions.
You may distribute the Executable form of the Covered Software under the
terms of this License or under the terms of a license of Your choice,
which may contain terms different from this License, provided that You
are in compliance with the terms of this License and that the license
for the Executable form does not attempt to limit or alter the
recipient's rights in the Source Code form from the rights set forth in
this License. If You distribute the Covered Software in Executable form
under a different license, You must make it absolutely clear that any
terms which differ from this License are offered by You alone, not by
the Initial Developer or Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such terms
You offer.
3.6. Larger Works.
You may create a Larger Work by combining Covered Software with other
code not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Software.
4. Versions of the License.
4.1. New Versions.
Oracle is the initial license steward and may publish revised and/or new
versions of this License from time to time. Each version will be given a
distinguishing version number. Except as provided in Section 4.3, no one
other than the license steward has the right to modify this License.
4.2. Effect of New Versions.
You may always continue to use, distribute or otherwise make the Covered
Software available under the terms of the version of the License under
which You originally received the Covered Software. If the Initial
Developer includes a notice in the Original Software prohibiting it from
being distributed or otherwise made available under any subsequent
version of the License, You must distribute and make the Covered
Software available under the terms of the version of the License under
which You originally received the Covered Software. Otherwise, You may
also choose to use, distribute or otherwise make the Covered Software
available under the terms of any subsequent version of the License
published by the license steward.
4.3. Modified Versions.
When You are an Initial Developer and You want to create a new license
for Your Original Software, You may create and use a modified version of
this License if You: (a) rename the license and remove any references to
the name of the license steward (except to note that the license differs
from this License); and (b) otherwise make it clear that the license
contains terms which differ from this License.
5. DISCLAIMER OF WARRANTY.
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED
SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY
RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME
THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS
DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO
USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
DISCLAIMER.
6. TERMINATION.
6.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. Provisions
which, by their nature, must remain in effect beyond the termination of
this License shall survive.
6.2. If You assert a patent infringement claim (excluding declaratory
judgment actions) against Initial Developer or a Contributor (the
Initial Developer or Contributor against whom You assert such claim is
referred to as "Participant") alleging that the Participant Software
(meaning the Contributor Version where the Participant is a Contributor
or the Original Software where the Participant is the Initial Developer)
directly or indirectly infringes any patent, then any and all rights
granted directly or indirectly to You by such Participant, the Initial
Developer (if the Initial Developer is not the Participant) and all
Contributors under Sections 2.1 and/or 2.2 of this License shall, upon
60 days notice from Participant terminate prospectively and
automatically at the expiration of such 60 day notice period, unless if
within such 60 day period You withdraw Your claim with respect to the
Participant Software against such Participant either unilaterally or
pursuant to a written agreement with Participant.
6.3. If You assert a patent infringement claim against Participant
alleging that the Participant Software directly or indirectly infringes
any patent where such claim is resolved (such as by license or
settlement) prior to the initiation of patent infringement litigation,
then the reasonable value of the licenses granted by such Participant
under Sections 2.1 or 2.2 shall be taken into account in determining the
amount or value of any payment or license.
6.4. In the event of termination under Sections 6.1 or 6.2 above, all
end user licenses that have been validly granted by You or any
distributor hereunder prior to termination (excluding licenses granted
to You by any distributor) shall survive termination.
7. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED
SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY
PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL
OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
AND LIMITATION MAY NOT APPLY TO YOU.
8. U.S. GOVERNMENT END USERS.
The Covered Software is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1))
and "commercial computer software documentation" as such terms are used
in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government
End Users acquire Covered Software with only those rights set forth
herein. This U.S. Government Rights clause is in lieu of, and
supersedes, any other FAR, DFAR, or other clause or provision that
addresses Government rights in computer software under this License.
9. MISCELLANEOUS.
This License represents the complete agreement concerning subject matter
hereof. If any provision of this License is held to be unenforceable,
such provision shall be reformed only to the extent necessary to make it
enforceable. This License shall be governed by the law of the
jurisdiction specified in a notice contained within the Original
Software (except to the extent applicable law, if any, provides
otherwise), excluding such jurisdiction's conflict-of-law provisions.
Any litigation relating to this License shall be subject to the
jurisdiction of the courts located in the jurisdiction and venue
specified in a notice contained within the Original Software, with the
losing party responsible for costs, including, without limitation, court
costs and reasonable attorneys' fees and expenses. The application of
the United Nations Convention on Contracts for the International Sale of
Goods is expressly excluded. Any law or regulation which provides that
the language of a contract shall be construed against the drafter shall
not apply to this License. You agree that You alone are responsible for
compliance with the United States export administration regulations (and
the export control laws and regulation of any other countries) when You
use, distribute or otherwise make available any Covered Software.
10. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly, out
of its utilization of rights under this License and You agree to work
with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION
LICENSE (CDDL)
The code released under the CDDL shall be governed by the laws of the
State of California (excluding conflict-of-law provisions). Any
litigation relating to this License shall be subject to the jurisdiction
of the Federal Courts of the Northern District of California and the
state courts of the State of California, with venue lying in Santa Clara
County, California.
The GNU General Public License (GPL) Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your freedom to
share and change it. By contrast, the GNU General Public License is
intended to guarantee your freedom to share and change free software--to
make sure the software is free for all its users. This General Public
License applies to most of the Free Software Foundation's software and
to any other program whose authors commit to using it. (Some other Free
Software Foundation software is covered by the GNU Library General
Public License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price.
Our General Public Licenses are designed to make sure that you have the
freedom to distribute copies of free software (and charge for this
service if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone
to deny you these rights or to ask you to surrender the rights. These
restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis
or for a fee, you must give the recipients all the rights that you have.
You must make sure that they, too, receive or can get the source code.
And you must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software patents.
We wish to avoid the danger that redistributors of a free program will
individually obtain patent licenses, in effect making the program
proprietary. To prevent this, we have made it clear that any patent must
be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a
notice placed by the copyright holder saying it may be distributed under
the terms of this General Public License. The "Program", below, refers
to any such program or work, and a "work based on the Program" means
either the Program or any derivative work under copyright law: that is
to say, a work containing the Program or a portion of it, either
verbatim or with modifications and/or translated into another language.
(Hereinafter, translation is included without limitation in the term
"modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of running
the Program is not restricted, and the output from the Program is
covered only if its contents constitute a work based on the Program
(independent of having been made by running the Program). Whether that
is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's source
code as you receive it, in any medium, provided that you conspicuously
and appropriately publish on each copy an appropriate copyright notice
and disclaimer of warranty; keep intact all the notices that refer to
this License and to the absence of any warranty; and give any other
recipients of the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of
it, thus forming a work based on the Program, and copy and distribute
such modifications or work under the terms of Section 1 above, provided
that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices stating
that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole
or in part contains or is derived from the Program or any part thereof,
to be licensed as a whole at no charge to all third parties under the
terms of this License.
c) If the modified program normally reads commands interactively when
run, you must cause it, when started running for such interactive use in
the most ordinary way, to print or display an announcement including an
appropriate copyright notice and a notice that there is no warranty (or
else, saying that you provide a warranty) and that users may
redistribute the program under these conditions, and telling the user
how to view a copy of this License. (Exception: if the Program itself is
interactive but does not normally print such an announcement, your work
based on the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program, and
can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based on
the Program, the distribution of the whole must be on the terms of this
License, whose permissions for other licensees extend to the entire
whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of a
storage or distribution medium does not bring the other work under the
scope of this License.
3. You may copy and distribute the Program (or a work based on it, under
Section 2) in object code or executable form under the terms of Sections
1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source
code, which must be distributed under the terms of Sections 1 and 2
above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to
give any third party, for a charge no more than your cost of physically
performing source distribution, a complete machine-readable copy of the
corresponding source code, to be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to
distribute corresponding source code. (This alternative is allowed only
for noncommercial distribution and only if you received the program in
object code or executable form with such an offer, in accord with
Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source code
means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to control
compilation and installation of the executable. However, as a special
exception, the source code distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies the
executable.
If distribution of executable or object code is made by offering access
to copy from a designated place, then offering equivalent access to copy
the source code from the same place counts as distribution of the source
code, even though third parties are not compelled to copy the source
along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt otherwise
to copy, modify, sublicense or distribute the Program is void, and will
automatically terminate your rights under this License. However, parties
who have received copies, or rights, from you under this License will
not have their licenses terminated so long as such parties remain in
full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and all
its terms and conditions for copying, distributing or modifying the
Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further restrictions
on the recipients' exercise of the rights granted herein. You are not
responsible for enforcing compliance by third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot distribute
so as to satisfy simultaneously your obligations under this License and
any other pertinent obligations, then as a consequence you may not
distribute the Program at all. For example, if a patent license would
not permit royalty-free redistribution of the Program by all those who
receive copies directly or indirectly through you, then the only way you
could satisfy both it and this License would be to refrain entirely from
distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is implemented
by public license practices. Many people have made generous
contributions to the wide range of software distributed through that
system in reliance on consistent application of that system; it is up to
the author/donor to decide if he or she is willing to distribute
software through any other system and a licensee cannot impose that
choice.
This section is intended to make thoroughly clear what is believed to be
a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License may
add an explicit geographical distribution limitation excluding those
countries, so that distribution is permitted only in or among countries
not thus excluded. In such case, this License incorporates the
limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Program does not specify a version
number of this License, you may choose any version ever published by the
Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the
author to ask for permission. For software which is copyrighted by the
Free Software Foundation, write to the Free Software Foundation; we
sometimes make exceptions for this. Our decision will be guided by the
two goals of preserving the free status of all derivatives of our free
software and of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
One line to give the program's name and a brief idea of what it does.
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author Gnomovision
comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is
free software, and you are welcome to redistribute it under certain
conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the commands
you use may be called something other than `show w' and `show c'; they
could even be mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
signature of Ty Coon, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications
with the library. If this is what you want to do, use the GNU Library
General Public License instead of this License.
#
"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
Certain source files distributed by Oracle are subject to the following
clarification and special exception to the GPL Version 2, but only where
Oracle has expressly included in the particular source file's header the
words "Oracle designates this particular file as subject to the
"Classpath" exception as provided by Oracle in the License file that
accompanied this code."
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License Version 2 cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under terms
of your choice, provided that you also meet, for each linked independent
module, the terms and conditions of the license of that module. An
independent module is a module which is not derived from or based on
this library. If you modify this library, you may extend this exception
to your version of the library, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from your
version.
--------------------------------------------------------------------------------
Binary distribution bundles
junit # junit # 4.12 (http://junit.org/junit4/)
which are available under the CPL v1.0 license (https://eclipse.org/legal/cpl-v10.html)
Common Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and
documentation distributed under this Agreement, and
b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are
distributed by that particular Contributor. A Contribution 'originates' from a
Contributor if it was added to the Program by such Contributor itself or anyone
acting on such Contributor's behalf. Contributions do not include additions to
the Program which: (i) are separate modules of software distributed in
conjunction with the Program under their own license agreement, and (ii) are
not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are
necessarily infringed by the use or sale of its Contribution alone or when
combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement,
including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free copyright license to
reproduce, prepare derivative works of, publicly display, publicly perform,
distribute and sublicense the Contribution of such Contributor, if any, and
such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants
Recipient a non-exclusive, worldwide, royalty-free patent license under
Licensed Patents to make, use, sell, offer to sell, import and otherwise
transfer the Contribution of such Contributor, if any, in source code and
object code form. This patent license shall apply to the combination of the
Contribution and the Program if, at the time the Contribution is added by the
Contributor, such addition of the Contribution causes such combination to be
covered by the Licensed Patents. The patent license shall not apply to any
other combinations which include the Contribution. No hardware per se is
licensed hereunder.
c) Recipient understands that although each Contributor grants the
licenses to its Contributions set forth herein, no assurances are provided by
any Contributor that the Program does not infringe the patent or other
intellectual property rights of any other entity. Each Contributor disclaims
any liability to Recipient for claims brought by any other entity based on
infringement of intellectual property rights or otherwise. As a condition to
exercising the rights and licenses granted hereunder, each Recipient hereby
assumes sole responsibility to secure any other intellectual property rights
needed, if any. For example, if a third party patent license is required to
allow Recipient to distribute the Program, it is Recipient's responsibility to
acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient
copyright rights in its Contribution, if any, to grant the copyright license
set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under
its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and
conditions, express and implied, including warranties or conditions of title
and non-infringement, and implied warranties or conditions of merchantability
and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for
damages, including direct, indirect, special, incidental and consequential
damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are
offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such
Contributor, and informs licensees how to obtain it in a reasonable manner on
or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the
Program.
Contributors may not remove or alter any copyright notices contained within the
Program.
Each Contributor must identify itself as the originator of its Contribution, if
any, in a manner that reasonably allows subsequent Recipients to identify the
originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with
respect to end users, business partners and the like. While this license is
intended to facilitate the commercial use of the Program, the Contributor who
includes the Program in a commercial product offering should do so in a manner
which does not create potential liability for other Contributors. Therefore, if
a Contributor includes the Program in a commercial product offering, such
Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
every other Contributor ("Indemnified Contributor") against any losses, damages
and costs (collectively "Losses") arising from claims, lawsuits and other legal
actions brought by a third party against the Indemnified Contributor to the
extent caused by the acts or omissions of such Commercial Contributor in
connection with its distribution of the Program in a commercial product
offering. The obligations in this section do not apply to any claims or Losses
relating to any actual or alleged intellectual property infringement. In order
to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
Contributor in writing of such claim, and b) allow the Commercial Contributor
to control, and cooperate with the Commercial Contributor in, the defense and
any related settlement negotiations. The Indemnified Contributor may
participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product
offering, Product X. That Contributor is then a Commercial Contributor. If that
Commercial Contributor then makes performance claims, or offers warranties
related to Product X, those performance claims and warranties are such
Commercial Contributor's responsibility alone. Under this section, the
Commercial Contributor would have to defend claims against the other
Contributors related to those performance claims and warranties, and if a court
requires any other Contributor to pay any damages as a result, the Commercial
Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
Recipient is solely responsible for determining the appropriateness of using
and distributing the Program and assumes all risks associated with its exercise
of rights under this Agreement, including but not limited to the risks and
costs of program errors, compliance with applicable laws, damage to or loss of
data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable
law, it shall not affect the validity or enforceability of the remainder of the
terms of this Agreement, and without further action by the parties hereto, such
provision shall be reformed to the minimum extent necessary to make such
provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to
a patent applicable to software (including a cross-claim or counterclaim in a
lawsuit), then any patent licenses granted by that Contributor to such
Recipient under this Agreement shall terminate as of the date such litigation
is filed. In addition, if Recipient institutes patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging that the
Program itself (excluding combinations of the Program with other software or
hardware) infringes such Recipient's patent(s), then such Recipient's rights
granted under Section 2(b) shall terminate as of the date such litigation is
filed.
All Recipient's rights under this Agreement shall terminate if it fails to
comply with any of the material terms or conditions of this Agreement and does
not cure such failure in a reasonable period of time after becoming aware of
such noncompliance. If all Recipient's rights under this Agreement terminate,
Recipient agrees to cease use and distribution of the Program as soon as
reasonably practicable. However, Recipient's obligations under this Agreement
and any licenses granted by Recipient relating to the Program shall continue
and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in
order to avoid inconsistency the Agreement is copyrighted and may only be
modified in the following manner. The Agreement Steward reserves the right to
publish new versions (including revisions) of this Agreement from time to time.
No one other than the Agreement Steward has the right to modify this Agreement.
IBM is the initial Agreement Steward. IBM may assign the responsibility to
serve as the Agreement Steward to a suitable separate entity. Each new version
of the Agreement will be given a distinguishing version number. The Program
(including Contributions) may always be distributed subject to the version of
the Agreement under which it was received. In addition, after a new version of
the Agreement is published, Contributor may elect to distribute the Program
(including its Contributions) under the new version. Except as expressly stated
in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
the intellectual property of any Contributor under this Agreement, whether
expressly, by implication, estoppel or otherwise. All rights in the Program not
expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the
intellectual property laws of the United States of America. No party to this
Agreement will bring a legal action under this Agreement more than one year
after the cause of action arose. Each party waives its rights to a jury trial
in any resulting litigation.
--------------------------------------------------------------------------------
Binary distribution bundles
org.jamon # jamon-runtime # 2.4.1 (http://www.jamon.org/)
which are available under the MPL v1.1 license (http://www.mozilla.org/MPL/MPL-1.1.txt)
--------------------------------------------------------------------------------
Binary distribution bundles
org.slf4j # slf4j-api # 1.7.25 (https://www.slf4j.org/)
org.slf4j # slf4j-api # 1.7.10 (https://www.slf4j.org/)
org.slf4j # slf4j-api # 1.7.2 (https://www.slf4j.org/)
org.slf4j # slf4j-log4j12 # 1.7.18 (https://www.slf4j.org/)
org.slf4j # slf4j-log4j12 # 1.7.10 (https://www.slf4j.org/)
org.jruby.jcodings # jcodings # 1.0.8 (https://github.com/jruby/jcodings/)
org.jruby.joni # joni # 2.1.2 (https://github.com/jruby/joni/)
which are available under the MIT license (http://opensource.org/licenses/mit-license.php)
Copyright (c) 2004-2008 QOS.ch
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
Binary distribution bundles
com.github.zafarkhaja # java-semver # 0.9.0 (https://github.com/zafarkhaja/jsemver)
which are available under the MIT license (http://opensource.org/licenses/mit-license.php)
The MIT License
Copyright 2012-2014 Zafar Khaja <zafarkhaja@gmail.com>.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--------------------------------------------------------------------------------
Binary distribution bundles
com.github.scopt # scopt_2.11 # 3.5.0 (https://github.com/scopt/scopt)
which are available under the MIT license (http://opensource.org/licenses/mit-license.php)
Copyright (c) scopt contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
Binary distribution bundles
com.esotericsoftware # kryo # 3.0.3 (https://github.com/EsotericSoftware/kryo)
com.esotericsoftware # minlog # 1.3.0 (https://github.com/EsotericSoftware/minlog)
com.esotericsoftware # reflectasm # 1.10.1 (https://github.com/EsotericSoftware/reflectasm)
com.esotericsoftware.kryo # kryo # 2.21 (https://github.com/EsotericSoftware/kryo)
com.esotericsoftware.minlog # minlog # 1.2 (https://github.com/EsotericSoftware/minlog)
com.esotericsoftware.reflectasm # reflectasm # 1.07 (https://github.com/EsotericSoftware/reflectasm)
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
Copyright (c) 2008, Nathan Sweet
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Esoteric Software nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
com.google.protobuf # protobuf-java # 2.5.0 (https://github.com/google/protobuf)
com.google.protobuf # protobuf-java # 2.6.1 (https://github.com/google/protobuf)
Copyright 2008, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Code generated by the Protocol Buffer compiler is owned by the owner
of the input file used when generating it. This code is not
standalone and requires a support library to be linked with it. This
support library is itself covered by the above license.
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
--------------------------------------------------------------------------------
Binary distribution bundles
xmlenc # xmlenc # 0.52 (http://xmlenc.sourceforge.net/)
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
Copyright 2003-2005, Ernst de Haan <wfe.dehaan@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
com.thoughtworks.paranamer # paranamer # 2.3 (https://github.com/paul-hammant/paranamer)
com.thoughtworks.paranamer # paranamer # 2.6 (https://github.com/paul-hammant/paranamer)
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
Copyright (c) 2006 Paul Hammant & ThoughtWorks Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
org.hamcrest # hamcrest-core # 1.3 (http://hamcrest.org/JavaHamcrest/)
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
Copyright (c) 2000-2015 www.hamcrest.org
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer. Redistributions in binary form must reproduce
the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
Neither the name of Hamcrest nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
asm # asm # 3.1 (http://asm.ow2.org/)
org.ow2.asm # asm # 5.0.3 (http://asm.ow2.org/)
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
Copyright (c) 2000-2011 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
org.clapper # grizzled-slf4j_2.11 # 1.0.2 (http://software.clapper.org/grizzled-slf4j/)
which is available under the BSD license (http://www.opensource.org/licenses/bsd-license.php)
Copyright © 2010-2016, Brian M. Clapper.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
com.jcraft # jsch # 0.1.54 (http://www.jcraft.com/jsch/)
which is available under the BSD license (http://www.jcraft.com/jsch/LICENSE.txt)
Copyright (c) 2002-2015 Atsuhiko Yamanaka, JCraft,Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
3. The names of the authors may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
org.scala-lang # scala-library # 2.11.12 (http://scala-lang.org/)
org.scala-lang # scala-compiler # 2.11.12 (http://scala-lang.org/)
org.scala-lang # scala-reflect # 2.11.12 (http://scala-lang.org/)
org.scala-lang # scalap # 2.11.12 (http://scala-lang.org/)
org.scala-lang.modules # scala-java8-compat_2.11 # 0.7.0 (http://scala-lang.org/)
org.scala-lang.modules # scala-parser-combinators_2.11 # 1.0.6 (http://scala-lang.org/)
org.scala-lang.modules # scala-parser-combinators_2.11 # 1.1.0 (http://scala-lang.org/)
org.scala-lang.modules # scala-xml_2.11 # 1.0.5 (http://scala-lang.org/)
which is available under the BSD license (http://www.scala-lang.org/downloads/license.html)
Copyright (c) 2002-2017 EPFL
Copyright (c) 2011-2017 Lightbend, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the EPFL nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
Binary distribution bundles
org.fusesource.leveldbjni # leveldbjni-all # 1.8 (https://github.com/fusesource/leveldbjni)
which is available under the BSD license (http://www.opensource.org/licenses/BSD-3-Clause)
Copyright (c) 2011 FuseSource Corp. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of FuseSource Corp. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
The following libraries are from the public domain.
org.tukaani # xz # 1.0 (http://tukaani.org/xz/java.html)
org.reactivestreams # reactive-streams # 1.0.2 (http://www.reactive-streams.org/)
================================================
FILE: NOTICE.txt
================================================
Apache PredictionIO
Copyright 2016 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
This product depends on third party software that falls under a variety of licenses.
All dependencies with licenses other than Apache are specified in the LICENSE file.
Please see LICENSE for additional copyright and licensing information.
================================================
FILE: PMC.md
================================================
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# Project Management Committee Documentation
This outlines the steps for a PMC member to create a new release. More details
and policy guidelines can be found here: http://www.apache.org/dev/release-distribution
## Release Procedure
1. Generate code signing key if you do not already have one for Apache. Refer to
http://apache.org/dev/openpgp.html#generate-key on how to generate a strong code
signing key.
2. Add your public key to the `KEYS` file at the root of the source code tree.
3. Create a new release branch, with version bumped to the next release version.
* `git checkout -b release/0.15.0`
* Replace all `0.15.0-SNAPSHOT` in the code tree to `0.15.0`
* `git commit -am "Prepare 0.15.0-rc1"`
* `git tag -am "Apache PredictionIO 0.15.0-rc1" v0.15.0-rc1`
4. Push the release branch and tag to the apache git repo.
5. Wait for Travis to pass build on the release branch.
6. Package a clean tarball for staging a release candidate.
* `git archive --format tar v0.15.0-rc1 >
../apache-predictionio-0.15.0-rc1.tar`
* `cd ..; gzip apache-predictionio-0.15.0-rc1.tar`
7. Generate detached signature for the release candidate.
(http://apache.org/dev/release-signing.html#openpgp-ascii-detach-sig)
* `gpg --armor --output apache-predictionio-0.15.0-rc1.tar.gz.asc
--detach-sig apache-predictionio-0.15.0-rc1.tar.gz`
8. Generate SHA512 checksums for the release candidate.
* `gpg --print-md SHA512 apache-predictionio-0.15.0-rc1.tar.gz >
apache-predictionio-0.15.0-rc1.tar.gz.sha512`
9. Run `./make-distribution.sh` and repeat steps 6 to 8 to create binary distribution release.
* `mv PredictionIO-0.15.0.tar.gz apache-predictionio-0.15.0-bin.tar.gz`
* `gpg --armor --output apache-predictionio-0.15.0-bin.tar.gz.asc
--detach-sig apache-predictionio-0.15.0-bin.tar.gz`
* `gpg --print-md SHA512 apache-predictionio-0.15.0-bin.tar.gz >
apache-predictionio-0.15.0-bin.tar.gz.sha512`
10. If you have not done so, use SVN to checkout
https://dist.apache.org/repos/dist/dev/predictionio. This is the area
for staging release candidates for voting.
* `svn co https://dist.apache.org/repos/dist/dev/predictionio`
11. Create a subdirectory at the SVN staging area. The area should have a `KEYS` file.
* `mkdir apache-predictionio-0.15.0-rc1`
* `cp apache-predictionio-0.15.0-* apache-predictionio-0.15.0-rc1`
12. If you have updated the `KEYS` file, also copy that to the staging area.
13. `svn commit -m "Apache PredictionIO 0.15.0-rc1"`
14. Set up credentials with Apache Nexus using the SBT Sonatype plugin. Put this
in `~/.sbt/1.0/sonatype.sbt`.
```
publishTo := {
val nexus = "https://repository.apache.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
credentials += Credentials("Sonatype Nexus Repository Manager", "repository.apache.org", "<YOUR APACHE LDAP USERNAME>", "<YOUR APACHE LDAP PASSWORD>")
```
15. Run `sbt/sbt +publishLocal` first and then run `sbt/sbt +publishSigned +storage/publishSigned`.
Close the staged repository on Apache Nexus.
16. Send out email for voting on PredictionIO dev mailing list.
```
Subject: [VOTE] Apache PredictionIO 0.15.0 Release (RC1)
This is the vote for 0.15.0 of Apache PredictionIO.
The vote will run for at least 72 hours and will close on Apr 7th, 2017.
The release candidate artifacts can be downloaded here: https://dist.apache.org/repos/dist/dev/predictionio/apache-predictionio-0.15.0-rc1/
Test results of RC1 can be found here: https://travis-ci.org/apache/predictionio/builds/xxx
Maven artifacts are built from the release candidate artifacts above, and are provided as convenience for testing with engine templates. The Maven artifacts are provided at the Maven staging repo here: https://repository.apache.org/content/repositories/orgapachepredictionio-nnnn/
All JIRAs completed for this release are tagged with 'FixVersion = 0.15.0'. You can view them here: https://issues.apache.org/jira/secure/ReleaseNote
.jspa?projectId=12320420&version=12337844
The artifacts have been signed with Key : YOUR_KEY_ID
Please vote accordingly:
[ ] +1, accept RC as the official 0.15.0 release
[ ] -1, do not accept RC as the official 0.15.0 release because...
```
17. After the vote has been accepted, update `RELEASE.md`.
18. Create a release tag
19. Repeat steps 6 to 8 to create the official release, and step 15 to publish it.
20. Use SVN to checkout
https://dist.apache.org/repos/dist/release/predictionio/. This is the area
for staging actual releases.
21. Create a subdirectory at the SVN staging area. The area should have a `KEYS` file.
* `mkdir 0.15.0`
* Copy the binary distribution from the dev/ tree to the release/ tree
* Copy the official release to the release/ tree
22. If you have updated the `KEYS` file, also copy that to the staging area.
23. Remove old releases from the ASF distribution mirrors.
(https://www.apache.org/dev/mirrors.html#location)
* `svn delete 0.14.0`
24. `svn commit -m "Apache PredictionIO 0.15.0"`
25. Document breaking changes in https://predictionio.apache.org/resources/upgrade/.
26. Mark the version as released on JIRA.
(https://issues.apache.org/jira/projects/PIO?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page&status=no-filter)
27. Send out an email to the following mailing lists: announce, user, dev.
```
Subject: [ANNOUNCE] Apache PredictionIO 0.15.0 Release
The Apache PredictionIO team would like to announce the release of Apache PredictionIO 0.15.0.
Release notes are here:
https://github.com/apache/predictionio/blob/v0.15.0/RELEASE.md
Apache PredictionIO is an open source Machine Learning Server built on top of state-of-the-art open source stack, that enables developers to manage and deploy production-ready predictive services for various kinds of machine learning tasks.
More details regarding Apache PredictionIO can be found here:
https://predictionio.apache.org/
The release artifacts can be downloaded here:
https://www.apache.org/dyn/closer.lua/predictionio/0.15.0/apache-predictionio-0.15.0-bin.tar.gz
All JIRAs completed for this release are tagged with 'FixVersion = 0.15.0'; the JIRA release notes can be found here:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12320420&version=12337844
Thanks!
The Apache PredictionIO Team
```
================================================
FILE: README.md
================================================
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# [Apache PredictionIO](http://predictionio.apache.org)
[](https://travis-ci.org/apache/predictionio)
Apache PredictionIO is an open source machine learning framework
for developers, data scientists, and end users. It supports event collection,
deployment of algorithms, evaluation, querying predictive results via REST APIs.
It is based on scalable open source services like Hadoop, HBase (and other DBs),
Elasticsearch, Spark and implements what is called a Lambda Architecture.
To get started, check out http://predictionio.apache.org!
## Table of contents
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Bugs and Feature Requests](#bugs-and-feature-requests)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [Community](#community)
## Installation
A few installation options available.
* [Installing Apache PredictionIO from
Binary/Source](http://predictionio.apache.org/install/install-sourcecode/)
* [Installing Apache PredictionIO with
Docker](http://predictionio.apache.org/install/install-docker/)
## Quick Start
* [Recommendation Engine Template Quick
Start](http://predictionio.apache.org/templates/recommendation/quickstart/)
Guide
* [Similiar Product Engine Template Quick
Start](http://predictionio.apache.org/templates/similarproduct/quickstart/)
Guide
* [Classification Engine Template Quick
Start](http://predictionio.apache.org/templates/classification/quickstart/)
Guide
## Bugs and Feature Requests
Use [Apache JIRA](https://issues.apache.org/jira/browse/PIO) to report bugs or request new features.
## Documentation
Documentation, included in this repo in the `docs/manual` directory, is built
with [Middleman](http://middlemanapp.com/) and publicly hosted at
[predictionio.apache.org](http://predictionio.apache.org/).
Interested in helping with our documentation? Read [Contributing
Documentation](http://predictionio.apache.org/community/contribute-documentation/).
## Community
Keep track of development and community news.
* Subscribe to the user mailing list <mailto:user-subscribe@predictionio.apache.org>
and the dev mailing list <mailto:dev-subscribe@predictionio.apache.org>
* Follow [@predictionio](https://twitter.com/predictionio) on Twitter.
## Contributing
Read the [Contribute Code](http://predictionio.apache.org/community/contribute-code/) page.
You can also list your projects on the [Community Project
page](http://predictionio.apache.org//community/projects/).
## License
Apache PredictionIO is under [Apache 2
license](http://www.apache.org/licenses/LICENSE-2.0.html).
================================================
FILE: RELEASE.md
================================================
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# Release Notes and News
**Note:** For upgrade instructions please refer to [this page](https://predictionio.apache.org/resources/upgrade/).
## Version History
### 0.14.0
Mar 11, 2019
#### Breaking changes
- [PIO-168](https://issues.apache.org/jira/browse/PIO-168): Elasticsearch 6.x support (see the [pull request](https://github.com/apache/predictionio/pull/466))
#### New Features
- [PIO-183](https://issues.apache.org/jira/browse/PIO-183): Add Jupyter Docker image
- [PIO-199](https://issues.apache.org/jira/browse/PIO-199): Spark 2.4 (Scala 2.11) support
#### Behavior Changes
- [PIO-31](https://issues.apache.org/jira/browse/PIO-31): Move from spray to akka-http in servers
- [PIO-171](https://issues.apache.org/jira/browse/PIO-171): Drop Scala 2.10 and Spark 1.6 support
- [PIO-175](https://issues.apache.org/jira/browse/PIO-175): Deprecation of Elasticsearch 1.x support
- [PIO-179](https://issues.apache.org/jira/browse/PIO-179): bump up hbase client version and make it configurable
- [PIO-192](https://issues.apache.org/jira/browse/PIO-192): Enhance PySpark support
- [PIO-196](https://issues.apache.org/jira/browse/PIO-196): Use external PySpark environment variables in Jupyter Docker image
#### Other Changes
- [PIO-153](https://issues.apache.org/jira/browse/PIO-153): Allow use of GNU tar on non-GNU systems
- [PIO-170](https://issues.apache.org/jira/browse/PIO-170): Upgrade sbt to 1.x
- [PIO-176](https://issues.apache.org/jira/browse/PIO-176): Clean up unmanaged sources in the data module
- [PIO-182](https://issues.apache.org/jira/browse/PIO-182): Add asynchronous (non-blocking) methods to LEventStore
- [PIO-188](https://issues.apache.org/jira/browse/PIO-188): Update the build matrix to the latest supported versions
- [PIO-189](https://issues.apache.org/jira/browse/PIO-189): ES6 integration test fails
- [PIO-194](https://issues.apache.org/jira/browse/PIO-194): S3 Model Data Storage should allow more flexible ways for specifying AWS credentials
- [PIO-203](https://issues.apache.org/jira/browse/PIO-203): pio status warnings
- [PIO-205](https://issues.apache.org/jira/browse/PIO-205): Update Dockerfile to reflect new Spark version
- [PIO-206](https://issues.apache.org/jira/browse/PIO-206): Spark 2.3.2 to 2.3.3
#### Documentation
- [PIO-172](https://issues.apache.org/jira/browse/PIO-172): Migration guide for ES 6.x changes
- [PIO-180](https://issues.apache.org/jira/browse/PIO-180): Trivial LiveDoc Link Change in Readme
- [PIO-185](https://issues.apache.org/jira/browse/PIO-185): Non-tracked Link in Apache Project page
- [PIO-195](https://issues.apache.org/jira/browse/PIO-195): Improve readability and grammar of documentation
#### Credits
The following contributors have spent a great deal of effort to bring to you
this release:
Alexander Merritt, Chris Wewerka, Donald Szeto, Naoki Takezoe, Saurabh Gulati,
Shinsuke Sugaya, Takako Shimamoto, Wei Chen, Yavor Stoychev
### 0.13.0
Sep 20, 2018
#### New Features
- [PIO-161](https://issues.apache.org/jira/browse/PIO-161): Spark 2.3 support.
#### Behavior Changes
- [PIO-158](https://issues.apache.org/jira/browse/PIO-158): More officially deprecate support for Scala 2.10 and Spark 1.x.
#### Other Changes
- [PIO-152](https://issues.apache.org/jira/browse/PIO-152): DOAP syntax error.
- [PIO-155](https://issues.apache.org/jira/browse/PIO-155): Fix 'Topic Labelling with Wikipedia' Template Link.
- [PIO-156](https://issues.apache.org/jira/browse/PIO-156): Stale release on download page.
- [PIO-160](https://issues.apache.org/jira/browse/PIO-160): Array out of bound exception in JDBCUtils when --env is not supplied to CreateWorkflow.
#### Credits
The following contributors have spent a great deal of effort to bring to you
this release:
Donald Szeto, Takako Shimamoto
### 0.12.1
Mar 11, 2018
#### New Features
- [PIO-125](https://issues.apache.org/jira/browse/PIO-125): Add support for Spark 2.2.
- [PIO-137](https://issues.apache.org/jira/browse/PIO-137): Add CleanupFunctions for Python.
#### Behavior Changes
- [PIO-126](https://issues.apache.org/jira/browse/PIO-126): Update install.sh to use binary release.
- [PIO-137](https://issues.apache.org/jira/browse/PIO-137): Create a connection object at a worker to delete events.
#### Other Changes
- [PIO-101](https://issues.apache.org/jira/browse/PIO-101): Document usage of plug-in of event server and engine server.
- [PIO-127](https://issues.apache.org/jira/browse/PIO-127): Update PMC documentation for release process.
- [PIO-129](https://issues.apache.org/jira/browse/PIO-129): Move CLI document in side menu.
- [PIO-131](https://issues.apache.org/jira/browse/PIO-131): Fix Apache licensing issues for doc site.
- [PIO-133](https://issues.apache.org/jira/browse/PIO-133): Make sure project web site meets all requirements in Apache Project Website Branding Policy.
- [PIO-135](https://issues.apache.org/jira/browse/PIO-135): Remove all incubating status.
- [PIO-139](https://issues.apache.org/jira/browse/PIO-139): Update release process doc to include closing all resolved stories within the new release.
- [PIO-146](https://issues.apache.org/jira/browse/PIO-146): Change TM to (R) on text marks.
- [PIO-147](https://issues.apache.org/jira/browse/PIO-147): Fix broken Scala API documentation.
- [PIO-150](https://issues.apache.org/jira/browse/PIO-150): Update Ruby gem dependency versions for security improvement.
- [PIO-151](https://issues.apache.org/jira/browse/PIO-151): Add S3 storage provider docs.
#### Credits
The following contributors have spent a great deal of effort to bring to you
this release:
Chan Lee, Donald Szeto, Helene Brashear, James Ward, Jeffrey Cafferata,
Mars Hall, Naoki Takezoe, Shinsuke Sugaya, Steven Yan, Takahiro Hagino,
Takako Shimamoto
### 0.12.0
Sep 27, 2017
#### New Features
- [PIO-61](https://issues.apache.org/jira/browse/PIO-61): S3 support for model data
- [PIO-69](https://issues.apache.org/jira/browse/PIO-69), [PIO-91](https://issues.apache.org/jira/browse/PIO-91): Binary distribution of PredictionIO
- [PIO-105](https://issues.apache.org/jira/browse/PIO-105), [PIO-110](https://issues.apache.org/jira/browse/PIO-110), [PIO-111](https://issues.apache.org/jira/browse/PIO-111): Batch predictions
- [PIO-95](https://issues.apache.org/jira/browse/PIO-95): Raise request timeout for REST API to 35-seconds
- [PIO-114](https://issues.apache.org/jira/browse/PIO-114): Basic HTTP authentication for Elasticsearch 5.x StorageClient
- [PIO-116](https://issues.apache.org/jira/browse/PIO-116): PySpark support
#### Breaking changes
- [PIO-106](https://issues.apache.org/jira/browse/PIO-106): Elasticsearch 5.x StorageClient should reuse RestClient (see the [pull request](https://github.com/apache/predictionio/pull/421))
#### Behavior Changes
- [PIO-59](https://issues.apache.org/jira/browse/PIO-59): `pio app new` uses /dev/urandom/ to generate entropy.
- [PIO-72](https://issues.apache.org/jira/browse/PIO-72): `pio-shell` properly loads storage dependencies.
- [PIO-83](https://issues.apache.org/jira/browse/PIO-83), [PIO-119](https://issues.apache.org/jira/browse/PIO-119): Default environment changed to Spark 2.1.1, Scala 2.11.8,
and Elasticsearch 5.5.2.
- [PIO-99](https://issues.apache.org/jira/browse/PIO-99): `pio-build` checks for compilation errors before proceeding
to build engine.
- [PIO-100](https://issues.apache.org/jira/browse/PIO-100): `pio` commands no longer display SLF4J warning messages.
#### Other Changes
- [PIO-56](https://issues.apache.org/jira/browse/PIO-56): Core unit tests no longer require meta data setup.
- [PIO-60](https://issues.apache.org/jira/browse/PIO-60), [PIO-62](https://issues.apache.org/jira/browse/PIO-62): Minor fixes in authorship information and license checking.
- [PIO-63](https://issues.apache.org/jira/browse/PIO-63): Apache incubator logo and disclaimer is displayed on the website.
- [PIO-65](https://issues.apache.org/jira/browse/PIO-65): Integration tests on Travis caches downloaded jars.
- [PIO-66](https://issues.apache.org/jira/browse/PIO-66): More detailed documentation regarding release process and adding
JIRA tickets.
- [PIO-90](https://issues.apache.org/jira/browse/PIO-90): Improved performance for /batch/events.json API call.
- [PIO-94](https://issues.apache.org/jira/browse/PIO-94): More detailed stack trace for REST API errors.
- [PIO-97](https://issues.apache.org/jira/browse/PIO-97): Update examples in official templates.
- [PIO-102](https://issues.apache.org/jira/browse/PIO-102), [PIO-117](https://issues.apache.org/jira/browse/PIO-117), [PIO-118](https://issues.apache.org/jira/browse/PIO-118), [PIO-120](https://issues.apache.org/jira/browse/PIO-120): Bug fixes, refactoring, and
improved performance on Elasticsearch behavior.
- [PIO-104](https://issues.apache.org/jira/browse/PIO-104): Bug fix regarding plugins.
- [PIO-107](https://issues.apache.org/jira/browse/PIO-107): Obsolete experimental examples are removed.
#### Credits
The following contributors have spent a great deal of effort to bring to you
this release:
Aayush Kumar, Chan Lee, Donald Szeto, Hugo Duksis, Juha Syrjälä, Lucas Bonatto,
Marius Rabenarivo, Mars Hall, Naoki Takezoe, Nilmax Moura, Shinsuke Sugaya,
Tomasz Stęczniewski, Vaghawan Ojha
### 0.11.0
Apr 25, 2017
#### New Features
- [PIO-30](https://issues.apache.org/jira/browse/PIO-30): Scala 2.11 support
- [PIO-30](https://issues.apache.org/jira/browse/PIO-30): Spark 2 support
- [PIO-49](https://issues.apache.org/jira/browse/PIO-49): Elasticsearch 5 support
- [PIO-30](https://issues.apache.org/jira/browse/PIO-30), [PIO-49](https://issues.apache.org/jira/browse/PIO-49): Flexible build system
- [PIO-47](https://issues.apache.org/jira/browse/PIO-47), [PIO-51](https://issues.apache.org/jira/browse/PIO-51): Removal of engine manifests
- [PIO-49](https://issues.apache.org/jira/browse/PIO-49): Modularized storage backend modules
- [PIO-45](https://issues.apache.org/jira/browse/PIO-45): Self cleaning data source
#### Behavior Changes
- [PIO-25](https://issues.apache.org/jira/browse/PIO-25): `pio-start-all` will no longer start PostgreSQL if it is not being
used.
- [PIO-47](https://issues.apache.org/jira/browse/PIO-47), [PIO-51](https://issues.apache.org/jira/browse/PIO-51): `pio build` no longer requires access to the metadata
repository. `pio` commands will now accept an optional `--engine-dir`
parameter if you want to run `pio build`, `pio train`, or `pio deploy` outside
of an engine directory. This is an interim solution before an engine registry
feature becomes available in the future.
- [PIO-49](https://issues.apache.org/jira/browse/PIO-49): PostgreSQL JDBC driver is no longer bundled with the core assembly. If
you are using PostgreSQL, you must download the JDBC driver and update your
configuration to point to the correct JDBC driver file.
- [PIO-54](https://issues.apache.org/jira/browse/PIO-54): New generated access keys will no longer start with a `-` character.
#### Other Changes
- [PIO-28](https://issues.apache.org/jira/browse/PIO-28): Code refactoring of the command line interface. It is now possible to
develop new interfaces that perform the same functionalities provided by the
CLI.
- [PIO-53](https://issues.apache.org/jira/browse/PIO-53): Integration tests can now be tied to every single Git commit, without
the need to update the official test Docker image.
- The meta data and model data access object methods are now public and marked
as Core Developer API.
#### Credits
The following contributors have spent a great deal of effort to bring to you
this release:
Ahmet DAL, Alexander Merritt, Amy Lin, Bansari Shah, Chan Lee, Chris Woodford,
Daniel Gabrieli, Dennis Jung, Donald Szeto, Emily Rose, Hari Charan Ayada,
infoquestsolutions, Jonny Daenen, Kenneth Chan, Laertis Pappas, Marcin
Ziemiński, Naoki Takezoe, Rajdeep Dua, Shinsuke Sugaya, Pat Ferrel, scorpiovn,
Suneel Marthi, Steven Yan, Takahiro Hagino, Takako Shimamoto
### 0.10.0
Oct 7, 2016
- Make SSL optional
- Merge ActionML fork
- First Apache PredictionIO release
### 0.9.7-aml (ActionML fork)
Aug 5, 2016
- changed version id so artifacts don't conflict with naming in the Salesforce sponsored project.
- bug fix in memory use during moving window event trim and compaction EventStore data.
- update [install.sh](https://github.com/actionml/PredictionIO/blob/master/bin/install.sh) script for single line installs with options that support various combinations required by some templates.
### 0.9.6
April 11, 2015
For a detailed list of commits check [this page](https://github.com/apache/predictionio/commits/v0.9.6)
- Upgrade components for install/runtime to Hbase 1, Spark 1.5.2 PIO still runs on older HBase and Spark back to 1.3.1, upgrading install of Elaticsearch to 1.5.2 since pio run well on it but also runs on older versions.
- Support for maintaining a moving window of events by discarding old events from the EventStore
- Support for doing a deploy without creating a Spark Context
### 0.9.6 (ActionML fork)
March 26, 2016
- Upgrade components for install/runtime to Hbase 1.X, Spark 1.5.2 PIO still runs on older HBase and Spark back to 1.3.1, upgrading install of Elasticsearch to 1.5.2 since pio run well on it but also runs on older versions.
- Support for maintaining a moving window of events by discarding old events from the EventStore
- Support for doing a deploy without creating a Spark Context
### 0.9.5
October 14th, 2015
[Release Notes](https://github.com/apache/predictionio/blob/master/RELEASE.md) have been moved to Github and you are reading them. For a detailed list of commits check [this page](https://github.com/apache/predictionio/commits/v0.9.5)
- Support batches of events sent to the EventServer as json arrays
- Support creating an Elasticsearch StorageClient created for an Elasticsearch cluster from variables in pio-env.sh
- Fixed some errors installing PredictionIO through install.sh when SBT was not correctly downloaded
### 0.9.4
July 16th, 2015
Release Notes
- Support event permissions with different access keys at the Event Server interface
- Support detection of 3rd party Apache Spark distributions
- Support running `pio eval` without `engine.json`
- Fix an issue where `--verbose` is not handled properly by `pio train`
### 0.9.3
May 20th, 2015
Release Notes
- Add support of developing prediction engines in Java
- Add support of PostgreSQL and MySQL
- Spark 1.3.1 compatibility fix
- Creation of specific app access keys
- Prevent a case where `pio build` accidentally removes PredictionIO core library
### 0.9.2
April 14th, 2015
Release Notes
- Channels in the Event Server
- Spark 1.3+ support (upgrade to Spark 1.3+ required)
- [Webhook Connector](http://predictionio.apache.org/community/contribute-webhook/) support
- Engine and Event Servers now by default bind to 0.0.0.0
- Many documentation improvements
### 0.9.1
March 17th, 2015
Release Notes
- Improved `pio-start-all`
- Fixed a bug where `pio build` failed to set PredictionIO dependency version for engine templates
### 0.9.0
March 4th, 2015
Release Notes
- [E-Commerce Recommendation Template](http://predictionio.apache.org/gallery/template-gallery#recommender-systems) which includes 1) out-of-stock items support 2) new user recommendation 3) unseen items only
- [Complementary Purchase Template](http://predictionio.apache.org/gallery/template-gallery#unsupervised-learning) for shopping cart recommendation
- [Lead Scoring Template](http://predictionio.apache.org/gallery/template-gallery#classification) predicts the probability of an user will convert in the current session
- `pio-start-all`, `pio-stop-all` commands to start and stop all PredictionIO related services
### 0.8.6
Feb 10th, 2015
Release Notes
- New engine template - [Product Ranking](/templates/productranking/quickstart/) for personalized product listing
- [CloudFormation deployment](/system/deploy-cloudformation/) available
================================================
FILE: assembly/build.sbt
================================================
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import NativePackagerHelper._
import RpmConstants._
import com.typesafe.sbt.packager.linux.LinuxSymlink
enablePlugins(RpmPlugin, DebianPlugin)
name := "predictionio"
maintainer in Linux := "Apache Software Foundation"
packageSummary in Linux := "Apache PredictionIO"
packageDescription := "Apache PredictionIO is an open source Machine Learning Server " +
"built on top of state-of-the-art open source stack for developers " +
"and data scientists create predictive engines for any machine learning task."
version in Rpm := version.value.replace("-", "_")
rpmRelease := "1"
rpmVendor := "apache"
rpmGroup := Some("Applications/System")
rpmUrl := Some("http://predictionio.apache.org/")
rpmLicense := Some("Apache License Version 2.0")
maintainerScripts in Rpm := maintainerScriptsAppendFromFile((maintainerScripts in Rpm).value)(
Pre -> (sourceDirectory.value / "rpm" / "scriptlets" / "preinst"),
Postun -> (sourceDirectory.value / "rpm" / "scriptlets" / "postun")
)
mappings in Universal ++= {
val releaseFile = baseDirectory.value / ".." / "RELEASE.md"
val buildPropFile = baseDirectory.value / ".." / "project" / "build.properties"
val sbtFile = baseDirectory.value / ".." / "sbt" / "sbt"
Seq(releaseFile -> "RELEASE",
buildPropFile -> "project/build.properties",
sbtFile -> "sbt/sbt")
}
mappings in Universal ++= {
val files = IO.listFiles(baseDirectory.value / ".." / "conf")
files filterNot { f => f.getName.endsWith(".travis") } map {
case f if f.getName equals "pio-env.sh.template" => f -> "conf/pio-env.sh"
case f => f -> s"conf/${f.getName}"
} toSeq
}
mappings in Universal ++= {
val files = IO.listFiles(baseDirectory.value / ".." / "bin")
files map { f => f -> s"bin/${f.getName}" } toSeq
}
linuxPackageMappings := {
val mappings = linuxPackageMappings.value
mappings map { linuxPackage =>
val linuxFileMappings = linuxPackage.mappings map {
case (f, n) if f.getName equals "conf" => f -> s"/etc/${name.value}"
case (f, n) if f.getName equals "pio-env.sh.template" => f -> s"/etc/${name.value}/pio-env.sh"
case (f, n) if f.getParent endsWith "conf" => f -> s"/etc/${name.value}/${f.getName}"
case (f, n) if f.getName equals "log" => f -> s"/var/log/${name.value}"
case (f, n) if f.getName equals "pio.log" => f -> s"/var/log/${name.value}/pio.log"
case (f, n) => f -> n
}
val fileData = linuxPackage.fileData.copy(
user = s"${name.value}",
group = s"${name.value}"
)
linuxPackage.copy(
mappings = linuxFileMappings,
fileData = fileData
)
}
}
linuxPackageSymlinks := {
Seq(LinuxSymlink("/usr/bin/pio", s"/usr/share/${name.value}/bin/pio"),
LinuxSymlink("/usr/bin/pio-daemon", s"/usr/share/${name.value}/bin/pio-daemon"))
}
================================================
FILE: assembly/src/debian/DEBIAN/postrm
================================================
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
REMOVE_USER_AND_GROUP=false
case "$1" in
remove)
;;
purge)
REMOVE_USER_AND_GROUP=true
;;
failed-upgrade|abort-install|abort-upgrade|disappear|upgrade|disappear)
;;
*)
echo "post remove script called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$REMOVE_USER_AND_GROUP" = "true" ]; then
if id "predictionio" > /dev/null 2>&1 ; then
userdel "predictionio"
fi
if getent group "predictionio" > /dev/null 2>&1 ; then
groupdel "predictionio"
fi
fi
================================================
FILE: assembly/src/debian/DEBIAN/preinst
================================================
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if ! getent group "predictionio" > /dev/null 2>&1 ; then
echo -n "Creating predictionio group..."
addgroup --quiet --system "predictionio"
echo " OK"
fi
if ! id predictionio > /dev/null 2>&1 ; then
echo -n "Creating predictionio user..."
adduser --quiet \
--system \
--no-create-home \
--ingroup "predictionio" \
--disabled-password \
--shell /bin/false \
--home "/usr/share/predictionio" \
"predictionio"
echo " OK"
fi
================================================
FILE: assembly/src/rpm/scriptlets/postun
================================================
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
REMOVE_USER_AND_GROUP=false
case "$1" in
0)
REMOVE_USER_AND_GROUP=true
;;
1)
;;
*)
echo "post remove script called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$REMOVE_USER_AND_GROUP" = "true" ]; then
if id "predictionio" > /dev/null 2>&1 ; then
userdel "predictionio"
fi
if getent group "predictionio" > /dev/null 2>&1 ; then
groupdel "predictionio"
fi
fi
================================================
FILE: assembly/src/rpm/scriptlets/preinst
================================================
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if ! getent group "predictionio" > /dev/null 2>&1 ; then
echo -n "Creating predictionio group..."
groupadd -r "predictionio"
echo " OK"
fi
if ! id predictionio > /dev/null 2>&1 ; then
echo -n "Creating predictionio user..."
useradd --system \
-M \
--gid "predictionio" \
--shell /sbin/nologin \
--comment "fess user" \
-d "/usr/share/predictionio" \
"predictionio"
echo " OK"
fi
================================================
FILE: bin/cjson
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
curl -H "Content-Type: application/json" -d "$1" $2
================================================
FILE: bin/compute-classpath.sh
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Figure out where PredictionIO is installed
FWDIR="$(cd `dirname $0`/..; pwd)"
. ${FWDIR}/bin/load-pio-env.sh
if [ -n "$JAVA_HOME" ]; then
JAR_CMD="$JAVA_HOME/bin/jar"
else
JAR_CMD="jar"
fi
# Use pio-assembly JAR from either RELEASE or assembly directory
if [ -f "${FWDIR}/RELEASE" ]; then
assembly_folder="${FWDIR}"/lib
else
assembly_folder="${FWDIR}"/assembly/src/universal/lib
fi
MAIN_JAR=$(ls "${assembly_folder}"/pio-assembly*.jar 2>/dev/null)
DATA_JARS=$(ls "${assembly_folder}"/spark/pio-data-*assembly*.jar 2>/dev/null)
# Comma-separated list of assembly jars for submitting to spark-shell
ASSEMBLY_JARS=$(printf "${MAIN_JAR}\n${DATA_JARS}" | paste -sd "," -)
# Build up classpath
CLASSPATH="${PIO_CONF_DIR}"
# stable classpath for plugin JARs
if [ -d "${FWDIR}/plugins" ]; then
lib_plugin_jars=`ls "${FWDIR}"/plugins/*`
lib_plugin_classpath=''
for J in $lib_plugin_jars; do
lib_plugin_classpath="${lib_plugin_classpath}:${J}"
done
CLASSPATH="$CLASSPATH${lib_plugin_classpath}"
fi
# stable classpath for Spark JARs
lib_spark_jars=`ls "${assembly_folder}"/spark/*.jar`
lib_spark_classpath=''
for J in $lib_spark_jars; do
lib_spark_classpath="${lib_spark_classpath}:${J}"
done
CLASSPATH="$CLASSPATH${lib_spark_classpath}"
CLASSPATH="$CLASSPATH:${MAIN_JAR}"
# Add hadoop conf dir if given -- otherwise FileSystem.*, etc fail ! Note, this
# assumes that there is either a HADOOP_CONF_DIR or YARN_CONF_DIR which hosts
# the configurtion files.
if [ -n "$HADOOP_CONF_DIR" ]; then
CLASSPATH="$CLASSPATH:$HADOOP_CONF_DIR"
fi
if [ -n "$YARN_CONF_DIR" ]; then
CLASSPATH="$CLASSPATH:$YARN_CONF_DIR"
fi
if [ -n "$HBASE_CONF_DIR" ]; then
CLASSPATH="$CLASSPATH:$HBASE_CONF_DIR"
fi
if [ -n "$ES_CONF_DIR" ]; then
CLASSPATH="$CLASSPATH:$ES_CONF_DIR"
fi
if [ -n "$POSTGRES_JDBC_DRIVER" ]; then
CLASSPATH="$CLASSPATH:$POSTGRES_JDBC_DRIVER"
ASSEMBLY_JARS="$ASSEMBLY_JARS,$POSTGRES_JDBC_DRIVER"
fi
if [ -n "$MYSQL_JDBC_DRIVER" ]; then
CLASSPATH="$CLASSPATH:$MYSQL_JDBC_DRIVER"
ASSEMBLY_JARS="$ASSEMBLY_JARS,$MYSQL_JDBC_DRIVER"
fi
echo "$CLASSPATH"
================================================
FILE: bin/install.sh
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
OS=`uname`
SPARK_VERSION=2.1.1
# Looks like support for Elasticsearch 2.0 will require 2.0 so deferring
ELASTICSEARCH_VERSION=5.6.9
HBASE_VERSION=1.2.6
POSTGRES_VERSION=42.0.0
MYSQL_VERSION=5.1.41
PIO_DIR=$HOME/PredictionIO
USER_PROFILE=$HOME/.profile
PIO_FILE=PredictionIO-*.tar.gz
TEMP_DIR=/tmp
DISTRO_DEBIAN="Debian/Ubuntu"
DISTRO_OTHER="Other"
PGSQL="PostgreSQL"
MYSQL="MySQL"
ES_PGSQL="Elasticsearch + PostgreSQL"
ES_HB="Elasticsearch + HBase"
# Ask a yes/no question, with a default of "yes".
confirm () {
echo -ne $@ "[Y/n] "
read -r response
case ${response} in
[yY][eE][sS]|[yY]|"")
true
;;
[nN][oO]|[nN])
false
;;
*)
confirm $@
;;
esac
}
echo -e "\033[1;32mWelcome to PredictionIO !\033[0m"
# Detect OS
if [[ "$OS" = "Darwin" ]]; then
echo "Mac OS detected!"
SED_CMD="sed -i ''"
elif [[ "$OS" = "Linux" ]]; then
echo "Linux OS detected!"
SED_CMD="sed -i"
else
echo -e "\033[1;31mYour OS $OS is not yet supported for automatic install :(\033[0m"
echo -e "\033[1;31mPlease do a manual install!\033[0m"
exit 1
fi
if [[ $USER ]]; then
echo "Using user: $USER"
else
echo "No user found - this is OK!"
fi
if [[ "$OS" = "Linux" && $(cat /proc/1/cgroup) == *cpu:/docker/* ]]; then
# Docker
# REQUIRED: No user input for Docker!
echo -e "\033[1;33mDocker detected!\033[0m"
echo -e "\033[1;33mForcing Docker defaults!\033[0m"
pio_dir=${PIO_DIR}
vendors_dir=${pio_dir}/vendors
spark_dir=${vendors_dir}/spark-${SPARK_VERSION}
elasticsearch_dir=${vendors_dir}/elasticsearch-${ELASTICSEARCH_VERSION}
hbase_dir=${vendors_dir}/hbase-${HBASE_VERSION}
zookeeper_dir=${vendors_dir}/zookeeper
echo "--------------------------------------------------------------------------------"
echo -e "\033[1;32mOK, looks good!\033[0m"
echo "You are going to install PredictionIO to: $pio_dir"
echo -e "Vendor applications will go in: $vendors_dir\n"
echo "Spark: $spark_dir"
echo "Elasticsearch: $elasticsearch_dir"
echo "HBase: $hbase_dir"
echo "ZooKeeper: $zookeeper_dir"
echo "--------------------------------------------------------------------------------"
# Java Install
echo -e "\033[1;36mStarting Java install...\033[0m"
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk libgfortran3 -y
echo -e "\033[1;32mJava install done!\033[0m"
JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
elif [[ "$1" == "-y" ]]; then
# Non-interactive
echo -e "\033[1;33mNon-interactive installation requested!\033[0m"
echo -e "\033[1;33mForcing defaults!\033[0m"
pio_dir=${PIO_DIR}
vendors_dir=${pio_dir}/vendors
source_setup=${ES_HB}
spark_dir=${vendors_dir}/spark-${SPARK_VERSION}
elasticsearch_dir=${vendors_dir}/elasticsearch-${ELASTICSEARCH_VERSION}
hbase_dir=${vendors_dir}/hbase-${HBASE_VERSION}
zookeeper_dir=${vendors_dir}/zookeeper
echo "--------------------------------------------------------------------------------"
echo -e "\033[1;32mOK, looks good!\033[0m"
echo "You are going to install PredictionIO to: $pio_dir"
echo -e "Vendor applications will go in: $vendors_dir\n"
echo "Spark: $spark_dir"
echo "Elasticsearch: $elasticsearch_dir"
echo "HBase: $hbase_dir"
echo "ZooKeeper: $zookeeper_dir"
echo "--------------------------------------------------------------------------------"
# Java Install
echo -e "\033[1;36mStarting Java install...\033[0m"
# todo: make java installation platform independent
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk libgfortran3 python-pip -y
sudo pip install predictionio
echo -e "\033[1;32mJava install done!\033[0m"
JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
else
# Interactive
while true; do
echo -e "\033[1mWhere would you like to install PredictionIO?\033[0m"
read -e -p "Installation path ($PIO_DIR): " pio_dir
pio_dir=${pio_dir:-$PIO_DIR}
read -e -p "Vendor path ($pio_dir/vendors): " vendors_dir
vendors_dir=${vendors_dir:-$pio_dir/vendors}
echo -e "\033[1mPlease choose between the following sources (1, 2, 3 or 4):\033[0m"
select source_setup in "$PGSQL" "$MYSQL" "$ES_PGSQL" "$ES_HB"; do
case ${source_setup} in
"$PGSQL")
break
;;
"$MYSQL")
break
;;
"$ES_PGSQL")
break
;;
"$ES_HB")
break
;;
*)
;;
esac
done
spark_dir=${vendors_dir}/spark-${SPARK_VERSION}
elasticsearch_dir=${vendors_dir}/elasticsearch-${ELASTICSEARCH_VERSION}
hbase_dir=${vendors_dir}/hbase-${HBASE_VERSION}
zookeeper_dir=${vendors_dir}/zookeeper
echo "--------------------------------------------------------------------------------"
echo -e "\033[1;32mOK, looks good!\033[0m"
echo "You are going to install PredictionIO to: $pio_dir"
echo -e "Vendor applications will go in: $vendors_dir\n"
echo "Spark: $spark_dir"
case $source_setup in
"$PGSQL")
# PostgreSQL installed by apt-get so no path is printed beforehand
break
;;
"$MYSQL")
# MySQL installed by apt-get so no path is printed beforehand
break
;;
"$ES_PGSQL")
# PostgreSQL installed by apt-get so no path is printed beforehand
echo "Elasticsearch: $elasticsearch_dir"
break
;;
"$ES_HB")
echo "Elasticsearch: $elasticsearch_dir"
echo "HBase: $hbase_dir"
echo "ZooKeeper: $zookeeper_dir"
break
;;
esac
echo "--------------------------------------------------------------------------------"
if confirm "\033[1mIs this correct?\033[0m"; then
break;
fi
done
echo -e "\033[1mSelect your linux distribution:\033[0m"
select distribution in "$DISTRO_DEBIAN" "$DISTRO_OTHER"; do
case $distribution in
"$DISTRO_DEBIAN")
break
;;
"$DISTRO_OTHER")
break
;;
*)
;;
esac
done
# Java Install
if [[ ${OS} = "Linux" ]] && confirm "\033[1mWould you like to install Java?\033[0m"; then
case ${distribution} in
"$DISTRO_DEBIAN")
echo -e "\033[1;36mStarting Java install...\033[0m"
echo -e "\033[33mThis script requires superuser access!\033[0m"
echo -e "\033[33mYou will be prompted for your password by sudo:\033[0m"
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk libgfortran3 python-pip -y
sudo pip install predictionio
echo -e "\033[1;32mJava install done!\033[0m"
break
;;
"$DISTRO_OTHER")
echo -e "\033[1;31mYour distribution not yet supported for automatic install :(\033[0m"
echo -e "\033[1;31mPlease install Java manually!\033[0m"
exit 2
;;
*)
;;
esac
fi
# Try to find JAVA_HOME
echo "Locating JAVA_HOME..."
if [[ "$OS" = "Darwin" ]]; then
JAVA_VERSION=`echo "$(java -version 2>&1)" | grep "java version" | awk '{ print substr($3, 2, length($3)-2); }'`
JAVA_HOME=`/usr/libexec/java_home`
elif [[ "$OS" = "Linux" ]]; then
JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
fi
echo "Found: $JAVA_HOME"
# Check JAVA_HOME
while [ ! -f "$JAVA_HOME/bin/javac" ]; do
echo -e "\033[1;31mJAVA_HOME is incorrect!\033[0m"
echo -e "\033[1;33mJAVA_HOME should be a directory containing \"bin/javac\"!\033[0m"
read -e -p "Please enter JAVA_HOME manually: " JAVA_HOME
done;
fi
if [ -n "$JAVA_VERSION" ]; then
echo "Your Java version is: $JAVA_VERSION"
fi
echo "JAVA_HOME is now set to: $JAVA_HOME"
# PredictionIO
echo -e "\033[1;36mStarting PredictionIO setup in:\033[0m $pio_dir"
cd ${TEMP_DIR}
files=$(ls PredictionIO*.tar.gz 2> /dev/null | wc -l)
if [[ $files == 0 ]]; then
echo "Downloading PredictionIO..."
curl -L https://dist.apache.org/repos/dist/release/predictionio/0.12.1/apache-predictionio-0.12.1-bin.tar.gz > predictionio-release.tar.gz
tar zxf predictionio-0.12.1.tar.gz
mv predictionio-0.12.1 PredictionIO
sh PredictionIO/make-distribution.sh
cp PredictionIO/${PIO_FILE} ${TEMP_DIR}
rm -r PredictionIO
fi
tar zxf ${PIO_FILE}
rm -rf ${pio_dir}
mv PredictionIO*/ ${pio_dir}
if [[ $USER ]]; then
chown -R $USER ${pio_dir}
fi
echo "Updating ~/.profile to include: $pio_dir"
PATH=$PATH:${pio_dir}/bin
echo "export PATH=\$PATH:$pio_dir/bin" >> ${USER_PROFILE}
echo -e "\033[1;32mPredictionIO setup done!\033[0m"
mkdir -p ${vendors_dir}
# Spark
echo -e "\033[1;36mStarting Spark setup in:\033[0m $spark_dir"
if [[ ! -e spark-${SPARK_VERSION}-bin-hadoop2.6.tgz ]]; then
echo "Downloading Spark..."
curl -O http://www-us.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop2.6.tgz
fi
tar xf spark-${SPARK_VERSION}-bin-hadoop2.6.tgz
rm -rf ${spark_dir}
mv spark-${SPARK_VERSION}-bin-hadoop2.6 ${spark_dir}
echo "Updating: $pio_dir/conf/pio-env.sh"
${SED_CMD} "s|SPARK_HOME=.*|SPARK_HOME=$spark_dir|g" ${pio_dir}/conf/pio-env.sh
echo -e "\033[1;32mSpark setup done!\033[0m"
installPGSQL () {
if [[ ${distribution} = "$DISTRO_DEBIAN" ]]; then
echo -e "\033[1;36mInstalling PostgreSQL...\033[0m"
sudo apt-get install postgresql-9.4 -y
echo -e "\033[1;36mPlease use the default password 'pio' when prompted to enter one\033[0m"
sudo -u postgres createdb pio
sudo -u postgres createuser -P pio
echo -e "\033[1;36mPlease update $pio_dir/conf/pio-env.sh if you did not enter the default password\033[0m"
else
echo -e "\033[1;31mYour distribution not yet supported for automatic install :(\033[0m"
echo -e "\033[1;31mPlease install PostgreSQL manually!\033[0m"
fi
curl -O https://jdbc.postgresql.org/download/postgresql-${POSTGRES_VERSION}.jar
mv postgresql-${POSTGRES_VERSION}.jar ${pio_dir}/lib/
echo -e "\033[1;32mPGSQL setup done!\033[0m"
}
installES() {
echo -e "\033[1;36mStarting Elasticsearch setup in:\033[0m $elasticsearch_dir"
if [[ -e elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ]]; then
if confirm "Delete existing elasticsearch-$ELASTICSEARCH_VERSION.tar.gz?"; then
rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
fi
fi
if [[ ! -e elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ]]; then
echo "Downloading Elasticsearch..."
curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
fi
tar zxf elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
rm -rf ${elasticsearch_dir}
mv elasticsearch-${ELASTICSEARCH_VERSION} ${elasticsearch_dir}
echo "Updating: $elasticsearch_dir/config/elasticsearch.yml"
echo 'network.host: 127.0.0.1' >> ${elasticsearch_dir}/config/elasticsearch.yml
}
case $source_setup in
"$PGSQL")
installPGSQL
;;
"$ES_PGSQL")
installES
installPGSQL
echo "Updating: $pio_dir/conf/pio-env.sh"
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE|PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=.*|PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=$elasticsearch_dir|" ${pio_dir}/conf/pio-env.sh
;;
"$MYSQL")
if [[ ${distribution} = "$DISTRO_DEBIAN" ]]; then
echo -e "\033[1;36mInstalling MySQL...\033[0m"
echo -e "\033[1;36mPlease update $pio_dir/conf/pio-env.sh with your database configuration\033[0m"
sudo apt-get install mysql-server -y
sudo mysql -e "create database pio; grant all on pio.* to pio@localhost identified by 'pio'"
echo -e "\033[1;36mUpdating: $pio_dir/conf/pio-env.sh\033[0m"
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=MYSQL|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=MYSQL|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=MYSQL|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_SOURCES_PGSQL|# PIO_STORAGE_SOURCES_PGSQL|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# PIO_STORAGE_SOURCES_MYSQL|PIO_STORAGE_SOURCES_MYSQL|" ${pio_dir}/conf/pio-env.sh
else
echo -e "\033[1;31mYour distribution not yet supported for automatic install :(\033[0m"
echo -e "\033[1;31mPlease install MySQL manually!\033[0m"
exit 4
fi
curl -O http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.37/mysql-connector-java-${MYSQL_VERSION}.jar
mv mysql-connector-java-${MYSQL_VERSION}.jar ${pio_dir}/lib/
;;
"$ES_HB")
# Elasticsearch
installES
echo "Updating: $pio_dir/conf/pio-env.sh"
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=LOCALFS|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=PGSQL|PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_SOURCES_PGSQL|# PIO_STORAGE_SOURCES_PGSQL|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# PIO_STORAGE_SOURCES_LOCALFS|PIO_STORAGE_SOURCES_LOCALFS|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE|PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=.*|PIO_STORAGE_SOURCES_ELASTICSEARCH_HOME=$elasticsearch_dir|" ${pio_dir}/conf/pio-env.sh
echo -e "\033[1;32mElasticsearch setup done!\033[0m"
# HBase
echo -e "\033[1;36mStarting HBase setup in:\033[0m $hbase_dir"
if [[ ! -e hbase-${HBASE_VERSION}-bin.tar.gz ]]; then
echo "Downloading HBase..."
curl -O http://archive.apache.org/dist/hbase/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz
fi
tar zxf hbase-${HBASE_VERSION}-bin.tar.gz
rm -rf ${hbase_dir}
mv hbase-${HBASE_VERSION} ${hbase_dir}
echo "Creating default site in: $hbase_dir/conf/hbase-site.xml"
cat <<EOT > ${hbase_dir}/conf/hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file://${hbase_dir}/data</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>${zookeeper_dir}</value>
</property>
</configuration>
EOT
echo "Updating: $hbase_dir/conf/hbase-env.sh to include $JAVA_HOME"
${SED_CMD} "s|# export JAVA_HOME=/usr/java/jdk1.6.0/|export JAVA_HOME=$JAVA_HOME|" ${hbase_dir}/conf/hbase-env.sh
echo "Updating: $pio_dir/conf/pio-env.sh"
${SED_CMD} "s|# PIO_STORAGE_SOURCES_HBASE|PIO_STORAGE_SOURCES_HBASE|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|PIO_STORAGE_SOURCES_HBASE_HOME=.*|PIO_STORAGE_SOURCES_HBASE_HOME=$hbase_dir|" ${pio_dir}/conf/pio-env.sh
${SED_CMD} "s|# HBASE_CONF_DIR=.*|HBASE_CONF_DIR=$hbase_dir/conf|" ${pio_dir}/conf/pio-env.sh
echo -e "\033[1;32mHBase setup done!\033[0m"
;;
esac
echo "Updating permissions on: $vendors_dir"
if [[ $USER ]]; then
chown -R $USER ${vendors_dir}
fi
echo -e "\033[1;32mInstallation done!\033[0m"
echo "--------------------------------------------------------------------------------"
echo -e "\033[1;32mInstallation of PredictionIO complete!\033[0m"
echo -e "\033[1;32mPlease follow documentation at http://predictionio.apache.org/start/download/ to download the engine template based on your needs\033[0m"
echo -e
echo -e "\033[1;33mCommand Line Usage Notes:\033[0m"
if [[ ${source_setup} = $ES_HB ]]; then
echo -e "To start PredictionIO and dependencies, run: '\033[1mpio-start-all\033[0m'"
else
echo -e "To start PredictionIO Event Server in the background, run: '\033[1mpio eventserver &\033[0m'"
fi
echo -e "To check the PredictionIO status, run: '\033[1mpio status\033[0m'"
echo -e "To train/deploy engine, run: '\033[1mpio [train|deploy|...]\033[0m' commands"
if [[ ${source_setup} = $ES_HB ]]; then
echo -e "To stop PredictionIO and dependencies, run: '\033[1mpio-stop-all\033[0m'"
fi
echo -e ""
echo -e "Please report any problems to the user mailing list."
echo -e "User mailing list instructions: \033[1;34mhttp://predictionio.apache.org/support/\033[0m"
echo "--------------------------------------------------------------------------------"
================================================
FILE: bin/load-pio-env.sh
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This script loads pio-env.sh if it exists, and ensures it is only loaded once.
# pio-env.sh is loaded from PIO_CONF_DIR if set, or within the current
# directory's conf/ subdirectory.
if [ -z "$PIO_ENV_LOADED" ]; then
export PIO_ENV_LOADED=1
# Returns the parent of the directory this script lives in.
parent_dir="$(cd `dirname $0`/..; pwd)"
use_conf_dir=${PIO_CONF_DIR:-"${parent_dir}/conf"}
if [ -f "${use_conf_dir}/pio-env.sh" ]; then
# Promote all variable declarations to environment (exported) variables
set -a
. "${use_conf_dir}/pio-env.sh"
set +a
else
echo -e "\033[0;35mWarning: pio-env.sh was not found in ${use_conf_dir}. Using system environment variables instead.\033[0m\n"
fi
fi
================================================
FILE: bin/pio
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
search() {
local i=0;
local needle=$1;
shift
for str in $@; do
if [ "${str}" = "$needle" ]; then
echo ${i}
return
else
((i++))
fi
done
echo ${i}
}
if [ -z $PIO_HOME ] ; then
PIO_FILE=$(readlink -f $0 2>/dev/null)
if [ $? = 0 ] ; then
export PIO_HOME="$(cd $(dirname $PIO_FILE)/..; pwd)"
else
CURRENT_DIR=`pwd`
TARGET_FILE="$0"
cd "$(dirname "$TARGET_FILE")"
TARGET_FILE=$(basename "$TARGET_FILE")
while [ -L "$TARGET_FILE" ]
do
TARGET_FILE=$(readlink "$TARGET_FILE")
cd "$(dirname "$TARGET_FILE")"
TARGET_FILE=$(basename "$TARGET_FILE")
done
export PIO_HOME="$(cd $(dirname "$TARGET_FILE")/..; pwd -P)"
cd "$CURRENT_DIR"
fi
fi
if [ -z $PIO_CONF_DIR ] ; then
export PIO_CONF_DIR="${PIO_HOME}/conf"
if [ ! -d $PIO_CONF_DIR ] ; then
export PIO_CONF_DIR="/etc/predictionio"
if [ ! -d $PIO_CONF_DIR ] ; then
echo "PIO_CONF_DIR is not found."
exit 1
fi
fi
fi
FIRST_SEP=$(search "--" $@)
FIRST_HALF="${@:1:$FIRST_SEP}"
SECOND_HALF="${@:$FIRST_SEP+1}"
exec ${PIO_HOME}/bin/pio-class org.apache.predictionio.tools.console.Console ${FIRST_HALF} --pio-home ${PIO_HOME} ${SECOND_HALF}
================================================
FILE: bin/pio-class
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
cygwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
esac
# Figure out where PredictionIO is installed
FWDIR="$(cd `dirname $0`/..; pwd)"
# Export this as PIO_HOME
export PIO_HOME="${FWDIR}"
. ${FWDIR}/bin/load-pio-env.sh
. ${FWDIR}/bin/semver.sh
if [ -z "$1" ]; then
echo "Usage: pio-class <class> [<args>]" 1>&2
exit 1
fi
# Warn if log4j.properties is not present
if [ ! -f "$PIO_CONF_DIR/log4j.properties" ]; then
echo -e "\033[0;35mWarning: log4j.properties is missing from $PIO_CONF_DIR\033[0m"
fi
# Make sure the Apache Spark version meets the prerequisite if it is a binary
# distribution
MIN_SPARK_VERSION="2.0.2"
if [ -z "$SPARK_HOME" ]; then
echo -e "\033[0;31mSPARK_HOME must be set in conf/pio-env.sh, or in the environment!\033[0m"
exit 1
elif [ -r "$SPARK_HOME/RELEASE" ]; then
SPARK_VERSION=`head -n 1 $SPARK_HOME/RELEASE | awk '{print $2}'`
if [ -z "$SPARK_VERSION" ]; then
echo -e "\033[0;35m$SPARK_HOME contains an empty RELEASE file. This is a known problem with certain vendors (e.g. Cloudera). Please make sure you are using at least $MIN_SPARK_VERSION.\033[0m"
elif semverLT ${SPARK_VERSION} ${MIN_SPARK_VERSION}; then
echo -e "\033[0;31mYou have Apache Spark $SPARK_VERSION at $SPARK_HOME which does not meet the minimum version requirement of $MIN_SPARK_VERSION.\033[0m"
echo -e "\033[0;31mAborting.\033[0m"
exit 1
fi
else
echo -e "\033[0;35m$SPARK_HOME is probably an Apache Spark development tree. Please make sure you are using at least $MIN_SPARK_VERSION.\033[0m"
fi
# Find the java binary
if [ -n "${JAVA_HOME}" ]; then
RUNNER="${JAVA_HOME}/bin/java"
else
if [ `command -v java` ]; then
RUNNER="java"
else
echo -e "\033[0;31mJAVA_HOME is not set\033[0m" >&2
exit 1
fi
fi
# Compute classpath using external script
classpath_output=$(${FWDIR}/bin/compute-classpath.sh)
if [[ "$?" != "0" ]]; then
echo "$classpath_output"
exit 1
else
CLASSPATH=${classpath_output}
fi
if [ -z $PIO_LOG_DIR ] ; then
PIO_LOG_DIR=$PIO_HOME/log
touch $PIO_LOG_DIR/pio.log > /dev/null 2>&1
if [ $? != 0 ] ; then
PIO_LOG_DIR=/var/log/predictionio
touch $PIO_LOG_DIR/pio.log > /dev/null 2>&1
if [ $? != 0 ] ; then
PIO_LOG_DIR=$HOME
fi
fi
fi
export CLASSPATH
export JAVA_OPTS="$JAVA_OPTS -Dpio.log.dir=$PIO_LOG_DIR"
exec "$RUNNER" -cp "$CLASSPATH" $JAVA_OPTS "$@"
================================================
FILE: bin/pio-daemon
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
search() {
local i=0;
local needle=$1;
shift
for str in $@; do
if [ "${str}" = "$needle" ]; then
echo ${i}
return
else
((i++))
fi
done
echo ${i}
}
if [ -z $PIO_HOME ] ; then
PIO_FILE=$(readlink -f $0 2>/dev/null)
if [ $? = 0 ] ; then
export PIO_HOME="$(cd $(dirname $PIO_FILE)/..; pwd)"
else
CURRENT_DIR=`pwd`
TARGET_FILE="$0"
cd "$(dirname "$TARGET_FILE")"
TARGET_FILE=$(basename "$TARGET_FILE")
while [ -L "$TARGET_FILE" ]
do
TARGET_FILE=$(readlink "$TARGET_FILE")
cd "$(dirname "$TARGET_FILE")"
TARGET_FILE=$(basename "$TARGET_FILE")
done
export PIO_HOME="$(cd $(dirname "$TARGET_FILE")/..; pwd -P)"
cd "$CURRENT_DIR"
fi
fi
if [ -z $PIO_CONF_DIR ] ; then
export PIO_CONF_DIR="${PIO_HOME}/conf"
if [ ! -d $PIO_CONF_DIR ] ; then
export PIO_CONF_DIR="/etc/predictionio"
if [ ! -d $PIO_CONF_DIR ] ; then
echo "PIO_CONF_DIR is not found."
exit 1
fi
fi
fi
PIDFILE=$1
shift
FIRST_SEP=$(search "--" $@)
FIRST_HALF="${@:1:$FIRST_SEP}"
SECOND_HALF="${@:$FIRST_SEP+1}"
exec nohup ${PIO_HOME}/bin/pio-class org.apache.predictionio.tools.console.Console ${FIRST_HALF} --pio-home ${PIO_HOME} ${SECOND_HALF} <&- > /dev/null 2>&1 &
echo $! > ${PIDFILE}
================================================
FILE: bin/pio-shell
================================================
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
if [ -z $PIO_HOME ] ; then
PIO_FILE=$(readlink -f $0 2>/dev/null)
if [ $? = 0 ] ; then
export PIO_HOME="$(cd $(dirname $PIO_FILE)/..; pwd)"
else
CURRENT_DIR=`pwd`
TARGET_FILE="$0"
cd "$(dirname "$TARGET_FILE")"
TARGET_FILE=$(basename "$TARGET_FILE")
while [ -L "$TARGET_FILE" ]
do
TARGET_FILE=$(readlink "$TARGET_FILE")
cd "$(dirname "$TARGET_FILE")"
TARGET_FILE=$(basename "$TARGET_FILE")
done
export PIO_HOME="$(cd $(dirname "$TARGET_FILE")/..; pwd -P)"
cd "$CURRENT_DIR"
fi
fi
if [ -z $PIO_CONF_DIR ] ; then
export PIO_CONF_DIR="${PIO_HOME}/conf"
if [ ! -d $PIO_CONF_DIR ] ; then
export PIO_CONF_DIR="/etc/predictionio"
if [ ! -d $PIO_CONF_DIR ] ; then
echo "PIO_CONF_DIR is not found."
exit 1
fi
fi
fi
. ${PIO_HOME}/bin/load-pio-env.sh
if [[ "$1" == "--with-spark" ]]
then
echo "Starting the PIO shell with the Apache Spark Shell."
# Get paths of assembly jars to pass to spark-shell
. ${PIO_HOME}/bin/compute-classpath.sh
shift
${SPARK_HOME}/bin/spark-shell --jars ${ASSEMBLY_JARS} $@
elif [[ "$1" == "--with-pyspark" ]]
then
echo "Starting the PIO shell with the Apache Spark Sh
gitextract_wm7b4ll_/
├── .gitattributes
├── .gitignore
├── .travis.yml
├── CONTRIBUTING.md
├── Dockerfile
├── KEYS
├── LICENSE.txt
├── NOTICE.txt
├── PMC.md
├── README.md
├── RELEASE.md
├── assembly/
│ ├── build.sbt
│ └── src/
│ ├── debian/
│ │ └── DEBIAN/
│ │ ├── postrm
│ │ └── preinst
│ └── rpm/
│ └── scriptlets/
│ ├── postun
│ └── preinst
├── bin/
│ ├── cjson
│ ├── compute-classpath.sh
│ ├── install.sh
│ ├── load-pio-env.sh
│ ├── pio
│ ├── pio-class
│ ├── pio-daemon
│ ├── pio-shell
│ ├── pio-start-all
│ ├── pio-stop-all
│ ├── semver.sh
│ └── travis/
│ ├── pio-start-travis
│ └── pio-stop-travis
├── build.sbt
├── common/
│ ├── build.sbt
│ └── src/
│ └── main/
│ ├── java/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── annotation/
│ │ ├── DeveloperApi.java
│ │ └── Experimental.java
│ ├── resources/
│ │ └── application.conf
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ ├── akkahttpjson4s/
│ │ └── Json4sSupport.scala
│ ├── authentication/
│ │ └── KeyAuthentication.scala
│ └── configuration/
│ └── SSLConfiguration.scala
├── conf/
│ ├── keystore.jks
│ ├── log4j.properties
│ ├── pio-env.sh.template
│ ├── pio-env.sh.travis
│ ├── pio-vendors.sh
│ └── server.conf
├── core/
│ ├── build.sbt
│ └── src/
│ ├── main/
│ │ ├── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ ├── controller/
│ │ │ │ ├── CustomQuerySerializer.scala
│ │ │ │ ├── Deployment.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── EngineFactory.scala
│ │ │ │ ├── EngineParams.scala
│ │ │ │ ├── EngineParamsGenerator.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── FastEvalEngine.scala
│ │ │ │ ├── IdentityPreparator.scala
│ │ │ │ ├── LAlgorithm.scala
│ │ │ │ ├── LAverageServing.scala
│ │ │ │ ├── LDataSource.scala
│ │ │ │ ├── LFirstServing.scala
│ │ │ │ ├── LPreparator.scala
│ │ │ │ ├── LServing.scala
│ │ │ │ ├── LocalFileSystemPersistentModel.scala
│ │ │ │ ├── Metric.scala
│ │ │ │ ├── MetricEvaluator.scala
│ │ │ │ ├── P2LAlgorithm.scala
│ │ │ │ ├── PAlgorithm.scala
│ │ │ │ ├── PDataSource.scala
│ │ │ │ ├── PPreparator.scala
│ │ │ │ ├── Params.scala
│ │ │ │ ├── PersistentModel.scala
│ │ │ │ ├── SanityCheck.scala
│ │ │ │ ├── Utils.scala
│ │ │ │ ├── java/
│ │ │ │ │ ├── JavaEngineParamsGenerator.scala
│ │ │ │ │ ├── JavaEvaluation.scala
│ │ │ │ │ ├── LJavaAlgorithm.scala
│ │ │ │ │ ├── LJavaDataSource.scala
│ │ │ │ │ ├── LJavaPreparator.scala
│ │ │ │ │ ├── LJavaServing.scala
│ │ │ │ │ ├── P2LJavaAlgorithm.scala
│ │ │ │ │ ├── PJavaAlgorithm.scala
│ │ │ │ │ ├── PJavaDataSource.scala
│ │ │ │ │ ├── PJavaPreparator.scala
│ │ │ │ │ └── SerializableComparator.scala
│ │ │ │ └── package.scala
│ │ │ ├── core/
│ │ │ │ ├── AbstractDoer.scala
│ │ │ │ ├── BaseAlgorithm.scala
│ │ │ │ ├── BaseDataSource.scala
│ │ │ │ ├── BaseEngine.scala
│ │ │ │ ├── BaseEvaluator.scala
│ │ │ │ ├── BasePreparator.scala
│ │ │ │ ├── BaseServing.scala
│ │ │ │ ├── SelfCleaningDataSource.scala
│ │ │ │ └── package.scala
│ │ │ ├── package.scala
│ │ │ └── workflow/
│ │ │ ├── BatchPredict.scala
│ │ │ ├── CleanupFunctions.scala
│ │ │ ├── CoreWorkflow.scala
│ │ │ ├── CreateServer.scala
│ │ │ ├── CreateWorkflow.scala
│ │ │ ├── EngineServerPlugin.scala
│ │ │ ├── EngineServerPluginContext.scala
│ │ │ ├── EngineServerPluginsActor.scala
│ │ │ ├── EvaluationWorkflow.scala
│ │ │ ├── FakeWorkflow.scala
│ │ │ ├── JsonExtractor.scala
│ │ │ ├── JsonExtractorOption.scala
│ │ │ ├── PersistentModelManifest.scala
│ │ │ ├── Workflow.scala
│ │ │ ├── WorkflowContext.scala
│ │ │ ├── WorkflowParams.scala
│ │ │ └── WorkflowUtils.scala
│ │ └── twirl/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ ├── controller/
│ │ │ └── metric_evaluator.scala.html
│ │ └── workflow/
│ │ └── index.scala.html
│ └── test/
│ ├── java/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── workflow/
│ │ ├── JavaParams.java
│ │ ├── JavaQuery.java
│ │ └── JavaQueryTypeAdapterFactory.java
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ ├── controller/
│ │ ├── EngineTest.scala
│ │ ├── EvaluationTest.scala
│ │ ├── EvaluatorTest.scala
│ │ ├── FastEvalEngineTest.scala
│ │ ├── MetricEvaluatorTest.scala
│ │ ├── MetricTest.scala
│ │ └── SampleEngine.scala
│ ├── core/
│ │ ├── SelfCleaningDataSourceTest.scala
│ │ └── test.json
│ └── workflow/
│ ├── BaseTest.scala
│ ├── EngineWorkflowTest.scala
│ ├── EvaluationWorkflowTest.scala
│ └── JsonExtractorSuite.scala
├── data/
│ ├── README.md
│ ├── build.sbt
│ ├── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ ├── Utils.scala
│ │ │ ├── api/
│ │ │ │ ├── Common.scala
│ │ │ │ ├── EventInfo.scala
│ │ │ │ ├── EventServer.scala
│ │ │ │ ├── EventServerPlugin.scala
│ │ │ │ ├── EventServerPluginContext.scala
│ │ │ │ ├── PluginsActor.scala
│ │ │ │ ├── Stats.scala
│ │ │ │ ├── StatsActor.scala
│ │ │ │ ├── Webhooks.scala
│ │ │ │ └── WebhooksConnectors.scala
│ │ │ ├── package.scala
│ │ │ ├── storage/
│ │ │ │ ├── AccessKeys.scala
│ │ │ │ ├── Apps.scala
│ │ │ │ ├── BiMap.scala
│ │ │ │ ├── Channels.scala
│ │ │ │ ├── DataMap.scala
│ │ │ │ ├── DateTimeJson4sSupport.scala
│ │ │ │ ├── EngineInstances.scala
│ │ │ │ ├── EntityMap.scala
│ │ │ │ ├── EvaluationInstances.scala
│ │ │ │ ├── Event.scala
│ │ │ │ ├── EventJson4sSupport.scala
│ │ │ │ ├── LEventAggregator.scala
│ │ │ │ ├── LEvents.scala
│ │ │ │ ├── Models.scala
│ │ │ │ ├── PEventAggregator.scala
│ │ │ │ ├── PEvents.scala
│ │ │ │ ├── PropertyMap.scala
│ │ │ │ ├── Storage.scala
│ │ │ │ ├── Utils.scala
│ │ │ │ └── package.scala
│ │ │ ├── store/
│ │ │ │ ├── Common.scala
│ │ │ │ ├── LEventStore.scala
│ │ │ │ ├── PEventStore.scala
│ │ │ │ ├── java/
│ │ │ │ │ ├── LJavaEventStore.scala
│ │ │ │ │ ├── OptionHelper.scala
│ │ │ │ │ └── PJavaEventStore.scala
│ │ │ │ ├── package.scala
│ │ │ │ └── python/
│ │ │ │ └── PPythonEventStore.scala
│ │ │ ├── view/
│ │ │ │ ├── DataView.scala
│ │ │ │ ├── LBatchView.scala
│ │ │ │ ├── PBatchView.scala
│ │ │ │ └── QuickTest.scala
│ │ │ └── webhooks/
│ │ │ ├── ConnectorException.scala
│ │ │ ├── ConnectorUtil.scala
│ │ │ ├── FormConnector.scala
│ │ │ ├── JsonConnector.scala
│ │ │ ├── exampleform/
│ │ │ │ └── ExampleFormConnector.scala
│ │ │ ├── examplejson/
│ │ │ │ └── ExampleJsonConnector.scala
│ │ │ ├── mailchimp/
│ │ │ │ └── MailChimpConnector.scala
│ │ │ └── segmentio/
│ │ │ └── SegmentIOConnector.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ ├── api/
│ │ │ ├── EventServiceSpec.scala
│ │ │ └── SegmentIOAuthSpec.scala
│ │ ├── storage/
│ │ │ ├── BiMapSpec.scala
│ │ │ ├── DataMapSpec.scala
│ │ │ ├── LEventAggregatorSpec.scala
│ │ │ ├── PEventAggregatorSpec.scala
│ │ │ ├── StorageMockContext.scala
│ │ │ └── TestEvents.scala
│ │ └── webhooks/
│ │ ├── ConnectorTestUtil.scala
│ │ ├── exampleform/
│ │ │ └── ExampleFormConnectorSpec.scala
│ │ ├── examplejson/
│ │ │ └── ExampleJsonConnectorSpec.scala
│ │ ├── mailchimp/
│ │ │ └── MailChimpConnectorSpec.scala
│ │ └── segmentio/
│ │ └── SegmentIOConnectorSpec.scala
│ ├── test-form.sh
│ ├── test-normal.sh
│ ├── test-segmentio.sh
│ ├── test.sh
│ ├── test2.sh
│ ├── test3.sh
│ └── very_long_batch_request.txt
├── doap.rdf
├── docker/
│ ├── .ivy2/
│ │ └── .keep
│ ├── JUPYTER.md
│ ├── README.md
│ ├── bin/
│ │ └── pio-docker
│ ├── charts/
│ │ ├── README.md
│ │ ├── postgresql.yaml
│ │ ├── predictionio/
│ │ │ ├── .helmignore
│ │ │ ├── Chart.yaml
│ │ │ ├── templates/
│ │ │ │ ├── NOTES.txt
│ │ │ │ ├── _helpers.tpl
│ │ │ │ ├── pio-deployment.yaml
│ │ │ │ └── pio-service.yaml
│ │ │ └── values.yaml
│ │ ├── predictionio_postgresql.yaml
│ │ └── spark/
│ │ ├── .helmignore
│ │ ├── Chart.yaml
│ │ ├── README.md
│ │ ├── templates/
│ │ │ ├── NOTES.txt
│ │ │ ├── _helpers.tpl
│ │ │ ├── spark-master-deployment.yaml
│ │ │ ├── spark-sql-test.yaml
│ │ │ ├── spark-worker-deployment.yaml
│ │ │ └── spark-worker-hpa.yaml
│ │ └── values.yaml
│ ├── deploy/
│ │ └── run.sh
│ ├── docker-compose.deploy.yml
│ ├── docker-compose.jupyter.yml
│ ├── docker-compose.spark.yml
│ ├── docker-compose.yml
│ ├── elasticsearch/
│ │ ├── docker-compose.base.yml
│ │ ├── docker-compose.event.yml
│ │ └── docker-compose.meta.yml
│ ├── jupyter/
│ │ ├── Dockerfile
│ │ ├── fix-permissions
│ │ ├── jupyter_notebook_config.py
│ │ ├── requirements.txt
│ │ ├── start-jupyter.sh
│ │ └── start.sh
│ ├── localfs/
│ │ └── docker-compose.model.yml
│ ├── mysql/
│ │ ├── docker-compose.base.yml
│ │ ├── docker-compose.event.yml
│ │ ├── docker-compose.meta.yml
│ │ └── docker-compose.model.yml
│ ├── pgsql/
│ │ ├── docker-compose.base.yml
│ │ ├── docker-compose.event.yml
│ │ ├── docker-compose.meta.yml
│ │ └── docker-compose.model.yml
│ ├── pio/
│ │ ├── Dockerfile
│ │ └── pio_run
│ └── templates/
│ └── .keep
├── docs/
│ ├── javadoc/
│ │ ├── README.md
│ │ └── javadoc-overview.html
│ ├── manual/
│ │ ├── .gitignore
│ │ ├── Gemfile
│ │ ├── Rakefile
│ │ ├── bower.json
│ │ ├── config.rb
│ │ ├── data/
│ │ │ ├── nav/
│ │ │ │ ├── build.yml
│ │ │ │ └── main.yml
│ │ │ └── versions.yml
│ │ ├── helpers/
│ │ │ ├── application_helpers.rb
│ │ │ ├── breadcrumb_helpers.rb
│ │ │ ├── icon_helpers.rb
│ │ │ ├── table_of_contents_helpers.rb
│ │ │ └── url_helpers.rb
│ │ ├── lib/
│ │ │ ├── custom_renderer.rb
│ │ │ └── gallery_generator.rb
│ │ └── source/
│ │ ├── 404.html.md
│ │ ├── algorithm/
│ │ │ ├── custom.html.md
│ │ │ ├── index.html.md
│ │ │ ├── multiple.html.md
│ │ │ └── switch.html.md
│ │ ├── appintegration/
│ │ │ └── index.html.md
│ │ ├── archived/
│ │ │ ├── community.html.md
│ │ │ ├── index.html.md
│ │ │ ├── install-linux.html.md.erb
│ │ │ ├── install-vagrant.html.md.erb
│ │ │ ├── launch-aws.html.md.erb
│ │ │ ├── supervisedlearning.html.md
│ │ │ └── tapster.html.md
│ │ ├── batchpredict/
│ │ │ └── index.html.md
│ │ ├── cli/
│ │ │ └── index.html.md
│ │ ├── community/
│ │ │ ├── contribute-code.html.md
│ │ │ ├── contribute-documentation.html.md
│ │ │ ├── contribute-sdk.html.md
│ │ │ ├── contribute-webhook.html.md
│ │ │ ├── index.html.md
│ │ │ ├── projects.html.md
│ │ │ └── submit-template.html.md
│ │ ├── customize/
│ │ │ ├── dase.html.md.erb
│ │ │ ├── index.html.md
│ │ │ └── troubleshooting.html.md
│ │ ├── datacollection/
│ │ │ ├── analytics-ipynb.html.md.erb
│ │ │ ├── analytics-tableau.html.md.erb
│ │ │ ├── analytics-zeppelin.html.md.erb
│ │ │ ├── analytics.html.md
│ │ │ ├── batchimport.html.md
│ │ │ ├── channel.html.md.erb
│ │ │ ├── eventapi.html.md
│ │ │ ├── eventmodel.html.md.erb
│ │ │ ├── index.html.md
│ │ │ ├── plugin.html.md
│ │ │ └── webhooks.html.md.erb
│ │ ├── demo/
│ │ │ ├── index.html.md.erb
│ │ │ └── textclassification.html.md.erb
│ │ ├── deploy/
│ │ │ ├── engineparams.html.md
│ │ │ ├── enginevariants.html.md
│ │ │ ├── index.html.md
│ │ │ ├── monitoring.html.md
│ │ │ └── plugin.html.md
│ │ ├── evaluation/
│ │ │ ├── evaluationdashboard.html.md
│ │ │ ├── history.html.md
│ │ │ ├── index.html.md
│ │ │ ├── metricbuild.html.md
│ │ │ ├── metricchoose.html.md
│ │ │ └── paramtuning.html.md
│ │ ├── gallery/
│ │ │ └── templates.yaml
│ │ ├── github.html
│ │ ├── index.html.md.erb
│ │ ├── install/
│ │ │ ├── index.html.md.erb
│ │ │ ├── install-docker.html.md.erb
│ │ │ ├── install-sourcecode.html.md.erb
│ │ │ └── sdk.html.md
│ │ ├── javascripts/
│ │ │ ├── application.js
│ │ │ └── tryit.js
│ │ ├── layouts/
│ │ │ ├── layout.html.slim
│ │ │ └── tryit.html.slim
│ │ ├── machinelearning/
│ │ │ ├── dimensionalityreduction.html.md
│ │ │ └── modelingworkflow.html.md
│ │ ├── partials/
│ │ │ ├── _action_call.html.slim
│ │ │ ├── _edit_page.html.slim
│ │ │ ├── _footer.html.slim
│ │ │ ├── _header.html.slim
│ │ │ ├── _search_bar.html.slim
│ │ │ ├── _segment.html.slim
│ │ │ ├── _swiftype.html.slim
│ │ │ ├── _table_of_content.html.slim
│ │ │ ├── head/
│ │ │ │ ├── _base.html.slim
│ │ │ │ ├── _favicon.html.slim
│ │ │ │ ├── _javascripts.html.slim
│ │ │ │ ├── _meta.html.slim
│ │ │ │ └── _stylesheets.html.slim
│ │ │ ├── nav/
│ │ │ │ ├── _breadcrumbs.html.slim
│ │ │ │ ├── _header.html.slim
│ │ │ │ ├── _main.html.slim
│ │ │ │ ├── _node.html.slim
│ │ │ │ ├── _page.html.slim
│ │ │ │ └── _swiftype.html.slim
│ │ │ └── shared/
│ │ │ ├── dase/
│ │ │ │ └── _dase.html.md.erb
│ │ │ ├── datacollection/
│ │ │ │ └── _parquet.html.md.erb
│ │ │ ├── install/
│ │ │ │ ├── _dependent_services.html.erb
│ │ │ │ ├── _elasticsearch.html.erb
│ │ │ │ ├── _hbase.html.erb
│ │ │ │ ├── _postgres.html.erb
│ │ │ │ ├── _proceed_template.html.md.erb
│ │ │ │ └── _spark.html.erb
│ │ │ └── quickstart/
│ │ │ ├── _collect_data.html.md.erb
│ │ │ ├── _create_app.html.md.erb
│ │ │ ├── _create_engine.html.md.erb
│ │ │ ├── _deploy.html.md.erb
│ │ │ ├── _deploy_enginejson.html.md.erb
│ │ │ ├── _import_sample_data.html.md.erb
│ │ │ ├── _install.html.md.erb
│ │ │ ├── _install_python_sdk.html.md.erb
│ │ │ ├── _install_sdk.html.md.erb
│ │ │ ├── _production.html.md.erb
│ │ │ ├── _query_eventserver.html.md.erb
│ │ │ └── _query_eventserver_short.html.md.erb
│ │ ├── production/
│ │ │ └── deploy-cloudformation.html.md
│ │ ├── resources/
│ │ │ ├── faq.html.md
│ │ │ ├── glossary.html.md
│ │ │ ├── intellij.html.md.erb
│ │ │ ├── release.html.md
│ │ │ └── upgrade.html.md
│ │ ├── robots.txt
│ │ ├── samples/
│ │ │ ├── index.html.md
│ │ │ ├── languages.html.md
│ │ │ ├── level-1.html.md
│ │ │ ├── level-2-1.html.md
│ │ │ ├── level-2-2.html.md
│ │ │ ├── level-2.html.md
│ │ │ ├── level-3-1.html.md
│ │ │ ├── level-3-2.html.md
│ │ │ ├── level-3.html.md
│ │ │ ├── level-4-1.html.md
│ │ │ ├── level-4-2.html.md
│ │ │ ├── level-4-3.html.md
│ │ │ ├── level-4.html.md
│ │ │ ├── narrow.html.md
│ │ │ ├── sizing.html.md
│ │ │ └── tabs.html.md
│ │ ├── sdk/
│ │ │ ├── index.html.md
│ │ │ ├── java.html.md.erb
│ │ │ ├── php.html.md.erb
│ │ │ ├── python.html.md.erb
│ │ │ └── ruby.html.md.erb
│ │ ├── search/
│ │ │ └── index.html.md
│ │ ├── start/
│ │ │ ├── customize.html.md
│ │ │ ├── deploy.html.md.erb
│ │ │ ├── download.html.md
│ │ │ └── index.html.md
│ │ ├── stylesheets/
│ │ │ ├── application.css.scss
│ │ │ ├── mixins/
│ │ │ │ └── _all.css.scss
│ │ │ ├── partials/
│ │ │ │ ├── _action_call.css.scss
│ │ │ │ ├── _alerts.css.scss
│ │ │ │ ├── _breadcrumbs.css.scss
│ │ │ │ ├── _buttons.css.scss
│ │ │ │ ├── _classes.css.scss
│ │ │ │ ├── _code.css.scss
│ │ │ │ ├── _content.css.scss
│ │ │ │ ├── _copyright.css.scss
│ │ │ │ ├── _edit_page.css.scss
│ │ │ │ ├── _footer.css.scss
│ │ │ │ ├── _global.css.scss
│ │ │ │ ├── _hacks.css.scss
│ │ │ │ ├── _header.css.scss
│ │ │ │ ├── _hybird_vim_highlight.css.scss
│ │ │ │ ├── _jcarousel.css.scss
│ │ │ │ ├── _layout.css.scss
│ │ │ │ ├── _modules.css.scss
│ │ │ │ ├── _off_canvas.css.scss
│ │ │ │ ├── _page_title.css.scss
│ │ │ │ ├── _responsive.css.scss
│ │ │ │ ├── _search_bar_row.css.scss
│ │ │ │ ├── _subscribe_form.css.scss
│ │ │ │ ├── _table_of_contents.css.scss
│ │ │ │ ├── _tables.css.scss
│ │ │ │ ├── _tabs.css.scss
│ │ │ │ ├── _tags.css.scss
│ │ │ │ ├── _tryit.css.scss
│ │ │ │ └── nav/
│ │ │ │ ├── _header.css.scss
│ │ │ │ ├── _main.css.scss
│ │ │ │ ├── _page.css.scss
│ │ │ │ └── _swiftype.css.scss
│ │ │ └── variables/
│ │ │ ├── _colors.css.scss
│ │ │ ├── _fonts.css.scss
│ │ │ └── _sizes.css.scss
│ │ ├── support/
│ │ │ └── index.html.md.erb
│ │ ├── system/
│ │ │ ├── anotherdatastore.html.md
│ │ │ ├── deploy-cloudformation.html.md.erb
│ │ │ └── index.html.md
│ │ ├── templates/
│ │ │ ├── classification/
│ │ │ │ ├── add-algorithm.html.md
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ └── reading-custom-properties.html.md
│ │ │ ├── complementarypurchase/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── ecommercerecommendation/
│ │ │ │ ├── adjust-score.html.md.erb
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ └── train-with-rate-event.html.md.erb
│ │ │ ├── index.html.md
│ │ │ ├── javaecommercerecommendation/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── leadscoring/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── productranking/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ └── quickstart.html.md.erb
│ │ │ ├── recommendation/
│ │ │ │ ├── batch-evaluator.html.md
│ │ │ │ ├── blacklist-items.html.md
│ │ │ │ ├── customize-data-prep.html.md
│ │ │ │ ├── customize-serving.html.md
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── evaluation.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ ├── reading-custom-events.html.md
│ │ │ │ └── training-with-implicit-preference.html.md
│ │ │ ├── similarproduct/
│ │ │ │ ├── dase.html.md.erb
│ │ │ │ ├── how-to.html.md
│ │ │ │ ├── multi-events-multi-algos.html.md.erb
│ │ │ │ ├── quickstart.html.md.erb
│ │ │ │ ├── recommended-user.html.md.erb
│ │ │ │ ├── return-item-properties.html.md.erb
│ │ │ │ ├── rid-user-set-event.html.md.erb
│ │ │ │ └── train-with-rate-event.html.md.erb
│ │ │ └── vanilla/
│ │ │ ├── dase.html.md.erb
│ │ │ └── quickstart.html.md.erb
│ │ └── tryit/
│ │ └── index.html.slim
│ └── scaladoc/
│ ├── README.md
│ ├── api-docs.css
│ ├── api-docs.js
│ └── rootdoc.txt
├── e2/
│ ├── build.sbt
│ └── src/
│ ├── main/
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ ├── e2/
│ │ │ ├── engine/
│ │ │ │ ├── BinaryVectorizer.scala
│ │ │ │ ├── CategoricalNaiveBayes.scala
│ │ │ │ ├── MarkovChain.scala
│ │ │ │ └── PythonEngine.scala
│ │ │ ├── evaluation/
│ │ │ │ └── CrossValidation.scala
│ │ │ └── package.scala
│ │ └── package.scala
│ └── test/
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ └── e2/
│ ├── engine/
│ │ ├── BinaryVectorizerTest.scala
│ │ ├── CategoricalNaiveBayesTest.scala
│ │ └── MarkovChainTest.scala
│ ├── evaluation/
│ │ └── CrossValidationTest.scala
│ └── fixture/
│ ├── BinaryVectorizerFixture.scala
│ ├── MarkovChainFixture.scala
│ ├── NaiveBayesFixture.scala
│ └── SharedSparkContext.scala
├── examples/
│ ├── redeploy-script/
│ │ ├── local.sh.template
│ │ └── redeploy.sh
│ ├── scala-parallel-classification/
│ │ ├── README.md
│ │ ├── add-algorithm/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── data.txt
│ │ │ │ └── import_eventserver.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── CompleteEvaluation.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── NaiveBayesAlgorithm.scala
│ │ │ │ ├── PrecisionEvaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ ├── RandomForestAlgorithm.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ └── reading-custom-properties/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── data.txt
│ │ │ └── import_eventserver.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── CompleteEvaluation.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Evaluation.scala
│ │ │ ├── NaiveBayesAlgorithm.scala
│ │ │ ├── PrecisionEvaluation.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── scala-parallel-ecommercerecommendation/
│ │ ├── README.md
│ │ ├── adjust-score/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── ECommAlgorithm.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ └── train-with-rate-event/
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── DataSource.scala
│ │ │ ├── ECommAlgorithm.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── scala-parallel-recommendation/
│ │ ├── README.md
│ │ ├── blacklist-items/
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── customize-data-prep/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ ├── sample_not_train_data.txt
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── customize-serving/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ ├── sample_disabled_items.txt
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── reading-custom-events/
│ │ │ ├── .gitignore
│ │ │ ├── build.sbt
│ │ │ ├── data/
│ │ │ │ ├── import_eventserver.py
│ │ │ │ └── send_query.py
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ ├── assembly.sbt
│ │ │ │ └── build.properties
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ └── train-with-view-event/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── ALSModel.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Evaluation.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ └── scala-parallel-similarproduct/
│ ├── README.md
│ ├── multi-events-multi-algos/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine-cooccurrence.json
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── CooccurrenceAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── LikeAlgorithm.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── recommended-user/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── return-item-properties/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine-cooccurrence.json
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── CooccurrenceAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ ├── rid-user-set-event/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── data/
│ │ │ ├── import_eventserver.py
│ │ │ └── send_query.py
│ │ ├── engine-cooccurrence.json
│ │ ├── engine.json
│ │ ├── project/
│ │ │ ├── assembly.sbt
│ │ │ └── build.properties
│ │ ├── src/
│ │ │ └── main/
│ │ │ └── scala/
│ │ │ ├── ALSAlgorithm.scala
│ │ │ ├── CooccurrenceAlgorithm.scala
│ │ │ ├── DataSource.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Preparator.scala
│ │ │ └── Serving.scala
│ │ └── template.json
│ └── train-with-rate-event/
│ ├── build.sbt
│ ├── data/
│ │ ├── import_eventserver.py
│ │ └── send_query.py
│ ├── engine-cooccurrence.json
│ ├── engine.json
│ ├── project/
│ │ ├── assembly.sbt
│ │ └── build.properties
│ ├── src/
│ │ └── main/
│ │ └── scala/
│ │ ├── ALSAlgorithm.scala
│ │ ├── CooccurrenceAlgorithm.scala
│ │ ├── DataSource.scala
│ │ ├── Engine.scala
│ │ ├── Preparator.scala
│ │ └── Serving.scala
│ └── template.json
├── make-distribution.sh
├── project/
│ ├── PIOBuild.scala
│ ├── assembly.sbt
│ ├── build.properties
│ ├── plugins.sbt
│ └── unidoc.sbt
├── python/
│ └── pypio/
│ ├── __init__.py
│ ├── data/
│ │ ├── __init__.py
│ │ └── eventstore.py
│ ├── pypio.py
│ ├── utils.py
│ └── workflow/
│ ├── __init__.py
│ └── cleanup_functions.py
├── sbt/
│ └── sbt
├── scalastyle-config.xml
├── storage/
│ ├── elasticsearch/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── elasticsearch/
│ │ │ ├── ESAccessKeys.scala
│ │ │ ├── ESApps.scala
│ │ │ ├── ESChannels.scala
│ │ │ ├── ESEngineInstances.scala
│ │ │ ├── ESEvaluationInstances.scala
│ │ │ ├── ESEventsUtil.scala
│ │ │ ├── ESLEvents.scala
│ │ │ ├── ESPEvents.scala
│ │ │ ├── ESSequences.scala
│ │ │ ├── ESUtils.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ └── storage/
│ │ └── elasticsearch/
│ │ ├── StorageClientSpec.scala
│ │ └── StorageTestUtils.scala
│ ├── hbase/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── hbase/
│ │ │ ├── HBEventsUtil.scala
│ │ │ ├── HBLEvents.scala
│ │ │ ├── HBPEvents.scala
│ │ │ ├── PIOHBaseUtil.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ └── storage/
│ │ └── hbase/
│ │ ├── LEventsSpec.scala
│ │ ├── PEventsSpec.scala
│ │ ├── StorageTestUtils.scala
│ │ └── TestEvents.scala
│ ├── hdfs/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ ├── project/
│ │ │ └── build.properties
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── hdfs/
│ │ │ ├── HDFSModels.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ └── resources/
│ │ └── application.conf
│ ├── jdbc/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── jdbc/
│ │ │ ├── JDBCAccessKeys.scala
│ │ │ ├── JDBCApps.scala
│ │ │ ├── JDBCChannels.scala
│ │ │ ├── JDBCEngineInstances.scala
│ │ │ ├── JDBCEvaluationInstances.scala
│ │ │ ├── JDBCLEvents.scala
│ │ │ ├── JDBCModels.scala
│ │ │ ├── JDBCPEvents.scala
│ │ │ ├── JDBCUtils.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ ├── resources/
│ │ │ └── application.conf
│ │ └── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── data/
│ │ └── storage/
│ │ └── jdbc/
│ │ ├── JDBCUtilsSpec.scala
│ │ ├── LEventsSpec.scala
│ │ ├── PEventsSpec.scala
│ │ ├── StorageTestUtils.scala
│ │ └── TestEvents.scala
│ ├── localfs/
│ │ ├── .gitignore
│ │ ├── build.sbt
│ │ └── src/
│ │ ├── main/
│ │ │ └── scala/
│ │ │ └── org/
│ │ │ └── apache/
│ │ │ └── predictionio/
│ │ │ └── data/
│ │ │ └── storage/
│ │ │ └── localfs/
│ │ │ ├── LocalFSModels.scala
│ │ │ ├── StorageClient.scala
│ │ │ └── package.scala
│ │ └── test/
│ │ └── resources/
│ │ └── application.conf
│ └── s3/
│ ├── .gitignore
│ ├── build.sbt
│ └── src/
│ └── main/
│ └── scala/
│ └── org/
│ └── apache/
│ └── predictionio/
│ └── data/
│ └── storage/
│ └── s3/
│ ├── S3Models.scala
│ ├── StorageClient.scala
│ └── package.scala
├── tests/
│ ├── .rat-excludes
│ ├── Dockerfile
│ ├── Dockerfile.base
│ ├── README.md
│ ├── after_script.travis.sh
│ ├── before_script.travis.sh
│ ├── build_docker.sh
│ ├── check_libraries.sh
│ ├── check_license.sh
│ ├── docker-compose.yml
│ ├── docker-files/
│ │ ├── awscredentials
│ │ ├── env-conf/
│ │ │ ├── hbase-site.xml
│ │ │ └── pio-env.sh
│ │ ├── init.sh
│ │ ├── pgpass
│ │ └── set_build_profile.sh
│ ├── pio_tests/
│ │ ├── README.md
│ │ ├── __init__.py
│ │ ├── data/
│ │ │ ├── eventserver_test/
│ │ │ │ ├── partially_malformed_events.json
│ │ │ │ ├── rate_events_25.json
│ │ │ │ └── signup_events_51.json
│ │ │ └── quickstart_test/
│ │ │ └── engine.json
│ │ ├── engines/
│ │ │ └── recommendation-engine/
│ │ │ ├── README.md
│ │ │ ├── build.sbt
│ │ │ ├── engine.json
│ │ │ ├── project/
│ │ │ │ └── assembly.sbt
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── scala/
│ │ │ │ ├── ALSAlgorithm.scala
│ │ │ │ ├── ALSModel.scala
│ │ │ │ ├── DataSource.scala
│ │ │ │ ├── Engine.scala
│ │ │ │ ├── Evaluation.scala
│ │ │ │ ├── Preparator.scala
│ │ │ │ └── Serving.scala
│ │ │ └── template.json
│ │ ├── globals.py
│ │ ├── integration.py
│ │ ├── scenarios/
│ │ │ ├── __init__.py
│ │ │ ├── basic_app_usecases.py
│ │ │ ├── eventserver_test.py
│ │ │ └── quickstart_test.py
│ │ ├── tests.py
│ │ └── utils.py
│ ├── run_docker.sh
│ ├── script.travis.sh
│ └── unit.sh
└── tools/
├── build.sbt
└── src/
├── main/
│ ├── scala/
│ │ └── org/
│ │ └── apache/
│ │ └── predictionio/
│ │ └── tools/
│ │ ├── Common.scala
│ │ ├── RunBatchPredict.scala
│ │ ├── RunServer.scala
│ │ ├── RunWorkflow.scala
│ │ ├── Runner.scala
│ │ ├── admin/
│ │ │ ├── AdminAPI.scala
│ │ │ ├── CommandClient.scala
│ │ │ └── README.md
│ │ ├── commands/
│ │ │ ├── AccessKey.scala
│ │ │ ├── App.scala
│ │ │ ├── Engine.scala
│ │ │ ├── Export.scala
│ │ │ ├── Import.scala
│ │ │ ├── Management.scala
│ │ │ └── Template.scala
│ │ ├── console/
│ │ │ ├── Console.scala
│ │ │ └── Pio.scala
│ │ ├── dashboard/
│ │ │ ├── CorsSupport.scala
│ │ │ └── Dashboard.scala
│ │ ├── export/
│ │ │ └── EventsToFile.scala
│ │ └── imprt/
│ │ └── FileToEvents.scala
│ └── twirl/
│ └── org/
│ └── apache/
│ └── predictionio/
│ └── tools/
│ ├── console/
│ │ ├── accesskey.scala.txt
│ │ ├── adminserver.scala.txt
│ │ ├── app.scala.txt
│ │ ├── batchpredict.scala.txt
│ │ ├── build.scala.txt
│ │ ├── dashboard.scala.txt
│ │ ├── deploy.scala.txt
│ │ ├── eval.scala.txt
│ │ ├── eventserver.scala.txt
│ │ ├── export.scala.txt
│ │ ├── imprt.scala.txt
│ │ ├── main.scala.txt
│ │ ├── run.scala.txt
│ │ ├── status.scala.txt
│ │ ├── template.scala.txt
│ │ ├── train.scala.txt
│ │ ├── upgrade.scala.txt
│ │ └── version.scala.txt
│ ├── dashboard/
│ │ └── index.scala.html
│ └── templates/
│ ├── itemrank/
│ │ └── params/
│ │ ├── algorithmsJson.scala.txt
│ │ ├── datasourceJson.scala.txt
│ │ ├── preparatorJson.scala.txt
│ │ └── servingJson.scala.txt
│ ├── itemrec/
│ │ └── params/
│ │ ├── algorithmsJson.scala.txt
│ │ ├── datasourceJson.scala.txt
│ │ ├── preparatorJson.scala.txt
│ │ └── servingJson.scala.txt
│ ├── itemsim/
│ │ └── params/
│ │ ├── algorithmsJson.scala.txt
│ │ ├── datasourceJson.scala.txt
│ │ ├── preparatorJson.scala.txt
│ │ └── servingJson.scala.txt
│ └── scala/
│ ├── buildSbt.scala.txt
│ ├── engineJson.scala.txt
│ ├── manifestJson.scala.txt
│ ├── project/
│ │ └── assemblySbt.scala.txt
│ └── src/
│ └── main/
│ └── scala/
│ └── engine.scala.txt
└── test/
└── scala/
└── org/
└── apache/
└── predictionio/
└── tools/
├── RunnerSpec.scala
└── admin/
└── AdminAPISpec.scala
SYMBOL INDEX (142 symbols across 37 files)
FILE: core/src/test/java/org/apache/predictionio/workflow/JavaParams.java
class JavaParams (line 23) | public class JavaParams implements Params {
method JavaParams (line 26) | public JavaParams(String p) {
method getP (line 30) | public String getP() {
FILE: core/src/test/java/org/apache/predictionio/workflow/JavaQuery.java
class JavaQuery (line 23) | public class JavaQuery implements Serializable{
method JavaQuery (line 26) | public JavaQuery(String q) {
method getQ (line 30) | public String getQ() {
method equals (line 34) | @Override
method hashCode (line 45) | @Override
FILE: core/src/test/java/org/apache/predictionio/workflow/JavaQueryTypeAdapterFactory.java
class JavaQueryTypeAdapterFactory (line 31) | public class JavaQueryTypeAdapterFactory implements TypeAdapterFactory {
method create (line 32) | @Override
FILE: docs/manual/helpers/application_helpers.rb
type ApplicationHelpers (line 18) | module ApplicationHelpers
function page_title (line 19) | def page_title
function rendered_title (line 31) | def rendered_title
function github_url (line 38) | def github_url
function page_title_in_nav_menu (line 44) | def page_title_in_nav_menu(nodes)
function link_to_with_active (line 79) | def link_to_with_active(body, url, options = {})
FILE: docs/manual/helpers/breadcrumb_helpers.rb
type BreadcrumbHelpers (line 20) | module BreadcrumbHelpers
function breadcrumbs (line 22) | def breadcrumbs
function breadcrumb_search (line 34) | def breadcrumb_search(path, node, depth = 0, crumb = [])
FILE: docs/manual/helpers/icon_helpers.rb
type IconHelpers (line 18) | module IconHelpers
function icon (line 19) | def icon(name)
FILE: docs/manual/helpers/table_of_contents_helpers.rb
type TableOfContentsHelpers (line 18) | module TableOfContentsHelpers
function table_of_contents (line 19) | def table_of_contents(resource)
function remove_front_matter_data (line 44) | def remove_front_matter_data(content)
FILE: docs/manual/helpers/url_helpers.rb
type UrlHelpers (line 18) | module UrlHelpers
function absolute_url (line 19) | def absolute_url(path)
FILE: docs/manual/lib/custom_renderer.rb
class CustomRenderer (line 20) | class CustomRenderer < Middleman::Renderers::MiddlemanRedcarpetHTML
method initialize (line 21) | def initialize(options = {})
method paragraph (line 26) | def paragraph(text)
method header (line 35) | def header(text, level)
method block_code (line 42) | def block_code(code, language)
method block_html (line 47) | def block_html(raw_html)
method convert_alerts (line 87) | def convert_alerts(text)
FILE: docs/manual/lib/gallery_generator.rb
type Gallery (line 21) | module Gallery
class Template (line 71) | class Template
method initialize (line 75) | def initialize(engine)
method parse_github (line 87) | def parse_github
function write_template (line 101) | def self.write_template(mdfile, template)
function write_templates (line 125) | def self.write_templates(mdfile, templates)
function write_markdown (line 131) | def self.write_markdown(mdfile, templates)
function generate_md (line 185) | def self.generate_md(yaml_file_path, out_file_path)
FILE: docs/manual/source/javascripts/application.js
function navExpand (line 83) | function navExpand(link) {
function navCollapse (line 89) | function navCollapse(link) {
function enableForm (line 225) | function enableForm() {
function disableForm (line 229) | function disableForm() {
function onFormSubmitSuccess (line 233) | function onFormSubmitSuccess() {
function onFormSubmitError (line 237) | function onFormSubmitError() {
function validateRequired (line 245) | function validateRequired($input) {
function validateEmail (line 258) | function validateEmail($input) {
function validateMatch (line 271) | function validateMatch($input) {
function formCallBack (line 285) | function formCallBack(data) {}
FILE: docs/scaladoc/api-docs.js
function addBadges (line 7) | function addBadges(allAnnotations, name, tag, html) {
FILE: examples/scala-parallel-classification/add-algorithm/data/import_eventserver.py
function import_events (line 25) | def import_events(client, file):
FILE: examples/scala-parallel-classification/reading-custom-properties/data/import_eventserver.py
function import_events (line 25) | def import_events(client, file):
FILE: examples/scala-parallel-ecommercerecommendation/adjust-score/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: examples/scala-parallel-ecommercerecommendation/train-with-rate-event/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: examples/scala-parallel-recommendation/blacklist-items/data/import_eventserver.py
function import_events (line 29) | def import_events(client, file):
FILE: examples/scala-parallel-recommendation/customize-data-prep/data/import_eventserver.py
function import_events (line 29) | def import_events(client, file):
FILE: examples/scala-parallel-recommendation/customize-serving/data/import_eventserver.py
function import_events (line 29) | def import_events(client, file):
FILE: examples/scala-parallel-recommendation/reading-custom-events/data/import_eventserver.py
function import_events (line 29) | def import_events(client, file):
FILE: examples/scala-parallel-recommendation/train-with-view-event/data/import_eventserver.py
function import_events (line 29) | def import_events(client, file):
FILE: examples/scala-parallel-similarproduct/multi-events-multi-algos/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: examples/scala-parallel-similarproduct/recommended-user/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: examples/scala-parallel-similarproduct/return-item-properties/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: examples/scala-parallel-similarproduct/rid-user-set-event/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: examples/scala-parallel-similarproduct/train-with-rate-event/data/import_eventserver.py
function import_events (line 28) | def import_events(client):
FILE: python/pypio/data/eventstore.py
class PEventStore (line 26) | class PEventStore(object):
method __init__ (line 28) | def __init__(self, jss, sql_ctx):
method find (line 33) | def find(self, app_name, channel_name=None, start_time=None, until_tim...
method aggregate_properties (line 41) | def aggregate_properties(self, app_name, entity_type, channel_name=None,
FILE: python/pypio/pypio.py
function init (line 31) | def init():
function find_events (line 47) | def find_events(app_name):
function save_model (line 57) | def save_model(model, predict_columns):
FILE: python/pypio/utils.py
function dict_to_scalamap (line 19) | def dict_to_scalamap(jvm, d):
function list_to_dict (line 33) | def list_to_dict(l):
FILE: python/pypio/workflow/cleanup_functions.py
class CleanupFunctions (line 23) | class CleanupFunctions(object):
method __init__ (line 25) | def __init__(self, sql_ctx):
method run (line 29) | def run(self):
FILE: tests/pio_tests/globals.py
function std_out (line 24) | def std_out():
function std_err (line 30) | def std_err():
FILE: tests/pio_tests/integration.py
class TestContext (line 22) | class TestContext:
method __init__ (line 25) | def __init__(self, engine_directory, data_directory, es_ip='0.0.0.0', ...
class BaseTestCase (line 38) | class BaseTestCase(unittest.TestCase):
method __init__ (line 43) | def __init__(self, test_context, methodName='runTest'):
class AppContext (line 48) | class AppContext:
method __init__ (line 51) | def __init__(self, name, template, engine_json_path=None):
FILE: tests/pio_tests/scenarios/basic_app_usecases.py
function get_buy_events (line 29) | def get_buy_events(users, per_user=2):
function get_rate_events (line 43) | def get_rate_events(users, per_user=2):
class BasicAppUsecases (line 59) | class BasicAppUsecases(BaseTestCase):
method setUp (line 61) | def setUp(self):
method runTest (line 77) | def runTest(self):
method app_creation (line 84) | def app_creation(self):
method check_app_list (line 93) | def check_app_list(self):
method check_data (line 99) | def check_data(self):
method check_build (line 118) | def check_build(self):
method check_train_and_deploy (line 124) | def check_train_and_deploy(self):
method tearDown (line 164) | def tearDown(self):
FILE: tests/pio_tests/scenarios/eventserver_test.py
class EventserverTest (line 28) | class EventserverTest(BaseTestCase):
method eventserver_url (line 35) | def eventserver_url(self, path=None):
method load_events (line 41) | def load_events(self, json_file):
method setUp (line 47) | def setUp(self):
method runTest (line 55) | def runTest(self):
method tearDown (line 163) | def tearDown(self):
FILE: tests/pio_tests/scenarios/quickstart_test.py
function read_events (line 25) | def read_events(file_path):
class QuickStartTest (line 50) | class QuickStartTest(BaseTestCase):
method setUp (line 52) | def setUp(self):
method engine_dir_test (line 76) | def engine_dir_test(self):
method runTest (line 106) | def runTest(self):
method tearDown (line 169) | def tearDown(self):
FILE: tests/pio_tests/tests.py
function get_tests (line 51) | def get_tests(test_context):
FILE: tests/pio_tests/utils.py
function srun (line 28) | def srun(command):
function srun_out (line 35) | def srun_out(command):
function srun_bg (line 43) | def srun_bg(command):
function repository_dirname (line 50) | def repository_dirname(template):
function obtain_template (line 56) | def obtain_template(engine_dir, template):
function pio_app_list (line 79) | def pio_app_list():
function get_app_eventserver_url_json (line 88) | def get_app_eventserver_url_json(test_context):
function get_engine_url_json (line 92) | def get_engine_url_json(engine_ip, engine_port):
function send_event (line 96) | def send_event(event, test_context, access_key, channel=None):
function send_events_batch (line 113) | def send_events_batch(events, test_context, access_key, channel=None):
function import_events_batch (line 134) | def import_events_batch(events, test_context, appid, channel=None):
function get_events (line 162) | def get_events(test_context, access_key, params={}):
function query_engine (line 174) | def query_engine(data, engine_ip='localhost', engine_port=8000):
class AppEngine (line 186) | class AppEngine:
method __init__ (line 192) | def __init__(self, test_context, app_context, already_created=False):
method __copy_engine_json (line 213) | def __copy_engine_json(self):
method __init_info (line 217) | def __init_info(self):
method new (line 223) | def new(self, id=None, description=None, access_key=None):
method show (line 234) | def show(self):
method delete (line 249) | def delete(self):
method build (line 252) | def build(self, sbt_extra=None, clean=False, no_asm=True, engine_dir=N...
method train (line 260) | def train(self, batch=None, skip_sanity_check=False, stop_after_read=F...
method deploy (line 275) | def deploy(self, wait_time=0, ip=None, port=None, engine_instance_id=N...
method stop (line 299) | def stop(self):
method new_channel (line 304) | def new_channel(self, channel):
method delete_channel (line 307) | def delete_channel(self, channel):
method send_event (line 310) | def send_event(self, event):
method send_events_batch (line 313) | def send_events_batch(self, events):
method import_events_batch (line 316) | def import_events_batch(self, events):
method get_events (line 319) | def get_events(self, params={}):
method delete_data (line 322) | def delete_data(self, delete_all=True, channel=None):
method query (line 329) | def query(self, data):
Condensed preview — 904 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,215K chars).
[
{
"path": ".gitattributes",
"chars": 23,
"preview": ".travis.yml merge=ours\n"
},
{
"path": ".gitignore",
"chars": 544,
"preview": ".DS_Store\n.pio_store\n*.swp\n*.swo\nconf/pio-env.sh\ntarget/\nsbt/sbt-launch-*.jar\n..sxr/\n*.class\ncore/data\n*.orig\nexamples/d"
},
{
"path": ".travis.yml",
"chars": 3770,
"preview": "##########\n# This is .travis.yml configuration file specifically for master and develop branch.\n# The travis job should "
},
{
"path": "CONTRIBUTING.md",
"chars": 1393,
"preview": "<!--\nLicensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements. See the NOTICE "
},
{
"path": "Dockerfile",
"chars": 1266,
"preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE"
},
{
"path": "KEYS",
"chars": 14282,
"preview": "This file contains the PGP keys of various developers.\nPlease don't use them for email unless you have to. Their main\npu"
},
{
"path": "LICENSE.txt",
"chars": 107040,
"preview": "\n Apache License\n Version 2.0, January 2004\n "
},
{
"path": "NOTICE.txt",
"chars": 409,
"preview": "Apache PredictionIO\nCopyright 2016 The Apache Software Foundation\n\nThis product includes software developed at\nThe Apach"
},
{
"path": "PMC.md",
"chars": 7268,
"preview": "<!--\nLicensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements. See the NOTICE "
},
{
"path": "README.md",
"chars": 3472,
"preview": "<!--\nLicensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements. See the NOTICE "
},
{
"path": "RELEASE.md",
"chars": 16738,
"preview": "<!--\nLicensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements. See the NOTICE "
},
{
"path": "assembly/build.sbt",
"chars": 3686,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "assembly/src/debian/DEBIAN/postrm",
"chars": 1327,
"preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE"
},
{
"path": "assembly/src/debian/DEBIAN/preinst",
"chars": 1248,
"preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE"
},
{
"path": "assembly/src/rpm/scriptlets/postun",
"chars": 1235,
"preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE"
},
{
"path": "assembly/src/rpm/scriptlets/preinst",
"chars": 1203,
"preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE"
},
{
"path": "bin/cjson",
"chars": 858,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/compute-classpath.sh",
"chars": 2893,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/install.sh",
"chars": 17561,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/load-pio-env.sh",
"chars": 1539,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/pio",
"chars": 2025,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/pio-class",
"chars": 3179,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/pio-daemon",
"chars": 2095,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/pio-shell",
"chars": 2447,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/pio-start-all",
"chars": 3666,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/pio-stop-all",
"chars": 2431,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/semver.sh",
"chars": 3897,
"preview": "#!/usr/bin/env sh\n#\n# Copyright (c) 2013, Ray Bejjani\n# All rights reserved.\n#\n# Redistribution and use in source and bi"
},
{
"path": "bin/travis/pio-start-travis",
"chars": 1650,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "bin/travis/pio-stop-travis",
"chars": 1350,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "build.sbt",
"chars": 9721,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "common/build.sbt",
"chars": 1254,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "common/src/main/java/org/apache/predictionio/annotation/DeveloperApi.java",
"chars": 1582,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "common/src/main/java/org/apache/predictionio/annotation/Experimental.java",
"chars": 1565,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "common/src/main/resources/application.conf",
"chars": 104,
"preview": "akka {\n log-config-on-start = false\n loggers = [\"akka.event.slf4j.Slf4jLogger\"]\n loglevel = \"INFO\"\n}\n"
},
{
"path": "common/src/main/scala/org/apache/predictionio/akkahttpjson4s/Json4sSupport.scala",
"chars": 3783,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "common/src/main/scala/org/apache/predictionio/authentication/KeyAuthentication.scala",
"chars": 2298,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "common/src/main/scala/org/apache/predictionio/configuration/SSLConfiguration.scala",
"chars": 2199,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "conf/log4j.properties",
"chars": 1751,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "conf/pio-env.sh.template",
"chars": 4018,
"preview": "#!/usr/bin/env bash\n#\n# Copy this file as pio-env.sh and edit it for your site's configuration.\n#\n# Licensed to the Apac"
},
{
"path": "conf/pio-env.sh.travis",
"chars": 2275,
"preview": "#!/usr/bin/env bash\n#\n# Copy this file as pio-env.sh and edit it for your site's configuration.\n#\n# Licensed to the Apac"
},
{
"path": "conf/pio-vendors.sh",
"chars": 2059,
"preview": "#!/bin/bash\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. Se"
},
{
"path": "conf/server.conf",
"chars": 1349,
"preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE"
},
{
"path": "core/build.sbt",
"chars": 1822,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/CustomQuerySerializer.scala",
"chars": 1606,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/Deployment.scala",
"chars": 1941,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/Engine.scala",
"chars": 29697,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/EngineFactory.scala",
"chars": 1575,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/EngineParams.scala",
"chars": 5391,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/EngineParamsGenerator.scala",
"chars": 1644,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/Evaluation.scala",
"chars": 4509,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/FastEvalEngine.scala",
"chars": 11052,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/IdentityPreparator.scala",
"chars": 3213,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LAlgorithm.scala",
"chars": 4867,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LAverageServing.scala",
"chars": 1695,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LDataSource.scala",
"chars": 2579,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LFirstServing.scala",
"chars": 1602,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LPreparator.scala",
"chars": 1660,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LServing.scala",
"chars": 1890,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/LocalFileSystemPersistentModel.scala",
"chars": 2779,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/Metric.scala",
"chars": 8129,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/MetricEvaluator.scala",
"chars": 9006,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/P2LAlgorithm.scala",
"chars": 4637,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/PAlgorithm.scala",
"chars": 4896,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/PDataSource.scala",
"chars": 2340,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/PPreparator.scala",
"chars": 1633,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/Params.scala",
"chars": 1218,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/PersistentModel.scala",
"chars": 4299,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/SanityCheck.scala",
"chars": 1326,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/Utils.scala",
"chars": 2628,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/JavaEngineParamsGenerator.scala",
"chars": 1536,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/JavaEvaluation.scala",
"chars": 2469,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/LJavaAlgorithm.scala",
"chars": 1317,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/LJavaDataSource.scala",
"chars": 1326,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/LJavaPreparator.scala",
"chars": 1243,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/LJavaServing.scala",
"chars": 1140,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/P2LJavaAlgorithm.scala",
"chars": 1389,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/PJavaAlgorithm.scala",
"chars": 1242,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/PJavaDataSource.scala",
"chars": 1250,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/PJavaPreparator.scala",
"chars": 1166,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/java/SerializableComparator.scala",
"chars": 961,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/controller/package.scala",
"chars": 6087,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/AbstractDoer.scala",
"chars": 2343,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/BaseAlgorithm.scala",
"chars": 4274,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/BaseDataSource.scala",
"chars": 1920,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/BaseEngine.scala",
"chars": 4134,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/BaseEvaluator.scala",
"chars": 2611,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/BasePreparator.scala",
"chars": 1586,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/BaseServing.scala",
"chars": 1880,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/SelfCleaningDataSource.scala",
"chars": 9980,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/core/package.scala",
"chars": 978,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/package.scala",
"chars": 884,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/BatchPredict.scala",
"chars": 8711,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/CleanupFunctions.scala",
"chars": 1969,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/CoreWorkflow.scala",
"chars": 5335,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/CreateServer.scala",
"chars": 25463,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/CreateWorkflow.scala",
"chars": 10334,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/EngineServerPlugin.scala",
"chars": 1336,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/EngineServerPluginContext.scala",
"chars": 3560,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/EngineServerPluginsActor.scala",
"chars": 1829,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/EvaluationWorkflow.scala",
"chars": 1724,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/FakeWorkflow.scala",
"chars": 3502,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/JsonExtractor.scala",
"chars": 6257,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/JsonExtractorOption.scala",
"chars": 996,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/PersistentModelManifest.scala",
"chars": 899,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/Workflow.scala",
"chars": 4973,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/WorkflowContext.scala",
"chars": 1807,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/WorkflowParams.scala",
"chars": 1859,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/scala/org/apache/predictionio/workflow/WorkflowUtils.scala",
"chars": 13216,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/main/twirl/org/apache/predictionio/controller/metric_evaluator.scala.html",
"chars": 3807,
"preview": "<!--\n Licensed to the Apache Software Foundation (ASF) under one or more\n contributor license agreements. See the NOT"
},
{
"path": "core/src/main/twirl/org/apache/predictionio/workflow/index.scala.html",
"chars": 4542,
"preview": "@import org.apache.predictionio.data.storage.EngineInstance\n@import org.apache.predictionio.workflow.ServerConfig\n@impor"
},
{
"path": "core/src/test/java/org/apache/predictionio/workflow/JavaParams.java",
"chars": 1084,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/java/org/apache/predictionio/workflow/JavaQuery.java",
"chars": 1446,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/java/org/apache/predictionio/workflow/JavaQueryTypeAdapterFactory.java",
"chars": 2441,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/EngineTest.scala",
"chars": 19588,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/EvaluationTest.scala",
"chars": 2213,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/EvaluatorTest.scala",
"chars": 3561,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/FastEvalEngineTest.scala",
"chars": 6662,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/MetricEvaluatorTest.scala",
"chars": 1815,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/MetricTest.scala",
"chars": 4634,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/controller/SampleEngine.scala",
"chars": 14656,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/core/SelfCleaningDataSourceTest.scala",
"chars": 4464,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/core/test.json",
"chars": 12040,
"preview": "{\"eventId\":\"KpjNMVrQzY2s0TZhYB3vsAAAAVOFSkM1kLoZgQnOA1E\",\"event\":\"$set\",\"entityType\":\"item\",\"entityId\":\"Nexus\",\"properti"
},
{
"path": "core/src/test/scala/org/apache/predictionio/workflow/BaseTest.scala",
"chars": 3930,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/workflow/EngineWorkflowTest.scala",
"chars": 802,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/workflow/EvaluationWorkflowTest.scala",
"chars": 2782,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "core/src/test/scala/org/apache/predictionio/workflow/JsonExtractorSuite.scala",
"chars": 13517,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/README.md",
"chars": 3623,
"preview": "<!--\nLicensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements. See the NOTICE "
},
{
"path": "data/build.sbt",
"chars": 1715,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/Utils.scala",
"chars": 1834,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/Common.scala",
"chars": 2706,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/EventInfo.scala",
"chars": 975,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/EventServer.scala",
"chars": 21146,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/EventServerPlugin.scala",
"chars": 1215,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/EventServerPluginContext.scala",
"chars": 1962,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/PluginsActor.scala",
"chars": 1761,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/Stats.scala",
"chars": 2394,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/StatsActor.scala",
"chars": 2555,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/Webhooks.scala",
"chars": 4146,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/api/WebhooksConnectors.scala",
"chars": 1344,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/package.scala",
"chars": 957,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/AccessKeys.scala",
"chars": 2294,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/Apps.scala",
"chars": 1767,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/BiMap.scala",
"chars": 5214,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/Channels.scala",
"chars": 2568,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/DataMap.scala",
"chars": 7627,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/DateTimeJson4sSupport.scala",
"chars": 1711,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/EngineInstances.scala",
"chars": 6795,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/EntityMap.scala",
"chars": 2970,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/EvaluationInstances.scala",
"chars": 5587,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/Event.scala",
"chars": 6788,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/EventJson4sSupport.scala",
"chars": 8545,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/LEventAggregator.scala",
"chars": 4707,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/LEvents.scala",
"chars": 19424,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/Models.scala",
"chars": 2468,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/PEventAggregator.scala",
"chars": 6455,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/PEvents.scala",
"chars": 6797,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/PropertyMap.scala",
"chars": 3336,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/Storage.scala",
"chars": 16338,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/Utils.scala",
"chars": 1768,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/storage/package.scala",
"chars": 1182,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/Common.scala",
"chars": 2346,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/LEventStore.scala",
"chars": 11166,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/PEventStore.scala",
"chars": 4409,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/java/LJavaEventStore.scala",
"chars": 11012,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/java/OptionHelper.scala",
"chars": 1150,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/java/PJavaEventStore.scala",
"chars": 4059,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/package.scala",
"chars": 961,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/store/python/PPythonEventStore.scala",
"chars": 5602,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/view/DataView.scala",
"chars": 4279,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/view/LBatchView.scala",
"chars": 5917,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/view/PBatchView.scala",
"chars": 6190,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/view/QuickTest.scala",
"chars": 2459,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/ConnectorException.scala",
"chars": 1249,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/ConnectorUtil.scala",
"chars": 1785,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/FormConnector.scala",
"chars": 1288,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/JsonConnector.scala",
"chars": 1208,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/exampleform/ExampleFormConnector.scala",
"chars": 4123,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/examplejson/ExampleJsonConnector.scala",
"chars": 4619,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnector.scala",
"chars": 9504,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/main/scala/org/apache/predictionio/data/webhooks/segmentio/SegmentIOConnector.scala",
"chars": 8666,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/resources/application.conf",
"chars": 610,
"preview": "org.apache.predictionio.data.storage {\n sources {\n mongodb {\n type = mongodb\n hosts = [localhost]\n po"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/api/EventServiceSpec.scala",
"chars": 1868,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/api/SegmentIOAuthSpec.scala",
"chars": 5629,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/storage/BiMapSpec.scala",
"chars": 6229,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/storage/DataMapSpec.scala",
"chars": 6589,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/storage/LEventAggregatorSpec.scala",
"chars": 3398,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/storage/PEventAggregatorSpec.scala",
"chars": 2324,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/storage/StorageMockContext.scala",
"chars": 2190,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/storage/TestEvents.scala",
"chars": 6737,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/webhooks/ConnectorTestUtil.scala",
"chars": 1949,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/webhooks/exampleform/ExampleFormConnectorSpec.scala",
"chars": 5032,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/webhooks/examplejson/ExampleJsonConnectorSpec.scala",
"chars": 5059,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnectorSpec.scala",
"chars": 7962,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/src/test/scala/org/apache/predictionio/data/webhooks/segmentio/SegmentIOConnectorSpec.scala",
"chars": 9631,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOT"
},
{
"path": "data/test-form.sh",
"chars": 7291,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "data/test-normal.sh",
"chars": 1071,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "data/test-segmentio.sh",
"chars": 4787,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "data/test.sh",
"chars": 12071,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "data/test2.sh",
"chars": 2404,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
},
{
"path": "data/test3.sh",
"chars": 2453,
"preview": "#!/usr/bin/env bash\n\n#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreem"
}
]
// ... and 704 more files (download for full content)
About this extraction
This page contains the full source code of the apache/predictionio GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 904 files (2.9 MB), approximately 806.0k tokens, and a symbol index with 142 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.