added azure related code
[it/otf.git] / otf-frontend / server / src / feathers / index.js
index ad37c1b..dc4805e 100644 (file)
@@ -39,6 +39,9 @@ const appHooks = require('./app.hooks');
 const channels = require('./channels');\r
 const authentication = require('./authentication');\r
 \r
+// Azure Storage\r
+const azureStorage = require('../lib/azure-storage');\r
+\r
 // Mongoose\r
 const mongoose = require('../lib/mongoose');\r
 const _mongoose = require('mongoose');\r
@@ -104,9 +107,11 @@ app.configure(socketio(function (io) {
 //     });\r
 // });\r
 \r
+// Configure Azure storage\r
+app.configure(azureStorage);\r
+\r
 // Configure Mongoose driver before setting up services that use Mongoose\r
 app.configure(mongoose);\r
-\r
 // Set up database dependent components once the connection is ready to prevent unexpected results\r
 _mongoose.connection.on('open', (ref) => {\r
        app.configure(authentication);\r