Skip to content

Align event subscription/notification to Commonalities r3.2 #70

@benhepworth

Description

@benhepworth

Summary

The API uses implicit notifications, but the sink, sinkCredential, and subscription definitions are not aligned with the CAMARA Event Subscription and Notification Guide for Commonalities r3.2.

Changes Required

  • Align sink and sinkCredential definitions to the Event Guide
  • Add sink pattern and 400 - INVALID_SINK error response
  • Update types property of SubscriptionRequest to allow more than one event type per subscription
  • Update types property of SubscriptionRequest to use SubscriptionEventType schema (enum of defined types)
  • Rename event: subscription-endssubscription-ended
  • (Optional) Add subscription-started event
  • (Optional) Add subscription-updated event

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions