Mike Gerwitz
445783c256
This was a bit involved because the system had to be made async all the way up the stack. No attempt was made to clean up the mess up the stack---no time. * src/dapi/DataApiFactory.js (fromType): [BC BREAK] Fix docblock. Add `api_name' param. Call `#descLookup' and return promise. (descLookup): Add method. Return promise resolving to provided descriptor. Intended to be overridden by subtype. * src/dapi/DataApiManager.js (_dataApis): Update docblock to indicate that it now stores promises. (getApiData): Expect promise for `DataApiFactory#fromType' call. * src/server/DocumentServer.js: (create): [BC BREAK] Accept configuration. Look up dapi conf and pass to `ServerDataApiFactory' ctor. Return promise. * src/server/daemon/Daemon.js (_initRouters): Provide configuration. * src/server/daemon/controller.js (init): Accept configuration. Handle return of promise from `_createDocumentServer'. (_createDocumentServer): Accept configuration, providing to `DocumentServer#create'. Because of aforementioned change to `#create', returns promise. * src/server/request/ServerDataApiFactory.js: Add StoreMissError import. (_conf): Add property. (constructor): [BC BREAK] Accept configuration. (descLookup): Add override. Look up configuration for provided dapi. |
||
---|---|---|
bin | ||
build-aux | ||
conf | ||
doc | ||
src | ||
test | ||
tools | ||
.gitignore | ||
.gitlab-ci.yml | ||
COPYING | ||
COPYING.AGPL | ||
Makefile.am | ||
README.hacking | ||
README.md | ||
autogen.sh | ||
configure.ac | ||
index.js | ||
npm-shrinkwrap.json | ||
package.json.in | ||
yarn.lock |
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
.