You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2021/02/25 08:55:45 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #4061: [ZEPPELIN-5262] Add feature 'rename note' for Zeppelin Client

zjffdu commented on a change in pull request #4061:
URL: https://github.com/apache/zeppelin/pull/4061#discussion_r582651282



##########
File path: zeppelin-client-examples/src/main/java/org/apache/zeppelin/client/examples/ZeppelinClientExample.java
##########
@@ -41,6 +41,9 @@ public static void main(String[] args) throws Exception {
       noteId = zClient.createNote(notePath);
       System.out.println("Created note: " + noteId);
 
+      zClient.renameNote(noteId, notePath + "_rename");
+      System.out.println("Rename note: " + noteId + " to " + notePath + "_rename ");

Review comment:
       Use getNote to verify the rename operation is successful




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org