mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Update zeppelin server and add NotebookRepo rest api to the singleton
This commit is contained in:
parent
f7c7bf235d
commit
30d29cd5e7
1 changed files with 8 additions and 0 deletions
|
|
@ -73,8 +73,13 @@ public class ZeppelinServer extends Application {
|
|||
|
||||
private SchedulerFactory schedulerFactory;
|
||||
private InterpreterFactory replFactory;
|
||||
<<<<<<< HEAD
|
||||
private NotebookRepo notebookRepo;
|
||||
private SearchService noteSearchService;
|
||||
=======
|
||||
private NotebookRepoSync notebookRepo;
|
||||
private SearchService notebookIndex;
|
||||
>>>>>>> Update zeppelin server and add NotebookRepo rest api to the singleton
|
||||
private NotebookAuthorization notebookAuthorization;
|
||||
private Credentials credentials;
|
||||
private DependencyResolver depResolver;
|
||||
|
|
@ -308,6 +313,9 @@ public class ZeppelinServer extends Application {
|
|||
= new NotebookRestApi(notebook, notebookWsServer, noteSearchService);
|
||||
singletons.add(notebookApi);
|
||||
|
||||
NotebookRepoRestApi notebookRepoApi = new NotebookRepoRestApi(notebookRepo, notebookWsServer);
|
||||
singletons.add(notebookRepoApi);
|
||||
|
||||
HeliumRestApi heliumApi = new HeliumRestApi(helium, heliumApplicationFactory, notebook);
|
||||
singletons.add(heliumApi);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue