Skip to content

Commit 4b65d83

Browse files
authored
Fix test data inconsistency regarding dependency tree in valid-service (#295)
Fixes an inconsistency in test data of valid-service. First experienced in valid-service-1.4.json, other files (other versions and filetypes) showed the same deviation. The fix was derived from working test data of valid-service. closes #294 Signed-off-by: tokcum <tobias.mucke@gmail.com>
1 parent cc15c85 commit 4b65d83

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

tools/src/test/resources/1.2/valid-service-1.2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": 1,
66
"components": [
77
{
8-
"bom-ref": "pkg:npm/acme/component@1.0.0",
8+
"bom-ref": "pkg:maven/com.acme/stock-java-client@1.0.12",
99
"type": "library",
1010
"publisher": "Acme Inc",
1111
"group": "com.acme",

tools/src/test/resources/1.3/valid-service-1.3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": 1,
66
"components": [
77
{
8-
"bom-ref": "pkg:npm/acme/component@1.0.0",
8+
"bom-ref": "pkg:maven/com.acme/stock-java-client@1.0.12",
99
"type": "library",
1010
"publisher": "Acme Inc",
1111
"group": "com.acme",

tools/src/test/resources/1.3/valid-service-1.3.textproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 1
33
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79"
44
components {
55
type: CLASSIFICATION_LIBRARY
6-
bom_ref: "pkg:npm/acme/component@1.0.0"
6+
bom_ref: "pkg:maven/com.acme/stock-java-client@1.0.12"
77
publisher: "Acme Inc"
88
group: "com.acme"
99
name: "stock-java-client"

tools/src/test/resources/1.4/valid-service-1.4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": 1,
66
"components": [
77
{
8-
"bom-ref": "pkg:npm/acme/component@1.0.0",
8+
"bom-ref": "pkg:maven/com.acme/stock-java-client@1.0.12",
99
"type": "library",
1010
"publisher": "Acme Inc",
1111
"group": "com.acme",

tools/src/test/resources/1.4/valid-service-1.4.textproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 1
33
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79"
44
components {
55
type: CLASSIFICATION_LIBRARY
6-
bom_ref: "pkg:npm/acme/component@1.0.0"
6+
bom_ref: "pkg:maven/com.acme/stock-java-client@1.0.12"
77
publisher: "Acme Inc"
88
group: "com.acme"
99
name: "stock-java-client"

tools/src/test/resources/1.5/valid-service-1.5.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": 1,
66
"components": [
77
{
8-
"bom-ref": "pkg:npm/acme/component@1.0.0",
8+
"bom-ref": "pkg:maven/com.acme/stock-java-client@1.0.12",
99
"type": "library",
1010
"publisher": "Acme Inc",
1111
"group": "com.acme",

tools/src/test/resources/1.5/valid-service-1.5.textproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 1
33
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79"
44
components {
55
type: CLASSIFICATION_LIBRARY
6-
bom_ref: "pkg:npm/acme/component@1.0.0"
6+
bom_ref: "pkg:maven/com.acme/stock-java-client@1.0.12"
77
publisher: "Acme Inc"
88
group: "com.acme"
99
name: "stock-java-client"

0 commit comments

Comments
 (0)