ZEPPELIN-511 REST API: Insert / Retrieve / Move / Delete operation for paragraph#550
ZEPPELIN-511 REST API: Insert / Retrieve / Move / Delete operation for paragraph#550HeartSaVioR wants to merge 4 commits intoapache:masterfrom
Conversation
|
Thanks for adding really useful REST APIs! |
There was a problem hiding this comment.
This variable should be p2
|
@HeartSaVioR few more things I think you should do a clean up as well after every test case execution Also when I run this, line 538; it returns Which i think is also not appropriate. Since, this was an invalid operation (total nos of paragraph = 2). This should have either returned some error, or should have moved 1st paragraph to the last location. |
There was a problem hiding this comment.
This should be also post2.
There was a problem hiding this comment.
Thanks for finding, will fix.
|
@prabhjyotsingh |
|
Upmerged. Please take a look again, thanks! |
|
Done with another upmerge. |
|
Looks good to me. |
|
Would you mind to do rebase than merge? It will be easier to keep track who has credits on merged code. |
…r paragraph * implements 4 REST APIs about the paragraph * Added unit test to test this features Conflicts: zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinRestApiTest.java
* also change http status code to 201 CREATED
Conflicts: zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
d4425fb to
59f5f61
Compare
|
@minahlee No problem. Rebased via creating new branch, cherry-pick, and reset branch's head. |
|
@HeartSaVioR Thanks for quick response. LGTM |
|
LGTM. Merging it into master |
What is this PR for?
This issue is intended to fill gap between REST API and WebSocket operations.
For now we can only access notebook and paragraph to READONLY (not writing) via REST API but after this PR, we can insert / retrieve / move / delete paragraph via REST API.
What type of PR is it?
Feature
Todos
Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-511
How should this be tested?
Please follow the explanation of added REST APIs from rest-notebook.md.
Screenshots (if appropriate)
Questions: