Mike Gerwitz
2045c76f7e
ValidStateMonitor now uses a Store in place of the original primitive object-based diff format. The original format is translated by DataValidator. The code is in a transitional state, and considering the amount of time we spend on various areas of this project, will likely stay this way for a while. * src/validate/DataValidator.js (__construct): Accept Store factory parameter. (_store_factory): Add field. (_createStores): Add method. (_validate): Handle Store. (updateFailures): Add method. (_populateStore): Add method. * test/validate/DataValidatorTest.js: Add tests. * src/validate/ValidStateMonitor.js (update): Enforce Store diff. Wait to process failures until fixes are calculated. (_checkFailureFix): Handle asynchronous, Promise-based diff. (_checkCauseFix): Extract logic from _checkCauseFix. * test/validate/ValidStateMonitorTest.js: Modify test cases to be Promise-based and handle async calls where appropriate. That was a friggin' expensive mess. DEV-2296 |
||
---|---|---|
doc | ||
src | ||
test | ||
tools | ||
.gitignore | ||
.travis.yml | ||
COPYING | ||
Makefile.am | ||
README.hacking | ||
README.md | ||
autogen.sh | ||
configure.ac | ||
index.js | ||
package.json.in |
README.md
Liza Data Collection Framework
Liza is a data collection, validation, and processing framework for JavaScript.
This project is under active development; please check back later as we make it available.
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 LoVullo Associates for collecting, validating, and processing large amounts of user input for insurance quoting. As existing code is refactored or its design improved upon, it will begin its life as part of Liza; please be patient as the entire core framework makes its way into this repository and others.
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.
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.
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 license is available in COPYING
.