Document toolboxDocument toolbox

Node.js Configuration Object Format

JSON Format
{
	"authDal" : "../models/auth-dal",
	"esbProtocol" : "http",
	"esbHost" : "",
	"esb2Host": "",
	"sqlOptions" : {
		"user": "",
	    "password": "",
	    "server": "",
	    "database": "",
  		"pool": {
	        "max": 10,
	        "min": 0,
	        "idleTimeoutMillis": 30000
    	},
	    "options": {
	        "encrypt": false
	    }
	},
	"jsonValidator" : {
		"schemaPath" : "../jsonSchemas"
	},
	"defaultToMobility": false,
	"assets" : {
		"path" : ""	
	},
	"secure" :false,
	"subapps" : {
		"nexus" : {
			"enabled" : true,
			"authenticate" : false,
			"url" : "/nexus",
			"module" : "./subapps/nexus/nexus-app",
			"srcPath" : null
		},
		"mobility" : {
			"enabled" : true,
			"authenticate" : false,
			"url" : "/mobility",
			"module" : "./routes/mobile/mobility-route",
			"srcPath" : null
		},
		"ops" : {
			"enabled" : true,
			"authenticate" : true,
			"url" : "/ops",
			"module" : "./subapps/ops/ops-app"
		},
		"broker" : {
			"enabled" : true,
			"authenticate" : true,
			"url" : "/broker",
			"module" : "./subapps/broker/broker-app"
		},
		"oaas" : {
			"enabled" : true,
			"authenticate" : true, 
			"url" : "/seiapi/v4/oaas",
			"module" : "./subapps/oaas/oaas-app"	
		}
	},
	"certs" : {
		"key": "",
	  	"cert": "",
	  	"passphrase": "",
	  	"ca1" : "",
		"ca2" : ""	
	},
	"port" : 3000,
	"redirectPort" : 3001,
	"monitors" : {
		"webSockets" : {
			"auto" : true,
			"uri" : "wss://localhost:61614"
		}	
	},
	"jwtSecret" : "",
	"jwtExpirationInMinutes" : 129600,
	"mocha" : {
		"customerid" : "",
		"customercode" : "",
		"url" : "http://localhost:3000/seiapi/v3"
	},
	"ServiceOps" : {
		"userName" : "__serviceops__",
		"entityID" : "00000000-0000-0000-0000-000000000000",
		"permissions" : ["user:read"]
	},
	"aws" : {
		"akid" : "",
		"secret" : ""
	},
	"authMock" : {
		"users" : {
			"testuser" : {
				"UserName" : "testuser",
				"entityID" : "",
				"WorkCenterID" : "",
				"DGroupID" : "Defalut",
				"IsLockedOut" : false,
				"pass" : "test",
				"roles" : ["admin"],
				"permissions" : []
			}
		}
	}
}