X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=otf-frontend%2Fserver%2Fsrc%2Ffeathers%2Findex.js;h=dc4805e4a46691e6523a84cf9ab41dc165830a7d;hb=cf067bb8bd9b45e79a85e9612a0f4c5abeb727b8;hp=ad37c1b747a65087077407633a46ac67b1564214;hpb=596b1d89c5f63170ed40abb6f7b9395178c5e44e;p=it%2Fotf.git diff --git a/otf-frontend/server/src/feathers/index.js b/otf-frontend/server/src/feathers/index.js index ad37c1b..dc4805e 100644 --- a/otf-frontend/server/src/feathers/index.js +++ b/otf-frontend/server/src/feathers/index.js @@ -39,6 +39,9 @@ const appHooks = require('./app.hooks'); const channels = require('./channels'); const authentication = require('./authentication'); +// Azure Storage +const azureStorage = require('../lib/azure-storage'); + // Mongoose const mongoose = require('../lib/mongoose'); const _mongoose = require('mongoose'); @@ -104,9 +107,11 @@ app.configure(socketio(function (io) { // }); // }); +// Configure Azure storage +app.configure(azureStorage); + // Configure Mongoose driver before setting up services that use Mongoose app.configure(mongoose); - // Set up database dependent components once the connection is ready to prevent unexpected results _mongoose.connection.on('open', (ref) => { app.configure(authentication);