-
Notifications
You must be signed in to change notification settings - Fork 92
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
818 fix data center #819
818 fix data center #819
Conversation
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.
looks good, nice bugfix
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.
Looks good. Nice XML fixes.
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.
Great work done so quickly, mainly minor formatting things and a new style guide requirement I did not remind you of earlier on a call.
src/validations/constraints/content/ssp-data-center-US-INVALID.xml
Outdated
Show resolved
Hide resolved
src/validations/constraints/content/ssp-data-center-US-INVALID.xml
Outdated
Show resolved
Hide resolved
src/validations/constraints/content/ssp-data-center-alternate-INVALID.xml
Outdated
Show resolved
Hide resolved
src/validations/constraints/content/ssp-data-center-count-INVALID.xml
Outdated
Show resolved
Hide resolved
src/validations/constraints/content/ssp-data-center-country-code-INVALID.xml
Outdated
Show resolved
Hide resolved
src/validations/constraints/content/ssp-data-center-primary-INVALID.xml
Outdated
Show resolved
Hide resolved
src/validations/constraints/content/ssp-data-center-primary-INVALID.xml
Outdated
Show resolved
Hide resolved
….xml Co-authored-by: A.J. Stein <[email protected]>
4127747
…INVALID.xml Co-authored-by: A.J. Stein <[email protected]>
…de-INVALID.xml Co-authored-by: A.J. Stein <[email protected]>
…VALID.xml Co-authored-by: A.J. Stein <[email protected]>
…VALID.xml Co-authored-by: A.J. Stein <[email protected]>
….xml Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
Co-authored-by: A.J. Stein <[email protected]>
…LID.xml Co-authored-by: A.J. Stein <[email protected]>
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 all looks good. I know you didn't make any changes to the data-center constraints on lines 37-42 in this PR, but it would be nice to add the help-url props to those as well since the documentation for those constraints is in the same exact area.
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.
looks good
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.
Looks good to me.
If others who reviewed this PR are ok with the related documentation work in GSA/automate.fedramp.gov#96 and approve that, this can merge very soon. For now, I mark DONOTMERGE. |
#96 is reviewed, so this is good to go. Remvoed the DONOTMERGE tag and merging in now. This is ready to ship. |
Obsolete, help-urls added later in review.
* fixed data center property arguments in ssp-all-VALID * changed data-center constraints to point to name = type, value = data-center * made unit tests much more specific to their file name, AKA only one error occurs in each file * Update src/validations/constraints/content/ssp-data-center-US-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/content/ssp-data-center-alternate-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/content/ssp-data-center-country-code-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/content/ssp-data-center-primary-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/content/ssp-data-center-primary-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/content/ssp-data-center-US-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/fedramp-external-constraints.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/fedramp-external-constraints.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/fedramp-external-constraints.xml Co-authored-by: A.J. Stein <[email protected]> * Update src/validations/constraints/content/ssp-data-center-count-INVALID.xml Co-authored-by: A.J. Stein <[email protected]> --------- Co-authored-by: A.J. Stein <[email protected]>
Committer Notes
This PR addresses issue 818, thereby fixing data-center constraints and unit test files. The constraints needed to check for name=type and value=data-center, instead of name=data-center. Additionally, there were many unit tests that were not designed to test one issue at a time, (for example in the primary data center test document the country was also wrong) so I switched the documents to only one error per unit test. NOTE @Gabeblis agreed to update documentation for this PR
All Submissions:
By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.