-
Notifications
You must be signed in to change notification settings - Fork 0
/
appconfig.js
64 lines (64 loc) · 2 KB
/
appconfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"use strict";
var appconfig = appconfig || {},
fs = require('fs');
(function (config) {
config.Configurations = {
Url: 'http://192.168.54.207/v1/', //'http://192.168.56.102:8080/v1',
WSUrl: 'ws://192.168.54.207/',
Authorization: 'Basic ' + new Buffer('F1BA60FDFDB80504FF15' + ':' + 'wpLWzyahut2pWyJ9dCj3YikWfU987ch7A4K34tAg').toString('base64'),
Database: {
host: '192.168.54.206', user: 'root', password: 'password', database: 'CaaS_DEVDB_latest', multipleStatements: true
},
API: {
HOST: 'localhost',
PORT_HTTP: 8087,
PORT_HTTPS: 12345,
Domain:null,
IsSSLEnabled: false,
SSL_Certificate: {
/*pfx: fs.readFileSync('dockerservice.pfx'),
passphrase: '1234',*/
rejectUnauthorized: false,
key:fs.readFileSync('caas.key'),
cert:fs.readFileSync('ServerCertificate.crt'),
passphrase:'_J0HnNy_Gon3-M@D_'
}
},
APIPath: '/api/v1',
version: 'v1',
GitHubAPI: {
Url: 'https://api.github.com'
},
CIServerAPI: {
URL: 'http://192.168.54.205:8080',
fullurl: 'http://admin:ab932bcf78150d0ee6211586b03ee380@192.168.54.205:8080',
Authorization: 'Basic ' + new Buffer('admin' + ':' + 'ab932bcf78150d0ee6211586b03ee380').toString('base64'),
},
OpenStackAPI: {
TokenParamters: {
"auth": {
"tenantName": "admin",
"passwordCredentials": {
"username": "admin",
"password": "password"
}
}
},
IdentityURL: 'http://192.168.54.102:35357/v2.0'
},
GitHubUrl: 'https://github.com/login/oauth/access_token?client_id=66237e95c6686b587886&client_secret=cb4fb3e37be51386390320062d637cfd68d8d83c&code=%s',
EmailSettings: {
user: 'mahendran.m@prodapt.com',
password: 'Ammu@123',
host: 'exchange.prodapt.com',
domain: 'prodapt',
ssl: false,
port: 25,
timeout: 15000,
url: 'http://192.168.54.215/'
},
ResetPasswordURL: 'http://localhost:8087/resetpassword?reset_id=',
MongoDB: 'mongodb://admin:password@192.168.54.171:27017/caasdaemondb'
};
}(appconfig));
module.exports = appconfig;