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

Tracker ticket for profile resolution samples #577

Closed
15 of 21 tasks
bradh opened this issue Dec 21, 2019 · 7 comments · Fixed by #624
Closed
15 of 21 tasks

Tracker ticket for profile resolution samples #577

bradh opened this issue Dec 21, 2019 · 7 comments · Fixed by #624
Assignees
Labels
bug Scope: CI/CD Enhancements to the project's Continuous Integration and Continuous Delivery pipeline. Scope: Content Development of OSCAL content and examples.

Comments

@bradh
Copy link
Contributor

bradh commented Dec 21, 2019

Describe the bug

Profile resolution is being worked by @wendellpiez over on #559. That has some "known answer" files for the result of processing / resolving the profiles. Not all of them are necessarily correct. This ticket tracks status

Who is the bug affecting?

At this stage it only affects those working in #559. Indirectly it affects everyone who is trying to use the profile resolution logic.

What is affected by this bug?

This is a blocker to completion of #559.

When does this occur?

On resolution.

Files that are OK (per spec, noting #579 and #580)

  • broken_profile.xml
  • circular_profile.xml
  • home_profile.xml

Files needing work

Files to be analysed

  • import-twice_profile.xml

Other test profiles we might need

  • More checks for citation logic (spec section 3.6) - that is quite complicated
  • Controls within nested groups (say three or four levels deep)
  • Selecting a sub-control without explicitly selecting parent control(s)

Other things we should / could do

  • Fix up the versions to match the current or next milestone?
  • Validate all the Profile files against the schema
  • Validate all the Catalog files against the schema
  • Validate all the expected output files against the schema
  • Convert all the files to equivalent JSON files
  • Convert all the files to equivalent YAML files
@bradh bradh added the bug label Dec 21, 2019
@david-waltermire
Copy link
Contributor

@bradh I think @wendellpiez accepted all your PRs. Can you verify and check them off above?

I am also working on integrating the profile resolution unit tests into the CI/CD (#561), which should cover some aspects of the "Other things we should / could do".

We still need to fix the versions.

@david-waltermire david-waltermire added Scope: CI/CD Enhancements to the project's Continuous Integration and Continuous Delivery pipeline. Scope: Content Development of OSCAL content and examples. labels Jan 9, 2020
@david-waltermire david-waltermire added this to the OSCAL 1.0 Milestone 3 milestone Jan 9, 2020
@david-waltermire david-waltermire removed their assignment Jan 16, 2020
@wendellpiez
Copy link
Contributor

The PRs into my repository have been merged. If all goes according to plan, corresponding failures of the current (unfinished) resolver should next emerge in unit testing (see #561), wherever @bradh has made corrections (even arguable ones) to the tests.

This will give us our first set of corrections to make to the resolver, but more importantly, opportunity to flesh out and correct the relevant language in the specification.

If for whatever reason the unit tests pass (call me skeptical, but maybe I messed up the PRs?) we can plunge onward to address list items and make more tests as noted. (Along with the spec work.)

@bradh
Copy link
Contributor Author

bradh commented Jan 24, 2020

Its certainly possible I messed up the tests too - could be poor typing, or poor understanding. Concur with the opportunity to clarify (and hopefully simplify) the spec.

@wendellpiez
Copy link
Contributor

Sprint 26 Update Jan 30 2020

Profile resolution is stable if unfinished in my branch. See PR #559. I could continue to make forward progress on testing anytime but the critical path goes through unit testing, so dependent on #561.

@wendellpiez
Copy link
Contributor

Taking on a work item to produce an Issue for stabilizing profile resolution in view of recent schema/model changes (especially #568 set-param but also #612 (resource and citation).

@wendellpiez
Copy link
Contributor

wendellpiez commented Feb 13, 2020

Sprint 27 Update Feb 13 2020

Now we have two Issues -- #622 and #625.

@wendellpiez
Copy link
Contributor

March 12 Update

Still pending integration work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Scope: CI/CD Enhancements to the project's Continuous Integration and Continuous Delivery pipeline. Scope: Content Development of OSCAL content and examples.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants