Skip to content

Update types property of Subscription schema in event-subscription-template.yaml#432

Merged
rartych merged 4 commits intocamaraproject:mainfrom
eric-murray:eric-murray-patch-2
Apr 30, 2025
Merged

Update types property of Subscription schema in event-subscription-template.yaml#432
rartych merged 4 commits intocamaraproject:mainfrom
eric-murray:eric-murray-patch-2

Conversation

@eric-murray
Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • correction

What this PR does / why we need it:

The Subscription.types property in event-subscription-template.yaml is currently defined as a string, But the response values must be one of those defined by the SubscriptionEventType schema. This PR makes that explicit.

In addition, the description is updated, as Commonalities is now at version 0.5, and hence API sub-projects are free to decide to allow more than one event type per subscription.

Which issue(s) this PR fixes:

Fixes # N/A

Does this PR introduce a breaking change?

  • Yes
  • No

Special notes for reviewers:

None

Changelog input

 release-note
 - Update `types` property of `Subscription` schema in event-subscription-template.yaml

Additional documentation

None

patrice-conil
patrice-conil previously approved these changes Mar 18, 2025
Copy link
Copy Markdown
Contributor

@patrice-conil patrice-conil 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
Copy Markdown
Contributor

@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.

Just a minor comment

@rartych rartych added enhancement New feature or request Fall25 labels Mar 21, 2025
@rartych rartych added this to the Fall25-M1 milestone Mar 21, 2025
Copy link
Copy Markdown
Collaborator

@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.

LGTM
We had exactly same request in Geofencing API ;)

PedroDiez
PedroDiez previously approved these changes Apr 25, 2025
Copy link
Copy Markdown
Contributor

@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

have made the commit to align @eric-murray
Please @patrice-conil you can give LGTM again

@PedroDiez PedroDiez requested a review from patrice-conil April 25, 2025 09:12
@rartych
Copy link
Copy Markdown
Contributor

rartych commented Apr 25, 2025

I propose to update also type description in 2.2.3. Subscriptions data model of CAMARA-API-Event-Subscription-and-Notification-Guide.md .
@eric-murray Could you do this within this PR?

@patrice-conil
Copy link
Copy Markdown
Contributor

HI @PedroDiez, LGTM also , but waiting for change in 2.2.3 as requested by @rartych

@eric-murray
Copy link
Copy Markdown
Collaborator Author

CAMARA-API-Event-Subscription-and-Notification-Guide.md updated

Copy link
Copy Markdown
Contributor

@maxl2287 maxl2287 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
Copy Markdown
Contributor

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Fall25

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants