|
1 | 1 | # Messages sent FROM the Package Manager TO the consumer. |
2 | 2 | # |
3 | | -# Three event channels (CRUD deltas) plus two event channels for package-info: |
4 | | -# - workStatuses (ExpectationStatus CRUD, keyed by ExpectationId) |
| 3 | +# Three event channels plus two event channels for package-info: |
| 4 | +# - workStatuses (ExpectationStatus upsert/remove, keyed by ExpectationId) |
5 | 5 | # - containerStatuses (PackageContainerStatus update/remove) |
6 | 6 | # - containerPackageStatuses (PackageContainerPackageStatus update/remove) |
7 | 7 | # - packageInfo (PackageInfo update/remove — fire and forget) |
|
12 | 12 | # --------------------------------------------------------------------------- |
13 | 13 | # workStatuses channel messages |
14 | 14 | # --------------------------------------------------------------------------- |
15 | | -ExpectationStatusAdded: |
16 | | - name: ExpectationStatusAdded |
17 | | - title: Expectation Status Added |
18 | | - summary: Status reporting has started for a new Expectation. |
19 | | - contentType: application/json |
20 | | - payload: |
21 | | - type: object |
22 | | - required: |
23 | | - - event |
24 | | - - status |
25 | | - properties: |
26 | | - event: |
27 | | - type: string |
28 | | - const: added |
29 | | - status: |
30 | | - $ref: '../schemas/statuses.yaml#/ExpectationStatus' |
31 | | - additionalProperties: false |
32 | | - |
33 | 15 | ExpectationStatusUpdated: |
34 | 16 | name: ExpectationStatusUpdated |
35 | 17 | title: Expectation Status Updated |
36 | | - summary: The status of an Expectation has changed (state, progress, reason, etc.). |
| 18 | + summary: Upsert the status of an Expectation. The consumer creates or replaces the stored status keyed by ExpectationId. |
37 | 19 | contentType: application/json |
38 | 20 | payload: |
39 | 21 | type: object |
|
0 commit comments