-
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: Enable Logging functionality to both new and old Log Tables #657
Merged
Kevin101Zhang
merged 49 commits into
main
from
650-release-logs-to-production-both-old-and-new-way
Apr 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
4ada070
fix: relocated runLogsSql into setupPartitionLogsTable
Kevin101Zhang 8b57a79
chore: add prefix for INDEXs in schema
Kevin101Zhang a709dae
feat: added log-entry class and test
Kevin101Zhang f4c7ccb
Update log-entry.test.ts
Kevin101Zhang 9de783f
Update log-entry.test.ts
Kevin101Zhang 89fa865
uncommented out provisioning
Kevin101Zhang 8d0da62
feat: added additional static classes in LogEntry
Kevin101Zhang 91a3d1b
fix: modified indexer-logger and test to use logEntry
Kevin101Zhang 0be44dd
fix: typo
Kevin101Zhang 8a331b2
Update log-entry.test.ts
Kevin101Zhang 1809f7a
chore: removed console.log
Kevin101Zhang 7254a50
fix: LogLevel and LogType are defined in log-entry
Kevin101Zhang 749e9f2
fix: indexer-logger now matches exact query
Kevin101Zhang 00a6e61
Merge branch '639-fix-unresolved-comments-in-original-pr-httpsgithubc…
Kevin101Zhang a582921
fix: added test without bh
Kevin101Zhang 8459863
Merge branch '639-fix-unresolved-comments-in-original-pr-httpsgithubc…
Kevin101Zhang 0301061
merge scripts
Kevin101Zhang 97e6ebc
fix: used fake timers on indexer-logger test
Kevin101Zhang 4e431e9
fix: writeLog exclusively accepts an array of LogEntry
Kevin101Zhang 6193ade
Merge branch '639-fix-unresolved-comments-in-original-pr-httpsgithubc…
Kevin101Zhang 954528e
chore: moved log-entry files to indexer-logger
Kevin101Zhang 70c9153
rebase
Kevin101Zhang 16e9b69
rebase
Kevin101Zhang 030fa4c
feat: provisioning of new users
Kevin101Zhang f7de470
merge with main includes - feat: Provision logs for existing users
Kevin101Zhang 03ded3f
chore: remove console.log
Kevin101Zhang 8d48fc5
added back commented out test for metaDataTableDDL
Kevin101Zhang 80eb9f1
uncommented skip
Kevin101Zhang 451b5bc
Merge branch '641-introduce-provisioning-of-logs' of https://github.c…
Kevin101Zhang e097cbc
uncommented skip, removed redundant test cases
Kevin101Zhang c9fc515
chore: removed comment
Kevin101Zhang c862042
chore: removed comment
Kevin101Zhang ef4d29c
mocked provisionLogsIfNeeded for test
Kevin101Zhang d75bc77
feat: uncommented out logging to new log table
Kevin101Zhang e8de5b8
chore: commented out unused code
Kevin101Zhang 3ee3c9a
rebase
Kevin101Zhang 39e4078
rebase from main
Kevin101Zhang 5efbc81
add nullish coalescing to getDatabaseConnectionParameters
Kevin101Zhang d68a242
feat: added unit test to check logs, removed unused line
Kevin101Zhang d6285fe
feat: added integration test for logs asserting log_entries are equal…
Kevin101Zhang 2ba9ffd
rebase
Kevin101Zhang d5f87de
fix: corrected param for indexerMeta instantiation
Kevin101Zhang 6ed96aa
fix: use IndexerConfig for indexerMeta
Kevin101Zhang 11dfe35
searching for provisioning endpoints
Kevin101Zhang b960b2c
fix: check run functions
Kevin101Zhang a3a040e
chore: renamed log table
Kevin101Zhang 845cfac
chore: spacing
Kevin101Zhang 1ead54b
set systemLogs in buildDB context to user
Kevin101Zhang 4e718d6
fix: use of IndexerConfig in indexerMeta
Kevin101Zhang 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
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.
This is not necessary. Using private readonly will automatically expose indexerConfig to the class as a class variable.