Repository: incubator-zeppelin
Updated Branches:
  refs/heads/gh-pages f6cf52e34 -> 6f666bcd6


Zeppelin interpreter documentation and interpreter REST API documentation

This PR updates the JSON sample in the documentation to match the new JSON 
format (omit the option section)
This also updated the create new Setting JSON response sample to show the new 
response (we return the new created setting with the new ID)

Author: eranwitkon <[email protected]>

Closes #271 from eranwitkon/gh-pages and squashes the following commits:

b9c4352 [eranwitkon] Update REST API documentation - removing the option part 
from the sample JSON files Updating the Create response JSON to the new format
08fc76d [eranwitkon] Merge remote-tracking branch 'upstream/gh-pages' into 
gh-pages
0d5ac82 [eranwitkon] remove TODO comments and fix JSONVie URL
e10d467 [eranwitkon] Merge remote-tracking branch 'upstream/gh-pages' into 
gh-pages
c0ac1c0 [eranwitkon] Fix typo and re-phrase What is zeppelin interpreter 
section in interpreters.md
0355216 [eranwitkon] Merge remote-tracking branch 'upstream/gh-pages' into 
gh-pages
e870699 [eranwitkon] Add documentation about the role of Interpreters, 
interpreters group and interpreters settings in Zeppelin and docs about 
interpreter REST API


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

Branch: refs/heads/gh-pages
Commit: 6f666bcd6e5a9dad857271545c1e10a07f04e02c
Parents: f6cf52e
Author: eranwitkon <[email protected]>
Authored: Wed Sep 2 10:01:40 2015 +0300
Committer: Alexander Bezzubov <[email protected]>
Committed: Sat Sep 5 07:15:55 2015 +0900

----------------------------------------------------------------------
 docs/rest-api/rest-json/rest-json-interpreter-create-response.json | 2 +-
 docs/rest-api/rest-json/rest-json-interpreter-create.json          | 2 +-
 docs/rest-api/rest-json/rest-json-interpreter-setting.json         | 2 +-
 docs/rest-api/rest-json/rest-json-interpreter-update-response.json | 2 +-
 docs/rest-api/rest-json/rest-json-interpreter-update.json          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/6f666bcd/docs/rest-api/rest-json/rest-json-interpreter-create-response.json
