fix(@embark/cockpit): make cockpit start again

Most of the components don't work, but it starts
This commit is contained in:
Jonathan Rainville 2019-08-19 11:18:59 -04:00 committed by Iuri Matias
parent 5736dc9498
commit 253cb9ed6e
2 changed files with 8 additions and 1 deletions

View File

@ -174,6 +174,7 @@ class EmbarkController {
engine.registerModuleGroup("filewatcher");
engine.registerModuleGroup("storage");
engine.registerModuleGroup("communication");
engine.registerModuleGroup("cockpit");
engine.registerModulePackage('embark-deploy-tracker', {plugins: engine.plugins});
engine.events.on('deployment:deployContracts:afterAll', () => {

View File

@ -86,7 +86,8 @@ class Engine {
"storage": this.storageComponent,
"communication": this.communicationComponents,
"filewatcher": this.filewatcherService,
"tests": this.testComponents
"tests": this.testComponents,
cockpit: this.cockpitModules
};
let group = groups[groupName];
@ -367,6 +368,11 @@ class Engine {
this.registerModulePackage('embark-api', {plugins: this.plugins});
}
cockpitModules() {
this.registerModulePackage('embark-authenticator', {singleUseAuthToken: this.singleUseAuthToken});
this.registerModulePackage('embark-api', {plugins: this.plugins});
}
webServerService() {
this.registerModulePackage('embark-webserver');
}