orator 3.0.6 → 3.0.8
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 +10 -6
- package/dist/orator.js +5170 -1025
- package/dist/orator.min.js +6 -104
- package/dist/orator.min.js.map +1 -1
- package/package.json +3 -4
- package/source/Orator-ServiceServer-Base.js +160 -0
- package/source/Orator-ServiceServer-IPC.js +1 -1
- package/source/Orator.js +3 -16
- package/test/Orator_basic_tests.js +16 -14
package/debug/Harness.js
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
// Load the orator module with a few simple routes
|
|
2
2
|
const libOrator = require(__dirname+'/../source/Orator.js');
|
|
3
|
+
const libFable = require('fable');
|
|
4
|
+
|
|
5
|
+
let _Fable = new libFable({
|
|
6
|
+
"Product": "HarnessService",
|
|
7
|
+
"ProductVersion": "1.2.3",
|
|
8
|
+
|
|
9
|
+
"APIServerPort": 8888
|
|
10
|
+
});
|
|
11
|
+
|
|
3
12
|
// Uncomment the following line to test the restify server plug-in
|
|
4
13
|
// > make sure to run "npm i orator-serviceserver-restify" from the parent directory first so the package is available
|
|
5
14
|
// > please don't --save it!
|
|
6
15
|
const libOratorServiceServerRestify = require('orator-serviceserver-restify');
|
|
7
16
|
|
|
8
17
|
const tmpServiceServer = new libOrator(
|
|
9
|
-
|
|
10
|
-
"Product": "HarnessService",
|
|
11
|
-
"ProductVersion": "1.2.3",
|
|
12
|
-
|
|
13
|
-
"APIServerPort": 8080
|
|
14
|
-
}
|
|
18
|
+
_Fable
|
|
15
19
|
// Uncomment the next line to enable restify!
|
|
16
20
|
,libOratorServiceServerRestify
|
|
17
21
|
);
|