Parent: [4b4896] (diff)

Download this file

constants.js    25 lines (21 with data), 758 Bytes

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