You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-flow/consumer.md
+56-67Lines changed: 56 additions & 67 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,69 +6,66 @@ described in the [discovery document](/discovery/readme.md).
6
6
7
7
## API usage
8
8
9
-
The standard TEI points to a product. A product is something sold, downloaded as an opensource project or aquired
10
-
by other means. It contains one or multiple components.
11
-
12
-
-__List of TEA Components__: Components are components of something that is part of a product.
13
-
Each Component has it's own versioning and it's own set of artifacts.
14
-
-__List of TEA Releases__: Each component has a list of releases where each release has a timestamp and
15
-
a lifecycle enumeration. They are normally sorted by timestamps. The TEA API has no requirements of
16
-
type of version string (semantic or any other scheme) - it's just an identifier set by the manufacturer.
9
+
The standard TEI points to a product release. A product release is something sold, downloaded as an opensource project or aquired by other means. It contains one or multiple component releases.
10
+
11
+
-__List of TEA Component Rleases__: Component releases are components of a product release.
12
+
Each Component release has its own versioning and its own set of artefacts, they have a timestamp and a lifecycle enumeration. They are normally sorted by timestamps. The TEA API has no requirements of type of version string (semantic or any other scheme) - it's just an identifier set by the manufacturer.
17
13
-__List of TEA Collections__: For each release, there is a list of TEA collections as indicated
18
14
by release date and a version integer starting with collection version 1.
19
-
-__List of TEA Artifacts__: The collection is unique for a version and contains a list of artifacts.
20
-
This can be SBOM files, VEX, SCITT, IN-TOTO or other documents. Note that a single artifact
21
-
can belong to multiple versionsof a Component and multiple Components.
22
-
-__List of artifact formats__: An artifact can be published in multiple formats.
15
+
-__List of TEA Artifacts__: The collection is unique for a version and contains a list of artefacts.
16
+
This can be SBOM files, VEX, SCITT, IN-TOTO or other documents. Note that a single artefact
17
+
can belong to multiple Component or Product Releases.
18
+
-__List of artefact formats__: An artefact can be published in multiple formats.
23
19
24
-
The user has to know product TEI and version of each component (TEA Component) to find the list of
25
-
artifacts for the used version.
20
+
The user has to know product release TEI and in some cases version of each component (TEA
21
+
Component Release) to find the list of artefacts for the particular Product Release.
26
22
27
23
## API flow based on TEI discovery
28
24
29
25
```mermaid
30
26
31
27
---
32
-
title: TEA consumer
28
+
title: TEA consumer flow
33
29
---
34
-
35
30
sequenceDiagram
36
31
autonumber
37
-
actor user
38
-
participant discovery as TEA Discovery with TEI
39
-
40
-
participant tea_product as TEA Product
41
-
participant tea_component as TEA Component
42
-
participant tea_release as TEA Release
43
-
participant tea_collection as TEA Collection
44
-
participant tea_artifact as TEA Artefact
32
+
actor manufacturer as Manufacturer
33
+
actor user as TEA Client
45
34
35
+
participant discovery as TEA Discovery / TEA Server
36
+
participant tea_product_release as TEA Product Release
37
+
participant tea_component_release as TEA Component Release
0 commit comments