1
0
Fork 0
Data collection, validation, and processing framework for JavaScript [archive]
 
 
 
 
 
 
Go to file
Mike Gerwitz 2045c76f7e Integrate Store into DataValidator, ValidStateMonitor
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
2017-01-29 22:44:27 -05:00
doc Added placeholder files for Texinfo documentation 2014-01-16 23:35:45 -05:00
src Integrate Store into DataValidator, ValidStateMonitor 2017-01-29 22:44:27 -05:00
test Integrate Store into DataValidator, ValidStateMonitor 2017-01-29 22:44:27 -05:00
tools ECMAScript 3 compatibility fixes 2015-05-31 23:51:08 -04:00
.gitignore Ignore dist files 2016-03-30 14:16:23 -04:00
.travis.yml Initial Travis CI configuration 2014-01-17 14:00:26 -05:00
COPYING Placeholder README.md and license 2014-01-16 11:44:02 -05:00
Makefile.am Use node --harmony-destructuring when available 2017-01-27 11:08:39 -05:00
README.hacking Add npm instructions for developers 2016-03-29 14:33:32 -04:00
README.md Relocate README.md license 2016-03-29 14:28:11 -04:00
autogen.sh autogen.sh added 2016-03-29 14:27:07 -04:00
configure.ac Use node --harmony-destructuring when available 2017-01-27 11:08:39 -05:00
index.js Build now generates index.js modules 2014-04-18 10:03:40 -04:00
package.json.in Add chai-as-promised 2017-01-03 09:11:18 -05:00

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.