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

Refactor profile resolution visitors #85

Conversation

david-waltermire
Copy link
Collaborator

Committer Notes

[Refactored the visitors used to process catalogs and profiles during profile resolution to improve performance.

  • The current solution now reuses the index reducing the need to walk the document multiple times.
  • The index code has been simplified to reduce a significant amount of redundant method calls.
  • The various visitors now use a common set of base implementation classes making maintenance easier.
    Added support for property name="keep" in the reference handler.
    Fixed reference handling for orphaned groups during flat structuring. Resolves Improper handling of group links during profile resolution #65.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you squashed any non-relevant commits and commit messages? [instructions]
  • Do all automated CI/CD checks pass?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you included examples of how to use your new feature(s)?
  • Have you updated all website and readme documentation affected by the changes you made?

…profile resolution to improve performance.

- The current solution now reuses the index reducing the need to walk the document multiple times.
- The index code has been simplified to reduce a significant amount of redundant method calls.
- The various visitors now use a common set of base implementation classes making maintenance easier.
Added support for property name="keep" in the reference handler.
Fixed reference handling for orphaned groups during flat structuring. Resolves usnistgov#65.
@david-waltermire david-waltermire linked an issue Oct 27, 2022 that may be closed by this pull request
@david-waltermire david-waltermire merged commit d7a71e6 into usnistgov:develop Oct 27, 2022
@david-waltermire david-waltermire deleted the issue65-refactor--resolution-visitors branch October 27, 2022 04:05
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.

Improper handling of group links during profile resolution
1 participant