-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/issue-528
- Loading branch information
Showing
16 changed files
with
699 additions
and
8 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
30 changes: 30 additions & 0 deletions
30
tools/src/test/resources/1.6/valid-component-data-1.6.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,30 @@ | ||
{ | ||
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.6", | ||
"serialNumber": "urn:uuid:1b1bff0e-fdb9-4088-8b9a-1a9f2d9006da", | ||
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "data", | ||
"name": "my-configs", | ||
"version": "1337", | ||
"data": [ | ||
{ | ||
"type": "configuration", | ||
"name": "app.ini", | ||
"contents": { | ||
"url": "https://example.com/cfg/1337/app.ini" | ||
} | ||
}, | ||
{ | ||
"type": "other", | ||
"name": ".env", | ||
"contents": { | ||
"url": "https://example.com/cfg/1337/env" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
tools/src/test/resources/1.6/valid-component-data-1.6.textproto
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,25 @@ | ||
# proto-file: schema/bom-1.6.proto | ||
# proto-message: Bom | ||
|
||
spec_version: "1.6" | ||
version: 1 | ||
serial_number: "urn:uuid:1b1bff0e-fdb9-4088-8b9a-1a9f2d9006da" | ||
components { | ||
type: CLASSIFICATION_DATA | ||
name: "my-configs" | ||
version: "1337" | ||
data { | ||
type: COMPONENT_DATA_TYPE_CONFIGURATION | ||
name: "app.data" | ||
contents { | ||
url: "https://example.com/cfg/1337/app.ini" | ||
} | ||
} | ||
data { | ||
type: COMPONENT_DATA_TYPE_OTHER | ||
name: ".env" | ||
contents { | ||
url: "https://example.com/cfg/1337/env" | ||
} | ||
} | ||
} |
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,24 @@ | ||
<?xml version="1.0"?> | ||
<bom serialNumber="urn:uuid:1b1bff0e-fdb9-4088-8b9a-1a9f2d9006da" version="1" | ||
xmlns="http://cyclonedx.org/schema/bom/1.6"> | ||
<components> | ||
<component type="data"> | ||
<name>my-configs</name> | ||
<version>1337</version> | ||
<data> | ||
<type>configuration</type> | ||
<name>app.ini</name> | ||
<contents> | ||
<url>https://example.com/cfg/1337/app.ini</url> | ||
</contents> | ||
</data> | ||
<data> | ||
<type>other</type> | ||
<name>.env</name> | ||
<contents> | ||
<url>https://example.com/cfg/1337/env</url> | ||
</contents> | ||
</data> | ||
</component> | ||
</components> | ||
</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
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
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
Oops, something went wrong.