----------------------------------------------------------------------
diff --git a/docs/rest-api/rest-json/rest-json-interpreter-create-response.json 
b/docs/rest-api/rest-json/rest-json-interpreter-create-response.json
index 43b3f81..dd2bda4 100644
--- a/docs/rest-api/rest-json/rest-json-interpreter-create-response.json
+++ b/docs/rest-api/rest-json/rest-json-interpreter-create-response.json
@@ -1 +1 @@
-{"status":"CREATED","message":""}
\ No newline at end of file
+{"status":"CREATED","message":"","body":{"id":"2AYW25ANY","name":"md2","group":"md","properties":{"propname":"propvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}]}}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/6f666bcd/docs/rest-api/rest-json/rest-json-interpreter-create.json
----------------------------------------------------------------------
diff --git a/docs/rest-api/rest-json/rest-json-interpreter-create.json 
b/docs/rest-api/rest-json/rest-json-interpreter-create.json
index 25aba39..778b7b4 100644
--- a/docs/rest-api/rest-json/rest-json-interpreter-create.json
+++ b/docs/rest-api/rest-json/rest-json-interpreter-create.json
@@ -1 +1 @@
-{"name":"md2","group":"md","properties":{"propname":"propvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}}
\ No newline at end of file
+{"name":"md2","group":"md","properties":{"propname":"propvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}]}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/6f666bcd/docs/rest-api/rest-json/rest-json-interpreter-setting.json
----------------------------------------------------------------------
diff --git a/docs/rest-api/rest-json/rest-json-interpreter-setting.json 
b/docs/rest-api/rest-json/rest-json-interpreter-setting.json
index dc7e08d..04b9486 100644
--- a/docs/rest-api/rest-json/rest-json-interpreter-setting.json
+++ b/docs/rest-api/rest-json/rest-json-interpreter-setting.json
@@ -1 +1 @@
-{"status":"OK","message":"","body":[{"id":"2AY6GV7Q3","name":"spark","group":"spark","properties":{"spark.cores.max":"","spark.yarn.jar":"","master":"local[*]","zeppelin.spark.maxResult":"1000","zeppelin.dep.localrepo":"local-repo","spark.app.name":"Zeppelin","spark.executor.memory":"512m","zeppelin.spark.useHiveContext":"true","args":"","spark.home":"","zeppelin.spark.concurrentSQL":"false","zeppelin.pyspark.python":"python"},"interpreterGroup":[{"class":"org.apache.zeppelin.spark.SparkInterpreter","name":"spark"},{"class":"org.apache.zeppelin.spark.PySparkInterpreter","name":"pyspark"},{"class":"org.apache.zeppelin.spark.SparkSqlInterpreter","name":"sql"},{"class":"org.apache.zeppelin.spark.DepInterpreter","name":"dep"}],"option":{"remote":true}},{"id":"2AYUGP2D5","name":"md","group":"md","properties":{"":""},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}},{"id":"2AWBZQVB8","name":"angular","group":"angular","properties"
 
:{},"interpreterGroup":[{"class":"org.apache.zeppelin.angular.AngularInterpreter","name":"angular"}],"option":{"remote":true}},{"id":"2AWSES8Z8","name":"sh","group":"sh","properties":{},"interpreterGroup":[{"class":"org.apache.zeppelin.shell.ShellInterpreter","name":"sh"}],"option":{"remote":true}},{"id":"2AWTCSXEX","name":"hive","group":"hive","properties":{"hive.hiveserver2.url":"jdbc:hive2://localhost:10000","hive.hiveserver2.password":"","hive.hiveserver2.user":"hive"},"interpreterGroup":[{"class":"org.apache.zeppelin.hive.HiveInterpreter","name":"hql"}],"option":{"remote":true}}]}
\ No newline at end of file
+{"status":"OK","message":"","body":[{"id":"2AY6GV7Q3","name":"spark","group":"spark","properties":{"spark.cores.max":"","spark.yarn.jar":"","master":"local[*]","zeppelin.spark.maxResult":"1000","zeppelin.dep.localrepo":"local-repo","spark.app.name":"Zeppelin","spark.executor.memory":"512m","zeppelin.spark.useHiveContext":"true","args":"","spark.home":"","zeppelin.spark.concurrentSQL":"false","zeppelin.pyspark.python":"python"},"interpreterGroup":[{"class":"org.apache.zeppelin.spark.SparkInterpreter","name":"spark"},{"class":"org.apache.zeppelin.spark.PySparkInterpreter","name":"pyspark"},{"class":"org.apache.zeppelin.spark.SparkSqlInterpreter","name":"sql"},{"class":"org.apache.zeppelin.spark.DepInterpreter","name":"dep"}]},{"id":"2AYUGP2D5","name":"md","group":"md","properties":{"":""},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}]},{"id":"2AWBZQVB8","name":"angular","group":"angular","properties":{},"interpreterGroup":[{"class":"org.apache.zeppe
 
lin.angular.AngularInterpreter","name":"angular"}]},{"id":"2AWSES8Z8","name":"sh","group":"sh","properties":{},"interpreterGroup":[{"class":"org.apache.zeppelin.shell.ShellInterpreter","name":"sh"}]},{"id":"2AWTCSXEX","name":"hive","group":"hive","properties":{"hive.hiveserver2.url":"jdbc:hive2://localhost:10000","hive.hiveserver2.password":"","hive.hiveserver2.user":"hive"},"interpreterGroup":[{"class":"org.apache.zeppelin.hive.HiveInterpreter","name":"hql"}]}]}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/6f666bcd/docs/rest-api/rest-json/rest-json-interpreter-update-response.json
----------------------------------------------------------------------
diff --git a/docs/rest-api/rest-json/rest-json-interpreter-update-response.json 
b/docs/rest-api/rest-json/rest-json-interpreter-update-response.json
index e2cab9d..abaeff1 100644
--- a/docs/rest-api/rest-json/rest-json-interpreter-update-response.json
+++ b/docs/rest-api/rest-json/rest-json-interpreter-update-response.json
@@ -1 +1 @@
-{"status":"OK","message":"","body":{"id":"2AYMV9Q7N","name":"md2","group":"md","properties":{"propname":"Otherpropvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}}}
\ No newline at end of file
+{"status":"OK","message":"","body":{"id":"2AYW25ANY","name":"md2","group":"md","properties":{"propname":"Otherpropvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}]}}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/6f666bcd/docs/rest-api/rest-json/rest-json-interpreter-update.json
----------------------------------------------------------------------
diff --git a/docs/rest-api/rest-json/rest-json-interpreter-update.json 
b/docs/rest-api/rest-json/rest-json-interpreter-update.json
index 17a5b0c..4588a92 100644
--- a/docs/rest-api/rest-json/rest-json-interpreter-update.json
+++ b/docs/rest-api/rest-json/rest-json-interpreter-update.json
@@ -1 +1 @@
-{"name":"md2","group":"md","properties":{"propname":"Otherpropvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}],"option":{"remote":true}}
\ No newline at end of file
+{"name":"md2","group":"md","properties":{"propname":"Otherpropvalue"},"interpreterGroup":[{"class":"org.apache.zeppelin.markdown.Markdown","name":"md"}]}
\ No newline at end of file

Reply via email to