1
0
Fork 0
Data collection, validation, and processing framework for JavaScript [archive]
 
 
 
 
 
 
Go to file
Mike Gerwitz 985819c31b [BC BREAK] bin/server.js and associated changes
This is based (very) loosely on an internal script to start the
daemon.  It accepts a configuration and starts the daemon.

To accommodate the configuration, a number of miscellaneous changes
have been made.

The vanilla configuration shows the concept, but it has not yet been
fully implemented; that'll likely happen at a later date.  Until then,
the existing environment-variable-based configuration will be used.

* bin/server.js: Add file.
* conf/vanilla-server.json: Example configuration added.
* src/server/daemon/Daemon.js (_httpPort): Remove field.
  (_conf): Add field.
  (__construct): [BC BREAK] Accept conf instead of port and log
    priority.  Move initialization code into `start'.
  (start): [BC BREAK] Initialization code moved here.  Now returns
    promise for entire daemon, which will error in the event of an
    error starting.  Move existing code into `_startDaemon'.
  (_startDaemon): Old `start' code.  Invoked after `start'
    initialization.
  (_createDebugLog, _createAccessLog): Use configuration.  Return
    promise.
  (_initHttpServer): Use configuration.
  (_httpError): Add function to output error and exit.  Extracted from
    `_initHttpServer'.
* src/server/daemon/scripts.js: [BC BREAK] Append "program/" to
    `LV_LEGACY_PATH' so that it can be re-used for script lookups
    rather than using the cwd.  This removes the need of the cwd being
    the legacy src path.
2017-08-29 14:56:10 -04:00
bin [BC BREAK] bin/server.js and associated changes 2017-08-29 14:56:10 -04:00
build-aux Generate version number from git state 2017-08-15 15:18:21 -04:00
conf [BC BREAK] bin/server.js and associated changes 2017-08-29 14:56:10 -04:00
doc doc/Makefile.am (liza_TEXINFOS): Add missing license.texi 2017-06-29 11:01:23 -04:00
src [BC BREAK] bin/server.js and associated changes 2017-08-29 14:56:10 -04:00
test Add DelimitedKey Store trait 2017-08-29 14:34:40 -04:00
tools LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
.gitignore Generate version number from git state 2017-08-15 15:18:21 -04:00
.gitlab-ci.yml Only publish GitLab pages for tags 2017-08-23 14:29:51 -04:00
COPYING Placeholder README.md and license 2014-01-16 11:44:02 -05:00
COPYING.AGPL Near-complete liberation of liza 2017-06-08 14:38:28 -04:00
Makefile.am LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
README.hacking LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
README.md README.md: Add all compiled doc formats 2017-08-23 15:35:03 -04:00
autogen.sh LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
configure.ac Generate version number from git state 2017-08-15 15:18:21 -04:00
index.js LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
npm-shrinkwrap.json Add lock files for npm and yarn 2017-06-08 14:57:49 -04:00
package.json.in Add missing mongodb dependency 2017-06-20 14:17:03 -04:00
yarn.lock Add missing mongodb dependency 2017-06-20 14:17:03 -04:00

README.md

Liza Data Collection Framework

Liza is a data collection, validation, and processing framework for JavaScript.

About

The Liza Data Collection Framework—"Liza" for short—is an effort to clean up, formalize, and expand upon a framework that was developed at RT Specialty / LoVullo for collecting, validating, and processing large amounts of user input for insurance quoting.

Configuring

If your distribution does not contain a `configure' file in the project root, then you likely have the sources as committed to the project repository; you may generate the script by issuing the following command:

  $ ./autogen.sh

You may then see ./configure --help for more information.

Documentation

Compiled documentation for the latest release is available via our GitLab mirror, which uses the same build pipeline as we do on our internal GitLab instance. Available formats are:

License

Liza is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The liza server is licensed differently: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The full licenses are available in COPYING and COPYING.AGPL.