Logo: Relish

  1. Sign in

Project: Qnsumer 2.0

  • Change version

    1. 2.0

Events

As a generator of events
I want the qnsumer to receive and process them appropriately
so that the target applications can receive notifications with the information of the events

Scenarios
[COMP] Delivery of a SOAP event
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of several SOAP events of the same type at a time
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001Act0001-UKgConn-two.soap out-notification-Act0001Act0001-UKgConn-two.json
[COMP] Delivery of several SOAP events of different types at a time
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 2 incoming notifications
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 2 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001Act0002-UKgConn-two.soap out-notification-Act0001-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json
[COMP] Delivery of a SOAP event to several applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 2 incoming notifications
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 2 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-two_apps.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json,out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of several SOAP events to several applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 4 incoming notifications
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 4 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-two_apps.json in-event-Act0001Act0002-UKgConn-two.soap out-notification-Act0001-UKgConn-single.json,out-notification-Act0001-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json
[COMP] Delivery of consecutive SOAP events with caching of services data
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
And
a SOAP event has already been received by the qnsumer with the data in initialEventReceived
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
mappingData provisioningApisData provisioningAppsData initialEventReceived eventReceived notificationSent
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap in-event-Act0001Act0001-UKgConn-two.soap out-notification-Act0001Act0001-UKgConn-two.json
[COMP] Delivery of a SOAP event without serviceIdToNotify
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
Event Notification Act0001 [NULL] serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-missing_serviceIdToNotify.soap out-notification-Act0001-UKgConn-missing_serviceIdToNotify.json
[COMP] Rejection of a SOAP event due to missing eventId
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Notified event must have an eventId(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-missing_eventId.soap
[COMP] Rejection of a SOAP event due to wrong format
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Invalid eventNotification document format(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-wrong_format.soap
[COMP] Rejection of a SOAP event due to empty message
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Invalid eventNotification document format(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-empty_content.soap
[COMP] Delivery of an XML event
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.xml out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of several XML events of the same type at a time
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001Act0001-UKgConn-two.xml out-notification-Act0001Act0001-UKgConn-two.json
[COMP] Delivery of several XML events of different types at a time
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 2 incoming notifications
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 2 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001Act0002-UKgConn-two.xml out-notification-Act0001-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json
[COMP] Delivery of an XML event to several applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 2 incoming notifications
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 2 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-two_apps.json in-event-Act0001-UKgConn-single.xml out-notification-Act0001-UKgConn-single.json,out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of several XML events to several applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 4 incoming notifications
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 4 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-two_apps.json in-event-Act0001Act0002-UKgConn-two.xml out-notification-Act0001-UKgConn-single.json,out-notification-Act0001-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json
[COMP] Delivery of consecutive XML events with caching of services data
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
And
an XML event has already been received by the qnsumer with the data in initialEventReceived
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
mappingData provisioningApisData provisioningAppsData initialEventReceived eventReceived notificationSent
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.xml in-event-Act0001Act0001-UKgConn-two.xml out-notification-Act0001Act0001-UKgConn-two.json
[COMP] Delivery of an XML event without serviceIdToNotify
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
Event Notification Act0001 [NULL] serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-missing_serviceIdToNotify.xml out-notification-Act0001-UKgConn-missing_serviceIdToNotify.json
[COMP] Rejection of an XML event due to missing eventId
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Notified event must have an eventId(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-missing_eventId.xml
[COMP] Rejection of an XML event due to wrong format
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Invalid eventNotification document format(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-wrong_format.xml
[COMP] Rejection of an XML event due to empty message
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
an XML event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Invalid eventNotification document format(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-empty_content.xml
[COMP] Delivery of a JSON event
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.json out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of several JSON events of the same type at a time
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001Act0001-UKgConn-two.json out-notification-Act0001Act0001-UKgConn-two.json
[COMP] Delivery of several JSON events of different types at a time
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 2 incoming notifications
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 2 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001Act0002-UKgConn-two.json out-notification-Act0001-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json
[COMP] Delivery of a JSON event to several applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 2 incoming notifications
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 2 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-two_apps.json in-event-Act0001-UKgConn-single.json out-notification-Act0001-UKgConn-single.json,out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of several JSON events to several applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the 4 incoming notifications
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 4 JSON notifications to the application with the data in notificationsSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationsSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-two_apps.json in-event-Act0001Act0002-UKgConn-two.json out-notification-Act0001-UKgConn-single.json,out-notification-Act0001-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json,out-notification-Act0002-UKgConn-single.json
[COMP] Delivery of consecutive JSON events with caching of services data
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
And
a JSON event has already been received by the qnsumer with the data in initialEventReceived
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
mappingData provisioningApisData provisioningAppsData initialEventReceived eventReceived notificationSent
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.json in-event-Act0001Act0001-UKgConn-two.json out-notification-Act0001Act0001-UKgConn-two.json
[COMP] Delivery of a JSON event without serviceIdToNotify
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
Event Notification Act0001 [NULL] serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-missing_serviceIdToNotify.json out-notification-Act0001-UKgConn-missing_serviceIdToNotify.json
[COMP] Rejection of a JSON event due to missing eventId
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Notified event must have an eventId(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-missing_eventId.json
[COMP] Rejection of a JSON event due to wrong format
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Invalid eventNotification document format(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-wrong_format.json
[COMP] Rejection of a JSON event due to empty message
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a JSON event is received by the qnsumer with the data in eventReceived
Then
the qnsumer does not ask the Service Mapping service for the serviceId
And
the qnsumer does not ask the Provisioning service for applications
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: No notifiedEvent(.*)
Examples:
mappingData provisioningApisData provisioningAppsData eventReceived
serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-empty_content.json
[COMP] Delivery of an event despite no mappings received from the Service Mapping service
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 [NULL] serviceMapping-no_mappings.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of an event despite error response from the Service Mapping service
Given
the Service Mapping service is up and will reject incoming requests with data:
statusCode exceptionId exceptionText
500 SVR1000 Generic Server Error: Unknown
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 [NULL] provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of an event despite wrong format in the response from the Service Mapping service
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 [NULL] serviceMapping-wrong_format.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of an event despite timeout in the response from the Service Mapping service
Given
the Service Mapping service is up and will accept incoming requests in 6 seconds with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 [NULL] serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Delivery of an event despite the Service Mapping service is down
Given
the Service Mapping service is down
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer sends 1 JSON notification to the application with the data in notificationSent
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 [NULL] serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due to no applications received from the Provisioning service for applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)No application subscribed:(.*)
Examples:
obServiceId eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-no_apps.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due to no apis received from the Provisioning service for apis
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)No mapping found for apiName:(.*)
Examples:
obServiceId name mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification serviceMapping-single_mapping.json provisioning-apis-no_apis.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due to wrong format in the response from the Provisioning service for applications
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Error parsing JSON response from service(.*)
Examples:
obServiceId eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-wrong_format.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due to wrong format in the response from the Provisioning service for apis
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer asks the Provisioning service for apis with name name
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Error parsing JSON response from service(.*)
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-wrong_format.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due to error response from the Provisioning service
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will reject incoming requests with data:
statusCode exceptionId exceptionText
500 SVR1000 Generic Server Error: Unknown
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer does not ask the Provisioning service for apis
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Error accessing service(.*)
Examples:
obServiceId eventId serviceId mappingData eventReceived notificationSent
UKgConn Act0001 3 serviceMapping-single_mapping.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due to timeout in the response from the Provisioning service
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is up and will accept incoming requests in 6 seconds with the apis data in provisioningApisData and apps data in provisioningAppsData
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer asks the Provisioning service for applications with eventId eventId and serviceId serviceId
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Error accessing service(.*)
Examples:
obServiceId name eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Event Notification Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json
[COMP] Rejection of an event due the Provisioning service down
Given
the Service Mapping service is up and will accept incoming requests with the data in mappingData
And
the Provisioning service is down
And
the application is up and will accept the incoming notification
When
a SOAP event is received by the qnsumer with the data in eventReceived
Then
the qnsumer asks the Service Mapping service for the serviceId matching obServiceId obServiceId
And
the qnsumer does not send any notification to the application
And
in the logs there is an entry with data:
lvl msg
WARN (.*)Discarding eventNotification by error: Error accessing service(.*)
Examples:
obServiceId eventId serviceId mappingData provisioningApisData provisioningAppsData eventReceived notificationSent
UKgConn Act0001 3 serviceMapping-single_mapping.json provisioning-apis-single_api.json provisioning-applications-single_app.json in-event-Act0001-UKgConn-single.soap out-notification-Act0001-UKgConn-single.json

Last published over 5 years ago by Julio.