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

Create subscription-notification-template.yaml #189

Merged
merged 68 commits into from
May 29, 2024

Conversation

bigludo7
Copy link
Collaborator

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:

  • documentation

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

 release-note

Additional documentation

This section can be blank.

docs

Create subscription-notification-template.yaml aligned with CloudEvents subscription model. 
Refer to camaraproject#185
Udpaded following Maximilian review
description: The detail of the requested event subscription
type: object
required:
- type

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

Copy link
Collaborator Author

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

  1. 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
  2. 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?

bigludo7 and others added 4 commits April 22, 2024 08:58
…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>
Rename xxx to event-type
Fixed issue with security
remove example for apiVersion
Copy link
Collaborator Author

@bigludo7 bigludo7 left a 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)
Copy link
Collaborator Author

@bigludo7 bigludo7 left a 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)

@shilpa-padgaonkar
Copy link
Collaborator

@bigludo7 : Looks like some copy paste error. Could you kindly check L757?

@patrice-conil
Copy link
Collaborator

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>
bigludo7 and others added 3 commits May 28, 2024 15:04
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>
PedroDiez
PedroDiez previously approved these changes May 28, 2024
Copy link
Collaborator

@PedroDiez PedroDiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor editorial suggestion for description alignment

LGTM in advance

Great work @bigludo7!

Copy link
Collaborator

@shilpa-padgaonkar shilpa-padgaonkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

@shilpa-padgaonkar
Copy link
Collaborator

Thanks a lot @bigludo7 for this PR and @PedroDiez for your detailed review!

@bigludo7 bigludo7 dismissed stale reviews from shilpa-padgaonkar and PedroDiez via 07b6ad1 May 29, 2024 06:19
Co-authored-by: Pedro Díez García <pedro.diezgarcia@telefonica.com>
@bigludo7
Copy link
Collaborator Author

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 ?

Copy link
Collaborator

@shilpa-padgaonkar shilpa-padgaonkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

Copy link
Collaborator

@PedroDiez PedroDiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rartych
Copy link
Collaborator

rartych commented May 29, 2024

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Common proposal to tackle subscription-based open issues.
7 participants