Skip to content

[ZEPPELIN-3733] Refactor Notebook* classes to remove circular dependencies and several listeners#3159

Closed
jongyoul wants to merge 10 commits intoapache:masterfrom
jongyoul:ZEPPELIN-3733
Closed

[ZEPPELIN-3733] Refactor Notebook* classes to remove circular dependencies and several listeners#3159
jongyoul wants to merge 10 commits intoapache:masterfrom
jongyoul:ZEPPELIN-3733

Conversation

@jongyoul
Copy link
Member

@jongyoul jongyoul commented Aug 22, 2018

What is this PR for?

Decoupling Notebook* classes as they depend each others. it makes circular dependencies, and it bothers that contributors understand code.

What type of PR is it?

[Refactoring]

Todos

  • - Task

What is the Jira issue?

How should this be tested?

CI passes

Screenshots (if appropriate)

Questions:

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

@jongyoul jongyoul force-pushed the ZEPPELIN-3733 branch 3 times, most recently from 8240027 to ba37808 Compare August 30, 2018 06:44
@jongyoul jongyoul force-pushed the ZEPPELIN-3733 branch 2 times, most recently from ea3172c to 47e3e26 Compare September 12, 2018 01:59
Squashed commits:
[807e286] Fix tests
[3b6ad26] Fix style
Remove unused code
[2dc0946] Fix style
[7e96118] Remove unused code
[472696d] Remove unused code
[0ff6bdb] Change `ParagraphJobListener` from a parameter of constructor to setter
Add code to enable `NotebookService` to set `ParagraphJobListener` into `Notebook`
Add code to inject `NotebookServer` to `NotebookService`
Add conservative logic to prepare the case where `ParagraphJobListener` is null
[e97e165] Fix `NotebookServerTest`
[1eccc3c] Change scopes for some bound classes
[4c662c9] Add more injection code in NotebookRestApi
Bind `NotebookAuthorization` and `NotebookService`
Provide `getInstance()` of `ConfigurationService` and `NotebookService` to let `NotebookServer` call them
@jongyoul jongyoul changed the title [WIP][ZEPPELIN-3733] Refactor Notebook* classes to remove circular dependencies and several listeners [ZEPPELIN-3733] Refactor Notebook* classes to remove circular dependencies and several listeners Sep 12, 2018
@jongyoul
Copy link
Member Author

Ready to review. This PR is for refactoring only. It doesn't change any behavior at all. I'll merge if this PR passes CI correctly.

@asfgit asfgit closed this in d37cc1b Sep 14, 2018
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.

1 participant