i_1205 Make standingsXML more palatable for WTI#1206
Open
johnbrvc wants to merge 1 commit intopc2ccs:developfrom
Open
i_1205 Make standingsXML more palatable for WTI#1206johnbrvc wants to merge 1 commit intopc2ccs:developfrom
johnbrvc wants to merge 1 commit intopc2ccs:developfrom
Conversation
WTI expects some things in the standings XML produced by the DSA to be arrays of XML objects (problem and problemSummaryInfo). If there was a single problem, these were not arrays. This code puts single objects of these into json arrays so WTI can process them. CI: Added contest with a single problem for testing.
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
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 of what the PR does
WTI expects some things in the standings XML produced by the DSA to be arrays of XML objects (problem and problemSummaryInfo, specifically). If there is a single problem, these were not arrays. This code puts single objects of these into JSON arrays so WTI can process them properly and the scoreboard will show a single problem.
CI: Added sample contest with a single problem for testing.
Issue which the PR addresses
Fixes #1205
Environment in which the PR was developed (OS,IDE, Java version, etc.)
Windows 11
Java ver 1.8.0_321 build Windows 11 10.0 (amd64)
Precise steps for testing the PR (i.e., how to demonstrate that it works correctly)
Note: Eclipse removed end of line spaces causing the diff to be astronomical. I would set ignore blanks for the diff when evaluating this PR.