-
Notifications
You must be signed in to change notification settings - Fork 60
Update API guidelines to add subscription/notification/event.md #173
Conversation
Added chapter 12 about Subscription, Notification & Event management to get team feebacks.
Seems that the PR includes also the changes from #171 ... I suppose these should go seperate. |
Yes, I think this PR will take more time than PR #171 |
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.
Initial review
update notificationUrl to add http following Pedro review Co-authored-by: Pedro Díez García <[email protected]>
Co-authored-by: Pedro Díez García <[email protected]>
Co-authored-by: Pedro Díez García <[email protected]>
Co-authored-by: Pedro Díez García <[email protected]>
Co-authored-by: Pedro Díez García <[email protected]>
Co-authored-by: Pedro Díez García <[email protected]>
Update following @PedroDiez @akoshunyadi comments, in particular for - POST Subscriptions simplification - additional information fir TERMINATION_END - aligned name for type/eventType
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.
Update following @PedroDiez @akoshunyadi comments, in particular for
- POST Subscriptions simplification
- additional information fir TERMINATION_END
- aligned name for type/eventType
@PedroDiez @akoshunyadi & other interested... I have updated the document according to your valuable comments - Could you please take a look ? |
|
||
``` | ||
204 No Content | ||
``` |
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.
If the event triggers the termination of the subscription , I believe , using an HTTP DELETE request to remove the subscription is good idea rather "POST".
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.
@sachinvodafone Here the notification did not trigger the termination. The notification informs the subscriber that the subscription is terminated. So this is an event and as such we use the POST notification operation.
Of course to delete a subscription we have the DELETE /event-subscriptions.
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.
The subject of "Example for subscription termination - Request:" was causing me confusion, but I find it acceptable if its purpose is only to inform the client about a termination that has already been executed/terminated through another action. Thank you.
Co-authored-by: Pedro Díez García <[email protected]>
Co-authored-by: Pedro Díez García <[email protected]>
Fixed example formatting
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 example formatting
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 example formatting
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.
Looks good to me.
Co-authored-by: Ramesh Shanmugasundaram - Spry Fox Networks <[email protected]>
Co-authored-by: Ramesh Shanmugasundaram - Spry Fox Networks <[email protected]>
LGTM - Status reached on 12/May |
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
If finally merged, don't forget to decide how to tag the change in the guidelines, either with "evolution", "new considerations" or "breaking", according to the discussion in #170 |
@jordonezlucena What concretely we need to go before to merge ? |
As for the WoW on versioning, TEF proposal is as follows:
As for the actual PR#173, TEF proposal is as follows:
Finally, every API version (defined and maintained in the corresponding Sub-Project) should reference which version of the guidelines doc is built on. |
Thanks @jordonezlucena - make sense for me and I'm fine to tag as evolution. We still need few adjustement with @rartych proposal here: n #170. We need to decide:
I do not see there sensitive points (as long as we we have separate file each distinct version and a change log 'somewhere' I'm fine) but before to proceed PR I prefer we get complete alignment. Could we merge this and take care about Guidelines versioning after this merge? |
Agreed with "Evolution" tag |
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.
As agreed the PR will merged and the versioning decided in Issue #170
Added chapter 12 about Subscription, Notification & Event management to get team feedbacks.
Fixes #156