Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription & events for Commonalities 0.5.0 #313

Merged
merged 45 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
c29aecc
Update event-subscription-template.yaml
bigludo7 Oct 10, 2024
1a24c53
Update API-design-guidelines.md
bigludo7 Oct 10, 2024
fc41bbe
Update API-design-guidelines.md
bigludo7 Oct 10, 2024
8bd8ef5
Update event-subscription-template.yaml
bigludo7 Oct 10, 2024
6030436
Update API-design-guidelines.md
bigludo7 Oct 10, 2024
fef315b
Update API-design-guidelines.md
bigludo7 Oct 10, 2024
f05f4d3
Update event-subscription-template.yaml
bigludo7 Oct 10, 2024
5156577
Update event-subscription-template.yaml
bigludo7 Oct 17, 2024
aa621fd
Update API-design-guidelines.md
bigludo7 Oct 17, 2024
8b8dab8
Update API-design-guidelines.md
bigludo7 Oct 17, 2024
e1c6ca8
Update artifacts/camara-cloudevents/event-subscription-template.yaml
bigludo7 Oct 18, 2024
2826855
Update artifacts/camara-cloudevents/event-subscription-template.yaml
bigludo7 Oct 18, 2024
f488c6d
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
b00788b
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
20343b3
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
cd24b80
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
53c052b
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
9a61691
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
cdc1ecd
Update documentation/API-design-guidelines.md
bigludo7 Oct 18, 2024
d0b4fc3
Update API-design-guidelines.md
bigludo7 Oct 18, 2024
e7d5444
Update API-design-guidelines.md
bigludo7 Oct 18, 2024
5d00751
Update API-design-guidelines.md
bigludo7 Oct 18, 2024
ee2a79f
Update documentation/API-design-guidelines.md
bigludo7 Oct 22, 2024
7db3e2c
Update documentation/API-design-guidelines.md
bigludo7 Oct 22, 2024
0acd0af
Update documentation/API-design-guidelines.md
bigludo7 Oct 22, 2024
93ee9ae
Update API-design-guidelines.md
bigludo7 Oct 22, 2024
754f3fd
Update event-subscription-template.yaml
bigludo7 Oct 29, 2024
c9c187e
Update event-subscription-template.yaml
bigludo7 Oct 29, 2024
cc80891
Update event-subscription-template.yaml
bigludo7 Oct 29, 2024
e61feaf
Update artifacts/camara-cloudevents/event-subscription-template.yaml
bigludo7 Oct 29, 2024
abf4e75
Update event-subscription-template.yaml
bigludo7 Oct 30, 2024
c9c344e
Update event-subscription-template.yaml
bigludo7 Nov 6, 2024
b435e82
Update event-subscription-template.yaml
bigludo7 Nov 12, 2024
8c4fd0a
Update event-subscription-template.yaml (issue326)
bigludo7 Nov 18, 2024
ac994a5
Update artifacts/camara-cloudevents/event-subscription-template.yaml
bigludo7 Nov 21, 2024
f3d5e46
Update documentation/API-design-guidelines.md
bigludo7 Nov 22, 2024
2e08ef7
Update documentation/API-design-guidelines.md
bigludo7 Nov 22, 2024
5636116
Update documentation/API-design-guidelines.md
bigludo7 Nov 22, 2024
cfe5135
Update documentation/API-design-guidelines.md
bigludo7 Nov 24, 2024
9cf747a
Update documentation/API-design-guidelines.md
bigludo7 Nov 24, 2024
2b278aa
Update documentation/API-design-guidelines.md
bigludo7 Nov 24, 2024
dc5f9fa
Update documentation/API-design-guidelines.md
bigludo7 Nov 24, 2024
35737cf
Fixe title 11
bigludo7 Nov 24, 2024
07d4ff4
Update API-design-guidelines.md
rartych Nov 25, 2024
54e561d
Update API-design-guidelines.md
rartych Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions artifacts/camara-cloudevents/event-subscription-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ info:
description: |
This file is a template for CAMARA API explicit subscription endpoint and for Notification model. Additional information are provided in API Design Guidelines document.

Note on combined usage of initialEvent and subscriptionMaxEvents:
bigludo7 marked this conversation as resolved.
Show resolved Hide resolved
If an event is triggered following initialEvent set to `true`, this event will be counted towards subscriptionMaxEvents (if provided).
bigludo7 marked this conversation as resolved.
Show resolved Hide resolved

Note on ``security`` - ``openId`` scope: The value in this yaml `api-name:event-type:grant-level` must be replaced accordingly to the format defined in the guideline document.

license:
Expand Down Expand Up @@ -98,7 +101,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Subscription"
$ref: "#/components/schemas/SubscriptionCreationResponse"
"202":
description: Request accepted to be processed. It applies for async creation process.
headers:
Expand Down Expand Up @@ -460,6 +463,15 @@ components:
- org.camaraproject.api-name.v0.event-type
- org.camaraproject.api-name.v0.subscription-ends

SubscriptionCreationResponse:
description: Response for the POST request
type: object
required:
- id
properties:
id:
$ref: '#/components/schemas/SubscriptionId'

Subscription:
description: Represents a event-type subscription.
type: object
Expand All @@ -477,8 +489,6 @@ components:
format: url
description: The address to which events shall be delivered using the selected protocol.
example: "https://endpoint.example.com/sink"
sinkCredential:
$ref: '#/components/schemas/SinkCredential'
types:
description: |
Camara Event types eligible to be delivered by this subscription.
Expand Down
Loading