-
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
feat: Deprovision Data Layer on delete #808
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8b45444
chore: Add logging to `DataLayerService`
morgsmccauley 85ee540
feat: Drop schema during deprovision
morgsmccauley 07ac1aa
feat: Unschedule cron jobs
morgsmccauley be0e0ef
feat: Drop hasura datasource
morgsmccauley 07a27fb
feat: Drop database
morgsmccauley 7ef08aa
feat: Drop role
morgsmccauley e22b38a
fix: Format list schemas query correctly
morgsmccauley d8ba5ea
fix: Correctly format drop db query
morgsmccauley e5fd4fd
feat: Revoke cron access
morgsmccauley fce30f2
test: Add integration test for deprovisioning
morgsmccauley 54525f6
refactor: Change data layer svc methods to make extension easier
morgsmccauley f8d0661
refactor: Use deterministic hashes to prevent duplicate tasks
morgsmccauley 9e65602
feat: Deprovision via rpc
morgsmccauley c209a83
feat: Update rust data layer client
morgsmccauley 4d699d5
feat: Return current task if it exists
morgsmccauley 42b9b00
refactor: Provision via updated rpc proto
morgsmccauley 9f4e152
feat: Deprovision data layer on delete indexer
morgsmccauley eebc305
fix: Handle existing indexers without provisioning task
morgsmccauley ed6a2a9
feat: Remove Redis Stream on delete
morgsmccauley c04ca63
test: Fix synchroniser tests after rebase
morgsmccauley 7ce18e7
chore: Log when using default state
morgsmccauley 6a3bfae
chore: Update example names for clarity
morgsmccauley c71dcac
chore: Use warn over info
morgsmccauley 23f0693
test: Assert data layer non-/existance in integration tests
morgsmccauley 91135bb
fix: Correctly query user owned schemas
morgsmccauley ca53f70
fix: Ensura hasura metadata is cleaned up after schema drop
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
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.
Is Failed sufficient to redress the situation? Failure in Provisioning is different from failure in deprovisioning. Especially since the enum indicates there's no additional data stored.
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.
No - but at this point it isn't my goal, I will address redundancy in future work.