-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from CycloneDX/spec-v1.5-lifecycle
feat(spec1-5): add lifecycle support
- Loading branch information
Showing
6 changed files
with
100 additions
and
0 deletions.
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
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
22 changes: 22 additions & 0 deletions
22
testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-lifecycle.json
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.5", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"metadata": { | ||
"lifecycles": [ | ||
{ | ||
"phase": "build" | ||
}, | ||
{ | ||
"phase": "post-build" | ||
}, | ||
{ | ||
"name": "platform-integration-testing", | ||
"description": "Integration testing specific to the runtime platform" | ||
} | ||
] | ||
}, | ||
"components": [] | ||
} | ||
|
17 changes: 17 additions & 0 deletions
17
testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-lifecycle.xml
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bom xmlns="http://cyclonedx.org/schema/bom/1.5" serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1"> | ||
<metadata> | ||
<lifecycles> | ||
<lifecycle> | ||
<phase>build</phase> | ||
</lifecycle> | ||
<lifecycle> | ||
<phase>post-build</phase> | ||
</lifecycle> | ||
<lifecycle> | ||
<name>platform-integration-testing</name> | ||
<description>Integration testing specific to the runtime platform</description> | ||
</lifecycle> | ||
</lifecycles> | ||
</metadata> | ||
</bom> |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.5", | ||
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", | ||
"version": 1, | ||
"metadata": { | ||
"lifecycles": [ | ||
{ | ||
"phase": "build" | ||
}, | ||
{ | ||
"phase": "post-build" | ||
}, | ||
{ | ||
"name": "platform-integration-testing", | ||
"description": "Integration testing specific to the runtime platform" | ||
} | ||
] | ||
}, | ||
"components": [] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.5"> | ||
<metadata> | ||
<lifecycles> | ||
<lifecycle> | ||
<phase>build</phase> | ||
</lifecycle> | ||
<lifecycle> | ||
<phase>post-build</phase> | ||
</lifecycle> | ||
<lifecycle> | ||
<name>platform-integration-testing</name> | ||
<description>Integration testing specific to the runtime platform</description> | ||
</lifecycle> | ||
</lifecycles> | ||
</metadata> | ||
<components /> | ||
</bom> |