-
Notifications
You must be signed in to change notification settings - Fork 3
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
DPLT-1076 create node worker to process real time streams #159
Merged
morgsmccauley
merged 23 commits into
main
from
DPLT-1076-create-node-worker-to-process-real-time-streams
Aug 4, 2023
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
75d9e6f
feat: Bootstrap `runner` repo
morgsmccauley f26b675
chore: Add `indexer.js`
morgsmccauley 8f00884
refactor: Migrate `indexer.js` to TS
morgsmccauley 183aa52
chore: Remove AWSXray
morgsmccauley 92d9c65
chore: Remove AWS `Metrics`
morgsmccauley 21af461
chore: Add `hasura-client.js`
morgsmccauley e9cff96
refactor: Migrate `hasura-client.js` to TS
morgsmccauley a760f0a
chore: Add `provisioner.js`
morgsmccauley 75dd6f2
refactor: Migrate `provisioner.js` to TS
morgsmccauley 751beb3
test: Provisioner
morgsmccauley acd212e
chore: Add `pg-client.ts`
morgsmccauley 1eac6c4
test: HasuraClient
morgsmccauley 54a918f
test: Indexer
morgsmccauley 43200a4
fix: Update incorrect track foreign key req payload
morgsmccauley d25c963
fix: Incorrect condition conversions after TS migration
morgsmccauley 36ca4bf
refactor: Remove unnecessary condition conversions
morgsmccauley 096c53c
refactor: Move classes to their own directories
morgsmccauley 40ebfce
feat: Add node app to process redis stream
morgsmccauley 346bb26
chore: Remove logs
morgsmccauley 013f4dd
chore: Separate JS/TS linting config
morgsmccauley aeaeaef
refactor: Remove unused code in `Indexer`
morgsmccauley df6673b
feat: Change redis keys to make consumption easier
morgsmccauley b822642
feat: Update redis keys in runner
morgsmccauley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
env: { | ||
es2021: true, | ||
node: true, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['.eslintrc.js', 'jest.config.js'], | ||
parser: 'espree', | ||
extends: ['standard'], | ||
rules: { | ||
semi: ['error', 'always'], | ||
'comma-dangle': ['error', 'only-multiline'], | ||
}, | ||
}, | ||
{ | ||
files: ['./src/**/*'], | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
}, | ||
extends: [ | ||
'standard-with-typescript', | ||
], | ||
rules: { | ||
'@typescript-eslint/semi': ['error', 'always'], | ||
'@typescript-eslint/comma-dangle': ['error', 'only-multiline'], | ||
'@typescript-eslint/strict-boolean-expressions': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**/dist | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node' | ||
}; |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Storing the indexer name alone to make it easier to build the many other keys related to this indexer, i.e.
:storage
and:stream