-
Notifications
You must be signed in to change notification settings - Fork 51
SCMU fails to start when there is an instance with corrupt XML configuration files. #5684
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
28 commits
Select commit
Hold shift + click to select a range
8689b1f
gracefully handle the configuration file error
soujay d9baf1e
refresh existing instances
soujay 4687b13
remove temp logging code
soujay 184978e
remove logging of xml config error
soujay 757df2d
remove unsed log code
soujay 53ce8b4
Add spec and executable spec tests for corrupt instance configuration…
860b773
Rule 1: never silently skip an instance that fails to load
d3ef0d6
Rule 1: protect monitoring instances from corrupt configs like the ot…
f536887
Rule 2: error banners name the config file that needs fixing
f027f58
Rule 4: refresh rejects an update from an instance of a different type
34457fb
Rule 5: make the list-level banner logic testable via an instances-so…
d0a078f
Rule 5: show the configuration error summary banner above the instanc…
4a009f4
Rule 4: cover both refresh directions through the real UI flows
ee3bc3c
Add manual test plan covering what the executable spec cannot reach
27acee8
Add vocabulary section to the spec
0033fa1
notifyproperty change to HasConfigurationErrors and configurationerro…
soujay d68ba08
fix test build error
soujay 3c9effc
refresh after adding and removing instances when there are other corr…
soujay 1ce97b6
Text wrap teh configuration error message
soujay 9d1b839
add copy error message functionality
soujay 5e913ce
Change to copy icon and position to top right
soujay 9ea0228
auto refresh while adding and removing instances.
soujay bb9786b
remove licnese check while adding monitoring instance
soujay e5eaef1
Revert "remove licnese check while adding monitoring instance"
soujay aed34df
Update src/ServiceControl.Config/UI/InstanceDetails/InstanceDetailsVi…
soujay 2da682d
Update src/ServiceControl.Config/UI/InstanceDetails/InstanceDetailsVi…
soujay 92337ea
Clean up spec files
npink42 5a8f7b6
Merge remote-tracking branch 'origin/scmu-corrupt-xml-config' into sc…
npink42 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
434 changes: 434 additions & 0 deletions
434
src/ServiceControl.Config.Tests/InstanceDetails/CorruptInstanceConfiguration.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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.