Add purl-component mapping for faster component lookup
Checklist
-
documentation is changed or added in./docs
-
unit tests updated to test changes
Description
- Add lookup mapping PURL strings to
Component
objects - Add
Component.find
method to retrieve an already loadedComponent
object from the lookup mapping - Fix to ensure that result of
Component.find
and the same item inSbom.consolidated_sbom.components
point to the same object in memory
Closes #198 (closed)
Edited by Jonathan Howard