Skip to content
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

General cleanup related to 'system-characteristics' constraints #710

Conversation

Gabeblis
Copy link
Contributor

Committer Notes

Description

Removed system-characteristics constraints that are handled by the schema, and tests for each of these constraints. I also created separate invalid test files for constraints that caused conflicts in the ssp-all-INVALID.xml file. I moved some metapath for constraints from "test" to "target" so that it is cleaner and easier to understand. The metapath was originally in the test because this was a workaround that allowed the constraints to all share the same ssp-all-INVALID.xml file without conflicts. The functionality is the exact same. These changes should be added as they are part of the effort write all of the constraints from the constraint tracker.

Changes

  • Removed constraints has-authorization-boundary-diagram-uuid, has-network-architecture-description, has-network-architecture-diagram-uuid from fedramp-external-constraints.xml.
  • Removed pass and fail yaml tests for all of the above constraints.
  • Created separate invalid test data files for constraints where necessary to ensure all constraints fail correctly without conflicts.
  • Edited targets of system-characteristics constraints to be cleaner and easier to understand.

All Submissions:

By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.

…cted yaml fail test files where necessary, removed 2 constraints that are handled by the schema
…cted yaml fail test files where necessary, removed 1 constraint that is handled by the schema
@Gabeblis Gabeblis requested a review from a team as a code owner September 20, 2024 18:23
Copy link
Contributor

@aj-stein-gsa aj-stein-gsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch and @Gabeblis and explanation, this is great work. It seems by virtue of this issue, we are approving ADR 7 as well.

@aj-stein-gsa aj-stein-gsa merged commit 1acb9d2 into GSA:feature/external-constraints Sep 20, 2024
3 checks passed
aj-stein-gsa added a commit to Gabeblis/fedramp-automation that referenced this pull request Sep 20, 2024
aj-stein-gsa added a commit that referenced this pull request Sep 20, 2024
* Introduce test data optimization ADR

* Correction: only scaffold invalid test data file

* Provide more detail in ADR

* Date correction

* Add solution & consequences

* Add reference to #710.

---------

Co-authored-by: A.J. Stein <[email protected]>
aj-stein-gsa pushed a commit that referenced this pull request Sep 24, 2024
* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 2 constraints that are handled by the schema

* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 1 constraint that is handled by the schema

* cleanup
aj-stein-gsa added a commit that referenced this pull request Sep 24, 2024
* Introduce test data optimization ADR

* Correction: only scaffold invalid test data file

* Provide more detail in ADR

* Date correction

* Add solution & consequences

* Add reference to #710.

---------

Co-authored-by: A.J. Stein <[email protected]>
aj-stein-gsa pushed a commit that referenced this pull request Sep 25, 2024
* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 2 constraints that are handled by the schema

* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 1 constraint that is handled by the schema

* cleanup
aj-stein-gsa added a commit that referenced this pull request Sep 25, 2024
* Introduce test data optimization ADR

* Correction: only scaffold invalid test data file

* Provide more detail in ADR

* Date correction

* Add solution & consequences

* Add reference to #710.

---------

Co-authored-by: A.J. Stein <[email protected]>
Rene2mt pushed a commit to Rene2mt/fedramp-automation that referenced this pull request Sep 27, 2024
)

* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 2 constraints that are handled by the schema

* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 1 constraint that is handled by the schema

* cleanup
Rene2mt pushed a commit to Rene2mt/fedramp-automation that referenced this pull request Sep 27, 2024
* Introduce test data optimization ADR

* Correction: only scaffold invalid test data file

* Provide more detail in ADR

* Date correction

* Add solution & consequences

* Add reference to GSA#710.

---------

Co-authored-by: A.J. Stein <[email protected]>
brian-ruf pushed a commit to brian-ruf/fedramp-automation that referenced this pull request Nov 8, 2024
)

* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 2 constraints that are handled by the schema

* Fixed targets, created separate invalid files where necessary, redirected yaml fail test files where necessary, removed 1 constraint that is handled by the schema

* cleanup
brian-ruf pushed a commit to brian-ruf/fedramp-automation that referenced this pull request Nov 8, 2024
* Introduce test data optimization ADR

* Correction: only scaffold invalid test data file

* Provide more detail in ADR

* Date correction

* Add solution & consequences

* Add reference to GSA#710.

---------

Co-authored-by: A.J. Stein <[email protected]>
This was referenced Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants