Search in sources :

Example 21 with InterpreterSetting

use of org.apache.zeppelin.interpreter.InterpreterSetting in project zeppelin by apache.

the class NotebookServer method getInterpreterSettings.

private void getInterpreterSettings(NotebookSocket conn, AuthenticationInfo subject) throws IOException {
    List<InterpreterSetting> availableSettings = notebook().getInterpreterSettingManager().get();
    conn.send(serializeMessage(new Message(OP.INTERPRETER_SETTINGS).put("interpreterSettings", availableSettings)));
}
Also used : InterpreterResultMessage(org.apache.zeppelin.interpreter.InterpreterResultMessage) Message(org.apache.zeppelin.notebook.socket.Message) WatcherMessage(org.apache.zeppelin.notebook.socket.WatcherMessage) InterpreterSetting(org.apache.zeppelin.interpreter.InterpreterSetting)

Aggregations

InterpreterSetting (org.apache.zeppelin.interpreter.InterpreterSetting)21 Note (org.apache.zeppelin.notebook.Note)9 Test (org.junit.Test)9 Message (org.apache.zeppelin.notebook.socket.Message)7 InterpreterResultMessage (org.apache.zeppelin.interpreter.InterpreterResultMessage)6 Paragraph (org.apache.zeppelin.notebook.Paragraph)6 WatcherMessage (org.apache.zeppelin.notebook.socket.WatcherMessage)5 Map (java.util.Map)4 Path (javax.ws.rs.Path)4 JsonObject (com.google.gson.JsonObject)3 PutMethod (org.apache.commons.httpclient.methods.PutMethod)3 ZeppelinApi (org.apache.zeppelin.annotation.ZeppelinApi)3 AngularObjectRegistry (org.apache.zeppelin.display.AngularObjectRegistry)3 InterpreterException (org.apache.zeppelin.interpreter.InterpreterException)3 JsonResponse (org.apache.zeppelin.server.JsonResponse)3 JsonElement (com.google.gson.JsonElement)2 File (java.io.File)2 IOException (java.io.IOException)2 Properties (java.util.Properties)2 PUT (javax.ws.rs.PUT)2