-
-
Notifications
You must be signed in to change notification settings - Fork 54
feat!: Add component and services for tools #635
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
Merged
jkowalleck
merged 68 commits into
CycloneDX:8.0.0-dev
from
jkugler:561_add_components_and_services
Sep 6, 2024
Merged
Changes from 63 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
2bbd659
#561: Add component and services for tools
jkugler 7394c3b
Additioal cleanup and improving semantics
jkugler d8a1f87
More code cleanup
jkugler 280dc92
Fix json_normalize
jkugler c90ce1f
Add an explicit __bool__ to ToolRepository
jkugler e7b4bd9
Removed Tool class from model/__init__.py
jkugler 3fe5ab6
Rename Tool* to Tools*
jkugler 582741e
Fixing a circular import issue
jkugler 7e95ea8
Remove unneeded code
jkugler ea9ffd4
Adding an XML de-serializer
jkugler f23ab80
More code clenaup
jkugler f8efa5a
Final feature addition
jkugler a40cbe7
Adding tests for new functionality
jkugler 6876042
100% test coverage for tool.py
jkugler 45dd1ce
Put schema version guards around components/services in tools
jkugler 3910030
Merge branch 'main' into 561_add_components_and_services
jkugler 920f0e1
Formatting fix
jkugler 00d287d
Python 3.8 fixes
jkugler 5768a9b
Merge remote-tracking branch 'origin/main' into 561_add_components_an…
jkugler 1a4ccfb
Improve and cleanup tests
jkugler 024a582
Merge remote-tracking branch 'origin/main' into 561_add_components_an…
jkugler 303e29c
Additional test case for ToolsRepository equality
jkugler 1a639a6
First part of changes to use the `.tools` setter/getter
jkugler ce00e81
Merge remote-tracking branch 'origin/main' into 561_add_components_an…
jkugler 8e32d48
Render components and services to tools when rendering to old schemas
jkugler b5c7057
Correct an incorrect variable name
jkugler c730146
Added rendering for XML "down convert."
jkugler aec8393
Forgot "name" on the service
jkugler 2635278
Additional test coverage for model/tool.py
jkugler e267c2a
Doc and type updates
jkugler eeff89b
`bom.tools` revert internal default assignment
jkowalleck 0c70062
chore: add legal header
jkowalleck 3ac3b2b
style: remove redndant braces
jkowalleck f889823
style: rearance line breaks
jkowalleck cf0826c
style: simplified init
jkowalleck 3271db7
refactor: rework hashing of `...tools` / `ToolsRepository`
jkowalleck 26f6007
style: simplify init
jkowalleck 61e2d90
fix: tool serialization
jkowalleck 0b6d14d
style: default values
jkowalleck b90bec5
docs: type hint
jkowalleck 6dc2aab
Merge remote-tracking branch 'origin/main' into 561_add_components_an…
jkugler 76743d9
Addressing comments
jkugler 73007f8
Add logic to down-convert all components/services if there are Tools
jkugler 95fb0a2
tests: remove unnessessary serialization tests
jkowalleck 702893d
tetss: improved deseriualization assert/expect
jkowalleck 2254703
reformat
jkowalleck e9fe527
tests: improved toolRepo tests
jkowalleck 59b0987
get rid of tool-repo mutial exclusive tool vs component/service
jkowalleck 1a48106
refactor: reimplemented XML/JSON normalization
jkowalleck 96fe96c
style
jkowalleck 7b15d40
refactor: reimplemented XML/JSON denormalization
jkowalleck 427add4
refactor: move ToolsRepositoryHelper to other helpers
jkowalleck 4a2ac65
refactor: move ToolsRepositoryHelper back to tool
jkowalleck 623056e
fix: do not emit empty tools repo
jkowalleck 5a6c3eb
style
jkowalleck 75d20d2
tests
jkowalleck a3b5eca
tests
jkowalleck 3032416
tests
jkowalleck 5cc06ae
tests
jkowalleck 614968e
tests
jkowalleck 8b9b488
tests
jkowalleck c937f21
tests
jkowalleck 5329fdf
Merge branch '8.0.0-dev' into 561_add_components_and_services
jkugler 1d3c3fe
refactor: use property setters in `ToolsRepository.__init__()`
jkowalleck 9876139
style: rephrase warning test
jkowalleck f1fdb53
coverage ignore non-scope
jkowalleck a678c8c
tests for invalid tool deserialization
jkowalleck d93fac5
tets: fixed windows compat
jkowalleck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.