orator-serviceserver-restify 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/debug/Harness.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orator-serviceserver-restify",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Restify Service Server for Orator",
|
|
5
5
|
"main": "source/Orator-ServiceServer-Restify.js",
|
|
6
6
|
"scripts": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"restify": "^11.1.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"fable": "^3.0.
|
|
50
|
-
"orator": "^4.0.
|
|
51
|
-
"quackage": "^1.0.
|
|
49
|
+
"fable": "^3.0.112",
|
|
50
|
+
"orator": "^4.0.3",
|
|
51
|
+
"quackage": "^1.0.28"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
const libOratorServiceServerBase = require('orator-serviceserver-base');
|
|
2
2
|
const libRestify = require('restify');
|
|
3
3
|
|
|
4
|
+
const _DefaultRestifyConfiguration =
|
|
5
|
+
{
|
|
6
|
+
maxParamLength: Number.MAX_SAFE_INTEGER,
|
|
7
|
+
};
|
|
4
8
|
class OratorServiceServerRestify extends libOratorServiceServerBase
|
|
5
9
|
{
|
|
6
10
|
constructor(pFable, pOptions, pServiceHash)
|
|
@@ -9,8 +13,11 @@ class OratorServiceServerRestify extends libOratorServiceServerBase
|
|
|
9
13
|
|
|
10
14
|
this.ServiceServerType = 'Restify';
|
|
11
15
|
|
|
12
|
-
let tmpRestifyConfiguration = (this.options.hasOwnProperty('RestifyConfiguration')) ? this.options.RestifyConfiguration :
|
|
13
|
-
|
|
16
|
+
let tmpRestifyConfiguration = (this.options.hasOwnProperty('RestifyConfiguration')) ? this.options.RestifyConfiguration :
|
|
17
|
+
(this.fable.settings.hasOwnProperty('RestifyConfiguration')) ? this.fable.settings.RestifyConfiguration :
|
|
18
|
+
{};
|
|
19
|
+
|
|
20
|
+
this.server = libRestify.createServer(Object.assign({}, _DefaultRestifyConfiguration, tmpRestifyConfiguration));
|
|
14
21
|
}
|
|
15
22
|
|
|
16
23
|
/*
|