Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Catch-up from lacuna-tech/mds-core #249

Merged
merged 537 commits into from
May 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
537 commits
Select commit Hold shift + click to select a range
733c6ba
[mds-metrics] Fix binning bug (#70)
avatarneil Nov 12, 2019
1c50065
Bump root version
avatarneil Nov 12, 2019
15b6a2c
Publish
avatarneil Nov 12, 2019
eff155c
Merge branch 'release/0.0.16'
avatarneil Nov 12, 2019
1b8305e
Merge tag '0.0.16' into develop
avatarneil Nov 12, 2019
ea37e84
Add some more logs for the Metrics API prototype (#73)
avatarneil Nov 13, 2019
d85b136
Bump root package version
avatarneil Nov 13, 2019
80e3d34
Publish
avatarneil Nov 13, 2019
ba8019b
Merge branch 'release/0.0.17'
avatarneil Nov 13, 2019
501bd08
Merge tag '0.0.17' into develop
avatarneil Nov 13, 2019
59c42a9
[mds-db] Fix `editGeography` (#74)
janedotx Nov 14, 2019
b3e1c67
Bump root version
avatarneil Nov 15, 2019
c3b58d3
Publish
avatarneil Nov 15, 2019
06e1423
Merge branch 'release/0.0.18'
avatarneil Nov 15, 2019
9ba12cf
Merge tag '0.0.18' into develop
avatarneil Nov 15, 2019
1814b35
fix error message (#77)
macsj200 Nov 18, 2019
6441a5f
mdscl/istio: install (un)install via helm straight up (#75)
jwtodd Nov 19, 2019
9e49eed
[mds-audit] Support attaching media to audits (#76)
BigIdeas Nov 19, 2019
acf1840
[mds-audit] Include initial provider state with audits returned via A…
BigIdeas Nov 19, 2019
be19d48
Bump root version
avatarneil Nov 19, 2019
24283a7
Publish
avatarneil Nov 19, 2019
de71a80
Merge branch 'release/0.0.19'
avatarneil Nov 19, 2019
cf0d8db
Merge tag '0.0.19' into develop
avatarneil Nov 19, 2019
ff68f36
Backend method for finding policies that use particular geographies. …
janedotx Nov 19, 2019
85aa4e6
[mds-logger] Overloading log with log level parameter to support tern…
levi217 Nov 20, 2019
4926b43
remove psql-client (#84)
alexgottscha Nov 20, 2019
5addd51
need to have the domain inserted for both TLS and non-TLS (#83)
alexgottscha Nov 20, 2019
f0ccc51
allow additional hosts for egress if needed (#82)
alexgottscha Nov 20, 2019
190d92a
Add more granular readAllEvents performance logging (#80)
avatarneil Nov 25, 2019
2607215
[mds-schema-validators] Pull all JSON Schema-related definitions and …
kemiller Nov 26, 2019
0594686
Configuration Service/API (#91)
Nov 27, 2019
441359b
[mds-compliance] Compliance engine sorts vehicles by earliest telemet…
janedotx Dec 2, 2019
d07382e
Fix helm configmap glob (#95)
Dec 4, 2019
a8094ff
[mds-cache, mds-db] Instrument some cache and db operations with timi…
BigIdeas Dec 9, 2019
6032985
Update dev/tooling dependencies. (#93)
Dec 10, 2019
0cff37b
[mds-audit] Relax lookup VIN response requirements (#96)
BigIdeas Dec 10, 2019
97769c0
Bump root version
avatarneil Dec 11, 2019
28ad81c
Publish
avatarneil Dec 11, 2019
5c80b69
Merge branch 'release/0.0.20'
avatarneil Dec 11, 2019
9d3b11c
Merge tag '0.0.20' into develop
avatarneil Dec 11, 2019
4341c00
Fix debugging for unit tests (#105)
Dec 11, 2019
23e90e4
mdsctl: prompt-to-proceed if not using docker-desktop (#85)
jwtodd Dec 12, 2019
8e283ca
Add moped to VEHICLE_TYPES enum (#106)
avatarneil Dec 13, 2019
c6186a2
Support merging multiple settings properties (#108)
Dec 13, 2019
a92e55e
[mds-agency] [mds-db] Initial Stop Prototype (#47)
avatarneil Dec 13, 2019
f6bc2af
Add option to skip bbox check when fetching vehicles by bbox (#113)
BigIdeas Dec 13, 2019
0f5749d
[mds-audit] Speed up VIN lookup by parallelizing cache reads (#110)
BigIdeas Dec 13, 2019
9e87e4c
Fix build error (#114)
BigIdeas Dec 13, 2019
1d74259
Update VS Code ESLint settings (#117)
Dec 16, 2019
81a1cad
[mds-db] Refactor makeReadOnlyQuery to permit use of SqlVals() (#116)
avatarneil Dec 16, 2019
e9e1e27
[mds-agency] [mds-web-sockets] Basic outbound websocket implementatio…
avatarneil Dec 16, 2019
981b7cb
[mds-agency] Fix import of package with no default export (#120)
avatarneil Dec 17, 2019
b411d47
[mds-web-sockets] Check for admin:all scope when authenticating clien…
avatarneil Dec 17, 2019
ed090f4
Fix image name for mds-web-sockets (#122)
avatarneil Dec 17, 2019
268f182
.Values.api.env will populate all APIs' environments (#92)
alexgottscha Dec 18, 2019
caef8ea
[mds-web-sockets] Don't always start WebSocket server (#123)
avatarneil Dec 18, 2019
8e82280
use branch name for docker image tag suffix (#124)
alexgottscha Dec 19, 2019
89cc15a
[mds-web-sockets] Fix PING message handling
avatarneil Dec 19, 2019
ab47f5d
[mds-processors] Refined Processor Implementation (#104)
evanxadkins Dec 19, 2019
0e952d1
[mds-web-sockets] Add proper env-injection to mds-web-sockets (#133)
avatarneil Dec 21, 2019
0e7bf93
mdsctl: remove dashboard, get cli:postgresql and cli:redis working ag…
jwtodd Dec 23, 2019
9ada6f7
[mds-agency] Don't retry then send a 500 on a failed cache/stream/soc…
avatarneil Dec 24, 2019
a83a414
fix crash if values not present (#125)
alexgottscha Dec 28, 2019
673255c
[mds-audit] Return last active device registered if db has duplicates…
BigIdeas Dec 31, 2019
d6534a6
Load configuration data via service (#132)
Jan 2, 2020
ba39b6c
[mds-agency] [mds-utils] Extract normalizeToArray() and leverage in D…
macsj200 Jan 2, 2020
24c47eb
[mds-*] Append commit hash to image tag if on non-master branch (#139)
avatarneil Jan 2, 2020
5cb149b
replace heisentest with unit tests (#138)
macsj200 Jan 2, 2020
873eb74
Update package dependencies (#140)
Jan 3, 2020
d5e7625
[mds-web-sockets] Initial web-socket test to get the framework in pla…
avatarneil Jan 4, 2020
c5c59c7
mdsctl: number of usability improvements (#135)
jwtodd Jan 4, 2020
355d531
[mds-agency] [mds-web-sockets] Improve agency/telemetry error handlin…
avatarneil Jan 6, 2020
04eb366
add unified state representation (#144)
macsj200 Jan 6, 2020
b9d89b5
[mds-metrics] Fixes metrics scope processing (#146)
macsj200 Jan 7, 2020
2330355
add state transition diagram (#148)
macsj200 Jan 7, 2020
cedca54
Support async access token scope validators (#147)
Jan 7, 2020
b7e0064
remove self loop (#149)
macsj200 Jan 8, 2020
e95d422
[mds-utils] Remove unused state transition function (#145)
macsj200 Jan 8, 2020
e88d135
Make redis multi calls async (#151)
BigIdeas Jan 8, 2020
1433bdf
[mds-*] Upgrade to Node.js 12 (v12.14.1) runtime (#154)
avatarneil Jan 16, 2020
962ab72
[mds-metrics] Add unauthorized error if query params attempt to excee…
macsj200 Jan 17, 2020
2442a0d
Feature/eadks proc cleanup (#150)
evanxadkins Jan 21, 2020
e4d026f
Remove provider API from City Services cluster (#159)
Jan 22, 2020
d9e1591
fix heisenbug by moving tests to end (#161)
Jan 22, 2020
ff2f2b4
Extend daily timeout (#162)
macsj200 Jan 23, 2020
baebab8
make sure we have AWS env vars before we make the call asking for AWS…
Jan 23, 2020
8a7a59f
two changes to fix heisenbug pt 2 in policy-author (#165)
Jan 24, 2020
061d094
[mds-cache][mds-processors] Cache optimization for event and trip pro…
evanxadkins Jan 26, 2020
072f601
forward parsing error to client (#166)
macsj200 Jan 27, 2020
64e7de2
Don't mutate datetime (#167)
macsj200 Jan 29, 2020
78df555
Fix clone error on Windows by removing unit test for invalid filename…
BigIdeas Jan 29, 2020
c7861f7
[mds-stream] [mds-event-processor] NATS implementation for mds-event-…
avatarneil Jan 30, 2020
9b3757d
Update README.md
jwtodd Jan 30, 2020
cf2619f
Assume cache as source-of-truth for output to get time since last ev…
avatarneil Jan 30, 2020
0aa7125
istio-disable cronjobs (#170)
jwtodd Jan 31, 2020
2e3e631
[mds-*] Add Okteto Configuration for in-cluster debugging (#171)
avatarneil Feb 1, 2020
f36e29d
Bump okteto resources massively to avoid crashes at debug init (#172)
avatarneil Feb 5, 2020
0f6d70f
Make all tests async (#173)
Feb 6, 2020
5018962
change envoy idle timeout to offset from nodejs idle timeout. reduce…
alexgottscha Feb 12, 2020
ed67fa3
[mds-db] Refactor en-mass import/exports in mds-db to be more readabl…
avatarneil Feb 12, 2020
f95b4dd
Update Config API to support partial configs (#178)
Feb 12, 2020
2d8a07d
Upgrade dependencies; fix typescript/lint errors (#179)
Feb 12, 2020
f658874
Export interfaces (#181)
avatarneil Feb 12, 2020
69bf8c8
move annotation for preventing istio sidecar injection to correct met…
alexgottscha Feb 13, 2020
e679eec
[mds-web-sockets] First pass at some internal JWT validation. (#157)
avatarneil Feb 19, 2020
66be9ed
Increase default timeout values to reduce spurious 503 errors from Is…
Feb 19, 2020
b30f254
Update Agency, Policy, and the root README docs (#182)
avatarneil Feb 25, 2020
4057d3a
OMF-26 API Version Middleware (#189)
Feb 27, 2020
d2c2b4d
Swallow STAN fatal errors. Previously, these would cause a node crash…
avatarneil Feb 27, 2020
7ae0282
Convert empty event.event_type_reason to null (#195)
Feb 27, 2020
dd36164
[mds-cache] Clean up promise logic in hreads (#153)
avatarneil Feb 27, 2020
2505036
yarn upgrade-interactive --latest (#193)
Feb 27, 2020
e64c794
Fix redis multi definition (#196)
avatarneil Feb 28, 2020
7edd446
Jurisdiction API (GET, POST endpoints) (#187)
Feb 28, 2020
82404b2
Use R/W connection for running TypeORM migrations (#197)
Feb 28, 2020
f617193
Clean up Versioned API types; Reorganize Jurisdiction/Native APIs (#198)
Mar 2, 2020
4d6664f
Catch db connection errors separately (#199)
Mar 2, 2020
2c0de4f
[mds-provider-processor] Provider filter for device cache (#174)
evanxadkins Mar 2, 2020
b8fc1b6
[mds-web-sockets] Add structured response for authentication success …
avatarneil Mar 3, 2020
0d4d8c5
[mds-agency] [mds-utils] Add better object validation to agency. (#200)
avatarneil Mar 3, 2020
64d9646
Endpoints to update/delete a jurisdiction (#201)
Mar 4, 2020
ceba3de
carve out exception to jwt auth for websockets api (auth is done inte…
alexgottscha Mar 5, 2020
7c7fd9b
[mds-*] Merge in OMF/develop (#206)
avatarneil Mar 5, 2020
cefe81b
Bring up to speed with OMF develop. Needed to retain the yarn lock di…
avatarneil Mar 5, 2020
65e9f73
Fix yarn.lock
avatarneil Mar 5, 2020
fed0161
[mds-policy-author][mds-geography-author] Extract geography author se…
janedotx Mar 6, 2020
a9bc187
helm unittest (#209)
jwtodd Mar 11, 2020
e2ced63
Reorder writing an event and related telemetry to avoid race conditio…
avatarneil Mar 12, 2020
cca068c
[mds-agency] [mds-web-sockets] Add NATS-Streaming consumption for mds…
avatarneil Mar 12, 2020
4225161
[mds-policy] [mds-geography] Extract read-only geography service from…
janedotx Mar 12, 2020
b96533f
Feature/alex/monitoring alerting (#213)
alexgottscha Mar 12, 2020
fe147bf
Upgrade package dependencies (#212)
Mar 16, 2020
5312a1c
This test was destined to fail starting yesterday (#215)
Mar 16, 2020
3291c6d
[mds-processors][mds-metrics] removal for OMF release (#210)
evanxadkins Mar 18, 2020
9972862
[mds-policy-author] Minor changes to policy to bring it back in line …
janedotx Mar 19, 2020
764a5f7
[mds-stream] Add outbound kafka stream support (#216)
avatarneil Mar 23, 2020
87419f4
Run with new Prettier 2.0 defaults (#221)
Mar 24, 2020
85c090d
Removing Slack client and pushover notifications (#226)
Mar 30, 2020
200596c
Kafka Stream Processor (#224)
Mar 30, 2020
246cf3f
[mds-utils] Update relative time parsing to snap to the nearest hour …
avatarneil Mar 31, 2020
e94b782
Add caching of device labels (#229)
Mar 31, 2020
4954267
Add control methods to stream processor (#232)
Apr 1, 2020
7301fd5
[mds-stream-processor] Add geo labeling for mds-stream-processor (#231)
avatarneil Apr 1, 2020
7d14a18
[ladot-service-areas] [mds-agency] [mds-daily] Purge service-areas (#…
avatarneil Apr 1, 2020
e593d52
Fix mds-metrics-sheet container image build (#233)
Apr 1, 2020
8ece03c
Fix event type for vehicle reads in case of a cache miss (#225)
janedotx Apr 1, 2020
6f4645b
Fix Project References (#234)
Apr 2, 2020
89648ec
[mds-native] Removing mds-native. (#214)
janedotx Apr 2, 2020
8042173
[mds-db] [mds-policy-author][mds-compliance] Fix/final separation of …
janedotx Apr 3, 2020
d69ca2b
Removing container-images directory for mds-native. (#236)
janedotx Apr 3, 2020
fd9108c
Remove leftover artifacts of mds-metrics (#238)
Apr 3, 2020
7b817f6
[mds-stream] [mds-stream-processor] TENANT_ID prefix for Kafka Stream…
avatarneil Apr 3, 2020
0e5f99e
Add a couple source/sink examples (#237)
Apr 3, 2020
ab49f3d
Re-add stream init that was removed, thanx git (#239)
avatarneil Apr 3, 2020
3da61f6
Add FileSource and FileSync connectors for mds-stream-processors (#240)
avatarneil Apr 6, 2020
713580a
[mds-stream-processor] First pass at vehicle telemetry processor (#241)
avatarneil Apr 8, 2020
dee4eb5
[helm] Update helm for telemetry processor (#245)
avatarneil Apr 9, 2020
505dde1
Initial Metrics Service (#244)
Apr 9, 2020
ec9c50a
was missing geography api (#242)
alexgottscha Apr 9, 2020
8e02249
Split metrics-service into server/client modules (#246)
Apr 9, 2020
f33d470
[mds-stream] Switch from NATS Streaming -> Vanilla NATS (#243)
avatarneil Apr 10, 2020
33e8fac
Enable ES2019 features in node:12.14.1-alpine (#247)
Apr 10, 2020
99647a2
Refactor ORM Connection Configuration (#249)
Apr 10, 2020
d1f333b
Refactor Jurisdiction Service (#250)
Apr 12, 2020
50f207a
Move jurisdiction types/utils to service package (#251)
Apr 13, 2020
a265f78
Export default connection for TypeORM CLI (#252)
Apr 13, 2020
ede6712
Use recommended typescript config for istanbul (#255)
Apr 13, 2020
44bfb83
Create types for mapping between entity/domain models (#257)
Apr 14, 2020
081cb52
Fix imports and make mapper syntax consistent (#258)
Apr 15, 2020
a4f22f1
[mds-stream-processor] First pass at pre-computed surrounding bbox (#…
avatarneil Apr 15, 2020
fec00fa
Update prettier config to enforce single quotes only in js/ts files, …
janedotx Apr 15, 2020
5ece75f
[mds-config][mds-config-service] Remove mds-config and mds-config-ser…
janedotx Apr 15, 2020
67a1f7b
Allow services to specify TypeORM CLI options. (#259)
Apr 15, 2020
f296e7c
Serializable service errors (#261)
Apr 16, 2020
98e31fc
Resolution of type errors that result from a yarn.lock deletion (#260)
avatarneil Apr 17, 2020
eb025dd
add ability to deploy an observable nats without stan stack (#185)
jwtodd Apr 17, 2020
c7d0ed4
Improved service error/result types and handling (#262)
Apr 19, 2020
36f3441
Export processors as functions instead of values (#265)
Apr 20, 2020
cf5e62d
Make the parser part of an options object (#264)
Apr 20, 2020
a4879f6
MCONSOLE-230: Convert webpack.config to a TypeScript module (#266)
Apr 20, 2020
361b3c3
Initialize repository on first connect (#268)
Apr 21, 2020
4ff42d8
Remove hardcoded access token scope values (#269)
Apr 22, 2020
847c120
[mds-api-server] [mds-types] Extend ApiQuery to allow string arrays (…
avatarneil Apr 22, 2020
26e2780
Standardize API server startup (#267)
Apr 22, 2020
f0aff96
Allow array of errors in API response (#272)
Apr 22, 2020
ee6764b
Remove undeclared mds-cache dependency (#273)
Apr 22, 2020
4fc29ef
delegate app (#271)
jwtodd Apr 22, 2020
61461c0
Remove mds-utils dependency on mds-db (#274)
Apr 23, 2020
beb1354
[mds-test-data] Remove a dependency on mds-db (#277)
Apr 23, 2020
c81523f
Convert test data to TS (#278)
Apr 23, 2020
23b4dc1
Use webpack wrapper plugin to inject build info (#275)
Apr 23, 2020
929993d
API Request Query and Webpack Configuration enhancements (#279)
Apr 24, 2020
5ad52bb
+invokeAny (#281)
jwtodd Apr 25, 2020
285d316
Resolve some issues with exporting types (#282)
Apr 26, 2020
e9eb21b
More mds-core reorganization changes (#283)
Apr 27, 2020
3a1cfad
Make metrics dimensions/aggregates nullable (#285)
Apr 27, 2020
0edc99d
Use entry points from packages folder for images (#284)
Apr 28, 2020
2504142
Adding versioning Policy, Policy Author, Geography, and Geography Aut…
janedotx Apr 28, 2020
e5ea7f1
[mds-repository] connection manager improvements (#287)
Apr 29, 2020
f67f1f9
Move mds-cache to mds-agency-cache, so the mds-cache name can be used…
avatarneil Apr 29, 2020
1dafcfc
Model mapper helper (#288)
Apr 29, 2020
35ce645
Remove extra @Column decorator (#290)
Apr 29, 2020
57d17e6
Metrics Model Changes (#291)
Apr 30, 2020
5b4e57c
[mds-audit] Feature/conform audit to mds versioning (#280)
janedotx Apr 30, 2020
a14da65
Implement an abstract repository class (#292)
Apr 30, 2020
e0c594d
General tooling updates (#293)
Apr 30, 2020
ce943d7
Move packages from mds-core (#294)
May 1, 2020
a17d88e
Create jursidiction service pod for migrations (#295)
May 3, 2020
ce23557
Use unique migration index name (#296)
May 4, 2020
7bed5bd
add egress rules for kafka (#298)
alexgottscha May 4, 2020
f765f5f
Fix a potential issue with handling process.env (#299)
May 5, 2020
a841f58
Minor repository updates (#300)
May 5, 2020
ff20bf7
Minor type updates and dependency upgrades (#301)
May 6, 2020
d0aec3c
Make async getServiceResult helper (#303)
May 6, 2020
47fb6ca
[mds-utils] FilterEmptyHelper rework (#304)
avatarneil May 6, 2020
17814e7
[mds-utils] Move generic passing in isDefined so T can be properly in…
avatarneil May 7, 2020
5436291
Configuration and dependency updates (#308)
May 11, 2020
7543915
[mds-utils] [mds-stream] Add ClientDisconnectedError (#311)
avatarneil May 11, 2020
56aa890
logger.warn on a failed cache/stream write for PUT agency/vehicles en…
avatarneil May 12, 2020
c6379c8
LCORE-145 Change namespace for custom claims (#305)
May 13, 2020
0b221db
Remove cypress and upgrade dependencies (#315)
May 13, 2020
a0b20ce
Remove deprecated methods (#314)
May 13, 2020
9b9482d
Catch errors from writing to cache/stream upon a non-existant device …
avatarneil May 13, 2020
dadecee
[mds-stream] [mds-web-sockets] Refactor NATS to follow the same struc…
avatarneil May 13, 2020
b6def87
Upgrade typescript (#317)
May 14, 2020
84c90b6
Roll back typescript/tslib (#319)
May 14, 2020
d973a62
[mds-policy] [mds-policy-author] Spec alignment and error handling up…
avatarneil May 14, 2020
7b01a7f
[mds-agency] Feature: add versioning to agency (#302)
janedotx May 14, 2020
0b37ca8
[draft] Feature - Bypass JWT for internal requests (#152)
alexgottscha May 15, 2020
3da8ad0
Moving read-only geo points out of geo author, leaving metadata endpo…
janedotx May 15, 2020
ea44857
Extremely small audit fix. (#320)
janedotx May 15, 2020
11f171d
Do not ignore ioredis at bundle-time (#323)
avatarneil May 15, 2020
86d157c
[mds-compliance][mds-db] Fix/compliance handles timestamp (#316)
janedotx May 15, 2020
188d9d0
add toggles for internal jwt bypass and for setting up the cluster rb…
alexgottscha May 15, 2020
f7d8dc0
Upgrade to Node 14.2.0, fully switch over to ES2020 (#327)
avatarneil May 18, 2020
46c95cb
[mds-policy] [mds-policy-author] Add global error handling middleware…
avatarneil May 18, 2020
6c23c7a
Add custom service error type support (#329)
May 18, 2020
f607f81
[mds-agency] Removing version param from agency payload to conform wi…
janedotx May 18, 2020
9aa1c03
[mds-policy-author] [mds-geography-author] Reject payloads that speci…
avatarneil May 18, 2020
a69c795
[mds-api-server] [ALL VERSIONED APIS] Feature/neil/add versioning opt…
avatarneil May 18, 2020
7714d52
[mds-policy-author][mds-geography*] Fix/add data payload to policy au…
janedotx May 19, 2020
c6d98b5
Fix PR Template (#333)
May 19, 2020
77ea628
Add missing return statement, oops (#336)
avatarneil May 19, 2020
6a90746
Adding data envelop back to mds-policy and correcting version number …
janedotx May 19, 2020
88344e5
🐛[mds-geography-author] Add missing data wrapper in geography-author …
avatarneil May 19, 2020
f7a7361
[mds-web-socket] extensible entities (#310)
twelch May 19, 2020
baca413
Change ts-nats import to properly resolve methods (#338)
avatarneil May 19, 2020
b7e00f1
patch helm-init issue (#339)
jwtodd May 20, 2020
8e6f1ba
Create separate ProcessController interface (#340)
May 20, 2020
75d2c69
bump versions (#341)
alexgottscha May 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 0 additions & 56 deletions .eslintrc.js

This file was deleted.

72 changes: 72 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"env": {
"node": true,
"es6": true,
"mocha": true
},
"plugins": ["import", "prettier", "@typescript-eslint", "promise"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "tsconfig.eslint.json"
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"ignorePatterns": ["*.d.ts"],
"rules": {
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "ignoreRestSiblings": true, "args": "none" }
],
"@typescript-eslint/no-useless-constructor": "error",
"array-callback-return": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"eqeqeq": "error",
"import/extensions": ["error", "ignorePackages", { "ts": "never" }],
"import/no-extraneous-dependencies": "error",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"max-classes-per-file": "off",
"no-console": "warn",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-useless-constructor": "off",
"no-var": "error",
"prettier/prettier": "warn",
"promise/always-return": "error",
"promise/avoid-new": "error",
"promise/catch-or-return": "error",
"promise/no-callback-in-promise": "error",
"promise/no-native": "off",
"promise/no-nesting": "error",
"promise/no-new-statics": "error",
"promise/no-promise-in-callback": "error",
"promise/no-return-in-finally": "error",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"promise/prefer-await-to-callbacks": "error",
"promise/prefer-await-to-then": "error",
"promise/valid-params": "error",
"radix": "off"
},
"overrides": [
{
"files": ["**/*.spec.ts"],
"rules": {
"import/no-extraneous-dependencies": "off"
}
}
]
}
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ By participating, you are expected to uphold this code.

In order to maintain consistency, all development dependencies related to the testing and building of the packages in this repository are installed in the root `package.json` file. This includes the various tools (`ESLint`, `Prettier`, `TypeScript`, `Mocha`, etc.) as well as the default configuration settings for those tools.

One notable exception to this is the installation of TypeScript definition (`@types`) packages which are installed as development dependencies in the individual packages that require them which is analogous to those dependencies that include their own type definitinos without a separate `@types` package.
One notable exception to this is the installation of TypeScript definition (`@types`) packages which are installed as regular dependencies in the individual packages that require them which is analogous to those dependencies that include their own type definitinos without a separate `@types` package.
24 changes: 9 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
## PR Checklist
## 📚 Purpose
*[description/approach]*

- [ ] simple searchable title - `[mds-db] Add PG env var`, `[config] Fix eslint config`
- [ ] briefly describe the changes in this PR
- [ ] mark as draft if should not be merged
- [ ] write tests for all new functionality

## Impacts
- [ ] Provider
- [ ] Agency
- [ ] Audit
- [ ] Policy
- [ ] Compliance
- [ ] Daily
- [ ] Native
- [ ] Policy Author
## 👌 Resolves:
- [ ] 🐛 JRA-834 fixes bug
- [ ] ✨ JRA-756 implements new feature

## 📦 Impacts:
*[list of packages]*

## ✅ PR Checklist
- [ ] Add or remove checklist items to suit your needs
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
.tern-project
mds-*.zip
dist
dump.rdb

# This project uses Yarn. Ignore npm lock files
package-lock.json
npm-shrinkwrap.json

# Created by https://www.gitignore.io/api/osx,node,windows,serverless,sublimetext,visualstudiocode
# Edit at https://www.gitignore.io/?templates=osx,node,windows,serverless,sublimetext,visualstudiocode
Expand Down Expand Up @@ -206,7 +211,7 @@ $RECYCLE.BIN/
# helm
.helmignore
values.*.yaml
helm/charts
helm/*/charts
helm/tools

# docker
Expand Down
7 changes: 7 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"colors": true,
"recursive": true,
"require": ["tsconfig-paths/register", "source-map-support/register", "dotenv/config"],
"spec": "tests/**/*.ts",
"timeout": 10000
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.16.3
14.2.0
7 changes: 7 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "@istanbuljs/nyc-config-typescript",
"check-coverage": true,
"lines": 85,
"reporter": ["text", "html"],
"temp-directory": "./coverage/.nyc_output"
}
6 changes: 0 additions & 6 deletions .prettierrc.js

This file was deleted.

15 changes: 15 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"overrides": [
{
"files": ["*.ts", "*.js"],
"options": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"singleQuote": true
}
}
]
}
3 changes: 3 additions & 0 deletions .stignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.git
/node_modules
/images