Skip to content

Commit aa7eba4

Browse files
committed
fix: use defined term TEA Artifact while artefact in descriptions
Signed-off-by: Pavel Shukhman <[email protected]>
1 parent bb0baca commit aa7eba4

File tree

7 files changed

+109
-109
lines changed

7 files changed

+109
-109
lines changed

api-flow/publisher.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sequenceDiagram
1919
Vendor ->> tea_component: POST to /v1/component with the TEA PI and component version as the payload
2020
tea_component ->> Vendor: Component is created and a TEA Component ID is returned
2121
22-
Vendor ->> tea_collection: POST to /v1/collection with the TEA Component ID as the and the artefact as payload
22+
Vendor ->> tea_collection: POST to /v1/collection with the TEA Component ID and the artefact as payload
2323
tea_collection ->> Vendor: Collection is created with the collection ID returned
2424
2525
```
@@ -40,7 +40,7 @@ sequenceDiagram
4040
tea_component ->> Vendor: Component is created and a TEA Component ID is returned
4141
4242
Note over Vendor,TEA Component: Add an artefact (e.g. SBOM)
43-
Vendor ->> tea_collection: POST to /v1/collection with the TEA Component ID as the and the artefact as payload
43+
Vendor ->> tea_collection: POST to /v1/collection with the TEA Component ID and the artefact as payload
4444
tea_collection ->> Vendor: Collection is created with the collection ID returned
4545
4646
```
@@ -58,6 +58,6 @@ sequenceDiagram
5858
Vendor ->> tea_component: GET to /v1/component with the TEA PI to get the latest version
5959
tea_component ->> Vendor: Component will be returned
6060
61-
Vendor ->> tea_collection: POST to /v1/collection with the TEA Component ID as the and the artefact as payload
61+
Vendor ->> tea_collection: POST to /v1/collection with the TEA Component ID and the artefact as payload
6262
tea_collection ->> Vendor: Collection is created with the collection ID returned
6363
```

doc/tea-usecases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a..."
77
The use cases are divided in two categories:
88

99
* Use cases for __customers__ (end-users, manufacturers) to find a repository with
10-
Transparency Artefacts for a single unit purchased
10+
Transparency artefacts for a single unit purchased
1111
* Use cases where there are different __products__
1212
* This applies after discovery where we need to handle various things a customer may
1313
buy as a single unit

spec/generators/java-webclient.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ outputDir: /local/out/java-webclient
33
generatorName: java
44
additionalProperties:
55
library: webclient
6-
artefactDescription: Transparency Exchange API Java Webclient
7-
artefactId: tea-api-webclient
8-
artefactUrl: https://github.com/CycloneDX/transparency-exchange-api
6+
artifactDescription: Transparency Exchange API Java Webclient
7+
artifactId: tea-api-webclient
8+
artifactUrl: https://github.com/CycloneDX/transparency-exchange-api
99
invokerPackage: org.cyclonedx.tea.webclient
1010
apiPackage: org.cyclonedx.tea.webclient.api
1111
modelPackage: org.cyclonedx.tea.webclient.model
@@ -23,5 +23,5 @@ additionalProperties:
2323
asyncNative: true
2424
generateBuilders: true
2525
parentGroupId: org.sonatype.buildsupport
26-
parentArtefactId: public-parent
26+
parentArtifactId: public-parent
2727
parentVersion: 50

spec/openapi.yaml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -354,30 +354,30 @@ paths:
354354
$ref: "#/components/responses/404-object-by-id-not-found"
355355
tags:
356356
- TEA Component Release
357-
/artefact/{uuid}:
357+
/artifact/{uuid}:
358358
get:
359-
description: Get metadata for specific TEA artefact
360-
operationId: getArtefact
359+
description: Get metadata for specific TEA Artifact
360+
operationId: getArtifact
361361
parameters:
362362
- name: uuid
363363
in: path
364364
required: true
365-
description: UUID of TEA Artefact in the TEA server
365+
description: UUID of TEA Artifact in the TEA server
366366
schema:
367367
"$ref": "#/components/schemas/uuid"
368368
responses:
369369
'200':
370-
description: Requested TEA Artefact metadata found and returned
370+
description: Requested TEA Artifact metadata found and returned
371371
content:
372372
application/json:
373373
schema:
374-
"$ref": "#/components/schemas/artefact"
374+
"$ref": "#/components/schemas/artifact"
375375
'400':
376376
$ref: "#/components/responses/400-invalid-request"
377377
'404':
378378
$ref: "#/components/responses/404-object-by-id-not-found"
379379
tags:
380-
- TEA Artefact
380+
- TEA Artifact
381381
/discovery:
382382
get:
383383
description: Discovery endpoint which resolves TEI into product release UUID.
@@ -786,7 +786,7 @@ components:
786786
updateReason:
787787
type: INITIAL_RELEASE
788788
comment: Initial collection for this release
789-
artefacts:
789+
artifacts:
790790
- uuid: 1cb47b95-8bf8-3bad-a5a4-0d54d86e10ce
791791
name: Build SBOM
792792
type: BOM
@@ -835,20 +835,20 @@ components:
835835
updateReason:
836836
description: Reason for the update/release of the TEA Collection object.
837837
"$ref": "#/components/schemas/collection-update-reason"
838-
artefacts:
838+
artifacts:
839839
type: array
840-
description: List of TEA artefact objects.
840+
description: List of TEA Artifact objects.
841841
items:
842-
"$ref": "#/components/schemas/artefact"
842+
"$ref": "#/components/schemas/artifact"
843843
examples:
844844
# Documents in the latest release of Log4j Core
845845
- uuid: 4c72fe22-9d83-4c2f-8eba-d6db484f32c8
846846
version: 3
847847
date: 2024-12-13T00:00:00Z
848848
updateReason:
849-
type: ARTEFACT_UPDATED
849+
type: ARTIFACT_UPDATED
850850
comment: VDR file updated
851-
artefacts:
851+
artifacts:
852852
- uuid: 1cb47b95-8bf8-3bad-a5a4-0d54d86e10ce
853853
name: Build SBOM
854854
type: BOM
@@ -889,9 +889,9 @@ components:
889889
enum:
890890
- INITIAL_RELEASE
891891
- VEX_UPDATED
892-
- ARTEFACT_UPDATED
893-
- ARTEFACT_ADDED
894-
- ARTEFACT_REMOVED
892+
- ARTIFACT_UPDATED
893+
- ARTIFACT_ADDED
894+
- ARTIFACT_REMOVED
895895

896896
collection-belongs-to-type:
897897
type: string
@@ -901,38 +901,38 @@ components:
901901
- PRODUCT_RELEASE
902902

903903
#
904-
# TEA Artefact and related objects
904+
# TEA Artifact and related objects
905905
#
906-
artefact:
906+
artifact:
907907
type: object
908908
description: A security-related document
909909
properties:
910910
uuid:
911-
description: UUID of the TEA Artefact object.
911+
description: UUID of the TEA Artifact object.
912912
"$ref": "#/components/schemas/uuid"
913913
name:
914914
type: string
915-
description: Artefact name
915+
description: Name of TEA Artifact
916916
type:
917-
description: Type of artefact
918-
"$ref": "#/components/schemas/artefact-type"
917+
description: Type of TEA Artifact
918+
"$ref": "#/components/schemas/artifact-type"
919919
distributionTypes:
920920
type: array
921921
description: |
922-
List of component distributions types that this artefact applies to.
923-
If absent, the artefact applies to all distributions.
922+
List of component distributions types that this TEA Artifact applies to.
923+
If absent, the TEA Artifact applies to all distributions.
924924
items:
925925
type: string
926926
description: |
927-
The `id` of the component format that this artefact applies to.
927+
The `id` of the component format that this TEA Artifact applies to.
928928
formats:
929929
type: array
930930
description: |
931931
List of objects with the same content, but in different formats.
932932
The order of the list has no significance.
933933
items:
934-
"$ref": "#/components/schemas/artefact-format"
935-
artefact-type:
934+
"$ref": "#/components/schemas/artifact-format"
935+
artifact-type:
936936
type: string
937937
description: Specifies the type of external reference.
938938
enum:
@@ -947,7 +947,7 @@ components:
947947
- THREAT_MODEL
948948
- VULNERABILITIES
949949
- OTHER
950-
artefact-format:
950+
artifact-format:
951951
type: object
952952
description: A security-related document in a specific format
953953
properties:
@@ -956,18 +956,18 @@ components:
956956
description: The MIME type of the document
957957
description:
958958
type: string
959-
description: A free text describing the artefact
959+
description: A free text describing the TEA Artifact
960960
url:
961961
type: string
962-
description: Direct download URL for the artefact
962+
description: Direct download URL for the TEA Artifact
963963
format: url
964964
signatureUrl:
965965
type: string
966-
description: Direct download URL for an external signature of the artefact
966+
description: Direct download URL for an external signature of the TEA Artifact
967967
format: url
968968
checksums:
969969
type: array
970-
description: List of checksums for the artefact
970+
description: List of checksums for the TEA Artifact
971971
items:
972972
"$ref": "#/components/schemas/checksum"
973973
checksum:
@@ -1221,7 +1221,7 @@ tags:
12211221
- name: TEA Product Release
12221222
- name: TEA Component
12231223
- name: TEA Component Release
1224-
- name: TEA Artefact
1224+
- name: TEA Artifact
12251225
- name: TEA Discovery
12261226
externalDocs:
12271227
description: Transparency Exchange API specification

0 commit comments

Comments
 (0)