Skip to content

Commit

Permalink
Merge pull request #44 from Psychopoulet/develop
Browse files Browse the repository at this point in the history
change init order
  • Loading branch information
Psychopoulet committed Mar 26, 2020
2 parents 4e8cb55 + 9adede7 commit 2f17933
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions lib/components/Orchestrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@ module.exports = class Orchestrator extends MediatorUser {

});

}).then(() => {

return this._initWorkSpace(...data);

// init Server (before Mediator)
}).then(() => {

Expand All @@ -498,10 +502,6 @@ module.exports = class Orchestrator extends MediatorUser {

return this._Mediator.init(...data);

}).then(() => {

return this._initWorkSpace(...data);

}).then(() => {

this.initialized = true;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-pluginsmanager-plugin",
"version": "4.2.2",
"version": "4.2.3",
"description": "An abstract parent plugin for node-pluginsmanager",
"main": "lib/main.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -39,7 +39,7 @@
"express-openapi-validate": "~0.5.0"
},
"devDependencies": {
"@types/node": "~13.9.0",
"@types/node": "~12.12.31",
"@types/ws": "~7.2.1",
"@types/socket.io": "~2.1.4",
"check-version-modules": "~1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion test/utils/DescriptorUser/Descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.2",
"info": {
"title": "node-pluginsmanager-plugin",
"version": "4.2.2",
"version": "4.2.3",
"description": "An abstract parent plugin for node-pluginsmanager",
"contact": {
"name": "Sébastien VIDAL",
Expand Down

0 comments on commit 2f17933

Please sign in to comment.