Github user swakrish commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/614#issuecomment-172234126
  
    @bzz Yes i was thinking of opening a different PR for that since this 
address just REST calls. I have a tested code base for modifying web socket too
    Let me know if creating a separate PR doesnt make sense ?
    snippet:
    protected Note importNote(NotebookSocket conn, Notebook notebook, Message 
fromMessage)
          throws IOException {
        Note note = null;
        if (fromMessage != null) {
          String noteName = (String) ((Map) 
fromMessage.get("notebook")).get("name");
          String noteJson = gson.toJson(fromMessage.get("notebook"));
          note = notebook.importNote(noteJson, noteName);
          note.persist();
          broadcastNote(note);
          broadcastNoteList();
        }
        return note;
      }


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to