-
Notifications
You must be signed in to change notification settings - Fork 20
Commits on Nov 12, 2019
-
[mds-metrics] Fix binning bug (#70)
* Fix weird array construction bug in metrics API binning method * Remove async modifier * Cleanup and add state_snapshot test * Cleanup
Configuration menu - View commit details
-
Copy full SHA for 733c6ba - Browse repository at this point
Copy the full SHA 733c6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c50065 - Browse repository at this point
Copy the full SHA 1c50065View commit details -
- @container-images/env-inject@0.1.21 - @container-images/mds-agency@0.1.22 - @container-images/mds-audit@0.1.23 - @container-images/mds-compliance@0.1.22 - @container-images/mds-daily@0.1.22 - @container-images/mds-metrics-sheet@0.1.23 - @container-images/mds-metrics@0.0.4 - @container-images/mds-native@0.0.20 - @container-images/mds-policy-author@0.1.22 - @container-images/mds-policy@0.1.22 - @container-images/mds-provider@0.1.22 - @mds-core/mds-agency@0.0.24 - @mds-core/mds-api-authorizer@0.1.22 - @mds-core/mds-api-helpers@0.1.22 - @mds-core/mds-api-server@0.1.22 - @mds-core/mds-audit@0.1.34 - @mds-core/mds-cache@0.1.22 - @mds-core/mds-compliance@0.1.23 - @mds-core/mds-daily@0.0.23 - @mds-core/mds-db@0.1.22 - @mds-core/mds-logger@0.1.20 - @mds-core/mds-metrics-sheet@0.0.23 - @mds-core/mds-metrics@0.0.4 - @mds-core/mds-native@0.0.20 - @mds-core/mds-policy-author@0.0.19 - @mds-core/mds-policy@0.0.23 - @mds-core/mds-provider@1.0.22 - @mds-core/mds-providers@0.1.22 - @mds-core/mds-stream@0.1.22 - @mds-core/mds-test-data@0.1.22 - @mds-core/mds-types@0.1.19 - @mds-core/mds-utils@0.1.22
Configuration menu - View commit details
-
Copy full SHA for 15b6a2c - Browse repository at this point
Copy the full SHA 15b6a2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eff155c - Browse repository at this point
Copy the full SHA eff155cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b8305e - Browse repository at this point
Copy the full SHA 1b8305eView commit details
Commits on Nov 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ea37e84 - Browse repository at this point
Copy the full SHA ea37e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for d85b136 - Browse repository at this point
Copy the full SHA d85b136View commit details -
- @container-images/env-inject@0.1.22 - @container-images/mds-agency@0.1.23 - @container-images/mds-audit@0.1.24 - @container-images/mds-compliance@0.1.23 - @container-images/mds-daily@0.1.23 - @container-images/mds-metrics-sheet@0.1.24 - @container-images/mds-metrics@0.0.5 - @container-images/mds-native@0.0.21 - @container-images/mds-policy-author@0.1.23 - @container-images/mds-policy@0.1.23 - @container-images/mds-provider@0.1.23 - @mds-core/mds-agency@0.0.25 - @mds-core/mds-api-authorizer@0.1.23 - @mds-core/mds-api-helpers@0.1.23 - @mds-core/mds-api-server@0.1.23 - @mds-core/mds-audit@0.1.35 - @mds-core/mds-cache@0.1.23 - @mds-core/mds-compliance@0.1.24 - @mds-core/mds-daily@0.0.24 - @mds-core/mds-db@0.1.23 - @mds-core/mds-logger@0.1.21 - @mds-core/mds-metrics-sheet@0.0.24 - @mds-core/mds-metrics@0.0.5 - @mds-core/mds-native@0.0.21 - @mds-core/mds-policy-author@0.0.20 - @mds-core/mds-policy@0.0.24 - @mds-core/mds-provider@1.0.23 - @mds-core/mds-providers@0.1.23 - @mds-core/mds-stream@0.1.23 - @mds-core/mds-test-data@0.1.23 - @mds-core/mds-types@0.1.20 - @mds-core/mds-utils@0.1.23
Configuration menu - View commit details
-
Copy full SHA for 80e3d34 - Browse repository at this point
Copy the full SHA 80e3d34View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba8019b - Browse repository at this point
Copy the full SHA ba8019bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 501bd08 - Browse repository at this point
Copy the full SHA 501bd08View commit details
Commits on Nov 14, 2019
-
[mds-db] Fix
editGeography
(#74)* Fix `editGeography`. * ts assist * Fixed `editGeography` with TS assist.
Configuration menu - View commit details
-
Copy full SHA for 59c42a9 - Browse repository at this point
Copy the full SHA 59c42a9View commit details
Commits on Nov 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b3e1c67 - Browse repository at this point
Copy the full SHA b3e1c67View commit details -
- @container-images/env-inject@0.1.23 - @container-images/mds-agency@0.1.24 - @container-images/mds-audit@0.1.25 - @container-images/mds-compliance@0.1.24 - @container-images/mds-daily@0.1.24 - @container-images/mds-metrics-sheet@0.1.25 - @container-images/mds-metrics@0.0.6 - @container-images/mds-native@0.0.22 - @container-images/mds-policy-author@0.1.24 - @container-images/mds-policy@0.1.24 - @container-images/mds-provider@0.1.24 - @mds-core/mds-agency@0.0.26 - @mds-core/mds-api-authorizer@0.1.24 - @mds-core/mds-api-helpers@0.1.24 - @mds-core/mds-api-server@0.1.24 - @mds-core/mds-audit@0.1.36 - @mds-core/mds-cache@0.1.24 - @mds-core/mds-compliance@0.1.25 - @mds-core/mds-daily@0.0.25 - @mds-core/mds-db@0.1.24 - @mds-core/mds-logger@0.1.22 - @mds-core/mds-metrics-sheet@0.0.25 - @mds-core/mds-metrics@0.0.6 - @mds-core/mds-native@0.0.22 - @mds-core/mds-policy-author@0.0.21 - @mds-core/mds-policy@0.0.25 - @mds-core/mds-provider@1.0.24 - @mds-core/mds-providers@0.1.24 - @mds-core/mds-stream@0.1.24 - @mds-core/mds-test-data@0.1.24 - @mds-core/mds-types@0.1.21 - @mds-core/mds-utils@0.1.24
Configuration menu - View commit details
-
Copy full SHA for c3b58d3 - Browse repository at this point
Copy the full SHA c3b58d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06e1423 - Browse repository at this point
Copy the full SHA 06e1423View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba12cf - Browse repository at this point
Copy the full SHA 9ba12cfView commit details
Commits on Nov 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1814b35 - Browse repository at this point
Copy the full SHA 1814b35View commit details
Commits on Nov 19, 2019
-
mdscl/istio: install (un)install via helm straight up (#75)
* mdscl/istio: install (un)install via helm straight up * mdsctl/istio: uninstallIstio cleanup
Configuration menu - View commit details
-
Copy full SHA for 6441a5f - Browse repository at this point
Copy the full SHA 6441a5fView commit details -
[mds-audit] Support attaching media to audits (#76)
* Add new tables for audit attachments * Integrate with audit attachments db tables * New endpoints to add and delete attachments; return attachments with audits * Lint * Minor cleanups to s3 upload key and base url * Move S3 config to env variables * Let caller catch writeAttachment exception; type fixes * Lint
Configuration menu - View commit details
-
Copy full SHA for 9e49eed - Browse repository at this point
Copy the full SHA 9e49eedView commit details -
[mds-audit] Include initial provider state with audits returned via A…
…PI (#42) * Add MDS vehicle status and location to get audit response * Add test for provider info in audit response * Capitalize DESC keyword * Add provider_event_time to Get Audit response * Remove references to dropped columns from schema * Use enums * Fix import * Make ORDER BY configurable in readEventsWithTelemetry * Fix errors when running `yarn image` * Use optional chaining from TS 3.7
Configuration menu - View commit details
-
Copy full SHA for acf1840 - Browse repository at this point
Copy the full SHA acf1840View commit details -
Configuration menu - View commit details
-
Copy full SHA for be19d48 - Browse repository at this point
Copy the full SHA be19d48View commit details -
- @container-images/env-inject@0.1.24 - @container-images/mds-agency@0.1.25 - @container-images/mds-audit@0.1.26 - @container-images/mds-compliance@0.1.25 - @container-images/mds-daily@0.1.25 - @container-images/mds-metrics-sheet@0.1.26 - @container-images/mds-metrics@0.0.7 - @container-images/mds-native@0.0.23 - @container-images/mds-policy-author@0.1.25 - @container-images/mds-policy@0.1.25 - @container-images/mds-provider@0.1.25 - @mds-core/mds-agency@0.0.27 - @mds-core/mds-api-authorizer@0.1.25 - @mds-core/mds-api-helpers@0.1.25 - @mds-core/mds-api-server@0.1.25 - @mds-core/mds-audit@0.1.37 - @mds-core/mds-cache@0.1.25 - @mds-core/mds-compliance@0.1.26 - @mds-core/mds-daily@0.0.26 - @mds-core/mds-db@0.1.25 - @mds-core/mds-logger@0.1.23 - @mds-core/mds-metrics-sheet@0.0.26 - @mds-core/mds-metrics@0.0.7 - @mds-core/mds-native@0.0.23 - @mds-core/mds-policy-author@0.0.22 - @mds-core/mds-policy@0.0.26 - @mds-core/mds-provider@1.0.25 - @mds-core/mds-providers@0.1.25 - @mds-core/mds-stream@0.1.25 - @mds-core/mds-test-data@0.1.25 - @mds-core/mds-types@0.1.22 - @mds-core/mds-utils@0.1.25
Configuration menu - View commit details
-
Copy full SHA for 24283a7 - Browse repository at this point
Copy the full SHA 24283a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for de71a80 - Browse repository at this point
Copy the full SHA de71a80View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf0d8db - Browse repository at this point
Copy the full SHA cf0d8dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff68f36 - Browse repository at this point
Copy the full SHA ff68f36View commit details
Commits on Nov 20, 2019
-
[mds-logger] Overloading log with log level parameter to support tern…
…ary conditions & fluent syntax (#71) * Overloading log with log level parameter to support ternary conditions & fluent syntax
Configuration menu - View commit details
-
Copy full SHA for 85aa4e6 - Browse repository at this point
Copy the full SHA 85aa4e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4926b43 - Browse repository at this point
Copy the full SHA 4926b43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5addd51 - Browse repository at this point
Copy the full SHA 5addd51View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0ccc51 - Browse repository at this point
Copy the full SHA f0ccc51View commit details
Commits on Nov 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 190d92a - Browse repository at this point
Copy the full SHA 190d92aView commit details
Commits on Nov 26, 2019
-
[mds-schema-validators] Pull all JSON Schema-related definitions and …
…code into a new package. (#78) * Consolidating validator/schema-related code in mds-policy to mds-utils * Consolidating validator/schema-related code in mds-compliance to mds-utils * Consolidating validator/schema-related code in mds-compliance to mds-utils * extracting JSON Schema definitions and code into mds-json-schema * fixing build errors caused by moving validation to new package * renaming mds-json-schema -> mds-schema-validators and cleaning up build issues * moving ValidationError back to mds-utils * removing hapi/joi from mds-utils * updating tsconfigs * Referencing RULE_TYPES when constructing schemas * Revert "Referencing RULE_TYPES when constructing schemas" This reverts commit 87def6e. * Referencing RULE_TYPES when constructing schemas
Configuration menu - View commit details
-
Copy full SHA for 2607215 - Browse repository at this point
Copy the full SHA 2607215View commit details
Commits on Nov 27, 2019
-
Configuration Service/API (#91)
* Config service client and tests * Config API and tests * Config API container image * Add debug configurations for config api/service * create a configmap from files in helm/mds/mds-config, mount it to the mds-config pod under that path /mds-config * Allow settings to use .json or .json5 extensions
Michael Durling authoredNov 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 0594686 - Browse repository at this point
Copy the full SHA 0594686View commit details
Commits on Dec 2, 2019
-
[mds-compliance] Compliance engine sorts vehicles by earliest telemet…
…ry data, so most … (#89) * Compliance engine sorts vehicles by earliest telemetry data, so most recent events will be the ones tagged as violators. * Updating sort function. * Removing unnecessary spread operator.
Configuration menu - View commit details
-
Copy full SHA for 441359b - Browse repository at this point
Copy the full SHA 441359bView commit details
Commits on Dec 4, 2019
-
Michael Durling authored
Dec 4, 2019 Configuration menu - View commit details
-
Copy full SHA for d07382e - Browse repository at this point
Copy the full SHA d07382eView commit details
Commits on Dec 9, 2019
-
[mds-cache, mds-db] Instrument some cache and db operations with timi…
…ng logs (#97) * Instrument some cache and db operations with timing logs * Add provider to getVehicles timing log
Configuration menu - View commit details
-
Copy full SHA for a8094ff - Browse repository at this point
Copy the full SHA a8094ffView commit details
Commits on Dec 10, 2019
-
Update dev/tooling dependencies. (#93)
* Upgrade to latest package dependency versions * Clean up test scripts using config files * Bump some coverage levels
Michael Durling authoredDec 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 6032985 - Browse repository at this point
Copy the full SHA 6032985View commit details -
[mds-audit] Relax lookup VIN response requirements (#96)
* Relax lookup VIN response requirements * Add logs for missing info; return telemetry when possible
Configuration menu - View commit details
-
Copy full SHA for 0cff37b - Browse repository at this point
Copy the full SHA 0cff37bView commit details
Commits on Dec 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 97769c0 - Browse repository at this point
Copy the full SHA 97769c0View commit details -
- @container-images/env-inject@0.1.25 - @container-images/mds-agency@0.1.26 - @container-images/mds-audit@0.1.27 - @container-images/mds-compliance@0.1.26 - @container-images/mds-config@0.0.2 - @container-images/mds-daily@0.1.26 - @container-images/mds-metrics-sheet@0.1.27 - @container-images/mds-metrics@0.0.8 - @container-images/mds-native@0.0.24 - @container-images/mds-policy-author@0.1.26 - @container-images/mds-policy@0.1.26 - @container-images/mds-provider@0.1.26 - @mds-core/mds-agency@0.0.28 - @mds-core/mds-api-authorizer@0.1.26 - @mds-core/mds-api-helpers@0.1.26 - @mds-core/mds-api-server@0.1.26 - @mds-core/mds-audit@0.1.38 - @mds-core/mds-cache@0.1.26 - @mds-core/mds-compliance@0.1.27 - @mds-core/mds-config-service@0.0.2 - @mds-core/mds-config@0.0.2 - @mds-core/mds-daily@0.0.27 - @mds-core/mds-db@0.1.26 - @mds-core/mds-logger@0.1.24 - @mds-core/mds-metrics-sheet@0.0.27 - @mds-core/mds-metrics@0.0.8 - @mds-core/mds-native@0.0.24 - @mds-core/mds-policy-author@0.0.23 - @mds-core/mds-policy@0.0.27 - @mds-core/mds-provider@1.0.26 - @mds-core/mds-providers@0.1.26 - @mds-core/mds-schema-validators@0.1.2 - @mds-core/mds-stream@0.1.26 - @mds-core/mds-test-data@0.1.26 - @mds-core/mds-types@0.1.23 - @mds-core/mds-utils@0.1.26
Configuration menu - View commit details
-
Copy full SHA for 28ad81c - Browse repository at this point
Copy the full SHA 28ad81cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c80b69 - Browse repository at this point
Copy the full SHA 5c80b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d3b11c - Browse repository at this point
Copy the full SHA 9d3b11cView commit details -
Fix debugging for unit tests (#105)
Michael Durling authoredDec 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 4341c00 - Browse repository at this point
Copy the full SHA 4341c00View commit details
Commits on Dec 12, 2019
-
mdsctl: prompt-to-proceed if not using docker-desktop (#85)
* mdsctl: prompt-to-proceed if not using docker-desktop * mdsctl: bit of cleanup
Configuration menu - View commit details
-
Copy full SHA for 23e90e4 - Browse repository at this point
Copy the full SHA 23e90e4View commit details
Commits on Dec 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8e283ca - Browse repository at this point
Copy the full SHA 8e283caView commit details -
Support merging multiple settings properties (#108)
* Support merging multiple settings files * Get settings property names from query string * Support existing single settings property API
Michael Durling authoredDec 13, 2019 Configuration menu - View commit details
-
Copy full SHA for c6186a2 - Browse repository at this point
Copy the full SHA c6186a2View commit details -
[mds-agency] [mds-db] Initial Stop Prototype (#47)
* Add Stop datatype, and r/w endpoints to Agency * Add proper validation when POSTing stops * Add some basic error handling * Start adding tests... * Clean up bad db types * Test cleanup * More cleanup * More cleanup pt2 * More cleanup * Add read back test * More tests * Last of the tests? * Some formatting cleanup * Remove unused import * Make geography_id optional for stops, add lat/lng requirement * Cleanup * Review nits * Clean up schema, use SqlVals() * Remove markdown plugin * Update carshare -> car, and add moped type to vehicleTypesCountMapSchema definition * Break build... this is intentional, I promise * Revert "Break build... this is intentional, I promise" This reverts commit d8ba989. * Fixture updates * Add recorded column * Cleanup
Configuration menu - View commit details
-
Copy full SHA for a92e55e - Browse repository at this point
Copy the full SHA a92e55eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6bc2af - Browse repository at this point
Copy the full SHA f6bc2afView commit details -
[mds-audit] Speed up VIN lookup by parallelizing cache reads (#110)
* Speed up VIN lookup by parallelizing cache reads
Configuration menu - View commit details
-
Copy full SHA for 0f5749d - Browse repository at this point
Copy the full SHA 0f5749dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e87e4c - Browse repository at this point
Copy the full SHA 9e87e4cView commit details
Commits on Dec 16, 2019
-
Update VS Code ESLint settings (#117)
Michael Durling authoredDec 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 1d74259 - Browse repository at this point
Copy the full SHA 1d74259View commit details -
[mds-db] Refactor makeReadOnlyQuery to permit use of SqlVals() (#116)
* Refactor makeReadOnlyQuery to permit use of SqlVals() * Fix minor oversight
Configuration menu - View commit details
-
Copy full SHA for 81a1cad - Browse repository at this point
Copy the full SHA 81a1cadView commit details -
[mds-agency] [mds-web-sockets] Basic outbound websocket implementatio…
…n for MDS-Agency (#99) * First pass at WS * Add tsconfig * Add basic websocket emission to mds-agency * Emission cleanup * Add tsconfig * Cleanup * Dependency cleanup * More dependency cleanup * WIP * More WIP * WIP * WIP * Manual event triggering works, wheee * Remove agency socket interaction, to be replaced with reading from KNE * Added basic auth handling, need to add logic for token expiration. Could also just add a 30s heartbeat requirement. * Validate auth * More auth cleanup * Header validation cleanup * Generate random events and telemetry to send down websocket * Nits * Add outbound ws client * Message emission working * Purge console.log * Clean up authorizers * Cleanup * Bump deps * Bump deps * Cleanup * Test coverage * Cleanup * Moar cleanup * So much cleanup * Bap * nits * Moar nits * Refactor async in forEach to use Promise.all() * Rename nit * Export cleanup * Exception handling cleanup * Add missing index.ts file * Remove stale clients * Make sure to kill the connections too * Exec function * Minor authorizer refactor (#111) * Force exit for agency tests to close open socket * Moar exit forces * Import alignment * Cleanup * Changes for internal routing and basic helm config * Remove test code * Cleanup
Configuration menu - View commit details
-
Copy full SHA for e9e1e27 - Browse repository at this point
Copy the full SHA e9e1e27View commit details
Commits on Dec 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 981b7cb - Browse repository at this point
Copy the full SHA 981b7cbView commit details -
[mds-web-sockets] Check for admin:all scope when authenticating clien…
…ts (#121) * Add admin-all scope check when authenticating ws clients * Nullish coalesce all the things * Remove unnecessary check
Configuration menu - View commit details
-
Copy full SHA for b411d47 - Browse repository at this point
Copy the full SHA b411d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed090f4 - Browse repository at this point
Copy the full SHA ed090f4View commit details
Commits on Dec 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 268f182 - Browse repository at this point
Copy the full SHA 268f182View commit details -
[mds-web-sockets] Don't always start WebSocket server (#123)
* Don't always start WebSocket server * Add missing launch file
Configuration menu - View commit details
-
Copy full SHA for caef8ea - Browse repository at this point
Copy the full SHA caef8eaView commit details
Commits on Dec 19, 2019
-
use branch name for docker image tag suffix (#124)
* use literal branch name as docker suffix * portable sed
Configuration menu - View commit details
-
Copy full SHA for 8e82280 - Browse repository at this point
Copy the full SHA 8e82280View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89cc15a - Browse repository at this point
Copy the full SHA 89cc15aView commit details -
[mds-processors] Refined Processor Implementation (#104)
* Cleanup * update requirement versions * revert to original dir copy * cleanup * Beginning of cleanups * more cleanup/ removed streaming logic scoped for Q1 * trip-proc cleanup * type fixes * ts refactor * helm reconcile * mds-logger * metric cleanup * helm fixes * breaking db methods into seperate file * cache/db refactor * Clean up geo.ts * Clean up annotation.ts * Clean up proc-event.ts * Clean up proc.ts * Clean up misc * Clean up metrics.ts * Update MetricsTableRow type * Resolve/suppress all linter warnings, and resolve compilation errors. * Add eslint-reasons to most directive disables * Refactor geo.ts files into utils * Add stricter typing * Cleanup * Fix dependencies/versions * cache/db fixes * proc fixes * mdsctl: cleanup (comment out nats) * Cleanup * Optional chaining * Add ParseError * upgrade natss * mdsctl: update * mdsctl: update bin/mdsctl add knative(broker,channel) * fix typo * mdsclt: ko hack, mds pause for natss * mdsctl: s/pause/condition/g * [WIP] [mds-metrics] Add dump all metrics rows API endpoint (#94) * WIP codify types add initial request handler test add query construction tests named args obj (no more defaults) Add explanatory comments more comments * s/timestamp/start_time * rename some things + cleanup * update test * fix incorrect import * fix type signature * mdsctl: kne w/o namespace labeling * Remove default param val * - Add id column to reports tables - Restore sorting of code * Do not initialize the db at startup! * Reduce unnecessary switch cases * Fix lint error that's been breaking build * Upgrade to cloudevents 1.0 with typings * added presets to mdsctl * update proc-event * mdsctl uncomment natss * Remove deprecated Redis stream * Remove package-lock file * Generic server for handling knative cloudevents * Make handler async * Unit test placeholder * [mds-metrics] Adds geography_id and provider_id query params to /metr… (#98) * [mds-metrics] Adds geography_id and provider_id query params to /metrics/all Usage: GET /metrics/all?geography_id={}&provider_id={} Both fields are optional. Each id query param must be a valid UUID or you'll get a 500. TODO test w/ cURL or Insomnia @evanxadkins This is also going into PR #88 Closes [MDSAAS-487](https://lacunadotai.atlassian.net/browse/MDSAAS-487) * fix up lint and add comment * remove geography_id query param * initial stab at vehicle_type querying * vehicle_type query param support * add english bin_size support * switch to nifty time utils * crazy time validation logic * add note * fix mutable moment bug * add note * clean up request handler * clean up notes * add tsv format query param * add note * add some tsv export tests * fix failing test * tests should be more stable now * fix import * purge link * remove flaky test (again) * lint * type enforcement * eslint errors * Regenerate lock file * Switch trip/provider handlers to event server * Clean up a couple test commands/timeouts * Add better parsing logs * trip-proc update * promise handling * prov-proc update * metrics update * Handle parse errors from cron source events * Improve test coverage * Minor cleanup * Feature/jwtodd events trips provider processor (#101) * nats: internal deployment of processors * cjs: remove hardwired minute interval * helm: fix cronjobsource schedule * processors: add cronjob template * interval: 1m * event sync * nats: processor (internal-apis; no need to port-forward), simulator cli, natss broker/channel * helm/mds: template cleanup(broker, processor-cronjob) * mdsctl: tad better ko ref * helm/mds cleanup * mdsctl: make natss a pre-condition of mds * mdsctl: cleanup * bug fixes * Package update * [mds-metrics] Add stub endpoint (#103) * add stub endpoint * fix async/string * simplify JSON tsv processing * re-enable/fix up tsv export in main api * WIP * cache update * cache update * Update test scripts for new packages * Update versions of mds-core dependencies * Add missing dependencies, fix build/test errors * package updates * minor syntax changes * mdsctl: sed of osx; todo: fix for all * mdsctl: better (osx,windows) natss install * multimodal changes * mdsctl: support deleting 2+ images * mdsctl: build image cleanup, simulator build * event_count metric addition * [mds-db] [mds-metrics] Add SqlVals() to processors db queries (#107) * refactor to use SqlVals() * revert unrelated changes * helm/mds: +mds-config, for t in helm/mds/templates/* s/key/name/g, move natss-channel into deploy namespace (eg mds); verified: simulator, logs mds-(event,provider,trip)-processor * Add unit tests to mds-event-processor (#112) * Revert "[mds-db] [mds-metrics] Add SqlVals() to processors db queries (#107)" This reverts commit 0cee743. * fix weird lint error * initial test * crlf yikes * moar tests * lower codecov * more unit tests * small helm changes * sqlVals * small error handling changes * Revert "sqlVals" This reverts commit f2299b2. * vscode settings * kne/natss:0.11.0, multi-tenant nats/redis msg routing (#115) * mdsctl: delete 2+ images * filter prep * natss: conditionally prefix the event:type with the tenantId else use 'mds' as the default * rm tenantId dbug * events/multi-tenancy: patch db statments to vary event-type prefix, attempted to push the tenentId down to utils but bad things happened to my system; next: test concurrent tenants, verify db statements * kne: move deploy process to helm (from kubectl apply -f [url]) * nats: helm'ify * nats/helm: pin to gcr * nats: prioritize (un)install natss via helm * redis: multi-tenant * multi-tenant: cleanup * mdsctl: not to sync kne-contrib from a release * redis/multi-tenant: clean up comment * redis/multi-tenant: clean up argument quoting * mdsctl: helm kne-eventing-init * nats/multi-tenant: filter out tenant-routing prefix prior to forwarding the message to the handler * natss event processor: clean-up * helm/kne-contrib: r0.11.0 natss-channel.yaml * mdsctl: fixme cleanup * tenantid: better ternary * Clean up cloud event parsing. * Suppress deprecation warnings * Feature/maxj/sqlvals (#119) * [mds-audit] Speed up VIN lookup by parallelizing cache reads (#110) * Speed up VIN lookup by parallelizing cache reads * Fix build error (#114) * Update VS Code ESLint settings (#117) * [mds-db] Refactor makeReadOnlyQuery to permit use of SqlVals() (#116) * Refactor makeReadOnlyQuery to permit use of SqlVals() * Fix minor oversight * re-enable sqlvals * [mds-agency] [mds-web-sockets] Basic outbound websocket implementation for MDS-Agency (#99) * First pass at WS * Add tsconfig * Add basic websocket emission to mds-agency * Emission cleanup * Add tsconfig * Cleanup * Dependency cleanup * More dependency cleanup * WIP * More WIP * WIP * WIP * Manual event triggering works, wheee * Remove agency socket interaction, to be replaced with reading from KNE * Added basic auth handling, need to add logic for token expiration. Could also just add a 30s heartbeat requirement. * Validate auth * More auth cleanup * Header validation cleanup * Generate random events and telemetry to send down websocket * Nits * Add outbound ws client * Message emission working * Purge console.log * Clean up authorizers * Cleanup * Bump deps * Bump deps * Cleanup * Test coverage * Cleanup * Moar cleanup * So much cleanup * Bap * nits * Moar nits * Refactor async in forEach to use Promise.all() * Rename nit * Export cleanup * Exception handling cleanup * Add missing index.ts file * Remove stale clients * Make sure to kill the connections too * Exec function * Minor authorizer refactor (#111) * Force exit for agency tests to close open socket * Moar exit forces * Import alignment * Cleanup * Changes for internal routing and basic helm config * Remove test code * Cleanup * [mds-agency] Fix import of package with no default export (#120) * remove quotes around vals.add() * follow existing pattern for IN * clean up unused imports * more cleanup * more lint? * helm/mds: fix values(apis,processors) * Fix Cloud Event emitter cache * Remove deprecated test * Restore cloud event test * minor proc package fix * Feature/maxj/additional query params (#118) * specify multiple provider_id query values * clean up types, normalize logic to arrays * add multiple bin processing support * clean up bin_size handling * add some additional handling code * %s/let/return/g * clean up types/naming * clean up default arg * fix test * mdsctl: fully helm'ify the mds install (by labelling the namespace; noting the cost is an extra 'default' in-memory broker) * CE prefix metric query removal * Dependency updates * added README * Small cleanups * Fix helm template * Fix project reference * Add unit test to fix coverage * add recorded column to reporting tables * Update README.md * added now util function * Update README.md * run triggers on the top of the hour * helm/kne: remove in-memory-controller; tested with `mdsctl -p processors install:mds,simulator` and observing events propogated to logs * helm/mds: add `postgresql.password` empty-by-default field with clarifying comment * helm/knative: remove imc k8s deploy * [mds-provider-processor] A few unit tests for mds-provider-processor. (#128) * A few unit tests for mds-provider-processor. * Fixed test threshold. * this is not right but it makes tests pass * Clean up project references * Adding cache.initialize for consistency. * unit tests for metric utils * formatting * cleanup * Restore configmap functionality * type reduction * hour cron interval * Mount config volume in all pods (#130) Co-authored-by: Neil Goldader <avatarneil@gmail.com> Co-authored-by: Michael Durling <michael@ellis-and-associates.com> Co-authored-by: James Todd <99516+jwtodd@users.noreply.github.com> Co-authored-by: Max Johansen <macsj200@gmail.com> Co-authored-by: Alex Gottschalk <389982+invertigo@users.noreply.github.com> Co-authored-by: janedotx <jane.x.huang@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ab47f5d - Browse repository at this point
Copy the full SHA ab47f5dView commit details
Commits on Dec 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0e952d1 - Browse repository at this point
Copy the full SHA 0e952d1View commit details
Commits on Dec 23, 2019
-
mdsctl: remove dashboard, get cli:postgresql and cli:redis working ag…
…ain (#126) * mdsclt: rm dashhboard, fix cli * mdsctl: get cli:[postgresql|redis] working again * mdsctl: add helm@2 to PATH given it is installed in a non-default/opt location; note: dep on #104, will work as-is if pushed prior * helm/mds: match #104 re $.Values.apis.env parse error * mdsctl: helm init cleanup, don't display usage message when an error is present Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0e7bf93 - Browse repository at this point
Copy the full SHA 0e7bf93View commit details
Commits on Dec 24, 2019
-
[mds-agency] Don't retry then send a 500 on a failed cache/stream/soc…
…ket write (#134) * Don't retry then send a 500 on a failed cache/stream/socket write * Use recorded_event rather than event * Refactor telemetry writing
Configuration menu - View commit details
-
Copy full SHA for 9ada6f7 - Browse repository at this point
Copy the full SHA 9ada6f7View commit details
Commits on Dec 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a83a414 - Browse repository at this point
Copy the full SHA a83a414View commit details
Commits on Dec 31, 2019
-
[mds-audit] Return last active device registered if db has duplicates…
… for provider + vin (#127) * Return last device registered if db has duplicates for provider + vin * Fix lint * Prefer an active device when de-duping
Configuration menu - View commit details
-
Copy full SHA for 673255c - Browse repository at this point
Copy the full SHA 673255cView commit details
Commits on Jan 2, 2020
-
Load configuration data via service (#132)
* Load configuration data via service * Rename a few things... * Fix tests Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d6534a6 - Browse repository at this point
Copy the full SHA d6534a6View commit details -
[mds-agency] [mds-utils] Extract normalizeToArray() and leverage in D…
…aily (#136) * refactor normalizeToArray() * use new helper
Configuration menu - View commit details
-
Copy full SHA for ba39b6c - Browse repository at this point
Copy the full SHA ba39b6cView commit details -
[mds-*] Append commit hash to image tag if on non-master branch (#139)
* Append commit hash to image tag if on non-master branch * Review nits
Configuration menu - View commit details
-
Copy full SHA for 24c47eb - Browse repository at this point
Copy the full SHA 24c47ebView commit details -
replace heisentest with unit tests (#138)
Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5cb149b - Browse repository at this point
Copy the full SHA 5cb149bView commit details
Commits on Jan 3, 2020
-
Update package dependencies (#140)
Michael Durling authoredJan 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 873eb74 - Browse repository at this point
Copy the full SHA 873eb74View commit details
Commits on Jan 4, 2020
-
[mds-web-sockets] Initial web-socket test to get the framework in pla…
…ce. (#137) * Initial web-socket test to get the framework in place. * Minor refactor
Configuration menu - View commit details
-
Copy full SHA for d5e7625 - Browse repository at this point
Copy the full SHA d5e7625View commit details -
mdsctl: number of usability improvements (#135)
* mdsctl: seed PATH for non-default install bins; confirm remote-deploy only once * mdsctl: tiller aws * mdsctl: cleanup * mdsctl: better remoting, add ability to cycle a pod, lessen remote warning check * mdsctl: add cycle default, all services and procesors * mdsctl: cleanup neg responses * mdsctl: nit * mdsctl: deploy in-cluster pgcl/redis-cli; note: can remove pcli/redis from brew * mdsctl: rm brew(pgcli, redis) * mdsctl: rm dead preset hook * mdsctl: fix bugs(uninstallHelm, don't require MDS_SIMULATOR_REPOSISORY if MDS_SIMULATOR is set to a viable install) * mdsctl: move some non-obvious configuration switches to comment-notes * helm/natss: provide ability to override default resources(requests.cpu, limits.memory) * readme: update mdsctl invocation * mdsctl: +grafana; note: not configured correctly just yet * mdsctl: +(un)install(dnslookup,curl,grafana) * mdsctl: support kn(eventing,monitoring,serving) * mdsctl: helm-delete by namespace * mdsctl: touch ~/.bashrc if it doesn't exist, better bash command-to-brew-recipe mapping support * helm/natss: set default memory to 512M, override with 32M * mdsctl: install:knative(monintoring); will be continued in another branch * natss: default memory=512M, fix mdsctl dns-lookup ns bug * mdsctl: processors(+websockets)
Configuration menu - View commit details
-
Copy full SHA for c5c59c7 - Browse repository at this point
Copy the full SHA c5c59c7View commit details
Commits on Jan 6, 2020
-
[mds-agency] [mds-web-sockets] Improve agency/telemetry error handlin…
…g, and add basic health check to WebSocket client (#141) * First pass at cleaning up telemetry error handling * Patch the client to properly handle not being able to connect to web-sockets * More attemps at fixing client code... * Moar cleanup * More cleanup
Configuration menu - View commit details
-
Copy full SHA for 355d531 - Browse repository at this point
Copy the full SHA 355d531View commit details -
add unified state representation (#144)
Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 04eb366 - Browse repository at this point
Copy the full SHA 04eb366View commit details
Commits on Jan 7, 2020
-
[mds-metrics] Fixes metrics scope processing (#146)
* adds metrics:read and metrics:read:provider scoping * fix error msg * add note * push provider query logic to middleware * simplify logic * fix import * lint * fix unit tests * coverage * alphabet
Configuration menu - View commit details
-
Copy full SHA for b9d89b5 - Browse repository at this point
Copy the full SHA b9d89b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2330355 - Browse repository at this point
Copy the full SHA 2330355View commit details -
Support async access token scope validators (#147)
* Support async access token scope validators * Dependency updates * ESLint/Prettier
Michael Durling authoredJan 7, 2020 Configuration menu - View commit details
-
Copy full SHA for cedca54 - Browse repository at this point
Copy the full SHA cedca54View commit details
Commits on Jan 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7e0064 - Browse repository at this point
Copy the full SHA b7e0064View commit details -
[mds-utils] Remove unused state transition function (#145)
* remove unused function * lint * add expected transition values
Configuration menu - View commit details
-
Copy full SHA for e95d422 - Browse repository at this point
Copy the full SHA e95d422View commit details -
Configuration menu - View commit details
-
Copy full SHA for e88d135 - Browse repository at this point
Copy the full SHA e88d135View commit details
Commits on Jan 16, 2020
-
[mds-*] Upgrade to Node.js 12 (v12.14.1) runtime (#154)
* Upgrade to Node.js 12 (v12.14.1) runtime * Upgrade node types
Configuration menu - View commit details
-
Copy full SHA for 1433bdf - Browse repository at this point
Copy the full SHA 1433bdfView commit details
Commits on Jan 17, 2020
-
[mds-metrics] Add unauthorized error if query params attempt to excee…
…d scope (#156) * add unauthorized error if query params attempt to exceed scope * reorder scope checking
Configuration menu - View commit details
-
Copy full SHA for 962ab72 - Browse repository at this point
Copy the full SHA 962ab72View commit details
Commits on Jan 21, 2020
-
Feature/eadks proc cleanup (#150)
* cleanup spike * telemetryMap structure change * optimize registered count metric * fixed test case * null vehicle_type cache read bug fix * service area test cases * test case type enforcement * cleanup * query fix * reduce logic * removed unused import * added error msg * removed unused import * syntax edits * migration script and sql logs
Configuration menu - View commit details
-
Copy full SHA for 2442a0d - Browse repository at this point
Copy the full SHA 2442a0dView commit details
Commits on Jan 22, 2020
-
Remove provider API from City Services cluster (#159)
* Remove provider API from City Services cluster * Remove provider API scopes
Michael Durling authoredJan 22, 2020 Configuration menu - View commit details
-
Copy full SHA for e4d026f - Browse repository at this point
Copy the full SHA e4d026fView commit details -
fix heisenbug by moving tests to end (#161)
Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d9e1591 - Browse repository at this point
Copy the full SHA d9e1591View commit details
Commits on Jan 23, 2020
-
* increase timeout * timeout env var * reorder number cast
Configuration menu - View commit details
-
Copy full SHA for ff2f2b4 - Browse repository at this point
Copy the full SHA ff2f2b4View commit details -
make sure we have AWS env vars before we make the call asking for AWS…
… creds (#164)
Mark Maxham authoredJan 23, 2020 Configuration menu - View commit details
-
Copy full SHA for baebab8 - Browse repository at this point
Copy the full SHA baebab8View commit details
Commits on Jan 24, 2020
-
two changes to fix heisenbug pt 2 in policy-author (#165)
Mark Maxham authoredJan 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 8a7a59f - Browse repository at this point
Copy the full SHA 8a7a59fView commit details
Commits on Jan 26, 2020
-
[mds-cache][mds-processors] Cache optimization for event and trip pro…
…cessors (#160) * cleanup spike * telemetryMap structure change * optimize registered count metric * fixed test case * null vehicle_type cache read bug fix * service area test cases * test case type enforcement * cleanup * query fix * restructure spike * hscan addition * proc cache changes * hscan reformat * hscan bug fix * reduced cache maintanence logic * removed unused import * edit to cache method names * merge cleanup * merge cleanup * more merge cleanup * comment syntax * map edits * reduced logic * typdef fixme comment * revert values.yaml Co-authored-by: Mark Maxham <max@ellis-and-associates.com> Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 061d094 - Browse repository at this point
Copy the full SHA 061d094View commit details
Commits on Jan 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 072f601 - Browse repository at this point
Copy the full SHA 072f601View commit details
Commits on Jan 29, 2020
-
* no mutation * refactor modules + add test * Add moment-based timestamps * Export getCurrentDate() Co-authored-by: Neil Goldader <avatarneil@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 64e7de2 - Browse repository at this point
Copy the full SHA 64e7de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78df555 - Browse repository at this point
Copy the full SHA 78df555View commit details
Commits on Jan 30, 2020
-
[mds-stream] [mds-event-processor] NATS implementation for mds-event-…
…processor. (#143) * First pass at nats implementation for mds-event-processor * Some cleanup * Works in-cluster with manual IP for NATS.connect args * Actually await things * nats: mdsctl(nats), disable kne/natss * Remove trigger.yaml * Check env.NATS instead of env.SINK * mdsctl: natss * Switch from vanilla nats to nats-streaming. This enables us to sychronously handle subscriptions. * stan ftw * add STAN_CLUSTER_ID env var * WIP * WIP * WIP * WIP * Re-add event-server wrapper for mds-event-processor * Revert some prior changes, structure events with CE * Add credentials support * stan.creds * Add STAN_CREDS env var * Some changes... * stan.creds mount * cleanup * Stop using mds-event-server because it causes problems, working end-to-end in cluster * Patch * infer image:tags from remote registry * +gcloud * Re-add getRawData() * Re-add mds-event-server, switch to using nats-streaming 0.3.0 client * Clean up dependencies * Update dependencies * Ack failed messages * helm(nats,stan) * stan/cleanup * +nats-box * +nats-box, pin cluster-id * stan cluster id * add [nats|stan]x which are single-pod no-auth nats-io/k8s deploys * helm'ify (nats,stan)x * Cluster handled pod routing * +stan=statefulset * +stans:0.16.2 * u/d * Event-server refactoring to improve readability * Add getNats() to get a persistent nats client and save it if it falls over * Add re-connect logic * Turns out the nats client will attempt to reconnect for us, groovy. * Enable reconnects * Misc cleanup * disable istio-injection in nats deployments * prune kne * cleanup * stan: disable istio * mdsctl: patch nats helm so that it's operations are distinct from init,cluster * (un)install:stan fix * cleanup natsbox conf * install {tools}/helm:2.14.1 if not preent in the env * bump stan disk allocation * allow for more-more-then-one (natsbox, curl, dns) deploys * add ServiceEntry egress for nats, and DestinationRule to disable mTLS for the destination namespace * switch default nats namespace to "nats" from "default", use correct nats endpoint for stan * mdsctl: +(nats,stan)-local, rm(kne*); next: conf mds->nats.nats * mds: add env NATS=nats.nats, set STAN_CLUSTER=stan; would like to remove env STAN, STAN_CREDENTIALS, SINK * patch * helm/mds/.../egress.yaml: fix typo * patch: get image versions * +kubectx, helm/mds/deployment conf nats ns * cold-start install patch * cleanup * stan: set max-message,max-bytes=0 (unlimited) * mdsctl: keep-cache support for yarn * trip-proc cron job * Cron restart policy fix * cronjobs in the house * sync mds-trip * cleanup * mds/templates: image w/ & w/o registry * cleanup env * Remove CE_NAME and STAN in favor of NATS * Update STAN_CLUSTER to nats-streaming * Switch to using env.NATS for streaming * More switching to env.NATS * provider-proc cron edits * Await parseTripsEvents * u/d readme(mdsctl) * u/d mdsctl * u/d mdsctl * mdsctl: support provider=aws:imageTag (get latest tag by image name) * mdsctl: u/d readme * Optional processor fix * mount mds-config configmap * Remove db.startup, cache.startup, getConfig. They're not working properly at the moment * Remove db.startup from mds-provider-processor * +surveyor, rename stan-statefulset to nats-streaming-server * helm/mds: disable (trip, provider) processors, as they are invokved via cron * surveyor: rm creds * helm/natsbox: rename to nats-box * Force exit after function is done * use namespace name as default TENANT_ID * Fix bad variable injection * allow empty tenantId for legacy installs (ladot), use namespace if key is missing from .Values * helm/mds: clean-up proto dead-code * not using knative anymore * consistent naming * cleanup resource names * differentiate nats/stan config-map names * s/example-nats/nats/ * switch cron to hourly, turn off migrations for agency * Update mdsctl * Update README.md * Update mdsctl * Update mdsctl * remove dependency on ~/.bashrc * mdsctl: remove persisting conf in ~/.bashrc * minor refactor - put event-processor into APIs as a service deployment and put trip- and provider- processors into cronjobs. retire old metrics-sheet specific cronjob * pull out nats-surveyor to be applied to a subsequent branch * Drop nullish coalescence operator in favor of logical OR for TENANT_ID * Update TENANT_REGEXP * update template to match yaml, remove spurious env vars * helm/nats: patch stan conf (store typo) * Switch processors -> cronjobs * mdsctl: build/yarn-clean * helm: prune nats-local * Typo * Env var defaults cleanup * u/d readme re k8s conf * Add comment detailing writeCloudEvent Co-authored-by: James Todd <99516+jwtodd@users.noreply.github.com> Co-authored-by: Alex Gottschalk <389982+invertigo@users.noreply.github.com> Co-authored-by: Evan Adkins <53316916+evanxadkins@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c7861f7 - Browse repository at this point
Copy the full SHA c7861f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b3757d - Browse repository at this point
Copy the full SHA 9b3757dView commit details -
Assume cache as source-of-truth for output to get time since last eve…
…nt due to performance problems in production (#169)
Configuration menu - View commit details
-
Copy full SHA for cf2619f - Browse repository at this point
Copy the full SHA cf2619fView commit details
Commits on Jan 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0aa7125 - Browse repository at this point
Copy the full SHA 0aa7125View commit details
Commits on Feb 1, 2020
-
[mds-*] Add Okteto Configuration for in-cluster debugging (#171)
* First-pass at okteto integration * Add per-service okteto config * Move config back to top level * Update docs, fix missing name * update docs * Oops * Update docs * Update docs moar * Docs updates
Configuration menu - View commit details
-
Copy full SHA for 2e3e631 - Browse repository at this point
Copy the full SHA 2e3e631View commit details
Commits on Feb 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f36e29d - Browse repository at this point
Copy the full SHA f36e29dView commit details
Commits on Feb 6, 2020
-
Michael Durling authored
Feb 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 0f6d70f - Browse repository at this point
Copy the full SHA 0f6d70fView commit details
Commits on Feb 12, 2020
-
change envoy idle timeout to offset from nodejs idle timeout. reduces…
… incidents of a race condition where envoy attempts to connect with a timed-out node, resulting in a 503 UC
Configuration menu - View commit details
-
Copy full SHA for 5018962 - Browse repository at this point
Copy the full SHA 5018962View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed67fa3 - Browse repository at this point
Copy the full SHA ed67fa3View commit details -
Update Config API to support partial configs (#178)
* Refactor config service to improve error handling and test coverage * Add partial config support * Unit tests for partial config * Change error (404) response body
Michael Durling authoredFeb 12, 2020 Configuration menu - View commit details
-
Copy full SHA for f95b4dd - Browse repository at this point
Copy the full SHA f95b4ddView commit details -
Upgrade dependencies; fix typescript/lint errors (#179)
Michael Durling authoredFeb 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 2d8a07d - Browse repository at this point
Copy the full SHA 2d8a07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f658874 - Browse repository at this point
Copy the full SHA f658874View commit details
Commits on Feb 13, 2020
-
move annotation for preventing istio sidecar injection to correct met… (
#180) * move annotation for preventing istio sidecar injection to correct metadata location * move annotation for preventing istio sidecar injection to correct metadata location * remove dupe * too many specs and templates
Configuration menu - View commit details
-
Copy full SHA for 69bf8c8 - Browse repository at this point
Copy the full SHA 69bf8c8View commit details
Commits on Feb 19, 2020
-
[mds-web-sockets] First pass at some internal JWT validation. (#157)
* Promisify all the things * Cleanup * Working with Bearer tokens * WIP * Working tests whoop * Fix error message
Configuration menu - View commit details
-
Copy full SHA for e679eec - Browse repository at this point
Copy the full SHA e679eecView commit details -
Increase default timeout values to reduce spurious 503 errors from Is…
…tio (#184)
Michael Durling authoredFeb 19, 2020 Configuration menu - View commit details
-
Copy full SHA for 66be9ed - Browse repository at this point
Copy the full SHA 66be9edView commit details
Commits on Feb 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b30f254 - Browse repository at this point
Copy the full SHA b30f254View commit details
Commits on Feb 27, 2020
-
OMF-26 API Version Middleware (#189)
* API Version Middleware * Minor corrections
Michael Durling authoredFeb 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 4057d3a - Browse repository at this point
Copy the full SHA 4057d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c2b4d - Browse repository at this point
Copy the full SHA d2c2b4dView commit details -
Convert empty event.event_type_reason to null (#195)
Michael Durling authoredFeb 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 7ae0282 - Browse repository at this point
Copy the full SHA 7ae0282View commit details -
[mds-cache] Clean up promise logic in hreads (#153)
* Await batch hgetallasync rather than awaiting each invocation * Remove Promise junk * Remove janky promises, update typedef * Promise.all all of the things * Remove inner Promise.all * Linterz
Configuration menu - View commit details
-
Copy full SHA for dd36164 - Browse repository at this point
Copy the full SHA dd36164View commit details -
yarn upgrade-interactive --latest (#193)
Michael Durling authoredFeb 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 2505036 - Browse repository at this point
Copy the full SHA 2505036View commit details
Commits on Feb 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e64c794 - Browse repository at this point
Copy the full SHA e64c794View commit details -
Jurisdiction API (GET, POST endpoints) (#187)
* getOne/getAll jurisdiction service methods * create Jurisdiction service method * initialize/shutdown jurisdiction service * Initial GET /jurisdictions endpoint * Drop schema after unit tests * Clean up return statement * Add container image for MDS Jurisdiction API * API enpoints for create / find jurisdiction * Add validation on create * Update copyright notices * Use port 4011 for local jurisdiction API * Return 404 when jurisdiction not found * Add some error typing to jurisdiction service * Remove unused type * Scopes for writing jurisdictions + api tests * Add scopes for jurisdiction read * Add jurisdiction claim filtering * Stop tests from failing in the presence of extra db tables * mdsctl installs mochawesome; commiting * Rename a scope * Add copyright notices * Add versioning middleware to Jurisdiction API * Updated lock file * Merge origin/develop and update dependencies * mdsctl yarn.lock updates * Add some DB connection logging
Michael Durling authoredFeb 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 7edd446 - Browse repository at this point
Copy the full SHA 7edd446View commit details -
Use R/W connection for running TypeORM migrations (#197)
Michael Durling authoredFeb 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 82404b2 - Browse repository at this point
Copy the full SHA 82404b2View commit details
Commits on Mar 2, 2020
-
Clean up Versioned API types; Reorganize Jurisdiction/Native APIs (#198)
* Refactor Jurisdiction API * Clean up Native API types * Rename some private interfaces/types * Use array destructuring * Reorganize Native API middleware/handlers * Rename utils files
Michael Durling authoredMar 2, 2020 Configuration menu - View commit details
-
Copy full SHA for f617193 - Browse repository at this point
Copy the full SHA f617193View commit details -
Catch db connection errors separately (#199)
Michael Durling authoredMar 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 4d6664f - Browse repository at this point
Copy the full SHA 4d6664fView commit details -
[mds-provider-processor] Provider filter for device cache (#174)
* provider-device cache call * cron schedule revert * updated tests * test case bug * cleanup * nullish coalescing * registered device map refactor * registered device map refactor * cleanup
Configuration menu - View commit details
-
Copy full SHA for 2c0de4f - Browse repository at this point
Copy the full SHA 2c0de4fView commit details
Commits on Mar 3, 2020
-
[mds-web-sockets] Add structured response for authentication success …
…and failure (#204) * Add structured response for authentication success and failure * Fix test
Configuration menu - View commit details
-
Copy full SHA for b8fc1b6 - Browse repository at this point
Copy the full SHA b8fc1b6View commit details -
[mds-agency] [mds-utils] Add better object validation to agency. (#200)
* Add device object validation, begin working on building out event validators * Add event and telemetry validation to agency request handlers * Remove comment * Refactor to match other usage better, add allowUnknown validator option * More cleanup * Cleanup
Configuration menu - View commit details
-
Copy full SHA for 0d4d8c5 - Browse repository at this point
Copy the full SHA 0d4d8c5View commit details
Commits on Mar 4, 2020
-
Endpoints to update/delete a jurisdiction (#201)
* Update a single jurisdiction * Add unit tests * Sort versions by timestamp * Support "deleting" jurisdictions (with tests) * Separate out ORM operations into their own module. * Fix import statements * Tidy up some error messaging * Add a comment
Michael Durling authoredMar 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 64d9646 - Browse repository at this point
Copy the full SHA 64d9646View commit details
Commits on Mar 5, 2020
-
carve out exception to jwt auth for websockets api (auth is done inte…
…rnally due to different headers for ws protocol) (#192)
Configuration menu - View commit details
-
Copy full SHA for ceba3de - Browse repository at this point
Copy the full SHA ceba3deView commit details -
[mds-*] Merge in OMF/develop (#206)
* Kubernetes Contribution (#233) * mdsctl/preset: onward to gh * mdsctl: landed in gh * Add additional test + simplify sum logic * generalize over summing any columns * fix test index type * Split up mds-db into more manageable files. * mdsctl: open:dashboard patch * Increase test timeout to support k8s DB/Redis (#4) * mdsctl: uinstall:simulator * mdsctl: add preset:no-events * mdsctl: -p:no-events * mdsctl: install:simulator python pathing * review feedback, boiling all of index.ts down * k8s/util-namespace: bring forward from cola * Add last provider event to audit_events table on every audit event * Add endpoint to get vehicle by provider and vin * mdsctl: support running from path * Add geos summaries endpoint. * mdsctl: support running from any directory, add --quiet option to be 'less verbose' (can likely do more) * Consolidate provider event flattening, fix function-called-before-definition lint error * review feedback * mdsctl: provide a means to disable (postgresql, redis) persistence * mdsctl: conditionally update ~/[rc] to add mdsctl to PATH env * mdsctl: conditionally add mdsctl to PATH * mdsctl: fix install:logging namespace * Bump versions * mdsctl: override fluentbit * mdsctl: logging local * mdsctl: don't istio sidecar logging * test fails fuck * mdsctl: push logging to util namespace * Fixed Geography type. * Using fancier types. * improving tests * review feedback * mdsctl: leverage getopts/optspec * mdsctl: cleanup * Resolve Geography related build errors. * Implement count minimums. * Break readGeographies into separate methods for reading Geography and GeographySummary objects. * Rename readGeographiesSummary -> readGeographiesSummaries, and replace duplicate logic with a call to readGeographies then simply strip out the geography_json * Minor tweaks due to vscode doing some poor automagical renaming * Better parameter destructuring * Rename readGeographiesSummaries -> readGeographySummaries * Resolve lint error, oops * Add additional logging info to getProviderMetrics() * Bump version * mdsctl: tab completion * [mds-agency] s/car/carshare/g MDSAAS-277 Slack discussion https://lacuna-tech.slack.com/archives/CHXQXQK5M/p1571325224046400 * update ref to enum key * add a small test * mdsctl: remove python env dep * mdsctl: s/presets/preset/g * Resolve bad import * finitio * MDSAAS-275 Remove AWS Lambda handlers, etc. (#25) * MDSAAS-275 Remove AWS Lambda handlers, etc. * Remove lambda deployment script runner * Run ESLint concurrently before unit tests * Remove AWS reference from comment * Remove explicit typing * Bump version * Publish - @container-images/env-inject@0.1.13 - @container-images/mds-agency@0.1.14 - @container-images/mds-audit@0.1.15 - @container-images/mds-compliance@0.1.14 - @container-images/mds-daily@0.1.14 - @container-images/mds-metrics-sheet@0.1.15 - @container-images/mds-native@0.0.12 - @container-images/mds-policy-author@0.1.14 - @container-images/mds-policy@0.1.14 - @container-images/mds-provider@0.1.14 - @mds-core/mds-agency@0.0.16 - @mds-core/mds-api-authorizer@0.1.14 - @mds-core/mds-api-helpers@0.1.14 - @mds-core/mds-api-server@0.1.14 - @mds-core/mds-audit@0.1.26 - @mds-core/mds-cache@0.1.14 - @mds-core/mds-compliance@0.1.15 - @mds-core/mds-daily@0.0.15 - @mds-core/mds-db@0.1.14 - @mds-core/mds-logger@0.1.12 - @mds-core/mds-metrics-sheet@0.0.15 - @mds-core/mds-native@0.0.12 - @mds-core/mds-policy-author@0.0.11 - @mds-core/mds-policy@0.0.15 - @mds-core/mds-provider@1.0.14 - @mds-core/mds-providers@0.1.14 - @mds-core/mds-stream@0.1.14 - @mds-core/mds-test-data@0.1.14 - @mds-core/mds-types@0.1.11 - @mds-core/mds-utils@0.1.14 * comments * Rename previous_geographies column and update deleteGeography so it handles all cases where read_only is not true. * Fix bad null checking. Closes MDSAAS-289 * MDSAAS-202 Upgrade to Node.js 10.16.3 LTS runtime (#12) * MDSAAS-202 Upgrade to Node.js 10.16.3 LTS * Suppress node deprecation warnings * review feedback * bump root version * Publish - @container-images/env-inject@0.1.14 - @container-images/mds-agency@0.1.15 - @container-images/mds-audit@0.1.16 - @container-images/mds-compliance@0.1.15 - @container-images/mds-daily@0.1.15 - @container-images/mds-metrics-sheet@0.1.16 - @container-images/mds-native@0.0.13 - @container-images/mds-policy-author@0.1.15 - @container-images/mds-policy@0.1.15 - @container-images/mds-provider@0.1.15 - @mds-core/mds-agency@0.0.17 - @mds-core/mds-api-authorizer@0.1.15 - @mds-core/mds-api-helpers@0.1.15 - @mds-core/mds-api-server@0.1.15 - @mds-core/mds-audit@0.1.27 - @mds-core/mds-cache@0.1.15 - @mds-core/mds-compliance@0.1.16 - @mds-core/mds-daily@0.0.16 - @mds-core/mds-db@0.1.15 - @mds-core/mds-logger@0.1.13 - @mds-core/mds-metrics-sheet@0.0.16 - @mds-core/mds-native@0.0.13 - @mds-core/mds-policy-author@0.0.12 - @mds-core/mds-policy@0.0.16 - @mds-core/mds-provider@1.0.15 - @mds-core/mds-providers@0.1.15 - @mds-core/mds-stream@0.1.15 - @mds-core/mds-test-data@0.1.15 - @mds-core/mds-types@0.1.12 - @mds-core/mds-utils@0.1.15 * match path prefix, optionally followed by a slash, optionally followed by [-a-z] character set * Populate publish_date on geographies. * review feedback * incrase timeout * Fix bad geographies migration * Minor fix * Bump main version * Publish - @container-images/env-inject@0.1.15 - @container-images/mds-agency@0.1.16 - @container-images/mds-audit@0.1.17 - @container-images/mds-compliance@0.1.16 - @container-images/mds-daily@0.1.16 - @container-images/mds-metrics-sheet@0.1.17 - @container-images/mds-native@0.0.14 - @container-images/mds-policy-author@0.1.16 - @container-images/mds-policy@0.1.16 - @container-images/mds-provider@0.1.16 - @mds-core/mds-agency@0.0.18 - @mds-core/mds-api-authorizer@0.1.16 - @mds-core/mds-api-helpers@0.1.16 - @mds-core/mds-api-server@0.1.16 - @mds-core/mds-audit@0.1.28 - @mds-core/mds-cache@0.1.16 - @mds-core/mds-compliance@0.1.17 - @mds-core/mds-daily@0.0.17 - @mds-core/mds-db@0.1.16 - @mds-core/mds-logger@0.1.14 - @mds-core/mds-metrics-sheet@0.0.17 - @mds-core/mds-native@0.0.14 - @mds-core/mds-policy-author@0.0.13 - @mds-core/mds-policy@0.0.17 - @mds-core/mds-provider@1.0.16 - @mds-core/mds-providers@0.1.16 - @mds-core/mds-stream@0.1.16 - @mds-core/mds-test-data@0.1.16 - @mds-core/mds-types@0.1.13 - @mds-core/mds-utils@0.1.16 * better regex - match the pathPrefix followed by either EoL or a slash and zero or more characters * route by FQDN in ingress * update values for ingress routing by domain * ALTER TABLE RENAME COLUMN ... TO ... (#36) * remove letsencrypt option - never worked reliably and not the ingress is not compatible with non-LE TLS (not possible to switch back and forth) * remove letsencrypt option - never worked reliably and not the ingress is not compatible with non-LE TLS (not possible to switch back and forth) * standardize API TCP ports to 4000, remove some never-used selectors for enabling/disabling DB and Cache env vars, make Eventing selector global instead of per-api * bump package version * Publish - @container-images/env-inject@0.1.16 - @container-images/mds-agency@0.1.17 - @container-images/mds-audit@0.1.18 - @container-images/mds-compliance@0.1.17 - @container-images/mds-daily@0.1.17 - @container-images/mds-metrics-sheet@0.1.18 - @container-images/mds-native@0.0.15 - @container-images/mds-policy-author@0.1.17 - @container-images/mds-policy@0.1.17 - @container-images/mds-provider@0.1.17 - @mds-core/mds-agency@0.0.19 - @mds-core/mds-api-authorizer@0.1.17 - @mds-core/mds-api-helpers@0.1.17 - @mds-core/mds-api-server@0.1.17 - @mds-core/mds-audit@0.1.29 - @mds-core/mds-cache@0.1.17 - @mds-core/mds-compliance@0.1.18 - @mds-core/mds-daily@0.0.18 - @mds-core/mds-db@0.1.17 - @mds-core/mds-logger@0.1.15 - @mds-core/mds-metrics-sheet@0.0.18 - @mds-core/mds-native@0.0.15 - @mds-core/mds-policy-author@0.0.14 - @mds-core/mds-policy@0.0.18 - @mds-core/mds-provider@1.0.17 - @mds-core/mds-providers@0.1.17 - @mds-core/mds-stream@0.1.17 - @mds-core/mds-test-data@0.1.17 - @mds-core/mds-types@0.1.14 - @mds-core/mds-utils@0.1.17 * Upgrade dependencies (#29) * Upgrade dependencies to latest versions * More upgrades * hard-code container port * initial commit, docker-compose with an nginx gateway proxy * default ports * move out of subdir * simplify PG_HOST_READER - can leave unset and the mds-db code will fall back to PG_HOST, make PG_PORT optional * add optional slack integration vars, common secret for APIs * changed secret name * Add standard API request logging (#43) * Add standard request logging * port must be string not int * fix slack token and secret * fix value for ingress domain FQDN * Remove provider event processor (#41) * Remove provider event processor * Drop deprecated provider tables * Enable SQL logging during migrations * Only drop tables that are/were part of the schema * need to quote domains in case of a wildcard globa ("*") * Remove read_only column from geographies. * Remove unused provider-stats cache methods * bump version * hard-code port number * correct secret name * template docker-compose with latest build versions * Add perf logging to MDS Daily db/cache calls * fluentbit (mds/requirements rm, util/values pin to es host) (#50) * narrow fluentbit refs * fluentbit: rm from mds/requirements, pin to elasticsearch-master in util/values * helm/(mds,util): rm fluent from mds * pull changes from fix/michael/remove-provider-api * Add perf logging to MDS Daily db/cache calls * Resolve linter errors * Bump root package version * Publish - @container-images/env-inject@0.1.17 - @container-images/mds-agency@0.1.18 - @container-images/mds-audit@0.1.19 - @container-images/mds-compliance@0.1.18 - @container-images/mds-daily@0.1.18 - @container-images/mds-metrics-sheet@0.1.19 - @container-images/mds-native@0.0.16 - @container-images/mds-policy-author@0.1.18 - @container-images/mds-policy@0.1.18 - @container-images/mds-provider@0.1.18 - @mds-core/mds-agency@0.0.20 - @mds-core/mds-api-authorizer@0.1.18 - @mds-core/mds-api-helpers@0.1.18 - @mds-core/mds-api-server@0.1.18 - @mds-core/mds-audit@0.1.30 - @mds-core/mds-cache@0.1.18 - @mds-core/mds-compliance@0.1.19 - @mds-core/mds-daily@0.0.19 - @mds-core/mds-db@0.1.18 - @mds-core/mds-logger@0.1.16 - @mds-core/mds-metrics-sheet@0.0.19 - @mds-core/mds-native@0.0.16 - @mds-core/mds-policy-author@0.0.15 - @mds-core/mds-policy@0.0.19 - @mds-core/mds-provider@1.0.18 - @mds-core/mds-providers@0.1.18 - @mds-core/mds-stream@0.1.18 - @mds-core/mds-test-data@0.1.18 - @mds-core/mds-types@0.1.15 - @mds-core/mds-utils@0.1.18 * Purge mds-provider implementation * Update LICENSE * Remove mds-cache weird duplicate functions * Clean up mds-audit weirdness * Clean up mds-db weirdness * Clean up mds-types weirdness * Clean up helm template weirdness Co-authored-by: Hunter Owens <owens.hunter@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7c7fd9b - Browse repository at this point
Copy the full SHA 7c7fd9bView commit details -
Bring up to speed with OMF develop. Needed to retain the yarn lock di…
…fference in order to be able to commit at all.
Configuration menu - View commit details
-
Copy full SHA for cefe81b - Browse repository at this point
Copy the full SHA cefe81bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65e9f73 - Browse repository at this point
Copy the full SHA 65e9f73View commit details
Commits on Mar 6, 2020
-
[mds-policy-author][mds-geography-author] Extract geography author se…
…rvice from policy author. (#203) * Extract geography author service from policy author. * review feedback * review feedback * review feedback * RF * RF * satisfy linter * SqlVals and vals_list used to sanitize db input. * rf
Configuration menu - View commit details
-
Copy full SHA for fed0161 - Browse repository at this point
Copy the full SHA fed0161View commit details
Commits on Mar 11, 2020
-
* mdsctl: helm unittest service * heml uuniest: auth * helm unittest: auth disable * helm unittest: autoscaler * helm unittest: +configmap * helm unittest: cronjob * helm unittest: egress * helm unittest: ingress * helm unittest: ingress domain * helm unittest: deployment * helm unittest: deployment secret * helm unittest: deployment overrides * helm unittest: better suite labels * helm force upgrade * mdsctl: ensure resolvable k8s endpoint (thx jane)
Configuration menu - View commit details
-
Copy full SHA for a9bc187 - Browse repository at this point
Copy the full SHA a9bc187View commit details
Commits on Mar 12, 2020
-
Reorder writing an event and related telemetry to avoid race conditio…
…n where event is written but telemetry has not been written yet (#205)
Configuration menu - View commit details
-
Copy full SHA for e2ced63 - Browse repository at this point
Copy the full SHA e2ced63View commit details -
[mds-agency] [mds-web-sockets] Add NATS-Streaming consumption for mds…
…-web-sockets (#208) * Add mds-web-sockets consumption of NATS stream rather than agency having to persist a direct connection with the web-socket server * Clean up okteto.yml * Handle STAN errors better * eslint-ignore * Istanbul, not eslint
Configuration menu - View commit details
-
Copy full SHA for cca068c - Browse repository at this point
Copy the full SHA cca068cView commit details -
[mds-policy] [mds-geography] Extract read-only geography service from…
… policy service (#211) * Extract read-only geo points from Policy. * making mds-policy tests pass * Tests for mds-geography. * pacifying linter * remove todo comment * removing TODO comment
Configuration menu - View commit details
-
Copy full SHA for 4225161 - Browse repository at this point
Copy the full SHA 4225161View commit details -
Feature/alex/monitoring alerting (#213)
* initial commit, canned alerts for prometheus * whitespace, add additional alerts * clean up summaries and descriptions * clean up slack notifications * better tracking of container restarts (count over time instead of absolute), better labeling of statefulset failures * use rate over last five minutes * bump version * update lockfile, try removing auth from grafana (thanks james) (currently broken) * add prometheus datasource, some useful dashboards. remove login since access requires authenticated kubectl * update * ignore downloaded charts * more meaningful restart rate * tuning * add alarms for pod CPU and memory going over limit * switch disk usage alerts from static to predictive
Configuration menu - View commit details
-
Copy full SHA for b96533f - Browse repository at this point
Copy the full SHA b96533fView commit details
Commits on Mar 16, 2020
-
Upgrade package dependencies (#212)
* Upgrade package dependencies * Add type annotation to fix build error
Michael Durling authoredMar 16, 2020 Configuration menu - View commit details
-
Copy full SHA for fe147bf - Browse repository at this point
Copy the full SHA fe147bfView commit details -
This test was destined to fail starting yesterday (#215)
Michael Durling authoredMar 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 5312a1c - Browse repository at this point
Copy the full SHA 5312a1cView commit details
Commits on Mar 18, 2020
-
[mds-processors][mds-metrics] removal for OMF release (#210)
* removal spike * db/cache util and type removal * turf deps * purge metrics + more processors * remove cron from mdsctl Co-authored-by: Max Johansen <macsj200@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3291c6d - Browse repository at this point
Copy the full SHA 3291c6dView commit details
Commits on Mar 19, 2020
-
[mds-policy-author] Minor changes to policy to bring it back in line …
…with the spec. (#217) * Fixing parameters for policy author. * Adding User Rule type to Policy.
Configuration menu - View commit details
-
Copy full SHA for 9972862 - Browse repository at this point
Copy the full SHA 9972862View commit details
Commits on Mar 23, 2020
-
[mds-stream] Add outbound kafka stream support (#216)
* Add outbound kafka stream support * Cleanup * Review cleanup pt1 * Refactoring and cleanup * Call KafkaStream.initialize() from top-level initialize method * Call stream.initialize() at the top of mds-agency/request-handlers * Update README.md * Remove stream.initialize() from agency tests * Remove stream.initialize() from compliance tests * Writer refactor, and reader implementation * Fix unhappy exports * Remove callback fallback :P * clean up stream init
Configuration menu - View commit details
-
Copy full SHA for 764a5f7 - Browse repository at this point
Copy the full SHA 764a5f7View commit details
Commits on Mar 24, 2020
-
Run with new Prettier 2.0 defaults (#221)
* Run with new prettier defaults * Revert trailingComma to previous default * Revert arrowParens to previous default
Michael Durling authoredMar 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 87419f4 - Browse repository at this point
Copy the full SHA 87419f4View commit details
Commits on Mar 30, 2020
-
Removing Slack client and pushover notifications (#226)
* Removing Slack client and pushover notifications * Implement new method to redact sensitive text
Michael Durling authoredMar 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 85c090d - Browse repository at this point
Copy the full SHA 85c090dView commit details -
* Beginnings of initial refactor * More cleanup of kafkajs, removal of node-rdkafka * Rename and refactor * Use Nullable<T> * Remove temporary type declaration * Remove file * Make producers topic specific * Basic functional streap labeler * Remove EventServer * Remove mds-event-server * Refactor stream processing * Fix module export issues * Add container image for vehicle event processor * Fix package name * Add helm deployment for event-processor * await NATS write instead of returning * Remove reliance on deprecated service_area_id * Incorporate review feedback * Merge remote-tracking branch 'origin/develop' into feature/neil/begin-kafka-refactor-to-kafkajs Co-authored-by: Neil Goldader <neilgoldader@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 200596c - Browse repository at this point
Copy the full SHA 200596cView commit details
Commits on Mar 31, 2020
-
[mds-utils] Update relative time parsing to snap to the nearest hour …
…when 'now' is provided as a query param (#223) * Update relative time parsing to snap to the nearest hour when is provided as a query param * Undo old prettier weirdness
Configuration menu - View commit details
-
Copy full SHA for 246cf3f - Browse repository at this point
Copy the full SHA 246cf3fView commit details -
Add caching of device labels (#229)
* Add caching of device labels * Rename some consts
Michael Durling authoredMar 31, 2020 Configuration menu - View commit details
-
Copy full SHA for e94b782 - Browse repository at this point
Copy the full SHA e94b782View commit details
Commits on Apr 1, 2020
-
Add control methods to stream processor (#232)
* Add control methods to stream processor * Minor package refactoring * Add copyright notices * Remove some spammy logs from mds-cache
Michael Durling authoredApr 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 4954267 - Browse repository at this point
Copy the full SHA 4954267View commit details -
[mds-stream-processor] Add geo labeling for mds-stream-processor (#231)
* Add geo labeling for mds-stream-processor * Add tests * Add Sinon devDependency * Add LatencyLabeler tests * Filter based on point in shape, then map to geography_id * Remove now unused import * Only compute for published geographies
Configuration menu - View commit details
-
Copy full SHA for 7301fd5 - Browse repository at this point
Copy the full SHA 7301fd5View commit details -
[ladot-service-areas] [mds-agency] [mds-daily] Purge service-areas (#219
) * Purge service-areas * Rename mds-test-data/ladot-service-areas to mds-test-data/test-areas * Get rid of require statements * Remove mds-metrics-sheet vehicle counts (#228) * Remove mds-metrics-sheet vehicle counts * Remove vehicle-counts.ts * Remove duplicate Nullable<T> definition
Configuration menu - View commit details
-
Copy full SHA for 7d14a18 - Browse repository at this point
Copy the full SHA 7d14a18View commit details -
Fix mds-metrics-sheet container image build (#233)
* Reorganize files * Remove extraneous vehicle-counts references Co-authored-by: Neil Goldader <neilgoldader@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e593d52 - Browse repository at this point
Copy the full SHA e593d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ece03c - Browse repository at this point
Copy the full SHA 8ece03cView commit details
Commits on Apr 2, 2020
-
* Agency should not be writing telemetry to socket * Fix typescript project references * Make sinon a dev dependency * Upgrade dependencies
Michael Durling authoredApr 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 6f4645b - Browse repository at this point
Copy the full SHA 6f4645bView commit details -
[mds-native] Removing mds-native. (#214)
* Removing mds-native. * Removing helm tests. * Removing reference in nginx.
Configuration menu - View commit details
-
Copy full SHA for 89648ec - Browse repository at this point
Copy the full SHA 89648ecView commit details
Commits on Apr 3, 2020
-
[mds-db] [mds-policy-author][mds-compliance] Fix/final separation of …
…policy from geo (#218) * Publishing a policy no longer publishes a geography. Instead it throws an error. * minor fixes
Configuration menu - View commit details
-
Copy full SHA for 8042173 - Browse repository at this point
Copy the full SHA 8042173View commit details -
Configuration menu - View commit details
-
Copy full SHA for d69ca2b - Browse repository at this point
Copy the full SHA d69ca2bView commit details -
Remove leftover artifacts of mds-metrics (#238)
Michael Durling authoredApr 3, 2020 Configuration menu - View commit details
-
Copy full SHA for fd9108c - Browse repository at this point
Copy the full SHA fd9108cView commit details -
[mds-stream] [mds-stream-processor] TENANT_ID prefix for Kafka Streams (
#235) * Add TENANT_ID prefix to kafka to support multi-tenancy on one Kafka cluster * Yarn.lock changes I guess?
Configuration menu - View commit details
-
Copy full SHA for 7b817f6 - Browse repository at this point
Copy the full SHA 7b817f6View commit details -
Add a couple source/sink examples (#237)
Michael Durling authoredApr 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 0e5f99e - Browse repository at this point
Copy the full SHA 0e5f99eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab49f3d - Browse repository at this point
Copy the full SHA ab49f3dView commit details
Commits on Apr 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3da61f6 - Browse repository at this point
Copy the full SHA 3da61f6View commit details
Commits on Apr 8, 2020
-
[mds-stream-processor] First pass at vehicle telemetry processor (#241)
* First pass at vehicle telemetry processor * Add getEnvVar method to mds-utils * Refactor getEnvVar * Refactor TelemetryFlattener to TelemetryLabeler, add OptionalTelemetryLabeler * Rename FlattenedTelemetry, update NullableProperties type
Configuration menu - View commit details
-
Copy full SHA for 713580a - Browse repository at this point
Copy the full SHA 713580aView commit details
Commits on Apr 9, 2020
-
[helm] Update helm for telemetry processor (#245)
* Update helm for telemetry processor * do not create auth policies or ingress virtualservices for APIs with no pathPrefix (ie internal-only services) Co-authored-by: Alex Gottschalk <alex.gottschalk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dee4eb5 - Browse repository at this point
Copy the full SHA dee4eb5View commit details -
Initial Metrics Service (#244)
* Add ORM model for metrics * Update dependencies * Create some service helper methods * Implement metrics filtering on read * Allow specifying one of more filter values * Refactor metric query tests to minimize redundancy * Refactor utility function and add missing licenses * Remove OptionalTelemetryLabeler * Code review revisions
Michael Durling authoredApr 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 505dde1 - Browse repository at this point
Copy the full SHA 505dde1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec9c50a - Browse repository at this point
Copy the full SHA ec9c50aView commit details -
Split metrics-service into server/client modules (#246)
Michael Durling authoredApr 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 8e02249 - Browse repository at this point
Copy the full SHA 8e02249View commit details
Commits on Apr 10, 2020
-
[mds-stream] Switch from NATS Streaming -> Vanilla NATS (#243)
* First pass * Minor fix that will be replaced once I merge in * Retry forever * waitOnFirstConnect fix * Fix variable names * Add typing for NATS messages * NATS env var refactor * nats-streaming folder -> nats folder * Thanks F2 * Path fix
Configuration menu - View commit details
-
Copy full SHA for f33d470 - Browse repository at this point
Copy the full SHA f33d470View commit details -
Enable ES2019 features in node:12.14.1-alpine (#247)
Michael Durling authoredApr 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 33e8fac - Browse repository at this point
Copy the full SHA 33e8facView commit details -
Refactor ORM Connection Configuration (#249)
* Fix coverage excludes * Support named connections * Curry the ORM connection factory functions
Michael Durling authoredApr 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 99647a2 - Browse repository at this point
Copy the full SHA 99647a2View commit details
Commits on Apr 12, 2020
-
Refactor Jurisdiction Service (#250)
* ServiceProvider interface * CreateRepository function * CreateRepositoryMethod function
Michael Durling authoredApr 12, 2020 Configuration menu - View commit details
-
Copy full SHA for d1f333b - Browse repository at this point
Copy the full SHA d1f333bView commit details
Commits on Apr 13, 2020
-
Move jurisdiction types/utils to service package (#251)
* Move jurisdiction types/utils to service package * Use helper method for filter * Move schema to separate file
Michael Durling authoredApr 13, 2020 Configuration menu - View commit details
-
Copy full SHA for 50f207a - Browse repository at this point
Copy the full SHA 50f207aView commit details -
Export default connection for TypeORM CLI (#252)
* Export default connection for TypeORM CLI * More robust destructuring * Fix import statement * Clean up error handling * Improve test coverage
Michael Durling authoredApr 13, 2020 Configuration menu - View commit details
-
Copy full SHA for a265f78 - Browse repository at this point
Copy the full SHA a265f78View commit details -
Use recommended typescript config for istanbul (#255)
* Use recommended typescript config for istanbul * Clean up some config files
Michael Durling authoredApr 13, 2020 Configuration menu - View commit details
-
Copy full SHA for ede6712 - Browse repository at this point
Copy the full SHA ede6712View commit details
Commits on Apr 14, 2020
-
Create types for mapping between entity/domain models (#257)
* Create types for mapping between entity/domain * Fix test failure * Fluent model mapper syntax * Use object schema for jurisdiction validation
Michael Durling authoredApr 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 44bfb83 - Browse repository at this point
Copy the full SHA 44bfb83View commit details
Commits on Apr 15, 2020
-
Fix imports and make mapper syntax consistent (#258)
Michael Durling authoredApr 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 081cb52 - Browse repository at this point
Copy the full SHA 081cb52View commit details -
[mds-stream-processor] First pass at pre-computed surrounding bbox (#253
Configuration menu - View commit details
-
Copy full SHA for a4f22f1 - Browse repository at this point
Copy the full SHA a4f22f1View commit details -
Update prettier config to enforce single quotes only in js/ts files, …
…since we may want to have double quotes in yaml files. (#256) * Update prettier config to enforce single quotes only in js/ts files, since we may want to have double quotes in yaml files. * Making file formatting changes restricting to js and ts files
Configuration menu - View commit details
-
Copy full SHA for fec00fa - Browse repository at this point
Copy the full SHA fec00faView commit details -
[mds-config][mds-config-service] Remove mds-config and mds-config-ser…
…vice (#254) * Removing mds-config and mds-config-service, as these will not be part of the OMF contribution. * Removing mds-config and mds-config-service as part of prepping for the OMF contribution. * Reverting single quotes in yaml files. * Reverting more single quotes. Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Configuration menu - View commit details
-
Copy full SHA for 5ece75f - Browse repository at this point
Copy the full SHA 5ece75fView commit details -
Allow services to specify TypeORM CLI options. (#259)
Use typeorm executable in ./node_modules/.bin
Michael Durling authoredApr 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 67a1f7b - Browse repository at this point
Copy the full SHA 67a1f7bView commit details
Commits on Apr 16, 2020
-
Serializable service errors (#261)
* Use service provider interface for unit tests * Move metrics service * Move jurisdiction service * Serializable service error objects * Abstract processing of repository errors * RepositoryError.GetProperty helper * Use static error factory and type guards * Minor refactor of type guard syntax
Michael Durling authoredApr 16, 2020 Configuration menu - View commit details
-
Copy full SHA for f296e7c - Browse repository at this point
Copy the full SHA f296e7cView commit details
Commits on Apr 17, 2020
-
Resolution of type errors that result from a yarn.lock deletion (#260)
* Beginnings of cleanup that result from a yarn.lock deletion * Add parseQuery helper, massage our ApiRequest types to be loosly compatible with new express types * Refactor parseQuery * Require at least one key for parseQuery(...).keys(), add ApiQuery type
Configuration menu - View commit details
-
Copy full SHA for 98e31fc - Browse repository at this point
Copy the full SHA 98e31fcView commit details -
add ability to deploy an observable nats without stan stack (#185)
* spike: surveyor * mdsctl: spike kill-switch; eg: MDS_NO_BREW=true ./bin/mdsctl * +surveyor, no_brew kill-switch * pin stan(s) to mds ns, wire stan:cluster-id=tenantId(default:mds) * stan * bootstrap nsc; next: deploy credentialed (nats,stan), surveyor * nats: u/g operator 0.7, nats 2.1.2 * natsbox: fix yml typo * nats-server/nats-account-server authenticated; next: nets-surveyor * mdsctl: simplier nsc-account-id util * mdsctl/install:nats : progressive (via kubectl-wait) deploy, authenticated nats; next: authenticated stan * mdsctl: istio-wait * mdsctl/helm: broaden support for `-p local` (ie drive down cpu/mem resource allocation) * mdsctl: invokable from zsh * mdsctl/installNats: use nats-operator helm charts * mdsctl: use nats-operator helm charts * stan * mdsctl: authenticated/connected stan; next: surveyor,mds * mdsctl: u/d stan:0.17.0, stan:authenticted, surveyor up with exception nats-surveyor (bad creds location) * mdsctl: authenticated surveyor; next: verify with natsbox, credential mds(agency,event-processor) * mdsctl: add s'more helm plugins (eg: diff, secrets, etc) * nats: helm cleanup, make (max_age, max_bytes) configurable * helm: cleanup; nats-surveyor: make cluster-size configurable * helm: mds+stan-creds * surveyor-observations: externalize to helm/values * mdsctl: nsc credentials override * mdscl: nsc cleanup * mdsctl: remove stan from bootstrap; helm/nats-account-server: change type to deployment * mdsctl: cd to nsc store-home * fix: nats-account-server deployment template, stan-namespace typo * fix: surveyor sys.creds, stan namespace, mds to nats egress * mdctl: s/pause-kubectl=45/pause-kubectl=60/ * mdsctl: provide config overlay for profile(s) * mdsctl: cleanup nsc/credentials conf * mdsctl: support credential store config modality * mdsctl: nsc install cleanup * patch * container-images: patch for removed -c:foo=bar syntax * diags: first cut at an agency->nats->processors sequence diag * mdsctl: natsbox configured to leverage surveyor creds, update readme toolchain(nsc), a bit more puml diags * mdsctl: zip 'n ship nas operator data * mdsctl: nas u/d * nats: rbac=false, split out 1x nats-init from nats-operator * nats: deploys to aws:individual-developers * nats: support no-nats deployments * surveyor-prometheus now starts up * mdsctl: better support of simulator operatsions, add values to nats-streaming, nats-surveyor * simple prometheus nats pub/sub event counter; next: figure out how to provide a /metrics endpoint for mds-stream prometheus metrics, configure prometheus to scrape mds-(agency,event-processor) * bit more prometheus * nats: isolated without surveyor (credentials) * mdsctl: override default nats namespace * remote * mdsctl: conditionally leverage cloud-ops infra * mdsctl: install mds w/ cloud-ops env cleanup * mdsctl: glob helm unittest * mds/values: comment out ( geography-author, jurisdiction) until images build mdsctl supports cloud-ops managed pg/redis natsbox creds commented out * fix build image: jurisdiction,geography-author * nats-streaming: change pvc from 20G->11G * nit * mdsctl: put pg/pwd back in for local deploy * working through deploying nats/stan to non-default ns * drop nats-operator * drop helm/nats-streaming-server chart * s/stan-creds/nats-creds/g * more stann cleanup * fix: omit operations pre-check * cleanup * fix mds-telemetry buildImage * patch deployment.yaml with conditional nats block * patch: (alex) re-imagined service-deployment-status check * better helm-repo-up * u/d package.json, yarn.lock * kick build * Remove lingering mds-config artifacts Co-authored-by: Neil Goldader <neilgoldader@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eb025dd - Browse repository at this point
Copy the full SHA eb025ddView commit details
Commits on Apr 19, 2020
-
Improved service error/result types and handling (#262)
* Improved service error/result types and processing * Improve test coverage * Add API helper for parsing req.params/req.query
Michael Durling authoredApr 19, 2020 Configuration menu - View commit details
-
Copy full SHA for c7d0ed4 - Browse repository at this point
Copy the full SHA c7d0ed4View commit details
Commits on Apr 20, 2020
-
Export processors as functions instead of values (#265)
Michael Durling authoredApr 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 36f3441 - Browse repository at this point
Copy the full SHA 36f3441View commit details -
Make the parser part of an options object (#264)
Michael Durling authoredApr 20, 2020 Configuration menu - View commit details
-
Copy full SHA for cf5e62d - Browse repository at this point
Copy the full SHA cf5e62dView commit details -
MCONSOLE-230: Convert webpack.config to a TypeScript module (#266)
* Convert webpack.config to a TypeScript module * Update TypeScript/ESLint/Webpack dependencies * Order project references
Michael Durling authoredApr 20, 2020 Configuration menu - View commit details
-
Copy full SHA for a4879f6 - Browse repository at this point
Copy the full SHA a4879f6View commit details
Commits on Apr 21, 2020
-
Initialize repository on first connect (#268)
Michael Durling authoredApr 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 361b3c3 - Browse repository at this point
Copy the full SHA 361b3c3View commit details
Commits on Apr 22, 2020
-
Remove hardcoded access token scope values (#269)
* Upgrade dependencies * Make APIs declare the specific scopes they enforce * Add convenience functions for checking API access
Michael Durling authoredApr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 4ff42d8 - Browse repository at this point
Copy the full SHA 4ff42d8View commit details -
[mds-api-server] [mds-types] Extend ApiQuery to allow string arrays (#…
…270) * Extend ApiQuery to allow string arrays * Make query partial
Configuration menu - View commit details
-
Copy full SHA for 847c120 - Browse repository at this point
Copy the full SHA 847c120View commit details -
Standardize API server startup (#267)
Michael Durling authoredApr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 26e2780 - Browse repository at this point
Copy the full SHA 26e2780View commit details -
Allow array of errors in API response (#272)
Michael Durling authoredApr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for f0aff96 - Browse repository at this point
Copy the full SHA f0aff96View commit details -
Remove undeclared mds-cache dependency (#273)
Michael Durling authoredApr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for ee6764b - Browse repository at this point
Copy the full SHA ee6764bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc29ef - Browse repository at this point
Copy the full SHA 4fc29efView commit details
Commits on Apr 23, 2020
-
Remove mds-utils dependency on mds-db (#274)
Michael Durling authoredApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for 61461c0 - Browse repository at this point
Copy the full SHA 61461c0View commit details -
[mds-test-data] Remove a dependency on mds-db (#277)
* Remove mds-utils dependency on mds-db * Remove circular dependency * Remove some legacy Provider API code
Michael Durling authoredApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for beb1354 - Browse repository at this point
Copy the full SHA beb1354View commit details -
Convert test data to TS (#278)
* Make test areas TS default exports
Michael Durling authoredApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for c81523f - Browse repository at this point
Copy the full SHA c81523fView commit details -
Use webpack wrapper plugin to inject build info (#275)
* Use webpack wrapper plugin to inject build info * Make container image packages private to prevent them from being published to npm Co-authored-by: Neil Goldader <neilgoldader@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23b4dc1 - Browse repository at this point
Copy the full SHA 23b4dc1View commit details
Commits on Apr 24, 2020
-
API Request Query and Webpack Configuration enhancements (#279)
* More expressive type for API query parameters * Use builder pattern for webpack configuration to simplify syntax
Michael Durling authoredApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 929993d - Browse repository at this point
Copy the full SHA 929993dView commit details
Commits on Apr 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5ad52bb - Browse repository at this point
Copy the full SHA 5ad52bbView commit details
Commits on Apr 26, 2020
-
Resolve some issues with exporting types (#282)
* Resolve some issues with exporting types * Tooling updates - Don't run separate build step before bundle - Use ts-loader with webpack to only compile bundled files - Switch .eslintrc file to json - Add typings for WrapperWebpackPlugin - Remove --fix from test:eslint
Michael Durling authoredApr 26, 2020 Configuration menu - View commit details
-
Copy full SHA for 285d316 - Browse repository at this point
Copy the full SHA 285d316View commit details
Commits on Apr 27, 2020
-
More mds-core reorganization changes (#283)
* Use mixin pattern for common entity construction * Tidy up jurisdiction/metric model mappers - .map function for working with single objects - .mapper function for working with arrays - move mapping functions to repository layer * Update dependencies * Export missing stream types and fix imports * Common uuid function for all of mds-core
Michael Durling authoredApr 27, 2020 Configuration menu - View commit details
-
Copy full SHA for e9eb21b - Browse repository at this point
Copy the full SHA e9eb21bView commit details -
Make metrics dimensions/aggregates nullable (#285)
Michael Durling authoredApr 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 3a1cfad - Browse repository at this point
Copy the full SHA 3a1cfadView commit details
Commits on Apr 28, 2020
-
Use entry points from packages folder for images (#284)
* Use entry points from packages folder for images * Update scripts to start processors * Initial mds.metrics stream processor (#286) * Initial mds.metrics stream processor Consume messages from mds.metrics Write to database using metrics service
Michael Durling authoredApr 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 0edc99d - Browse repository at this point
Copy the full SHA 0edc99dView commit details -
Adding versioning Policy, Policy Author, Geography, and Geography Aut…
…hor services. (#276) * MDS Geography (read-only) service has versioning. * Versioning support added in Geography Author. API and tests need to be updated to return version and reflect that new data. * Versioning implemented and tested for geography author. * minor fixes * Beginning versioning of mds-policy. * Versioning added for mds-policy * Removing unnecessary types * Policy author has versioning * In the midst of the audit versioning * mds-policy-author create handler has correct types * Basic policy author endpoints versioned. * Adding AuditResponseLocals type. * minor fixes * minor fixes
Configuration menu - View commit details
-
Copy full SHA for 2504142 - Browse repository at this point
Copy the full SHA 2504142View commit details
Commits on Apr 29, 2020
-
[mds-repository] connection manager improvements (#287)
* Export a wrapper function for uuid * ConnectionManager improvements * Re-enable code coverage * Generate a standard initial repository migration * Consolidate logging * Only run migrations if table name specified
Michael Durling authoredApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for e5ea7f1 - Browse repository at this point
Copy the full SHA e5ea7f1View commit details -
Move mds-cache to mds-agency-cache, so the mds-cache name can be used…
… for an abstract cache interface (#289)
Configuration menu - View commit details
-
Copy full SHA for f67f1f9 - Browse repository at this point
Copy the full SHA f67f1f9View commit details -
* CreateModelMapper helper function * Use CreateModelMapper * Reorganize and improve test coverage * Default "recorded" value; renames for consistency * Do validation in the service * Create jurisdiction schema const * Assign property defaults in the repository * Create a utility for pluralizing a string
Michael Durling authoredApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 1dafcfc - Browse repository at this point
Copy the full SHA 1dafcfcView commit details -
Remove extra @column decorator (#290)
Michael Durling authoredApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 35ce645 - Browse repository at this point
Copy the full SHA 35ce645View commit details
Commits on Apr 30, 2020
-
* Add naming strategy for unique constaints * Update MetricEntity and migrations - Allow null values for dimension columns * Add support for nullable filters
Michael Durling authoredApr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 57d17e6 - Browse repository at this point
Copy the full SHA 57d17e6View commit details -
[mds-audit] Feature/conform audit to mds versioning (#280)
* Versioning Audit API half done. * Audit API versioned.
Configuration menu - View commit details
-
Copy full SHA for 5b4e57c - Browse repository at this point
Copy the full SHA 5b4e57cView commit details -
Implement an abstract repository class (#292)
* ConnectionManager class * Abstract repository class * Define entity models using domain types * Update jurisdiction/metrics repositories
Michael Durling authoredApr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for a14da65 - Browse repository at this point
Copy the full SHA a14da65View commit details -
General tooling updates (#293)
* Dependency upgrades * Rename an npm script * Establish baseline code coverage check at 85% - Set --lines to high water mark for those packages that don't meet 85% * Remove "engines" from package.json
Michael Durling authoredApr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for e0c594d - Browse repository at this point
Copy the full SHA e0c594dView commit details
Commits on May 1, 2020
-
Move packages from mds-core (#294)
* Remove packages/container-images - @mds-core/mds-metrics-service - @mds-core/mds-stream-processor - @container-images/mds-event-processor - @container-images/mds-metrics-processor - @container-images/mds-telemetry-processor
Michael Durling authoredMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for ce943d7 - Browse repository at this point
Copy the full SHA ce943d7View commit details
Commits on May 3, 2020
-
Create jursidiction service pod for migrations (#295)
* Create jursidiction service pod for migrations * Bundle entry points don't need .ts extensions * Generic controller for starting services * Clean up Mixin type definitions
Michael Durling authoredMay 3, 2020 Configuration menu - View commit details
-
Copy full SHA for a17d88e - Browse repository at this point
Copy the full SHA a17d88eView commit details
Commits on May 4, 2020
-
Use unique migration index name (#296)
* Create unique index names for migration tables * Move migrations to repository initialization * Abstract ReadOnly/ReadWrite repository classes
Michael Durling authoredMay 4, 2020 Configuration menu - View commit details
-
Copy full SHA for ce23557 - Browse repository at this point
Copy the full SHA ce23557View commit details -
add egress rules for kafka (#298)
Co-authored-by: Neil Goldader <neilgoldader@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7bed5bd - Browse repository at this point
Copy the full SHA 7bed5bdView commit details
Commits on May 5, 2020
-
Fix a potential issue with handling process.env (#299)
* Fix a potential issue with handling process.env and add some unit tests
Michael Durling authoredMay 5, 2020 Configuration menu - View commit details
-
Copy full SHA for f765f5f - Browse repository at this point
Copy the full SHA f765f5fView commit details -
Minor repository updates (#300)
* Pass the connection name to CLI * Add some filter utilities * Make options optional * Add unit tests for filters
Michael Durling authoredMay 5, 2020 Configuration menu - View commit details
-
Copy full SHA for a841f58 - Browse repository at this point
Copy the full SHA a841f58View commit details
Commits on May 6, 2020
-
Minor type updates and dependency upgrades (#301)
* Type the ConnectionManager mode * Update dependencies * New service client helpers * Restructure unit tests
Michael Durling authoredMay 6, 2020 Configuration menu - View commit details
-
Copy full SHA for ff20bf7 - Browse repository at this point
Copy the full SHA ff20bf7View commit details -
Make async getServiceResult helper (#303)
Michael Durling authoredMay 6, 2020 Configuration menu - View commit details
-
Copy full SHA for d0aec3c - Browse repository at this point
Copy the full SHA d0aec3cView commit details -
[mds-utils] FilterEmptyHelper rework (#304)
* Rename filterEmptyHelper to isDefined, and allow it to be used on non-lists * Rework kafka to use isDefined
Configuration menu - View commit details
-
Copy full SHA for 47fb6ca - Browse repository at this point
Copy the full SHA 47fb6caView commit details
Commits on May 7, 2020
-
[mds-utils] Move generic passing in isDefined so T can be properly in…
…ferred (#306) * Move generic passing in isDefined * Split isDefined into isDefined and filterDefined * Add isDefinedOptions, make warnOnEmpty an option contained in said options type * Remove unused import
Configuration menu - View commit details
-
Copy full SHA for 17814e7 - Browse repository at this point
Copy the full SHA 17814e7View commit details
Commits on May 11, 2020
-
Configuration and dependency updates (#308)
* Configuration and dependency updates * Turn on no-extraneous-dependencies eslint rule * Remove unused npm scripts from container-images * Have seen restarts in k8s when PG isn't ready (#307) * Trying new approach for defining service clients (#309)
Michael Durling authoredMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 5436291 - Browse repository at this point
Copy the full SHA 5436291View commit details -
[mds-utils] [mds-stream] Add ClientDisconnectedError (#311)
* Add ClientDisconnectedError * Move exceptions.ts, create exception-messages.ts for reusable error message definitions * Make ExceptionMessages an object
Configuration menu - View commit details
-
Copy full SHA for 7543915 - Browse repository at this point
Copy the full SHA 7543915View commit details
Commits on May 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 56aa890 - Browse repository at this point
Copy the full SHA 56aa890View commit details
Commits on May 13, 2020
-
LCORE-145 Change namespace for custom claims (#305)
* LCORE-145 Change namespace for custom claims Consolidating three environment variables into one Changing the default to openmobilityfoundation.org TOKEN_CUSTOM_CLAIM_NAMESPACE should be set for all existing deployments * Support token claim fallbacks and add logging
Michael Durling authoredMay 13, 2020 Configuration menu - View commit details
-
Copy full SHA for c6379c8 - Browse repository at this point
Copy the full SHA c6379c8View commit details -
Remove cypress and upgrade dependencies (#315)
* Remove cypress; not using * Upgrade dependencies * Fix typo Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Michael Durling and Mark Maxham authoredMay 13, 2020 Configuration menu - View commit details
-
Copy full SHA for 0b221db - Browse repository at this point
Copy the full SHA 0b221dbView commit details -
Remove deprecated methods (#314)
Michael Durling authoredMay 13, 2020 Configuration menu - View commit details
-
Copy full SHA for a0b20ce - Browse repository at this point
Copy the full SHA a0b20ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b9482d - Browse repository at this point
Copy the full SHA 9b9482dView commit details -
[mds-stream] [mds-web-sockets] Refactor NATS to follow the same struc…
…ture as Kafka, and switch to nats.ts (#248) * First pass at refactoring nats to follow the same structure as Kafka * Bump ts-nats version * Add eslint disable * Bump ts-nats in mds-web-sockets * Renaming * AgencyStreamNats shutdown * Refactor mds-web-sockets container image to launch from server config in package * Move server.ts -> wsServer.ts and launch_server.ts -> server.ts, execute server from dockerfile entrypoint * Fix launch path * wsServer -> ws-server * Add untracked file
Configuration menu - View commit details
-
Copy full SHA for dadecee - Browse repository at this point
Copy the full SHA dadeceeView commit details
Commits on May 14, 2020
-
* Upgrade Typescript and other dependencies * Add ES2020.Promise lib for Promise.allSettled
Michael Durling authoredMay 14, 2020 Configuration menu - View commit details
-
Copy full SHA for b6def87 - Browse repository at this point
Copy the full SHA b6def87View commit details -
Roll back typescript/tslib (#319)
Michael Durling authoredMay 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 84c90b6 - Browse repository at this point
Copy the full SHA 84c90b6View commit details -
[mds-policy] [mds-policy-author] Spec alignment and error handling up…
…dates (#318) * WIP * Cleanup * Some code-cov cleanup * Moar coverage increase * Add unpublished reading capabilities to mds-policy given permitted scopes * Add tests for reading of unpublished policies, clean up corresponding app logic * Comment updates * Remove some unused imports * Change test name
Configuration menu - View commit details
-
Copy full SHA for d973a62 - Browse repository at this point
Copy the full SHA d973a62View commit details -
[mds-agency] Feature: add versioning to agency (#302)
* API responses typed up and versioning added. * Updating application headers in tests. * minor fixes * Type updated. * Mostly done fixing failing tests. Still need tests for ensuring version field is in response body. * minor fixes * minor fixes * Changing version number * Making error responses conform to spec better. * minor fixes * minor fixes * updating error handling in agency * Spec realignment minor fixes.
Configuration menu - View commit details
-
Copy full SHA for 7b01a7f - Browse repository at this point
Copy the full SHA 7b01a7fView commit details
Commits on May 15, 2020
-
[draft] Feature - Bypass JWT for internal requests (#152)
* first pass * template namespace name * fix range in external-service role, remove clusterrbacconfig from chart, fix quoting * whitespace * comment * clean up comment
Configuration menu - View commit details
-
Copy full SHA for 0b37ca8 - Browse repository at this point
Copy the full SHA 0b37ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da8ad0 - Browse repository at this point
Copy the full SHA 3da8ad0View commit details -
Extremely small audit fix. (#320)
Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Configuration menu - View commit details
-
Copy full SHA for ea44857 - Browse repository at this point
Copy the full SHA ea44857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11f171d - Browse repository at this point
Copy the full SHA 11f171dView commit details -
[mds-compliance][mds-db] Fix/compliance handles timestamp (#316)
* Query for policy by rule_id. * Adding ability to see Policies active at a particular time. * Refactored snapshot logic. * Adding test to ensure timestamp paramenter works for count endpoint * minor fixes * Making policy rules unique and refactoring compliance api logic to reflect that, and renaming `end_date` param to `timestamp`. * repairing test cases that broke because rules cannot be repeated * more consistent error handling and better active policies and rule uniqueness checks * Versioning and fixing the definition of an active policy * minor fixes * minor fixes Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Configuration menu - View commit details
-
Copy full SHA for 86d157c - Browse repository at this point
Copy the full SHA 86d157cView commit details -
add toggles for internal jwt bypass and for setting up the cluster rb…
…ac - default to no internal jwt bypass (#325)
Configuration menu - View commit details
-
Copy full SHA for 188d9d0 - Browse repository at this point
Copy the full SHA 188d9d0View commit details
Commits on May 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f7d8dc0 - Browse repository at this point
Copy the full SHA f7d8dc0View commit details -
[mds-policy] [mds-policy-author] Add global error handling middleware…
…, improve error handling generally (#322) * Add global error handling middleware, improve error handling generally * Undo * Remove TODOs Co-authored-by: janedotx <jane.x.huang@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 46c95cb - Browse repository at this point
Copy the full SHA 46c95cbView commit details -
Add custom service error type support (#329)
Michael Durling authoredMay 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 6c23c7a - Browse repository at this point
Copy the full SHA 6c23c7aView commit details -
[mds-agency] Removing version param from agency payload to conform wi…
…th general v… (#331) * Removing versiono param from agency payload to conform with general versioninig policy. * Updating ApiResponse * Better agency types.
Configuration menu - View commit details
-
Copy full SHA for f607f81 - Browse repository at this point
Copy the full SHA f607f81View commit details -
[mds-policy-author] [mds-geography-author] Reject payloads that speci…
…fy a publish_date (#328) * Update geography schema to not allow unknown properties, update policy and geography validators to not allow unknown properties, add tests to verify POST and PUT that specify a publish_date are rejected * Add more specific checks to the tests Co-authored-by: janedotx <jane.x.huang@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9aa1c03 - Browse repository at this point
Copy the full SHA 9aa1c03View commit details -
[mds-api-server] [ALL VERSIONED APIS] Feature/neil/add versioning opt…
…ions (#332) * WIP * Distil down versioning middlewares, add tests * Clean up tests
Configuration menu - View commit details
-
Copy full SHA for a69c795 - Browse repository at this point
Copy the full SHA a69c795View commit details
Commits on May 19, 2020
-
[mds-policy-author][mds-geography*] Fix/add data payload to policy au…
…thor and geo services (#335) * Adding data envelop and correcting mds-policy-author version * Add data envelop to geo service and correcting version number. * More data envelop for policy-author stuff. * Version corrected and data envelopes added to mds-geography-author.
Configuration menu - View commit details
-
Copy full SHA for 7714d52 - Browse repository at this point
Copy the full SHA 7714d52View commit details -
* Fix PR Template * Minor correction to text in CONTRIBUTING Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Michael Durling and Mark Maxham authoredMay 19, 2020 Configuration menu - View commit details
-
Copy full SHA for c6d98b5 - Browse repository at this point
Copy the full SHA c6d98b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77ea628 - Browse repository at this point
Copy the full SHA 77ea628View commit details -
Adding data envelop back to mds-policy and correcting version number (#…
…334) Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Configuration menu - View commit details
-
Copy full SHA for 6a90746 - Browse repository at this point
Copy the full SHA 6a90746View commit details -
🐛[mds-geography-author] Add missing data wrapper in geography-author …
…that somehow got through CI/CD, ES2020->ES2019 downgrade (#337) * Add missing data wrapper in geography-author that somehow got through CI/CD * Revert from ES2020 -> ES2019 Co-authored-by: janedotx <jane.x.huang@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 88344e5 - Browse repository at this point
Copy the full SHA 88344e5View commit details -
[mds-web-socket] extensible entities (#310)
Allow entities to be configurable while maintaining tight subscription/filtering
Configuration menu - View commit details
-
Copy full SHA for f7a7361 - Browse repository at this point
Copy the full SHA f7a7361View commit details -
Configuration menu - View commit details
-
Copy full SHA for baca413 - Browse repository at this point
Copy the full SHA baca413View commit details
Commits on May 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7e00f1 - Browse repository at this point
Copy the full SHA b7e00f1View commit details -
Create separate ProcessController interface (#340)
Co-authored-by: Mark Maxham <max@ellis-and-associates.com>
Michael Durling and Mark Maxham authoredMay 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 8e6f1ba - Browse repository at this point
Copy the full SHA 8e6f1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75d2c69 - Browse repository at this point
Copy the full SHA 75d2c69View commit details