Ben Bangert
6c9899e64e
feat(event-broker): use proper hapi/sqs filtering
...
Because:
* The stock Sentry plugin has limitations on what details it filters
from the error details.
* We've customized Hapi error reporting Sentry for auth-server and have
not used those elsewhere.
This commit:
* Brings over the Hapi Sentry configuration used in auth-server that
filters out additional PII such as uid's.
* Add's a new SQS Sentry configuration that capatures additional Sentry
details for SQS processing failures.
Closes #3422
2019-12-12 17:09:28 -08:00
Lauren Zugai
6a42f1a57b
Release 1.152.0
2019-12-09 15:29:40 -06:00
Jared Hirsch
cf00e9c1da
Merge branch 'mozilla-master' into mozilla-train-151
2019-12-09 12:49:57 -08:00
Shane Tomlinson
99f840f6e6
Release 1.151.5
2019-12-09 17:38:45 +00:00
Ben Bangert
d5c42ccd8b
feat(event-broker): add remaining RP events
...
Because:
* Only the subscription state and delete events were propagated.
* RPs need to know about password reset/change and profile updates.
This commit:
* Sends password change and profile change events to RPs.
Closes #3481
2019-12-05 14:28:40 -08:00
Jared Hirsch
4179618513
Release 1.151.4
2019-12-05 10:44:00 -08:00
Jared Hirsch
43568af045
Release 1.151.3
2019-12-03 14:22:54 -08:00
Jared Hirsch
e90b87b336
Release 1.151.2
2019-12-02 11:56:51 -08:00
Vijay Budhram
036a2b71ed
Release 1.151.1
2019-11-26 14:56:30 -05:00
Jared Hirsch
de590af1b4
Release 1.151.0
2019-11-25 14:03:21 -08:00
Danny Coates
a721b554a8
Merge pull request #3468 from mozilla/train-150
...
Train 150.9 to master
2019-11-25 10:15:58 -08:00
Ben Bangert
8fc21f30d6
feat(event-broker): live firestore data updates
...
Because:
* Firestore supports document/query listeners for db-driven
notification of listeners.
* Using listeners avoids unnecessary polling.
This commit:
* Uses Firestore listeners for push-based data updates.
Closes #3415
2019-11-22 15:44:03 -08:00
Shane Tomlinson
886d1bbe08
Release 1.150.9
2019-11-22 21:56:49 +00:00
Danny Coates
ea9f05f933
Release 1.150.8
2019-11-22 11:19:15 -08:00
Ben Bangert
b3630c8b3c
Merge pull request #3450 from mozilla/fix/issue-3421
...
fix(event-broker): allow userAgent to be empty
2019-11-22 08:24:20 -08:00
Danny Coates
1371b9a254
Merge pull request #3398 from mozilla/train-150
...
Train 150 v1.150.3 / v.1.150.4 release
2019-11-21 17:04:10 -08:00
Danny Coates
0ef450e765
Release 1.150.7
2019-11-21 16:53:49 -08:00
Vlad Filippov
ee194ec2b6
Release 1.150.6
2019-11-21 17:05:42 -05:00
Ben Bangert
8ce686a024
fix(event-broker): allow userAgent to be empty
...
Because:
* The docs don't match actual login messages we emit.
* Event-broker required a userAgent string in the login message.
This commit:
* Updates the docs to reflect the optional nature of the userAgent.
* Changes the event-broker login messge schema to make the userAgent
optional.
Closes #3421
2019-11-21 12:56:31 -08:00
Vlad Filippov
ca93c526dd
Release 1.150.5
2019-11-20 14:15:27 -05:00
Dave Justice
dd6ff5d5d5
Release 1.150.4
2019-11-19 20:27:01 +00:00
Danny Coates
ccd3c2b07e
feat(audit): run npm audit on push instead of in ci
...
It's pretty disheartening when your PR fails in ci because of an
npm advisory unrelated to your changes. We still need to be aware
of them but have the ability to more easily keep doing other work.
Running the audit on git push allows us all to see advisories
quickly, but allows us to override and push with --no-verify so
work can continue and the advisory addressed on its own.
2019-11-19 12:02:22 -08:00
Dave Justice
6d173d2e8b
Release 1.150.3
2019-11-18 21:47:08 +00:00
Dave Justice
0a5e3950f8
task(monorepo): eslint consolidation
...
- fixes #3082
- remove grunt when can be replaced with only eslint
- update to new eslint config using prettier rules
- fix linting errors
2019-11-15 23:24:09 +00:00
Dave Justice
05db68637c
Merge pull request #3362 from mozilla/train-150
...
Train 150 | v1.150.2
2019-11-15 13:38:39 -08:00
John Morrison
90e884a919
fix(event): copy over version.json to /app/version.json
2019-11-13 14:06:01 -08:00
Dave Justice
5dd2076e4b
Release 1.150.2
2019-11-13 20:21:44 +00:00
Dave Justice
f4e0bb52f9
Merge pull request #3334 from mozilla/train-150
...
Train 150 / 150.1 release
2019-11-13 08:43:29 -08:00
Dave Justice
c2884bd884
Release 1.150.1
2019-11-12 21:32:25 +00:00
Ben Bangert
6836171ac7
Merge pull request #3312 from mozilla/feat/issue-3125
...
feat(event-broker): nest structures for debug log
2019-11-12 07:30:29 -08:00
Ben Bangert
427b758c6e
Merge pull request #3311 from mozilla/refactor/event-broker-update
...
refactor(event-broker): update deps, TS 3.7
2019-11-12 07:29:44 -08:00
Ben Bangert
93202a6d6e
feat(event-broker): nest structures for debug log
...
Because:
* It's hard to make sense of the logging when the object has all its
keys dumped in the logging message fields.
This commit:
* Ensures objects are dumped as a nested structure so its less
confusing to read from BigQuery.
Closes #3125
2019-11-11 13:01:51 -08:00
Ben Bangert
73f955d00a
refactor(event-broker): update deps, TS 3.7
...
Because:
* Multiple dependencies were out of date.
* TS 3.7 has some handy optional chaining.
This commit:
* Updates the out of date dependencies.
* Uses TS 3.7 optional chaining were applicable.
2019-11-11 12:28:51 -08:00
Dave Justice
0d80e0cfef
Release 1.150.0
2019-11-11 19:53:01 +00:00
Ben Bangert
1e266b2172
feat(event-broker): telegraf opts & sentry info
...
Because:
* Sentry was not including the release version.
* hot-shots defults to statsd, and telegraf has some options we
may want to use at some point.
This commit:
* Includes the Sentry release version.
* Uses telegraf format for hot-shots metrics reporting.
Closes #3285
2019-11-08 18:59:21 -08:00
Ben Bangert
53b509aab0
refactor(event-broker): use esModuleInterop
...
Because:
* esModuleInterop is default for new projects as its been generally
recommended for use.
This commit:
* Turns on esModuleInterop and updates imports as needed.
2019-11-08 17:21:38 -08:00
Ben Bangert
e94d0ceec1
feat(event-broker): optimize docker build
...
Because:
* We prefer using slim docker images instead of alpine in production.
* Prior docker builds were including Typescript build data instead of
just the built Javascript.
This commit:
* Reduces the compressed size of the Docker build from 139MB to 86 MB.
* Uses a separate build step to avoid including the Typescript sources.
2019-11-08 17:21:34 -08:00
Ben Bangert
94de104588
feat(event-broker): update dependencies
...
Because:
* Several dependencies were out of date with a sec. advisory.
This commit:
* Uses the latest versions of the google/sentry libs.
2019-11-08 14:08:23 -08:00
Danny Coates
7c09f10bc4
Merge pull request #3237 from mozilla/train-149
...
v1.149.4 -> master
2019-11-05 10:31:48 -08:00
Danny Coates
b1f943bf3e
Release 1.149.4
2019-11-04 13:52:46 -08:00
John Morrison
ca7a03d7bc
fix(events): set default `metrics.prefix` to have trailing `.`
2019-10-30 20:13:09 -07:00
Vijay Budhram
e580623d73
Release 1.149.3
2019-10-29 12:45:13 -04:00
Vijay Budhram
885f314098
Release 1.149.2
2019-10-28 21:05:04 -04:00
Vijay Budhram
5400cdf133
Release 1.149.1
2019-10-28 20:28:35 -04:00
Wil Clouser
b00390137e
Release 1.149.0
2019-10-25 14:21:50 -07:00
Vijay Budhram
c2f627ef1e
Release 1.148.8
2019-10-18 15:54:23 -04:00
Vijay Budhram
f4d7e98554
fix(deps): Update deps and add exception for advisory 1184
2019-10-18 15:24:27 -04:00
Vijay Budhram
9ce12f8dac
Release 1.148.7
2019-10-17 17:12:07 -04:00
Vijay Budhram
f1924f7d36
Release 1.148.6
2019-10-17 11:08:09 -04:00
Wil Clouser
6ed2ca037c
Release 1.148.5
2019-10-16 13:38:24 -07:00
Wil Clouser
2dd909e771
Release 1.148.4
2019-10-16 11:41:30 -07:00
Wil Clouser
156aafb7c2
Release 1.148.3
2019-10-15 17:33:33 -07:00
Wil Clouser
1befa9d992
Release 1.148.2
2019-10-15 14:27:30 -07:00
Shane Tomlinson
66e170d457
chore(release): Merge branch 'train-147' into train-148-merge-147
2019-10-15 20:28:11 +01:00
Shane Tomlinson
355166c391
Release 1.147.5
2019-10-15 20:06:33 +01:00
Wil Clouser
8716f77ee5
Release 1.148.1
2019-10-14 14:24:35 -07:00
Wil Clouser
6d22eb8527
Release 1.148.0
2019-10-11 09:59:01 -07:00
Vijay Budhram
38eaf3e6b9
Merge branch 'train-147' into uplift-train-147-v2
...
# Conflicts:
# packages/fxa-auth-server/lib/subhub/updates.js
2019-10-11 12:31:31 -04:00
Vijay Budhram
d95410e18e
Release 1.147.4
2019-10-11 12:22:27 -04:00
Ben Bangert
1e00dc4aba
feat: add queue prefix config and fix login validation
...
Because:
* The queue prefix is not configurable and FxA reuses client ID's in
the dev/stage environment.
* Login messages don't always include a service property.
This commit:
* Allows the queue prefix to be configured.
* Makes the service property optional for login messages.
Closes #2819
2019-10-09 17:10:14 -07:00
Vijay Budhram
63ca1bc68e
Release 1.147.3
2019-10-08 10:15:50 -04:00
Vijay Budhram
09a2fb39b4
Release 1.147.2
2019-10-07 14:43:57 -04:00
Vijay Budhram
f8a3a3dbdf
Merge pull request #2735 from mozilla/train-147, r=@vladikoff
...
Train 147 uplift to master
2019-10-03 14:07:19 -04:00
Vijay Budhram
6078278573
Release 1.147.1
2019-10-03 11:35:28 -04:00
Vijay Budhram
ffbe4c8ae8
Merge branch 'train-146' into train-147-uplift-train-146
2019-10-02 15:12:59 -04:00
Vijay Budhram
d4e6280bbd
Release 1.146.4
2019-10-02 14:42:01 -04:00
Ben Bangert
dac5e8b988
feat: add vscode tasks for running tests and debugger
...
Closes #2666
2019-10-01 17:27:41 -07:00
Les Orchard
5a5299283d
Release 1.147.0
2019-10-01 14:34:46 -04:00
Vijay Budhram
64eabffc58
Merge branch 'master' into train-146-merge-master
2019-10-01 11:36:06 -04:00
Vijay Budhram
7a87063093
Release 1.146.3
2019-10-01 10:36:35 -04:00
Vijay Budhram
7ce5a66ee1
Merge branch 'train-145' into train-146-uplift-train-145
2019-09-26 14:42:00 -04:00
Vijay Budhram
34e37bad97
Release 1.145.5
2019-09-26 14:19:11 -04:00
Ben Bangert
10138561dd
Merge pull request #2549 from mozilla/fix-eventbroker-add-version-route
...
fix(event-broker): response to /__version__ route
2019-09-23 09:27:54 -07:00
Vlad Filippov
00d5f2782b
Merge pull request #2563 from mozilla/train-146
...
Uplift of train-146 into master
2019-09-23 10:10:34 -04:00
Shane Tomlinson
86daadeb8b
Release 1.146.2
2019-09-23 11:16:17 +01:00
John Morrison
942100a808
fix(event-broker): add interface Version
2019-09-22 18:34:29 -07:00
John Morrison
7a7a148bc5
fix(event-broker): response to /__version__ route
2019-09-21 22:41:59 -07:00
Vlad Filippov
d7a995eac3
Release 1.146.1
2019-09-20 17:47:03 -04:00
Ben Bangert
5a4ebcab61
feat(event-broker): add performance metrics
...
Closes #739
2019-09-19 14:02:15 -07:00
Vijay Budhram
d18ddbbbd8
Release 1.146.0
2019-09-17 10:54:17 -04:00
Danny Coates
010abc8499
fix(vuln): updated hapi to fix https://npmjs.com/advisories/1165
2019-09-16 15:46:08 -07:00
Vijay Budhram
71c835e9d5
Merge branch 'master' into train-145-conflicts-fixed
2019-09-12 23:34:39 -04:00
Vijay Budhram
04f47a3c38
Release 1.145.4
2019-09-12 23:22:32 -04:00
Vijay Budhram
a240c33caa
Merge branch 'master' into train-145
2019-09-10 18:48:48 -04:00
Vijay Budhram
7a333b9e5f
Release 1.145.3
2019-09-10 18:26:42 -04:00
Jared Hirsch
564dc7e7a7
chore(deps): fxa-event-broker npm audit changes
...
* Include npm audit in lint task and parallelize linting
2019-09-06 15:06:12 -07:00
Shane Tomlinson
881d757773
Merge pull request #2419 from mozilla/train-145 r=@shane-tomlinson, @vladikoff
...
Train 145 into master
2019-09-06 12:20:00 +01:00
Vijay Budhram
17133faa21
Release 1.145.2
2019-09-05 14:59:42 -04:00
Shane Tomlinson
e7d79fe130
Release 1.145.1
2019-09-05 18:37:27 +01:00
Ben Bangert
150df6ab5d
feat(event-broker): add config flag to allow capability check to fail
...
Closes #2363
2019-09-04 08:30:48 -07:00
Barry Chen
244add5e86
Release 1.145.0
2019-09-03 11:51:07 -05:00
Phil Booth
80aec96184
Merge branch 'train-144' into train-144-merge
2019-09-02 12:12:53 +01:00
Vijay Budhram
0a053c22ba
Release 1.144.4
2019-08-29 09:41:34 -04:00
Vijay Budhram
30d818608d
Release 1.144.3
2019-08-28 22:41:45 -04:00
Phil Booth
6591843073
Merge branch 'master' into train-144-merge
2019-08-27 20:57:44 +01:00
Phil Booth
19bdef698b
Release 1.144.2
2019-08-27 19:06:11 +01:00
Phil Booth
49f3fc706e
Release 1.144.1
2019-08-27 18:38:58 +01:00
Phil Booth
5d709f96d3
refactor(db): rename productName to productId
2019-08-21 18:30:06 +01:00
Phil Booth
0e0b608a22
Release 1.144.0
2019-08-20 15:59:03 +01:00
Phil Booth
5876ced17d
chore(docs): add changelogs for subscription packages
2019-08-16 16:52:23 +01:00
Phil Booth
7e69761f05
chore(hooks): turn on prettier hook for typescript
2019-08-16 12:10:44 +01:00
Ben Bangert
f0694d630d
feat(event-broker): add sentry error reporting
...
Closes #2160
2019-08-15 16:26:08 -07:00
Ben Bangert
3af25b87fc
Merge pull request #2161 from mozilla/feat/issue-2110
...
feat(event-broker): add delete event propagation
2019-08-14 11:36:16 -07:00
Ben Bangert
f7d6222eeb
feat(event-broker): add delete event propagation
...
Also refactors event handling to be a bit better structured for
additional event types.
Closes #2110
2019-08-14 10:57:33 -07:00
Phil Booth
9adbd6da4e
Merge train-143 into master
...
https://github.com/mozilla/fxa/pull/2172
r=shane-tomlinson
2019-08-13 21:53:04 +00:00
Phil Booth
79bbbb5877
Release 1.143.4
2019-08-13 22:18:28 +01:00
Phil Booth
63cb612908
Release 1.143.3
2019-08-13 06:38:33 +01:00
Shane Tomlinson
96aa02a04e
Merge pull request #2159 from mozilla/train-143 r=@vbudhram
...
chore(release): Merge train 143 into master
2019-08-12 18:12:31 +01:00
Shane Tomlinson
1500feec71
Release 1.143.2
2019-08-12 16:37:20 +01:00
Shane Tomlinson
bb4d16ef05
Merge pull request #2131 from mozilla/train-143
...
Merge Train 143
2019-08-09 16:40:04 +01:00
Vijay Budhram
905f396c8c
Release 1.143.1
2019-08-09 08:30:31 -04:00
Ben Bangert
5f82c3e783
Merge pull request #2085 from mozilla/feat/add-firestore-typechecking
...
feat: add firestore type-checking
2019-08-06 08:10:12 -07:00
Vijay Budhram
44763c4e97
Release 1.143.0
2019-08-06 09:08:32 -04:00
Ben Bangert
b22b5e1c4d
feat(event-broker): add firestore type-checking
2019-08-05 23:31:48 -07:00
Jared Hirsch
442ac5b6e8
Merge pull request #1955 from mozilla/feat/issue-1774.3
...
feat: productize event-broker and fix excessive logging in prod
2019-07-26 14:38:05 -07:00
Ben Bangert
3d4d38287d
feat(event-broker): add script to simulate webhook calls
...
Closes #1774
2019-07-26 10:34:00 -07:00
Ben Bangert
2639f9221d
feat: turn off hapi request debug logging for production
...
Issue #1774
2019-07-25 14:55:32 -07:00
Ben Bangert
fe2b56989c
feat(event-broker): add test for region extraction
...
Closes #1939
2019-07-25 12:54:07 -07:00
Ben Bangert
57b2cbecf8
Merge pull request #1944 from mozilla/train-142
...
Merge v1.142.1 to master
2019-07-25 10:23:30 -07:00
Ryan Kelly
116f5e94aa
Release 1.142.1
2019-07-25 15:13:13 +10:00
Ben Bangert
ef109e4b20
Merge pull request #1938 from mozilla/fix/issue-1937
...
fix(event-broker): handle a missing clientId
2019-07-24 16:38:44 -07:00
Ben Bangert
9d8fe14daa
Merge pull request #1936 from mozilla/feat/issue-1763
...
feat(event-broker): extract region from service notification url
2019-07-24 16:17:49 -07:00
Ben Bangert
6c221b79a3
fix(event-broker): handle a missing clientId
...
Closes #1937
2019-07-24 16:04:01 -07:00
Ben Bangert
d23fc6db75
feat(event-broker): extract region from service notification url
...
Closes #1763
2019-07-24 15:28:40 -07:00
Ben Bangert
37fc280300
fix(event-broker): exit with non-zero for unhandledRejection
...
Closes #1803
2019-07-24 14:12:52 -07:00
Phil Booth
760a0e4203
Release 1.142.0
2019-07-23 14:11:18 +01:00
Shane Tomlinson
cd377a5bc8
Merge branch 'master' into train-141-merge
2019-07-17 20:20:29 +01:00
Shane Tomlinson
02a8574849
Release 1.141.7
2019-07-17 18:52:59 +01:00
Shane Tomlinson
1f3c23fc0d
Release 1.141.6
2019-07-17 15:10:56 +01:00
Ryan Kelly
4b8c093c6d
Merge pull request #1805 from mozilla/train-141; r=philbooth
...
Merge 1.141.5 to master
2019-07-17 17:47:37 +10:00
Ryan Kelly
601fc5c534
Release 1.141.5
2019-07-17 14:42:58 +10:00
Ben Bangert
c1371c5808
feat(event-broker): log errors for malformed messages instead of error
...
Issue #1774
2019-07-16 09:01:22 -07:00
Ben Bangert
2852a459d5
feat(event-broker): clean shutdown, allow extra pubsub vars, lbheartbeat
...
Issue #1774
2019-07-16 08:28:06 -07:00
Shane Tomlinson
6609cdf68c
Merge pull request #1754 from mozilla/train-141 r=@vbudhram
...
chore(release): Merge Train 141 into master
2019-07-12 12:42:41 +01:00
John Morrison
7257995e51
fix(events): compile typescript in docker build
2019-07-11 16:29:11 -07:00
Shane Tomlinson
b60fcdfdeb
Release 1.141.4
2019-07-11 21:28:05 +01:00
Phil Booth
f2a5c615ad
Release 1.141.3
2019-07-11 14:40:18 +01:00
Phil Booth
cd6460d083
Release 1.141.2
2019-07-11 11:13:44 +01:00
Phil Booth
737265b250
chore(package): manually bump version strings to 1.141.1
2019-07-11 11:12:21 +01:00
Ben Bangert
711c4eaddd
fix(event-broker): use proper types and correct in-memory datastore args
2019-06-25 08:09:25 -07:00
Ben Bangert
c438e9b7d7
fix(event-broker): fix Query.select and event-broker startup issues
...
Issue #1599
Closes #1586
2019-06-24 15:42:19 -07:00
Ben Bangert
660aa3293c
feat(event-broker): use firestore collection prefix
...
Closes #1557
2019-06-24 15:13:29 -07:00
Ben Bangert
c1cf036334
feat: add proxy for RPs and integration test utils
...
Closes #1269
2019-06-24 09:34:44 -07:00
Ben Bangert
90d4bf7533
feat(event-broker): add GCP pub/sub storing of subscription changes
...
Also adds:
* Caching abstraction for automatically refreshed data.
* Cached services for webhook urls and the client capabilities.
* Dockerfile for CI integration.
Closes #1268 , #1267
2019-06-05 08:34:08 -07:00
Ben Bangert
095360cbaf
feat(event-broker): add database tests
...
Adds local google cloud pubsub/firestore emulator and rigs tests into
it.
Issue #1267
Closes #1266
2019-05-29 07:39:13 -07:00
Ben Bangert
c940100d26
feat: initial Typescript based fxa event broker
...
Implements the message receiving portion of the event broker in a new
TypeScript based Node app.
Closes #682
2019-05-28 14:35:49 -07:00
Phil Booth
b9e146634f
Release 1.138.1
2019-05-28 19:29:30 +01:00
Phil Booth
18858954d6
Release 1.138.0
2019-05-28 18:40:09 +01:00
Vijay Budhram
8802b10d12
Release 1.137.4
2019-05-22 22:10:40 -04:00
Vijay Budhram
0a41419fc8
Release 1.137.3
2019-05-22 16:11:31 -04:00