DocumentationCheck that if the created context source registration subscription defines a timeInterval member, a cSourceNotification will be sent periodically, initially on subscription and when the time interval is reached
Receive cSourceNotification Periodically And Initially On Subscription
[Documentation]Check that if the created context source registration subscription defines a timeInterval member, a cSourceNotification will be sent periodically, initially on subscription and when the time interval is reached
[Tags]mandatory
${subscription_id}=Generate Random Entity Id${subscription_id_prefix}
${subscription_payload}=Load Test Sample${subscription_payload_file_path}${subscription_id}
DocumentationCheck that if the created context source registration subscription doesn't define a timeInterval member, a cSourceNotification, with the appropriate trigger reason in the "triggerReason" member, will be sent initially on subscription and whenever there is a change of a matching Context Source Registration
Receive cSourceNotification Initially On Subscription And Whenever There Is A Change Of A Matching Context Source Registration
[Documentation]Check that if the created context source registration subscription doesn't define a timeInterval member, a cSourceNotification, with the appropriate trigger reason in the "triggerReason" member, will be sent initially on subscription and whenever there is a change of a matching Context Source Registration
[Tags]mandatory
${subscription_id}=Generate Random Entity Id${subscription_id_prefix}
${subscription_payload}=Load Test Sample${subscription_payload_file_path}${subscription_id}
DocumentationCheck that instead of providing the original context source registration, implementations should return context source registration information relevant for the subscription, in particular only matching RegistrationInfo elements
Receive cSourceNotification With Relevant Information
[Documentation]Check that instead of providing the original context source registration, implementations should return context source registration information relevant for the subscription, in particular only matching RegistrationInfo elements
[Tags]mandatory
${context_source_registration_id}=Generate Random Entity Id${context_source_registration_id_prefix}
${context_source_registration_payload}=Load Test Sample${context_source_registration_payload_file_path}${context_source_registration_id}
Set Suite Variable${context_source_registration_id}
DocumentationCheck that if a cSourceNotification is sent successfully to the "endpoint" member, the "notification.timesSent" member shall be incremented by one and the "notification.lastSuccess" and "notification.lastNotification" members shall be updated with the current timestamp and the status of the context source registration subscription shall be updated to "ok"
If A cSourceNotification Is Successfully Sent The Notification Member Shall Be Updated
[Documentation]Check that if a cSourceNotification is sent successfully to the "endpoint" member, the "notification.timesSent" member shall be incremented by one and the "notification.lastSuccess" and "notification.lastNotification" members shall be updated with the current timestamp and the status of the context source registration subscription shall be updated to "ok"
[Tags]mandatory
${context_source_registration_id}=Generate Random Entity Id${context_source_registration_id_prefix}
${context_source_registration_payload}=Load Test Sample${context_source_registration_payload_file_path}${context_source_registration_id}
Set Suite Variable${context_source_registration_id}