You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Eran W (JIRA)" <ji...@apache.org> on 2015/10/03 20:00:27 UTC

[jira] [Created] (ZEPPELIN-333) Add notebook REST API for create, delete and clone operations

Eran W created ZEPPELIN-333:
-------------------------------

             Summary: Add notebook REST API for create, delete and clone operations
                 Key: ZEPPELIN-333
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-333
             Project: Zeppelin
          Issue Type: Improvement
            Reporter: Eran W
            Assignee: Eran W


Based on community request the goal of this issue is to add REST API for notebook create, delete and clone operations.
This will be done by adding the appropriate functions to the existing NotebookRestApi class.

NotebookRestAPI class already has access to Notebook zengine class in the constructor
public NotebookRestApi(Notebook notebook) {
    this.notebook = notebook;
  }
So implementation is just involving exposing the following methods:
createNote
removeNote

cloneNote is implemented in the NotebookServer class and not in the notebook zengine class. to make sure implementation is the same for socket API and REST API, we will refactor zengine notebook class to implement the clone operation and call on this method by both REST and Socket API.

Any comments are welcome.
 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)