Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: create new Metabase client #3970
feat: create new Metabase client #3970
Changes from 16 commits
7f2062b
e0a8c8c
3e76ca8
7a1b6c2
1ea36cd
40c205e
807b144
c4d9b76
7701e56
1aef0ef
b3947be
301f7d5
e1e0e69
170e897
eaa7fc2
ee49ce2
c033f24
6f0d419
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 9 in api.planx.uk/modules/analytics/metabase/shared/client.test.ts
GitHub Actions / Run API Tests
Check failure on line 38 in api.planx.uk/modules/analytics/metabase/shared/client.test.ts
GitHub Actions / Run API Tests
modules/analytics/metabase/shared/client.test.ts > Metabase client > validates configuration > throws error when API_KEY is missing
Check failure on line 58 in api.planx.uk/modules/analytics/metabase/shared/client.test.ts
GitHub Actions / Run API Tests
modules/analytics/metabase/shared/client.test.ts > Metabase client > Error handling > retries then succeeds on 5xx errors
Check failure on line 77 in api.planx.uk/modules/analytics/metabase/shared/client.test.ts
GitHub Actions / Run API Tests
modules/analytics/metabase/shared/client.test.ts > Metabase client > Error handling > throws an error if all requests fail
Check failure on line 97 in api.planx.uk/modules/analytics/metabase/shared/client.test.ts
GitHub Actions / Run API Tests
modules/analytics/metabase/shared/client.test.ts > Metabase client > Error handling > does not retry on non-5xx errors
Check failure on line 35 in api.planx.uk/modules/analytics/metabase/shared/client.ts
GitHub Actions / Run API Tests
modules/analytics/metabase/shared/client.test.ts > Metabase client > returns configured client
Check failure on line 35 in api.planx.uk/modules/analytics/metabase/shared/client.ts
GitHub Actions / Run API Tests
modules/analytics/metabase/shared/client.test.ts > Metabase client > validates configuration > returns valid config object