-
Notifications
You must be signed in to change notification settings - Fork 184
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
Integration of Profile Resolution NG into Build Process #624
Integration of Profile Resolution NG into Build Process #624
Conversation
created under \$TMPDIR if set or in /tmp. | ||
--keep-temp-scratch-dir If a scratch directory is automatically | ||
created, it will not be automatically removed. | ||
-v Provide verbose output |
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.
Maybe add a --verbose
equivalent for consistency and ease-of-reading.
case "$arg" in | ||
--scratch-dir) | ||
SCRATCH_DIR="$(realpath "$2")" | ||
shift # past unit_test_dir |
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.
The comment should probably refer to the scratch dir.
echo -e "${P_INFO}==============================${P_END}" | ||
|
||
if [ "$VERBOSE" = "true" ]; then | ||
echo -e "${P_INFO}Using working directory:${P_END} ${WORKING_DIR}" |
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.
Doesn't look like this gets set here.
xml/schema/oscal_catalog_schema.xsd
Outdated
<xs:element ref="oscal-catalog:param" minOccurs="0" maxOccurs="unbounded"/> | ||
<xs:element ref="oscal-catalog:control" minOccurs="0" maxOccurs="unbounded"/> | ||
<xs:element ref="oscal-catalog:group" minOccurs="0" maxOccurs="unbounded"/> | ||
<xs:choice> |
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 looks like a change from (or for) a different commit.
These are selective imports from the catalogs/abc-simple_catalog.xml, essentially identical except for how the catalog is referenced.
…le (#16) This is basically the entire catalog, except for the a1 profile. The change adds the parent groups, and the children of c1.
This is essentially the same as the catalog, and adds the parent groups to the existing result.
This adds the parent group, missing params and parts of the control.
This is basically the same as the catalog, less the children on c1
Adds the parent group and title, and missing control c3.a-1
These are essentially identical, since keep is the default.
d82ae87
to
7ce3f73
Compare
Added config option to support profile-resolution. Updating to latest metaschema. Fixes to profile catalog references to make them relative.
* fixing a profile resolution bug causing duplicate back-matter when multiple catalogs are used.,
Fixed profile resolution validation errors resulting from invalid catalogs.
Fixed broken schema path in test-profile-resolution.sh.
Committer Notes
Addressing #561 and usnistgov/oscal-content#128 by implementing profile resolution unit testing.
This PR leverages the commits from PR #559.
All Submissions:
Changes to Core Features: