This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
issue#10 #20
Open
CASTResearchLabs
wants to merge
4
commits into
cdfoundation:main
Choose a base branch
from
CASTResearchLabs:master
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
issue#10 #20
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,6 +138,17 @@ | |
"id": "3T-SBOM-EMS-Artifact-Document-referencedArtifacts", | ||
"reverseName": "document" | ||
}, | ||
{ | ||
"class": "Document", | ||
"name": "referencedDocuments", | ||
"description": "The elelement(s) capturing references to other documents, to be used for referenced artifacts, relationships, ...", | ||
"type": "3T-SBOM-EMS-Artifact-ExternalDocumentRef", | ||
"multiplicity": "*", | ||
"aggregation": "shared", | ||
"package": "Artifact", | ||
"id": "3T-SBOM-EMS-Artifact-Document-referencedDocuments", | ||
"reverseName": "document" | ||
}, | ||
{ | ||
"class": "Document", | ||
"name": "signature", | ||
|
@@ -149,6 +160,35 @@ | |
"id": "3T-SBOM-EMS-Artifact-Document-signature", | ||
"reverseName": "document" | ||
}, | ||
{ | ||
"class": "ExternalDocumentRef", | ||
"name": "identifier", | ||
"description": "The identifier of the document, unique within the namespace.", | ||
"type": "http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String", | ||
"multiplicity": "1", | ||
"package": "Artifact", | ||
"id": "3T-SBOM-EMS-Artifact-ExternalDocumentRef-identifier" | ||
}, | ||
{ | ||
"class": "ExternalDocumentRef", | ||
"name": "namespace", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a note that this term is incompatible with SPDX which is spdxDocument. If this proposal is accepted, we should add an issue to SPDX 3.0 to change spdxDocument -> namespace. |
||
"description": "The namespace of the identifier of the document.", | ||
"type": "http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String", | ||
"multiplicity": "1", | ||
"package": "Artifact", | ||
"id": "3T-SBOM-EMS-Artifact-ExternalDocumentRef-namespace" | ||
}, | ||
{ | ||
"class": "ExternalDocumentRef", | ||
"name": "signature", | ||
"description": "The elelement capturing the optional signature of the document.", | ||
"type": "3T-SBOM-EMS-Artifact-Signature", | ||
"multiplicity": "0..1", | ||
"aggregation": "composite", | ||
"package": "Artifact", | ||
"id": "3T-SBOM-EMS-Artifact-ExternalDocumentRef-signature", | ||
"reverseName": "document" | ||
}, | ||
{ | ||
"class": "AbstractArtifact", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. propose adding one more field checksum with a type 3T-...Checksum and a multiplicity of 0..1. 2 reasons to add - checksums are much easier to generate than signatures and it would be compatible with SPDX. |
||
"name": "name", | ||
|
@@ -234,7 +274,7 @@ | |
"class": "ReferencedArtifact", | ||
"name": "referenceDocument", | ||
"description": "Reference to documents that detail the referenced artifact.", | ||
"type": "3T-SBOM-EMS-Artifact-Document", | ||
"type": "3T-SBOM-EMS-Artifact-AbstractDocument", | ||
"multiplicity": "*", | ||
"package": "Artifact", | ||
"id": "3T-SBOM-EMS-Artifact-ReferencedArtifact-referenceDocument" | ||
|
This file contains 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
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.
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.
Changing identifier -> externalDocumentId would make this compatible with SPDX