cirruswave-j2m
Version:
79 lines (78 loc) • 2.64 kB
JSON
{
"about": {
"faviconurl": "/images/bridge.png",
"imageurl": "/sampleservice/images/bridge.png",
"name": "SampleService",
"url": "/documentation",
"description": "Sample services provided as documentation"
},
"logenable":{
"eshostname":"http://localhost"
},
"services": {
"sampleservice": {
"init":{
"class": "sampleservice.js",
"function": "initialize"
},
"protocol": "https",
"port": 8888,
"hostname": "localhost",
"certPath": "security/sampleservice",
"description": "REST END POINT For Sample Service with no security restrictions",
"configfilepath": "./appconfig.json",
"security": "nokey"
},
"sampleserviceappkey": {
"protocol": "https",
"port": 8889,
"hostname": "localhost",
"certPath": "security/sampleservice",
"description": "REST END POINT For Sample Service that uses appkey that can be specified at the time of deployment or will be autogenerated",
"configfilepath": "./appkeyconfig.json",
"security": "appkey",
"key": "c82b3b0d9eae07a481e9651c6854c3b6"
},
"sampleservicebasic": {
"protocol": "https",
"port": 9997,
"hostname": "localhost",
"certPath": "security/sampleservice",
"description": "REST END POINT For Sample Service with user specfic keys generated by keymgr service and uses http basic acess authentication protocol",
"configfilepath": "./acckeyconfig.json",
"security": "basic"
},
"sampleserviceacckey": {
"protocol": "https",
"port": 9998,
"hostname": "localhost",
"certPath": "security/sampleservice",
"description": "REST END POINT For Sample Service with user specific keys using custom HMAC based authentication",
"configfilepath": "./acckeyconfig.json",
"security": "accesskey"
},
"sampleservicejwt": {
"protocol": "https",
"port": 9999,
"hostname": "localhost",
"certPath": "security/sampleservice",
"description": "REST END POINT For Sample Service with JWT",
"configfilepath": "./acckeyconfig.json",
"security": "jwt",
"jwtexternal": true,
"validatescope": {
"class": "sampleservice.js",
"function": "ssvalidateservice"
}
},
"taskserver": {
"protocol": "https",
"port": 9600,
"hostname": "localhost",
"certPath": "security/taskserver",
"description": "REST Endpoint for workflow service. Not secure and is only for testing purposes",
"configfilepath": "./taskserver.json",
"security": "nokey"
}
}
}