-
Notifications
You must be signed in to change notification settings - Fork 28
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
Create subscription-notification-template.yaml #189
Conversation
Create subscription-notification-template.yaml aligned with CloudEvents subscription model. Refer to camaraproject#185
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
Udpaded following Maximilian review
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
description: The detail of the requested event subscription | ||
type: object | ||
required: | ||
- type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this type the same as types on the top level? That is an array...
Then actually we would need an array of CreateSubscriptionDetail too, the different types can have different parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akoshunyadi I think I did a mistake there. I need to remove type
from CreateSubscriptionDetail
as the type will be at a top level --> I will fix.
For the array of CreateSubscriptionDetail I will be cautious because we
- decide to be very cautious about really managing multi-events subscription: not for the first meta release, and then to be discussed for future release at API level
- we can have multi event subscription only when event-type are very close so assuming they will have same subscription detail (the good exemple is subscribing to geofencing-device-entered & geofencing-device-left with same area monitored & same
So for my perspective we can keep CreateSubscriptionDetail as it @akoshunyadi @shilpa-padgaonkar @PedroDiez WDYT?
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
artifacts/camara-cloudevents/subscription-notification-template.yaml
Outdated
Show resolved
Hide resolved
…e.yaml Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
…e.yaml Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
…template.yaml As suggested by @akoshunyadi
Rename xxx to event-type Fixed issue with security remove example for apiVersion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename xxx to event-type
Fixed issue with security
remove example for apiVersion
Fixed issue for scope in the openId security part (line 40)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed issue for scope in the openId security part (line 40)
@bigludo7 : Looks like some copy paste error. Could you kindly check L757? |
Because I worked on this with @bigludo7, I'll let you approve or not this proposal |
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
Co-authored-by: Rafal Artych <121048129+rartych@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
Thanks a lot @bigludo7 for this PR and @PedroDiez for your detailed review! |
07b6ad1
Co-authored-by: Pedro Díez García <pedro.diezgarcia@telefonica.com>
Thanks a lot @PedroDiez & @shilpa-padgaonkar for your help - great team work. I've committed last minor editorial from Pedro so this dismissed your approval Shilpa. Once you'll both approved, I guess we can merge this @rartych ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
Create subscription-notification-template.yaml aligned with CloudEvents subscription model. Refer to #185
What type of PR is this?
Add one of the following kinds:
What this PR does / why we need it:
Create subscription-notification-template.yaml aligned with CloudEvents subscription model.
Refer to #185
Which issue(s) this PR fixes:
Fixes #185
Special notes for reviewers:
Changelog input
Additional documentation
This section can be blank.