Skip to content

Conversation

@zak-hassan
Copy link
Contributor

@zak-hassan zak-hassan commented Jul 15, 2016

What is this PR for?

Fix for ZEPPELIN-1163.

What type of PR is it?

Task

Todos

  • - change all web service parameters from notebookId to noteId. Per description provided in jira issue: "Some parameter from rest api are proper to set noteId rather than notebookId"

What is the Jira issue?

How should this be tested?

Execute on the web services or via the ui which is communicating with webservice. Delete note, etc.

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@zak-hassan
Copy link
Contributor Author

Thank you. I'll make some more updates and push fix's to these as well.

@jongyoul
Copy link
Member

@zmhassan Hi zmhassan. As I mentioned in a JIRA issue, this is in progress by @zjffdu. Could you concede? @zjffdu already contacted me for a few days ago for this issue and I asked for him to work it after I merge ZEPPELIN-1012. I hope he already worked and is waiting for merging ZEPPELIN-1012. Sorry for late reply, and duplicated works.

@zak-hassan
Copy link
Contributor Author

zak-hassan commented Jul 15, 2016

@jongyoul
Sounds good. From what I understand we have to let ZEPPELIN-1012 PR get merged before merging this one, is that correct?

@zjffdu
Is it okay if I complete this work as I've already started? As when I started no one was assigned.

@jongyoul
Copy link
Member

@zmhassan Thanks for understanding. ZEPPELIN-1012 makes a conflict and this is for beginner thus I don't want for him/her to resolve conflict. @zjffdu Thanks for understanding it.

@zak-hassan
Copy link
Contributor Author

@AhyoungRyu I've made those fix's pending in the ui and docs as well. Just wondering if its possible to trigger travis CI to run the build again as I know my last commit was WIP

@AhyoungRyu
Copy link
Contributor

@zmhassan Thanks for your effort! Since ZEPPELIN-1012 was merged, you need to resolve the conflict first. If you need help regarding rebase, please refer to this page. See number 11, 12, 13. It will be helpful to you :)

And most of notebookId that i told were updated but there are more notebookId in jobmanager.controller.js.

@zak-hassan
Copy link
Contributor Author

Thank you @AhyoungRyu I'm going to fix the rest of jobmanager.controller.js and then rebase.

@zak-hassan
Copy link
Contributor Author

@AhyoungRyu I've fixed the merge conflict and all changed are now in. Let me know if there is anything else left as I think this task is complete.

@PathParam("paragraphId") String paragraphId) throws IOException {
LOG.info("get paragraph {} {}", notebookId, paragraphId);
public Response getParagraph(@PathParam("noteId") String noteId,
@PathParam("paragraphId") String paragraphId) throws IOException {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vertical align is not recommended. Could you please revert them including the below?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zmhassan It's not fixed here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jongyoul ! Let's make sure this and all other style issues are addressed before merging

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bzz Yes, I think it's time to enforce style. :-)

@jongyoul
Copy link
Member

@zmhassan Hi, could you please check the style? Zeppelin doesn't have any strict style for now, but basically follows google's guide. Could you please check it?

@zak-hassan
Copy link
Contributor Author

Okay all done. I've committed the fix's for this issue. If there is nothing else then I think this task is complete. @jongyoul Thank you so much

throws IOException, CloneNotSupportedException, IllegalArgumentException {
LOG.info("clone notebook by JSON {}", message);
NewNotebookRequest request = gson.fromJson(message, NewNotebookRequest.class);
public Response cloneNote(@PathParam("noteId") String noteId, String message) throws
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not fixed here. throws would be located in a next line.

@jongyoul
Copy link
Member

@zmhassan You look like that you don't use formatter in your IDE. Could you please change the formatter setting fit in google style and reformat whole of files you changed?

@jongyoul
Copy link
Member

jongyoul commented Aug 3, 2016

@zmhassan Can you handle it soon?

@zak-hassan
Copy link
Contributor Author

@jongyoul Yes. Sorry I got a bit busy.

@jongyoul
Copy link
Member

jongyoul commented Aug 4, 2016

@zmhassan Sounds great.

@corneadoug
Copy link
Contributor

Hi @zmhassan do you think you will have some time to rebase this PR and fix the indent?

@asfgit asfgit closed this in c38a0a0 May 9, 2018
asfgit pushed a commit that referenced this pull request May 9, 2018
close #83
close #86
close #125
close #133
close #139
close #146
close #193
close #203
close #246
close #262
close #264
close #273
close #291
close #299
close #320
close #347
close #389
close #413
close #423
close #543
close #560
close #658
close #670
close #728
close #765
close #777
close #782
close #783
close #812
close #822
close #841
close #843
close #878
close #884
close #918
close #989
close #1076
close #1135
close #1187
close #1231
close #1304
close #1316
close #1361
close #1385
close #1390
close #1414
close #1422
close #1425
close #1447
close #1458
close #1466
close #1485
close #1492
close #1495
close #1497
close #1536
close #1545
close #1561
close #1577
close #1600
close #1603
close #1678
close #1695
close #1739
close #1748
close #1765
close #1767
close #1776
close #1783
close #1799
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants