-
Notifications
You must be signed in to change notification settings - Fork 154
refactor: split config #236
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
12ea3b8
refactor: add placeholder for config structure
deryrahman 0651891
refactor: version command to not accept conf directly
deryrahman de6bcfe
feat: implement load project and server config
deryrahman b22d957
refactor: load project config to accept filepath
deryrahman 8ed8278
test: add test for load server config fs
deryrahman b7e9440
test: add test for load server and project config
deryrahman 7cc07b2
refactor: remove unecessary code
deryrahman d081d55
feat: add config validator
deryrahman 8a133ad
refactor: loader
deryrahman f00cc3b
refactor: load config inside specific command
deryrahman ac9f800
refactor: naming project config to client config
deryrahman 08e57df
refactor: initliazie jsonLogger and telemtry on serve comand
deryrahman e591aba
refactor: define log level as const
deryrahman f6569f4
refactor: logger for command serve
deryrahman 6a108a3
refactor: remove unused params on cmd.New
deryrahman 8cf97a1
refactor: use exported function instead of internal
deryrahman ccf1f0f
revert: use server implementation from main branch
deryrahman 099e55b
refactor: initiate client config & logger in each commands
deryrahman de07b3d
fix: invalid home filepath on load server config test
deryrahman d3088ee
fix: nested validation
deryrahman eda5818
fix: linter
deryrahman 6f03207
fix: handled validation receive pointer
deryrahman 6d73cf7
fix: smoke-test script to use sample config
deryrahman 273692d
fix: test on load log level
deryrahman a90e158
test: cherry-pick legacy loader test
deryrahman f640ae9
fix: legacy test race condition
deryrahman 4c37b2c
fix: use config on version command only when flag with-server is true
deryrahman 0a75bb1
fix: build with BuildVersion
deryrahman a7084c1
refactor: replay struct
deryrahman 2d125c4
refactor: put comment legacy for the deprecated function
deryrahman da6bda9
fix: restore cli request fail
deryrahman 9c10de3
refactor: pass global repo to relevant commands
deryrahman 45a837f
refactor: extract datastore initialization to a function
irainia 29e3b98
refactor: clean-up variable naming
irainia 940ef44
fix: use replay struct
deryrahman 0e0ce74
fix: accpeting config file path on server command
deryrahman 23b3137
refactor: clean up legacy loader
deryrahman 380f361
fix: remove server config load from home dir
deryrahman 7c9869c
fix: linter
deryrahman 29a930e
add: gitignore for new configs
deryrahman 1ef87aa
refactor: move setups in server package
deryrahman d1963ef
refactor: logger & hplugin imported
deryrahman ae75900
fix: type load config server
deryrahman aadbf85
fix: missing --config flags
deryrahman 1ed316c
fix: default scheduler in config server
deryrahman 46547b0
refactor: passing logger in extension command
deryrahman ef05cec
fix: initialize pluginRegistry
deryrahman d849fb3
refactor: add TODO init paths config
deryrahman 39b26d2
refactor: add TODO for validation
deryrahman 545f91f
fix: executable dir path
deryrahman e0f4a35
refactor: remove global env as a reasons when server is not reachable
deryrahman bb6f797
docs: update config docs
deryrahman 06df79e
refactor: initialize dsRepo on backup create command
deryrahman 14df505
refactor: remove Validate func
deryrahman 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.