1
0
Fork 0
Commit Graph

32 Commits (1aa51775f3d4b794b256574500c0d9aa708f4688)

Author SHA1 Message Date
Austin Schaffer e81516ca80 [DEV-6721] Add optional code coverage 2020-01-31 15:57:33 -05:00
Austin Schaffer abf76beac6 Update avro and prometheus dependencies 2019-12-13 09:50:50 -05:00
Austin Schaffer ad9e66c83e [DEV-5312] Add delta-processor to bin 2019-12-12 12:38:17 -05:00
Austin Schaffer e3dded760d [DEV-5312] Define document meta data and restructure message writer.
Add better tests for message writer
2019-12-12 10:27:09 -05:00
Austin Schaffer faa7e15760 [DEV-5312] Add signal handling and prometheus monitoring 2019-11-22 16:37:57 -05:00
Austin Schaffer 309585cf6e [DEV-5312] Set processed flag 2019-11-13 12:04:27 -05:00
Austin Schaffer c5733d1dff [DEV-5312] Add interface for amqp publisher and implement a delta publisher 2019-11-12 17:04:54 -05:00
Mike Gerwitz 11c2bcb9b1 configure (TS_NODE_VERSION): Make configurable
Apparently @types/node is not always available for the current node version...
2019-11-08 13:05:34 -05:00
Mike Gerwitz 2bdcacd11f package.json.in: @types/node: Use installed node version
This will ensure that the right API version is installed.
2019-11-07 16:24:19 -05:00
Mike Gerwitz 365fe702cf typescript v3.{6=>7} upgrade 2019-11-07 16:24:18 -05:00
Mike Gerwitz 9eb5d6c118 package.json.in: Restrict chai-as-promised and add @types
* package.json.in (devDependencies)[chai-as-promised]: Restrict version.
    [@types/chai-as-promised]: Add and restrict to same version.  Otherwise,
      there is a typescript incompatibility.
2019-10-17 11:47:14 -04:00
Mike Gerwitz 18e86ebfe7 TokenDao: Add test and further refine types
This tests the existing state of TokenDao before additional modifications
are made.  This commit also further refines the types introduced in a
previous commit.

This is also the first test written in Typescript.

* package.json.in (devDependencies): Add node, chai, and mocha types.
* src/server/token/TokenDao.ts (updateToken): `data` accepts null (as it
    should).  Do not conditionall add data to object (it doesn't matter for
    later retrieval).  Note nondeterminism with date.  More concise syntax
    for object fields.
* src/server/token/TokenQueryResult.ts: Make all fields readonly.
  (TokenStatus): Date is no longer optional (see above mention).
* src/types/mongodb.d.ts: Remove generics (erroneously added).
  (Collection)[update]: Remove 3-argument declaration (see comment).
* test/server/token/TokenDaoTest.ts: New test case.
2019-10-17 11:47:14 -04:00
Mike Gerwitz bacefb0752 Build typescript files
* .gitignore (tsconfig.tsbuildinfo): Ignore generated file (used for
    incremental builds).
* Makefile.am (tsout): New variable an recipe.
  (modindex, check): Depend on tsout.
* dummy.ts: New (temporary) file.  Will be removed once we have at least one
  ts file.
* npm-shrinkwrap.json: Update.
* package.json.in (devDependencies)[typescript]: New dependency.
* tsconfig.json: New configuration file.
2019-10-17 11:47:14 -04:00
Herbert Burzlaff c36bc5a42f
DEVOPS-151: Updating mongodb nodejs driver to 1.2.14 2019-05-07 20:03:15 +00:00
Mike Gerwitz c92cab4044 package.json (dependencies)[amqplib]: Add
This should have been in the previous commit.
2019-03-21 14:56:26 -04:00
Mark Goldsmith 04565a6559 [DEV-4452] Accordion margin applies to collapsable header only 2019-03-01 10:02:39 -05:00
Mike Gerwitz d1d2c4e5c9 Update package.json license to {=>A}GPLv3+
Server code is AGPLv3+, client/general is GPLv3+.

* package.json.in (license): Change license from GPL-3.0+ to AGPL-3.0+.
2017-09-08 14:23:34 -04:00
Mike Gerwitz 2aac23aea7 package.json: postinstall ./configure
This is needed since whatever we publish may not generate the proper
options for node.  Especially since we're on an ancient version.

* package.json.in (scripts)[postinstall]: Add `./configure' call.
2017-09-01 16:20:20 -04:00
Mike Gerwitz 9cdc1088ca package.json: Add missing bin record for server
Gah.  I modified package.json instead of package.json.in and never
noticed!

* package.json (bin): Add `liza-server' binary.
2017-09-01 15:34:11 -04:00
Mike Gerwitz f8a3c4e9fc Add missing mongodb dependency
* package.json.in (dependencies) [mongodb]: Add dependency (ancient version!)
* yarn.lock: Update.
2017-06-20 14:17:03 -04:00
Mike Gerwitz 83fa4f717c package.json.in (chai): Restrict version to satisfy chai-as-promised 2017-06-08 14:57:16 -04:00
Mike Gerwitz 1bb5191e3e LoVullo Associates => R-T Specialty
Copyright notices updated.  More casual references to "LoVullo
Associates" replaced with "RT Specialty / Lovullo", which will be "RT
Specialty Buffalo" in the future.  Or "RT Specialty", depending on how
this is rolled out.  Or "Ryan Specialty Group".  Who knows.

"R-T Specialty, LLC." is the legal name, which includes the dash.  Not
to be confused with a certain television network.
2017-06-08 14:48:43 -04:00
Mike Gerwitz acc75cc3a9 Add chai-as-promised
* src/package.json.in (devDependencies): Add chai-as-promised.
2017-01-03 09:11:18 -05:00
Mike Gerwitz 6dd5b83a27 Add missing license to package.json
* package.json.in (license): Add key.
2016-12-21 11:29:25 -05:00
Mike Gerwitz f5549795d5 GeneralStepUi vformat styling
* package.json (devDependencies): Add sinon

* src/ui/step/GeneralStepUi.js (answerDataUpdate): Attempt formatting with
  formatter prior to "old" answer styling.

* test/ui/step/GeneralStepUiTest.js: Added
2016-06-21 16:46:05 -04:00
Mike Gerwitz 78c3cc63e1 add es6-promise shim
It is expected that support for promises will be available in whatever
environment liza is run.  Here, we're adding a shim for the sake of testing
in ancient environments.

It's almost as if I'm stuck using an ancient environment somewhere...*cough*
2016-03-01 00:48:37 -05:00
Arthur Domino e947eeccd7 Update easejs to version 0.2.6 (0.2.x) 2015-08-28 12:37:34 -04:00
Mike Gerwitz 0c56d43c13 tags=>keywords in package.json
Was it "tags" years ago?  I'm not sure; that's what I used in GNU ease.js,
and that would explain why it is not working.
2015-05-01 15:51:35 -04:00
Mike Gerwitz bf6f3a7ca8 GNU ease.js upgrade to 0.2.4 2015-04-09 01:13:33 -04:00
Mike Gerwitz e44d6453d0 Added Mocha and Chai dev dependencies
When the project that would eventually become Liza was initially developed,
Node.js was still very young and there were no well established testing
frameworks. That has since changed.
2014-04-18 10:02:09 -04:00
Mike Gerwitz d2c22d1691 Added GNU ease.js dependency 2014-04-18 10:02:07 -04:00
Mike Gerwitz 7fe66235f9 Added package.json for npm
It will be a while yet before this appears in npm.

The build no longer fails on `make' by default.
2014-01-17 00:51:53 -05:00