-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support multiple stacks per network in Dashboard #3162
Merged
Merged
Conversation
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
- sendGetRequest to sendRequest and use fetch instead of axios. - replace serviceUrl and serviceName with getters - add update method that uses URL setter - Make all IServiceBase classes take an optional options on their contractor, add error handling for side effect - Grouped all RMB properties to RMB to RMBProps - Feat: - add stats monitor class that monitors stats service - add activation monitor class that monitor activation service
it is class managing service URLs with liveness checking <pick the first reachable endpoint for each service> - Define retries and silent mode settings - Implement constructor to handle StackManagerOptions - Add private handleErrorsOnSilentMode method for error handling based on silent mode - Implement getAvailableStack method to find reachable service URL - Implement getAvailableServicesStack method to fetch and store available service URLs for all services
…urn undefined or emptystring remove debug lines
…nect and disconnect
…tech/tfgrid-sdk-ts into development_monitoring__stacks_ui
…into development_monitoring__stacks
…tech/tfgrid-sdk-ts into development_monitoring__stacks_ui
…tech/tfgrid-sdk-ts into development_monitoring__stacks_ui
…oldtech/tfgrid-sdk-ts into development_monitoring__stacks_ui
…into development_monitoring__stacks_ui
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.
please mention in the docs the URLs can be a single URL or more separated by a comma
…into development_monitoring__stacks_ui
MohamedElmdary
approved these changes
Aug 18, 2024
AhmedHanafy725
approved these changes
Aug 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Support serviceUrlManager in Dashboard

Changes
Update
build-env
scriptpublic
directorystring of urls separated **comma**
to an array and return it to config file.SERVICENAME_STACKS
as array and theSERVICENAME_URL
will set by thesetGlobalEnv
laterfix logger error
cannot connect before intialization
update
config.ts
:setGlobalEnv
that uses theserviceUrlManager
to pick the available stack for each service based on the provided urls array in config.jsclients/index.ts
loaded withdefineAsyncComponent
update global-component:
$$showMonitorError
add wrapper component that wrap the
app.vue
to make sure we hide the app until all services are connectedUI : show error message with services status if any of them failed as shown in provided pic
Related Issues
sdk-ts
: Support multiple stacks per network #3078Documentation PR
For UI changes, Please provide the Documetation PR on info_grid
Checklist