Switch to unified view

a/constants.js b/constants.js
...
...
2
2
3
'use strict';
3
'use strict';
4
4
5
var path = require('path');
5
var path = require('path');
6
module.exports.FRONTEND_PATH = path.normalize(__dirname + '/frontend');
6
module.exports.FRONTEND_PATH = path.normalize(__dirname + '/frontend');
7
module.exports.BACKEND_PATH = path.normalize(__dirname + '/frontend');
7
module.exports.BACKEND_PATH = path.normalize(__dirname + '/frontend');
8
9
//testing paths
10
module.exports.ROUTES = {
11
  v0: {
12
      GET: {
13
          GETVAPPS            : "/api/vf-os-enabler/v0/getApps",
14
          GETRULES            : "/api/vf-os-enabler/v0/getRules",
15
          GETNOTIFICATIONS    : "/api/vf-os-enabler/v0/getNotifications",
16
          GETSTATISTICS       : "/api/vf-os-enabler/v0/getStatistics"
17
      },
18
      POST:{
19
          REGISTERVAPP        : "/api/vf-os-enabler/v0/register",
20
          CREATERULES         : "/api/vf-os-enabler/v0/notification/rules",
21
          CREATENOTIFICATIONS : "/api/vf-os-enabler/v0/notifications"
22
      }
23
  }
24
}