predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [31/50] [abbrv] incubator-predictionio git commit: Use HTTPS
Date Mon, 27 Jun 2016 19:31:45 GMT
Use HTTPS


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

Branch: refs/heads/master
Commit: 7bf0bed71c79e29392de758a8ae658c7d9556f1d
Parents: 833f4dd
Author: Donald Szeto <donald@prediction.io>
Authored: Mon Mar 28 11:43:52 2016 -0700
Committer: Donald Szeto <donald@prediction.io>
Committed: Mon Mar 28 11:43:52 2016 -0700

----------------------------------------------------------------------
 core/src/main/scala/io/prediction/workflow/WorkflowUtils.scala | 4 ++--
 .../src/main/scala/io/prediction/tools/console/Template.scala  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/7bf0bed7/core/src/main/scala/io/prediction/workflow/WorkflowUtils.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/io/prediction/workflow/WorkflowUtils.scala b/core/src/main/scala/io/prediction/workflow/WorkflowUtils.scala
index 9ebd988..d93b9eb 100644
--- a/core/src/main/scala/io/prediction/workflow/WorkflowUtils.scala
+++ b/core/src/main/scala/io/prediction/workflow/WorkflowUtils.scala
@@ -294,7 +294,7 @@ object WorkflowUtils extends Logging {
         "Since 0.8.4, the 'params' field is required in engine.json" +
         " in order to specify parameters for DataSource, Preparator or" +
         " Serving.\n" +
-        "Please go to http://docs.prediction.io/resources/upgrade/" +
+        "Please go to https://docs.prediction.io/resources/upgrade/" +
         " for detailed instruction of how to change engine.json.")
       sys.exit(1)
     }
@@ -388,7 +388,7 @@ class UpgradeCheckRunner(
     val component: String,
     val engine: String) extends Runnable with Logging {
   val version = BuildInfo.version
-  val versionsHost = "http://direct.prediction.io/"
+  val versionsHost = "https://direct.prediction.io/"
 
   def run(): Unit = {
     val url = if (engine == "") {

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/7bf0bed7/tools/src/main/scala/io/prediction/tools/console/Template.scala
----------------------------------------------------------------------
diff --git a/tools/src/main/scala/io/prediction/tools/console/Template.scala b/tools/src/main/scala/io/prediction/tools/console/Template.scala
index f41e0c2..a0b4376 100644
--- a/tools/src/main/scala/io/prediction/tools/console/Template.scala
+++ b/tools/src/main/scala/io/prediction/tools/console/Template.scala
@@ -179,7 +179,7 @@ object Template extends Logging {
       "email" -> email,
       "org" -> org)
     try {
-      httpOptionalProxy("http://update.prediction.io/templates.subscribe").
+      httpOptionalProxy("https://update.prediction.io/templates.subscribe").
         postData("json=" + write(data)).asString
     } catch {
       case e: Throwable => error("Unable to subscribe.")
@@ -189,14 +189,14 @@ object Template extends Logging {
   def meta(repo: String, name: String, org: String): Unit = {
     try {
       httpOptionalProxy(
-        s"http://meta.prediction.io/templates/$repo/$org/$name").asString
+        s"https://meta.prediction.io/templates/$repo/$org/$name").asString
     } catch {
       case e: Throwable => debug("Template metadata unavailable.")
     }
   }
 
   def list(ca: ConsoleArgs): Int = {
-    val templatesUrl = "http://templates.prediction.io/index.json"
+    val templatesUrl = "https://templates.prediction.io/index.json"
     try {
       val templatesJson = Source.fromURL(templatesUrl).mkString("")
       val templates = read[List[TemplateEntry]](templatesJson)


Mime
View raw message